[cli-ref] Update CLI reference for python-troveclient 2.0.0

Change-Id: I6704e4d2d36d51c7db17ec07b3c91a68d8bfd7af
This commit is contained in:
KATO Tomoyuki 2016-02-06 08:51:37 +09:00
parent f58754ac8a
commit c90817ef4a

View File

@ -9,7 +9,7 @@ Database service command-line client
The trove client is the command-line interface (CLI) for The trove client is the command-line interface (CLI) for
the Database service API and its extensions. the Database service API and its extensions.
This chapter documents :command:`trove` version ``1.4.0``. This chapter documents :command:`trove` version ``2.0.0``.
For help on a specific :command:`trove` command, enter: For help on a specific :command:`trove` command, enter:
@ -210,6 +210,9 @@ Subcommands
``restart`` ``restart``
Restarts an instance. Restarts an instance.
``root-disable``
Disables root for an instance.
``root-enable`` ``root-enable``
Enables root for an instance and resets if Enables root for an instance and resets if
already exists. already exists.
@ -278,7 +281,7 @@ trove optional arguments
~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
``--version`` ``--version``
show program's version number and exit Show program's version number and exit.
``--debug`` ``--debug``
Print debugging output. Print debugging output.
@ -465,7 +468,7 @@ Positional arguments
-------------------- --------------------
``<backup>`` ``<backup>``
ID of the backup. ID or name of the backup.
.. _trove_backup-list: .. _trove_backup-list:
@ -546,7 +549,7 @@ trove cluster-create
.. code-block:: console .. code-block:: console
usage: trove cluster-create <name> <datastore> <datastore_version> usage: trove cluster-create <name> <datastore> <datastore_version>
[--instance <opt=value,opt=value,...>] [--instance "<opt=value,opt=value,...>"]
Creates a new cluster. Creates a new cluster.
@ -565,13 +568,14 @@ Positional arguments
Optional arguments Optional arguments
------------------ ------------------
``--instance <opt=value,opt=value,...>`` ``--instance "<opt=value,opt=value,...>"``
Create an instance for the cluster. Specify Create an instance for the cluster. Specify
multiple times to create multiple instances. multiple times to create multiple instances.
Valid options are: flavor=flavor_name_or_id, Valid options are: flavor=flavor_name_or_id,
volume=disk_size_in_GB, nic='net-id=net- volume=disk_size_in_GB, volume_type=type,
uuid,v4-fixed-ip=ip-addr,port-id=port-uuid' nic='net-id=net-uuid,v4-fixed-ip=ip-addr
(where net-id=network_id, v4-fixed- ,port-id=port-uuid' (where net-
id=network_id, v4-fixed-
ip=IPv4r_fixed_address, port-id=port_id), ip=IPv4r_fixed_address, port-id=port_id),
availability_zone=AZ_hint_for_Nova. availability_zone=AZ_hint_for_Nova.
@ -966,7 +970,7 @@ trove create
.. code-block:: console .. code-block:: console
usage: trove create <name> <flavor> usage: trove create <name> <flavor>
[--size <size>] [--size <size>] [--volume_type <volume_type>]
[--databases <databases> [<databases> ...]] [--databases <databases> [<databases> ...]]
[--users <users> [<users> ...]] [--backup <backup>] [--users <users> [<users> ...]] [--backup <backup>]
[--availability_zone <availability_zone>] [--availability_zone <availability_zone>]
@ -994,6 +998,10 @@ Optional arguments
Size of the instance disk volume in GB. Size of the instance disk volume in GB.
Required when volume support is enabled. Required when volume support is enabled.
``--volume_type <volume_type>``
Volume type. Optional when volume support is
enabled.
``--databases <databases> [<databases> ...]`` ``--databases <databases> [<databases> ...]``
Optional list of databases. Optional list of databases.
@ -1013,7 +1021,9 @@ Optional arguments
``--datastore_version <datastore_version>`` ``--datastore_version <datastore_version>``
A datastore version name or ID. A datastore version name or ID.
``--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,port-id=port-uuid>`` ``--nic <net-id=net-uuid,``
``v4-fixed-ip=ip-addr,port-id=port-uuid>``
Create a NIC on the instance. Specify option Create a NIC on the instance. Specify option
multiple times to create multiple NICs. net- multiple times to create multiple NICs. net-
id: attach NIC to network with this ID id: attach NIC to network with this ID
@ -1499,6 +1509,23 @@ Restarts an instance.
Positional arguments Positional arguments
-------------------- --------------------
``<instance>``
ID or name of the instance.
.. _trove_root-disable:
trove root-disable
~~~~~~~~~~~~~~~~~~
.. code-block:: console
usage: trove root-disable <instance>
Disables root for an instance.
Positional arguments
--------------------
``<instance>`` ``<instance>``
ID or name of the instance. ID or name of the instance.