============
server group
============

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

Compute v2

server group create
-------------------

Create a new server group

.. program:: server group create
.. code-block:: bash

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

.. option:: --policy <policy>

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

.. _server_group_create-name:
.. describe:: <name>

    New server group name

server group delete
-------------------

Delete an existing server group

.. program:: server group delete
.. code-block:: bash

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

.. describe:: <server-group>

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

server group list
-----------------

List all server groups

.. program:: server group list
.. code-block:: bash

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

.. option:: --all-projects

    Display information from all projects (admin only)

.. option:: --long

    List additional fields in output

server group show
-----------------

Display server group details

.. program:: server group show
.. code-block:: bash

    os server group show
        <server-group>

.. describe:: <server-group>

        Server group to display (name or ID)

============
server group
============

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

Compute v2

server group create
-------------------

Create a new server group

.. program:: server group create
.. code-block:: bash

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

.. option:: --policy <policy>

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

.. _server_group_create-name:
.. describe:: <name>

    New server group name

server group delete
-------------------

Delete an existing server group

.. program:: server group delete
.. code-block:: bash

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

.. describe:: <server-group>

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

server group list
-----------------

List all server groups

.. program:: server group list
.. code-block:: bash

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

.. option:: --all-projects

    Display information from all projects (admin only)

.. option:: --long

    List additional fields in output

server group show
-----------------

Display server group details

.. program:: server group show
.. code-block:: bash

    os server group show
        <server-group>

.. describe:: <server-group>

    Server group to display (name or ID)

Fix server group document issue
Fix server group document issue

The patch fix server group document typo and format issue.

Implements: blueprint nova-server-group-support
Related-Bug: #1542171

Change-Id: I3e24ddce91ecabc6be1b7be95d0f4e5a2ebe93ab
