python-openstackclient/doc/source/command-objects/server-group.rst
Kevin_Zheng 446e6f2fa8 change os in command example to openstack(3)
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: Ie67c0152d8ff8b7c456f91dc8b9a9164437ee9d1
2016-12-20 09:26:15 +08:00

1.4 KiB

server group

Server group provides a mechanism to group servers according to certain policy.

Compute v2

server group create

Create a new server group

server group create

openstack server group create
    --policy <policy> [--policy <policy>] ...
    <name>

--policy <policy>

Add a policy to \<name\> <server_group_create-name> (repeat option to add multiple policies)

New server group name

server group delete

Delete existing server group(s)

server group delete

openstack server group delete
    <server-group> [<server-group> ...]

<server-group>

Server group(s) to delete (name or ID) (repeat to delete multiple server groups)

server group list

List all server groups

server group list

openstack server group list
    [--all-projects]
    [--long]

--all-projects

Display information from all projects (admin only)

--long

List additional fields in output

server group show

Display server group details

server group show

openstack server group show
    <server-group>

<server-group>

Server group to display (name or ID)