Host aggregates provide a mechanism to group hosts according to certain criteria.
Compute v2
Add host to aggregate
os aggregate add host
<aggregate>
<host>
Aggregate (name or ID)
Host to add to <aggregate>
Create a new aggregate
os aggregate create
[--zone <availability-zone>]
[--property <key=value> [...] ]
<name>
Availability zone name
Property to add to this aggregate (repeat option to set multiple properties)
New aggregate name
Delete existing aggregate(s)
os aggregate delete
<aggregate> [<aggregate> ...]
Aggregate(s) to delete (name or ID)
List all aggregates
os aggregate list
[--long]
List additional fields in output
Remove host from aggregate
os aggregate remove host
<aggregate>
<host>
Aggregate (name or ID)
Host to remove from <aggregate>
Set aggregate properties
os aggregate set
[--name <new-name>]
[--zone <availability-zone>]
[--property <key=value> [...] ]
<aggregate>
Set aggregate name
Set availability zone name
Property to set on <aggregate> (repeat option to set multiple properties)
Aggregate to modify (name or ID)
Display aggregate details
os aggregate show
<aggregate>
Aggregate to display (name or ID)
Unset aggregate properties
os aggregate unset
[--property <key> [...] ]
<aggregate>
Property to remove from <aggregate> (repeat option to remove multiple properties)
Aggregate to modify (name or ID)