Host aggregates provide a mechanism to group hosts according to certain criteria.
Compute v2
Add host to aggregate
openstack aggregate add host <aggregate> <host>
aggregate¶Aggregate (name or ID)
host¶Host to add to <aggregate>
This command is provided by the python-openstackclient plugin.
Create a new aggregate
openstack aggregate create
[--zone <availability-zone>]
[--property <key=value>]
<name>
--zone <availability-zone>¶Availability zone name
--property <key=value>¶Property to add to this aggregate (repeat option to set multiple properties)
name¶New aggregate name
This command is provided by the python-openstackclient plugin.
Delete existing aggregate(s)
openstack aggregate delete <aggregate> [<aggregate> ...]
aggregate¶Aggregate(s) to delete (name or ID)
This command is provided by the python-openstackclient plugin.
List all aggregates
openstack aggregate list
[--format-config-file FORMAT_CONFIG]
[--sort-column SORT_COLUMN]
[--long]
--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
--long¶List additional fields in output
This command is provided by the python-openstackclient plugin.
Remove host from aggregate
openstack aggregate remove host <aggregate> <host>
aggregate¶Aggregate (name or ID)
host¶Host to remove from <aggregate>
This command is provided by the python-openstackclient plugin.
Set aggregate properties
openstack aggregate set
[--name <name>]
[--zone <availability-zone>]
[--property <key=value>]
[--no-property]
<aggregate>
--name <name>¶Set aggregate name
--zone <availability-zone>¶Set availability zone name
--property <key=value>¶Property to set on <aggregate> (repeat option to set multiple properties)
--no-property¶Remove all properties from <aggregate> (specify both –property and –no-property to overwrite the current properties)
aggregate¶Aggregate to modify (name or ID)
This command is provided by the python-openstackclient plugin.
Display aggregate details
openstack aggregate show <aggregate>
aggregate¶Aggregate to display (name or ID)
This command is provided by the python-openstackclient plugin.
Unset aggregate properties
openstack aggregate unset [--property <key>] <aggregate>
--property <key>¶Property to remove from aggregate (repeat option to remove multiple properties)
aggregate¶Aggregate to modify (name or ID)
This command is provided by the python-openstackclient plugin.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.