List information on retrieved actions.
openstack optimize action list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--action-plan <action-plan>]
[--audit <audit>]
[--detail]
[--limit <limit>]
[--sort-key <field>]
[--sort-dir <direction>]
[--marker <marker>]
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
--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”.
This command is provided by the python-watcherclient plugin.
Show detailed information about a given action.
openstack optimize action show <action>
action¶UUID of the action
This command is provided by the python-watcherclient plugin.
Cancel action plan command.
openstack optimize actionplan cancel <action-plan>
action-plan¶UUID of the action_plan.
This command is provided by the python-watcherclient plugin.
Delete action plan command.
openstack optimize actionplan delete <action-plan> [<action-plan> ...]
action-plan¶UUID of the action plan
This command is provided by the python-watcherclient plugin.
List information on retrieved action plans.
openstack optimize actionplan list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--audit <audit>]
[--detail]
[--limit <limit>]
[--marker <actionplan>]
[--sort-key <field>]
[--sort-dir <direction>]
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
--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”.
This command is provided by the python-watcherclient plugin.
Show detailed information about a given action plan.
openstack optimize actionplan show <action-plan>
action-plan¶UUID of the action plan
This command is provided by the python-watcherclient plugin.
Start action plan command.
openstack optimize actionplan start <action-plan>
action-plan¶UUID of the action_plan.
This command is provided by the python-watcherclient plugin.
Update action plan command.
openstack optimize actionplan update
<action-plan>
<op>
<path=value>
[<path=value> ...]
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.
This command is provided by the python-watcherclient plugin.
Create new audit.
openstack optimize audit create
[-t <audit_type>]
[-p <name=value>]
[-i <interval>]
[-g <goal>]
[-s <strategy>]
[-a <audit_template>]
[--auto-trigger]
[--name <name>]
[--start-time <start_time>]
[--end-time <end_time>]
[--force]
-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
This command is provided by the python-watcherclient plugin.
Delete audit command.
openstack optimize audit delete <audit> [<audit> ...]
audit¶UUID or name of the audit
This command is provided by the python-watcherclient plugin.
List information on retrieved audits.
openstack optimize audit list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--detail]
[--goal <goal>]
[--strategy <strategy>]
[--limit <limit>]
[--sort-key <field>]
[--sort-dir <direction>]
[--marker <marker>]
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
--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”.
This command is provided by the python-watcherclient plugin.
Show detailed information about a given audit.
openstack optimize audit show <audit>
audit¶UUID or name of the audit
This command is provided by the python-watcherclient plugin.
Update audit command.
openstack optimize audit update
<audit>
<op>
<path=value>
[<path=value> ...]
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.
This command is provided by the python-watcherclient plugin.
Create new audit template.
openstack optimize audittemplate create
[-s <strategy>]
[-d <description>]
[--scope <path>]
<name>
<goal>
-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"}
]},
]}]
}
]
name¶Name for this audit template.
goal¶Goal UUID or name associated to this audit template.
This command is provided by the python-watcherclient plugin.
Delete audit template command.
openstack optimize audittemplate delete
<audit-template>
[<audit-template> ...]
audit-template¶UUID or name of the audit template
This command is provided by the python-watcherclient plugin.
List information on retrieved audit templates.
openstack optimize audittemplate list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--detail]
[--goal <goal>]
[--strategy <strategy>]
[--limit <limit>]
[--sort-key <field>]
[--sort-dir <direction>]
[--marker <marker>]
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
--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”.
This command is provided by the python-watcherclient plugin.
Show detailed information about a given audit template.
openstack optimize audittemplate show <audit-template>
audit-template¶UUID or name of the audit template
This command is provided by the python-watcherclient plugin.
Update audit template command.
openstack optimize audittemplate update
<audit-template>
<op>
<path=value>
[<path=value> ...]
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.
This command is provided by the python-watcherclient plugin.
List information on retrieved data model.
openstack optimize datamodel list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--type <type>]
[--audit <audit>]
[--detail]
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
--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.
This command is provided by the python-watcherclient plugin.
List information on retrieved goals.
openstack optimize goal list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--detail]
[--limit <limit>]
[--sort-key <field>]
[--sort-dir <direction>]
[--marker <marker>]
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
--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”.
This command is provided by the python-watcherclient plugin.
Show detailed information about a given goal.
openstack optimize goal show <goal>
goal¶UUID or name of the goal
This command is provided by the python-watcherclient plugin.
List information on retrieved scoring engines.
openstack optimize scoringengine list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--detail]
[--limit <limit>]
[--sort-key <field>]
[--sort-dir <direction>]
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
--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”.
This command is provided by the python-watcherclient plugin.
Show detailed information about a given scoring engine.
openstack optimize scoringengine show <scoring_engine>
scoring_engine¶Name of the scoring engine
This command is provided by the python-watcherclient plugin.
List information on retrieved services.
openstack optimize service list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--detail]
[--limit <limit>]
[--sort-key <field>]
[--sort-dir <direction>]
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
--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”.
This command is provided by the python-watcherclient plugin.
Show detailed information about a given service.
openstack optimize service show <service>
service¶ID or name of the service
This command is provided by the python-watcherclient plugin.
List information on retrieved strategies.
openstack optimize strategy list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--goal <goal>]
[--detail]
[--limit <limit>]
[--sort-key <field>]
[--sort-dir <direction>]
[--marker <marker>]
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
--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”.
This command is provided by the python-watcherclient plugin.
Show detailed information about a given strategy.
openstack optimize strategy show <strategy>
strategy¶UUID or name of the strategy
This command is provided by the python-watcherclient plugin.
Retrieve information about strategy requirements.
openstack optimize strategy state
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
<strategy>
--format-config-file <FORMAT_CONFIG>¶Config file for the dict-to-csv formatter
--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
strategy¶Name of the strategy
This command is provided by the python-watcherclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.