ZhaoBo 41fcd3c040 Add command guide for openstack pool CLI
Change-Id: I5493e53cbc95ea17d9032c85c5bf6b16639f7a70
Co-Authored-By: wangxiyuan<wangxiyuan@huawei.com>
2016-12-22 07:47:10 +00:00

3.2 KiB

Pool

For help on a specific openstack pool command, enter:

$ openstack pool COMMAND -h/--help

The five commands:

pool create
pool delete
pool list
pool show
pool update

openstack pool create

usage: openstack pool create [-h] [-f {json,shell,table,value,yaml}]
                             [-c COLUMN] [--max-width <integer>] [--noindent]
                             [--prefix PREFIX] [--pool_group <pool_group>]
                             [--pool_options <pool_options>]
                             <pool_name> <pool_uri> <pool_weight>

Create a pool.

Positional arguments:

<pool_name>

Name of the pool.

<pool_uri>

Storage engine URI.

<pool_weight>

weight of the pool.

Optional arguments:

--pool_group <pool_group>

Group of the pool.

--pool_options <pool_options>

An optional request component related to storage-specific options.

openstack pool delete

usage: openstack pool delete [-h] <pool_name>

Delete a pool.

Positional arguments:

<pool_name>

Name of the pool.

openstack pool list

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

List available Pools.

Optional arguments:

--marker <pool_name>

Pool's paging marker.

--limit <limit>

Page size limit.

--detailed <detailed>

Detailed output.

openstack pool show

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

Display pool details.

Positional arguments:

<pool_name>

Pool to display (name).

openstack pool update

usage: openstack pool update [-h] [-f {json,shell,table,value,yaml}]
                             [-c COLUMN] [--max-width <integer>] [--noindent]
                             [--prefix PREFIX] [--pool_uri <pool_uri>]
                             [--pool_weight <pool_weight>]
                             [--pool_group <pool_group>]
                             [--pool_options <pool_options>]
                             <pool_name>

Update a pool attribute.

Positional arguments:

<pool_name>

Name of the pool.

Optional arguments:

--pool_uri <pool_uri>

Storage engine URI.

--pool_weight <pool_weight>

Weight of the pool.

--pool_group <pool_group>

Group of the pool.

--pool_options <pool_options>

An optional request component related to storage-specific options.