Files
python-zaqarclient/doc/source/command/flavor.rst
jonnary 92173defa2 Add 'pool' description to pool flavor commands
Now we only have 'pool' description in pool flavor create.
This patch adds this description to other pool flavor commands.
This will help users understanding this is a pool flover.

Change-Id: I9423e42f8b8222fa25d6a73db9e0bdafb20248f8
2017-04-01 15:25:12 +08:00

3.7 KiB
Executable File

Flavor

For help on a specific openstack messaging flavor command, enter:

$ openstack messaging flavor COMMAND -h/--help

The five commands:

messaging flavor create
messaging flavor delete
messaging flavor list
messaging flavor show
messaging flavor update

openstack messaging flavor create

usage: openstack messaging flavor create [-h]
                                         [-f {json,shell,table,value,yaml}]
                                         [-c COLUMN] [--max-width <integer>]
                                         [--noindent] [--prefix PREFIX]
                                         [--capabilities <capabilities>]
                                         <flavor_name> <pool_group>

Create a pool flavor.

Positional arguments:

<flavor_name>

Name of the flavor.

<pool_group>

Pool group for flavor.

Optional arguments:

--capabilities <capabilities>

Describes flavor-specific capabilities, This option is only available in client api version < 2.

openstack messaging flavor delete

usage: openstack messaging flavor delete [-h] <flavor_name>

Delete a pool flavor.

Positional arguments:

<flavor_name>

Name of the flavor.

openstack messaging flavor list

usage: openstack messaging flavor list [-h] [-f {csv,json,table,value,yaml}]
                                       [-c COLUMN] [--max-width <integer>]
                                       [--noindent]
                                       [--quote {all,minimal,none,nonnumeric}]
                                       [--marker <flavor_name>]
                                       [--limit <limit>]
                                       [--detailed <detailed>]

List available pool flavors.

Optional arguments:

--marker <flavor_name>

Flavor's paging marker.

--limit <limit>

Page size limit.

--detailed <detailed>

If show detailed capabilities of flavor.

openstack messaging flavor show

usage: openstack messaging flavor show [-h] [-f {json,shell,table,value,yaml}]
                                       [-c COLUMN] [--max-width <integer>]
                                       [--noindent] [--prefix PREFIX]
                                       <flavor_name>

Display flavor details.

Positional arguments:

<flavor_name>

Flavor to display (name).

openstack messaging flavor update

usage: openstack messaging flavor update [-h]
                                         [-f {json,shell,table,value,yaml}]
                                         [-c COLUMN] [--max-width <integer>]
                                         [--noindent] [--prefix PREFIX]
                                         [--pool_group <pool_group>]
                                         [--capabilities <capabilities>]
                                         <flavor_name>

Update a pool flavor's attributes.

Positional arguments:

<flavor_name>

Name of the flavor.

Optional arguments:

--pool_group <pool_group>

Pool group the flavor sits on.

--capabilities <capabilities>

Describes flavor-specific capabilities.