Este conteúdo não está disponível no idioma selecionado.
Chapter 51. optimize
This chapter describes the commands under the optimize command.
51.1. optimize action list Copiar o linkLink copiado para a área de transferência!
List information on retrieved actions.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --action-plan <action-plan> | Uuid of the action plan used for filtering. |
| --audit <audit> | Uuid of the audit used for filtering. |
| --detail | Show detailed information about actions. |
| --limit <limit> | Maximum number of actions to return per request, 0 for no limit. Default is the maximum number used by the Watcher API Service. |
| --sort-key <field> | Action field that will be used for sorting. |
| --sort-dir <direction> | Sort direction: "asc" (the default) or "desc". |
| --marker <marker> | Uuid of the last action in the previous page; displays list of actions after "marker". |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.2. optimize action show Copiar o linkLink copiado para a área de transferência!
Show detailed information about a given action.
Usage:
| Value | Summary |
|---|---|
| <action> | Uuid of the action |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.3. optimize actionplan cancel Copiar o linkLink copiado para a área de transferência!
Cancel action plan command.
Usage:
| Value | Summary |
|---|---|
| <action-plan> | Uuid of the action_plan. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.4. optimize actionplan delete Copiar o linkLink copiado para a área de transferência!
Delete action plan command.
Usage:
openstack optimize actionplan delete [-h]
<action-plan> [<action-plan> ...]
openstack optimize actionplan delete [-h]
<action-plan> [<action-plan> ...]
| Value | Summary |
|---|---|
| <action-plan> | Uuid of the action plan |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
51.5. optimize actionplan list Copiar o linkLink copiado para a área de transferência!
List information on retrieved action plans.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --audit <audit> | Uuid of an audit used for filtering. |
| --detail | Show detailed information about action plans. |
| --limit <limit> | Maximum number of action plans to return per request, 0 for no limit. Default is the maximum number used by the Watcher API Service. |
| --marker <actionplan> | The last actionplan uuid of the previous page; displays list of actionplans after "marker". |
| --sort-key <field> | Action plan field that will be used for sorting. |
| --sort-dir <direction> | Sort direction: "asc" (the default) or "desc". |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.6. optimize actionplan show Copiar o linkLink copiado para a área de transferência!
Show detailed information about a given action plan.
Usage:
| Value | Summary |
|---|---|
| <action-plan> | Uuid of the action plan |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.7. optimize actionplan start Copiar o linkLink copiado para a área de transferência!
Start action plan command.
Usage:
| Value | Summary |
|---|---|
| <action-plan> | Uuid of the action_plan. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.8. optimize actionplan update Copiar o linkLink copiado para a área de transferência!
Update action plan command.
Usage:
| Value | Summary |
|---|---|
| <action-plan> | Uuid of the action_plan. |
| <op> | Operation: add, replace, or remove. |
| <path=value> | Attribute to add, replace, or remove. can be specified multiple times. For remove, only <path> is necessary. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.9. optimize audit create Copiar o linkLink copiado para a área de transferência!
Create new audit.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| -t <audit_type>, --audit_type <audit_type> | Audit type. it must be oneshot, continuous or event. Default is ONESHOT. |
| -p <name=value>, --parameter <name=value> | Record strategy parameter/value metadata. can be specified multiple times. |
| -i <interval>, --interval <interval> | Audit interval (in seconds or cron format). cron interval can be used like: ``*/5 * * * *``. Only used if the audit is CONTINUOUS. |
| -g <goal>, --goal <goal> | Goal uuid or name associated to this audit. |
| -s <strategy>, --strategy <strategy> | Strategy uuid or name associated to this audit. |
| -a <audit_template>, --audit-template <audit_template> | Audit template used for this audit (name or uuid). |
| --auto-trigger | Trigger automatically action plan once audit is succeeded. |
| --name <name> | Name for this audit. |
| --start-time <start_time> | Continuous audit local start time. format: yyyy-mm-dd hh:mm:ss |
| --end-time <end_time> | Continuous audit local end time. format: yyyy-mm-dd hh:mm:ss |
| --force | Launch audit even if action plan is ongoing. default is False |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.10. optimize audit delete Copiar o linkLink copiado para a área de transferência!
Delete audit command.
Usage:
openstack optimize audit delete [-h] <audit> [<audit> ...]
openstack optimize audit delete [-h] <audit> [<audit> ...]
| Value | Summary |
|---|---|
| <audit> | Uuid or name of the audit |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
51.11. optimize audit list Copiar o linkLink copiado para a área de transferência!
List information on retrieved audits.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --detail | Show detailed information about audits. |
| --goal <goal> | Uuid or name of the goal used for filtering. |
| --strategy <strategy> | Uuid or name of the strategy used for filtering. |
| --limit <limit> | Maximum number of audits to return per request, 0 for no limit. Default is the maximum number used by the Watcher API Service. |
| --sort-key <field> | Audit field that will be used for sorting. |
| --sort-dir <direction> | Sort direction: "asc" (the default) or "desc". |
| --marker <marker> | Uuid of the last audit in the previous page; displays list of audits after "marker". |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.12. optimize audit show Copiar o linkLink copiado para a área de transferência!
Show detailed information about a given audit.
Usage:
openstack optimize audit show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>]
[--fit-width] [--print-empty]
<audit>
openstack optimize audit show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent]
[--prefix PREFIX] [--max-width <integer>]
[--fit-width] [--print-empty]
<audit>
| Value | Summary |
|---|---|
| <audit> | Uuid or name of the audit |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.13. optimize audit update Copiar o linkLink copiado para a área de transferência!
Update audit command.
Usage:
| Value | Summary |
|---|---|
| <audit> | Uuid or name of the audit. |
| <op> | Operation: add, replace, or remove. |
| <path=value> | Attribute to add, replace, or remove. can be specified multiple times. For remove, only <path> is necessary. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.14. optimize audittemplate create Copiar o linkLink copiado para a área de transferência!
Create new audit template.
Usage:
| Value | Summary |
|---|---|
| <name> | Name for this audit template. |
| <goal> | Goal uuid or name associated to this audit template. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| -s <strategy>, --strategy <strategy> | Strategy uuid or name associated to this audit template. |
| -d <description>, --description <description> | Description of the audit template. |
| --scope <path> | Part of the cluster on which an audit will be done. Can be provided either in yaml or json file. YAML example:: - compute: - host_aggregates: - id: 1 - id: 2 - id: 3 - availability_zones: - name: AZ1 - name: AZ2 - exclude: - instances: - uuid: UUID1 - uuid: UUID2 - compute_nodes: - name: compute1 - storage: - availability_zones: - name: AZ1 - name: AZ2 - volume_types: - name: lvm1 - name: lvm2 - exclude: - storage_pools: - name: host0@backend0#pool0 - name: host1@backend1#pool1 - volumes: - uuid: UUID1 - uuid: UUID2 - projects: - uuid: UUID1 - uuid: UUID2 JSON example:: [ {"compute": [{"host_aggregates": [ {"id": 1}, {"id": 2}, {"id": 3}]}, {"availability_zones": [ {"name": "AZ1"}, {"name": "AZ2"}]}, {"exclude": [ {"instances": [ {"uuid": "UUID1"}, {"uuid": "UUID2"} ]}, {"compute_nodes": [ {"name": "compute1"} ]} ]}] }, {"storage": [{"availability_zones": [ {"name": "AZ1"}, {"name": "AZ2"}]}, {"volume_types": [ {"name": "lvm1"}, {"name": "lvm2"}]}, {"exclude": [ {"storage_pools": [ {"name": "host0@backend0#pool0"}, {"name": "host1@backend1#pool1"} ]}, {"volumes": [ {"uuid": "UUID1"}, {"uuid": "UUID2"} ]}, {"projects": [ {"uuid": "UUID1"}, {"uuid": "UUID2"} ]}, ]}] } ] |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.15. optimize audittemplate delete Copiar o linkLink copiado para a área de transferência!
Delete audit template command.
Usage:
openstack optimize audittemplate delete [-h]
<audit-template>
[<audit-template> ...]
openstack optimize audittemplate delete [-h]
<audit-template>
[<audit-template> ...]
| Value | Summary |
|---|---|
| <audit-template> | Uuid or name of the audit template |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
51.16. optimize audittemplate list Copiar o linkLink copiado para a área de transferência!
List information on retrieved audit templates.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --detail | Show detailed information about audit templates. |
| --goal <goal> | Uuid or name of the goal used for filtering. |
| --strategy <strategy> | Uuid or name of the strategy used for filtering. |
| --limit <limit> | Maximum number of audit templates to return per request, 0 for no limit. Default is the maximum number used by the Watcher API Service. |
| --sort-key <field> | Audit template field that will be used for sorting. |
| --sort-dir <direction> | Sort direction: "asc" (the default) or "desc". |
| --marker <marker> | Uuid of the last audit template of the previous page; displays list of audit templates after "marker". |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.17. optimize audittemplate show Copiar o linkLink copiado para a área de transferência!
Show detailed information about a given audit template.
Usage:
| Value | Summary |
|---|---|
| <audit-template> | Uuid or name of the audit template |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.18. optimize audittemplate update Copiar o linkLink copiado para a área de transferência!
Update audit template command.
Usage:
| Value | Summary |
|---|---|
| <audit-template> | Uuid or name of the audit_template. |
| <op> | Operation: add, replace, or remove. |
| <path=value> | Attribute to add, replace, or remove. can be specified multiple times. For remove, only <path> is necessary. |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.19. optimize datamodel list Copiar o linkLink copiado para a área de transferência!
List information on retrieved data model.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --type <type> | Type of datamodel user want to list. supported values: compute. Future support values: storage, baremetal. Default type is compute. |
| --audit <audit> | Uuid of the audit |
| --detail | Show detailed information about data model. |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.20. optimize goal list Copiar o linkLink copiado para a área de transferência!
List information on retrieved goals.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --detail | Show detailed information about each goal. |
| --limit <limit> | Maximum number of goals to return per request, 0 for no limit. Default is the maximum number used by the Watcher API Service. |
| --sort-key <field> | Goal field that will be used for sorting. |
| --sort-dir <direction> | Sort direction: "asc" (the default) or "desc". |
| --marker <marker> | Uuid of the last goal in the previous page; displays list of goals after "marker". |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.21. optimize goal show Copiar o linkLink copiado para a área de transferência!
Show detailed information about a given goal.
Usage:
openstack optimize goal show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<goal>
openstack optimize goal show [-h] [-f {json,shell,table,value,yaml}]
[-c COLUMN] [--noindent] [--prefix PREFIX]
[--max-width <integer>] [--fit-width]
[--print-empty]
<goal>
| Value | Summary |
|---|---|
| <goal> | Uuid or name of the goal |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.22. optimize scoringengine list Copiar o linkLink copiado para a área de transferência!
List information on retrieved scoring engines.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --detail | Show detailed information about scoring engines. |
| --limit <limit> | Maximum number of actions to return per request, 0 for no limit. Default is the maximum number used by the Watcher API Service. |
| --sort-key <field> | Action field that will be used for sorting. |
| --sort-dir <direction> | Sort direction: "asc" (the default) or "desc". |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.23. optimize scoringengine show Copiar o linkLink copiado para a área de transferência!
Show detailed information about a given scoring engine.
Usage:
| Value | Summary |
|---|---|
| <scoring_engine> | Name of the scoring engine |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.24. optimize service list Copiar o linkLink copiado para a área de transferência!
List information on retrieved services.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --detail | Show detailed information about each service. |
| --limit <limit> | Maximum number of services to return per request, 0 for no limit. Default is the maximum number used by the Watcher API Service. |
| --sort-key <field> | Goal field that will be used for sorting. |
| --sort-dir <direction> | Sort direction: "asc" (the default) or "desc". |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.25. optimize service show Copiar o linkLink copiado para a área de transferência!
Show detailed information about a given service.
Usage:
| Value | Summary |
|---|---|
| <service> | Id or name of the service |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.26. optimize strategy list Copiar o linkLink copiado para a área de transferência!
List information on retrieved strategies.
Usage:
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| --goal <goal> | Uuid or name of the goal |
| --detail | Show detailed information about each strategy. |
| --limit <limit> | Maximum number of strategies to return per request, 0 for no limit. Default is the maximum number used by the Watcher API Service. |
| --sort-key <field> | Goal field that will be used for sorting. |
| --sort-dir <direction> | Sort direction: "asc" (the default) or "desc". |
| --marker <marker> | Uuid of the last strategy in the previous page; displays list of strategies after "marker". |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.27. optimize strategy show Copiar o linkLink copiado para a área de transferência!
Show detailed information about a given strategy.
Usage:
| Value | Summary |
|---|---|
| <strategy> | Uuid or name of the strategy |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {json,shell,table,value,yaml}, --format {json,shell,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --prefix PREFIX | Add a prefix to all variable names |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |
51.28. optimize strategy state Copiar o linkLink copiado para a área de transferência!
Retrieve information about strategy requirements.
Usage:
| Value | Summary |
|---|---|
| <strategy> | Name of the strategy |
| Value | Summary |
|---|---|
| -h, --help | Show this help message and exit |
| Value | Summary |
|---|---|
| -f {csv,json,table,value,yaml}, --format {csv,json,table,value,yaml} | The output format, defaults to table |
| -c COLUMN, --column COLUMN | Specify the column(s) to include, can be repeated to show multiple columns |
| --sort-column SORT_COLUMN | Specify the column(s) to sort the data (columns specified first have a priority, non-existing columns are ignored), can be repeated |
| --sort-ascending | Sort the column(s) in ascending order |
| --sort-descending | Sort the column(s) in descending order |
| Value | Summary |
|---|---|
| --quote {all,minimal,none,nonnumeric} | When to include quotes, defaults to nonnumeric |
| Value | Summary |
|---|---|
| --noindent | Whether to disable indenting the json |
| Value | Summary |
|---|---|
| --max-width <integer> | Maximum display width, <1 to disable. you can also use the CLIFF_MAX_TERM_WIDTH environment variable, but the parameter takes precedence. |
| --fit-width | Fit the table to the display width. implied if --max- width greater than 0. Set the environment variable CLIFF_FIT_WIDTH=1 to always enable |
| --print-empty | Print empty table if there is no data to show. |