Update Trove CLI doc to version 1.3.0
Trove recently release version 1.3.0 of the python client: https://pypi.python.org/pypi/python-troveclient The CLI documention has been updated to reflect the new release. Change-Id: I41f31057ecc4756cf2845d9eee96d7ccea3886ff Closes-Bug: #1496576
This commit is contained in:
parent
c0ca3c53c3
commit
38323fb21b
@ -15,7 +15,7 @@
|
||||
interface (CLI) for the Database API and its extensions.
|
||||
|
||||
This chapter documents <command>trove</command> version
|
||||
<literal>1.2.0</literal>.
|
||||
<literal>1.3.0</literal>.
|
||||
</para>
|
||||
|
||||
<para>For help on a specific <command>trove</command>
|
||||
@ -31,7 +31,7 @@
|
||||
[--database-service-name <database-service-name>]
|
||||
[--endpoint-type <endpoint-type>]
|
||||
[--os-database-api-version <database-api-ver>]
|
||||
[--retries <retries>] [--json] [--insecure]
|
||||
[--retries <retries>] [--json] [--profile HMAC_KEY] [--insecure]
|
||||
[--os-cacert <ca-certificate>] [--os-cert <certificate>]
|
||||
[--os-key <key>] [--timeout <seconds>]
|
||||
[--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID]
|
||||
@ -113,6 +113,14 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>cluster-grow</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Adds more instances to a cluster.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>cluster-instances</command></term>
|
||||
<listitem>
|
||||
@ -137,6 +145,14 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>cluster-shrink</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Drops instances from a cluster.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>configuration-attach</command></term>
|
||||
<listitem>
|
||||
@ -419,15 +435,6 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>resize-flavor</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
[<emphasis>DEPRECATED</emphasis>] Please use resize-instance
|
||||
instead.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>resize-instance</command></term>
|
||||
<listitem>
|
||||
@ -466,7 +473,7 @@
|
||||
<listitem>
|
||||
<para>
|
||||
Gets status if root was ever enabled for an
|
||||
instance.
|
||||
instance or cluster.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -706,6 +713,22 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--profile HMAC_KEY HMAC</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
key used to encrypt context data when
|
||||
profiling the performance of an operation.
|
||||
This key should be set to one of the HMAC
|
||||
keys configured in Trove (they are found in
|
||||
api-paste.ini, typically in /etc/trove).
|
||||
Without the key, profiling will not be
|
||||
triggered even if it is enabled on the
|
||||
server side. Defaults to
|
||||
<code>env[OS_PROFILE_HMACKEY]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--insecure</command></term>
|
||||
<listitem>
|
||||
@ -1003,7 +1026,8 @@ Deletes a backup.
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_backup-list">
|
||||
<title>trove backup-list</title>
|
||||
<screen><computeroutput>usage: trove backup-list [--limit <limit>] [--datastore <datastore>]</computeroutput></screen>
|
||||
<screen><computeroutput>usage: trove backup-list [--limit <limit>] [--marker <ID>]
|
||||
[--datastore <datastore>]</computeroutput></screen>
|
||||
<para>
|
||||
Lists available backups.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -1016,6 +1040,16 @@ Lists available backups.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--marker <ID></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Begin displaying the results for IDs greater than
|
||||
the specified marker. When used with --limit, set
|
||||
this to the last ID displayed in the previous run.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--datastore <datastore></command></term>
|
||||
<listitem>
|
||||
@ -1028,7 +1062,7 @@ Lists available backups.
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_backup-list-instance">
|
||||
<title>trove backup-list-instance</title>
|
||||
<screen><computeroutput>usage: trove backup-list-instance [--limit <limit>] <instance></computeroutput></screen>
|
||||
<screen><computeroutput>usage: trove backup-list-instance [--limit <limit>] [--marker <ID>] <instance></computeroutput></screen>
|
||||
<para>
|
||||
Lists available backups for an instance.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -1052,6 +1086,16 @@ Lists available backups for an instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--marker <ID></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Begin displaying the results for IDs greater than the
|
||||
specified marker. When used with --limit, set this to the
|
||||
last ID displayed in the previous run.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_backup-show">
|
||||
@ -1074,7 +1118,7 @@ Shows details of a backup.
|
||||
<section xml:id="troveclient_subcommand_cluster-create">
|
||||
<title>trove cluster-create</title>
|
||||
<screen><computeroutput>usage: trove cluster-create <name> <datastore> <datastore_version>
|
||||
[--instance <flavor_id=flavor_id,volume=volume>]</computeroutput></screen>
|
||||
[--instance <flavor=flavor_name_or_id,volume=volume>]</computeroutput></screen>
|
||||
<para>
|
||||
Creates a new cluster.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -1107,7 +1151,7 @@ Creates a new cluster.
|
||||
<variablelist wordsize="10">
|
||||
<title>Optional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command>--instance <flavor_id=flavor_id,volume=volume></command></term>
|
||||
<term><command>--instance <flavor=flavor_name_or_id,volume=volume></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Create an instance for the cluster. Specify
|
||||
@ -1128,7 +1172,37 @@ Deletes a cluster.
|
||||
<term><command><cluster></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
ID of the cluster.
|
||||
ID or name of the cluster.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_cluster-grow">
|
||||
<title>trove cluster-grow</title>
|
||||
<screen><computeroutput>usage: trove cluster-grow <cluster>
|
||||
[--instance <name=name,flavor=flavor_name_or_id,volume=volume>]</computeroutput></screen>
|
||||
<para>
|
||||
Adds more instances to a cluster.
|
||||
</para> <variablelist wordsize="10">
|
||||
<title>Positional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command><cluster></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
ID or name of the cluster.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
<variablelist wordsize="10">
|
||||
<title>Optional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command>--instance <name=name,flavor=flavor_name_or_id,volume=volume></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Add an instance to the cluster. Specify
|
||||
multiple times to create multiple instances.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -1193,6 +1267,32 @@ Shows details of a cluster.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_cluster-shrink">
|
||||
<title>trove cluster-shrink</title>
|
||||
<screen><computeroutput>usage: trove cluster-shrink <cluster> <instance> [<instance> ...]</computeroutput></screen>
|
||||
<para>
|
||||
Drops instances from a cluster.
|
||||
</para> <variablelist wordsize="10">
|
||||
<title>Positional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command><cluster></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
ID or name of the cluster.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command><instance></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Drop instance(s) from the cluster. Specify multiple ids to drop
|
||||
multiple instances.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_configuration-attach">
|
||||
@ -1517,7 +1617,7 @@ Updates a configuration group.
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_create">
|
||||
<title>trove create</title>
|
||||
<screen><computeroutput>usage: trove create <name> <flavor_id>
|
||||
<screen><computeroutput>usage: trove create <name> <flavor>
|
||||
[--size <size>]
|
||||
[--databases <databases> [<databases> ...]]
|
||||
[--users <users> [<users> ...]] [--backup <backup>]
|
||||
@ -1540,10 +1640,10 @@ Creates a new instance.
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command><flavor_id></command></term>
|
||||
<term><command><flavor></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Flavor of the instance.
|
||||
Flavor ID or name of the instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -1959,7 +2059,7 @@ Creates metadata in the database for instance <id>.
|
||||
<term><command><instance_id></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
UUID for instance
|
||||
UUID for instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -1967,7 +2067,7 @@ Creates metadata in the database for instance <id>.
|
||||
<term><command><key></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Key for assignment
|
||||
Key for assignment.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -1975,7 +2075,7 @@ Creates metadata in the database for instance <id>.
|
||||
<term><command><value></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value to assign to <key>
|
||||
Value to assign to <key>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -1992,7 +2092,7 @@ Deletes metadata for instance <id>.
|
||||
<term><command><instance_id></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
UUID for instance
|
||||
UUID for instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2000,7 +2100,7 @@ Deletes metadata for instance <id>.
|
||||
<term><command><key></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Metadata key to delete
|
||||
Metadata key to delete.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2017,7 +2117,7 @@ Replaces metadata value with a new one, this is non-destructive.
|
||||
<term><command><instance_id></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
UUID for instance
|
||||
UUID for instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2025,7 +2125,7 @@ Replaces metadata value with a new one, this is non-destructive.
|
||||
<term><command><key></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Key to replace
|
||||
Key to replace.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2033,7 +2133,7 @@ Replaces metadata value with a new one, this is non-destructive.
|
||||
<term><command><value></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
New value to assign to <key>
|
||||
New value to assign to <key>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2050,7 +2150,7 @@ Shows all metadata for instance <id>.
|
||||
<term><command><instance_id></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
UUID for instance
|
||||
UUID for instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2067,7 +2167,7 @@ Shows metadata entry for key <key> and instance <id>.
|
||||
<term><command><instance_id></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
UUID for instance
|
||||
UUID for instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2075,7 +2175,7 @@ Shows metadata entry for key <key> and instance <id>.
|
||||
<term><command><key></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
key to display
|
||||
Key to display.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2092,7 +2192,7 @@ Updates metadata, this is destructive.
|
||||
<term><command><instance_id></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
UUID for instance
|
||||
UUID for instance.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2100,7 +2200,7 @@ Updates metadata, this is destructive.
|
||||
<term><command><key></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Key to update
|
||||
Key to update.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2108,7 +2208,7 @@ Updates metadata, this is destructive.
|
||||
<term><command><newkey></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
New key
|
||||
New key.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2116,7 +2216,7 @@ Updates metadata, this is destructive.
|
||||
<term><command><value></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Value to assign to <newkey>
|
||||
Value to assign to <newkey>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2141,7 +2241,7 @@ Promotes a replica to be the new replica source of its set.
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_resize-instance">
|
||||
<title>trove resize-instance</title>
|
||||
<screen><computeroutput>usage: trove resize-instance <instance> <flavor_id></computeroutput></screen>
|
||||
<screen><computeroutput>usage: trove resize-instance <instance> <flavor></computeroutput></screen>
|
||||
<para>
|
||||
Resizes an instance with a new flavor.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -2155,7 +2255,7 @@ Resizes an instance with a new flavor.
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command><flavor_id></command></term>
|
||||
<term><command><flavor></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
New flavor of the instance.
|
||||
@ -2208,16 +2308,28 @@ Restarts an instance.
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_root-enable">
|
||||
<title>trove root-enable</title>
|
||||
<screen><computeroutput>usage: trove root-enable <instance></computeroutput></screen>
|
||||
<screen><computeroutput>usage: trove root-enable <instance_or_cluster>
|
||||
[--root_password <root_password>]</computeroutput></screen>
|
||||
<para>
|
||||
Enables root for an instance and resets if already exists.
|
||||
</para> <variablelist wordsize="10">
|
||||
<title>Positional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command><instance></command></term>
|
||||
<term><command><instance_or_cluster></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
ID or name of the instance.
|
||||
ID or name of the instance or cluster.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
<variablelist wordsize="10">
|
||||
<title>Optional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command>--root_password <root_password></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Root password to set.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2225,16 +2337,16 @@ Enables root for an instance and resets if already exists.
|
||||
</section>
|
||||
<section xml:id="troveclient_subcommand_root-show">
|
||||
<title>trove root-show</title>
|
||||
<screen><computeroutput>usage: trove root-show <instance></computeroutput></screen>
|
||||
<screen><computeroutput>usage: trove root-show <instance_or_cluster></computeroutput></screen>
|
||||
<para>
|
||||
Gets status if root was ever enabled for an instance.
|
||||
Gets status if root was ever enabled for an instance or cluster.
|
||||
</para> <variablelist wordsize="10">
|
||||
<title>Positional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command><instance></command></term>
|
||||
<term><command><instance_or_cluster></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
ID or name of the instance.
|
||||
ID or name of the instance or cluster.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -2317,7 +2429,7 @@ Shows details of a security group.
|
||||
<term><command><security_group></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Security group ID
|
||||
Security group ID.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
Loading…
Reference in New Issue
Block a user