python-openstackclient/doc/source/command-objects/aggregate.rst
Dean Troyer 9eb30efbf3 Command object docs: aggregate, console *, keypair
aggregate
console log
console url
keypair

Change-Id: Iec9b8404ed5febd061a5dfd674b76aaa8aba67bc
2014-11-19 14:47:53 -06:00

2.5 KiB

aggregate

Server aggregates provide a mechanism to group servers according to certain criteria.

aggregate add host

Add host to aggregate

os aggregate add host
    <aggregate>
    <host>




Aggregate (name or ID)

<host>

Host to add to \<aggregate\> <aggregate_add_host-aggregate>

aggregate create

Create a new aggregate

os 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

aggregate delete

Delete an existing aggregate

os aggregate delete
    <aggregate>

<aggregate>

Aggregate to delete (name or ID)

aggregate list

List all aggregates

os aggregate list
    [--long]

--long

List additional fields in output

aggregate remove host

Remove host from aggregate

os aggregate remove host
    <aggregate>
    <host>




Aggregate (name or ID)

<host>

Host to remove from \<aggregate\> <aggregate_remove_host-aggregate>

aggregate set

Set aggregate properties

os aggregate set
    [--name <new-name>]
    [--zone <availability-zone>]
    [--property <key=value>]
    <aggregate>

--name <name>

Set aggregate name

--zone <availability-zone>

Set availability zone name

--property <key=value>

Property to set on \<aggregate\> <aggregate_set-aggregate> (repeat option to set multiple properties)

Aggregate to modify (name or ID)

aggregate show

Show a specific aggregate

os aggregate show
    <aggregate>

<aggregate>

Aggregate to show (name or ID)