Merge "Regenerated the trove-manage CLI file"
This commit is contained in:
commit
404ecddf7c
@ -9,11 +9,15 @@
|
|||||||
|
|
||||||
<?dbhtml stop-chunking?>
|
<?dbhtml stop-chunking?>
|
||||||
|
|
||||||
<title>Database Service Management command-line client</title>
|
<title>Database service management command-line client</title>
|
||||||
<para>The <command>trove-manage</command> client is the command-line interface
|
|
||||||
(CLI) for the Database Management Utility and its extensions. This chapter documents
|
<para>The <command>trove-manage</command> client is the command-line
|
||||||
<command>trove-manage</command> version 2014.2.
|
interface (CLI) for the Database Management Utility API and its extensions.
|
||||||
|
|
||||||
|
This chapter documents <command>trove-manage</command> version
|
||||||
|
<literal>4.0.0</literal>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>For help on a specific <command>trove-manage</command>
|
<para>For help on a specific <command>trove-manage</command>
|
||||||
command, enter:
|
command, enter:
|
||||||
</para>
|
</para>
|
||||||
@ -28,8 +32,7 @@
|
|||||||
[--nouse-syslog-rfc-format] [--noverbose]
|
[--nouse-syslog-rfc-format] [--noverbose]
|
||||||
[--syslog-log-facility SYSLOG_LOG_FACILITY] [--use-syslog]
|
[--syslog-log-facility SYSLOG_LOG_FACILITY] [--use-syslog]
|
||||||
[--use-syslog-rfc-format] [--verbose] [--version]
|
[--use-syslog-rfc-format] [--verbose] [--version]
|
||||||
|
{db_sync,db_upgrade,db_downgrade,datastore_update,datastore_version_update,db_recreate,db_load_datastore_config_parameters,datastore_version_flavor_add,datastore_version_flavor_delete}
|
||||||
{db_sync,db_upgrade,db_downgrade,datastore_update,datastore_version_update,db_recreate}
|
|
||||||
...</computeroutput></screen>
|
...</computeroutput></screen>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="trove-manageclient_command_optional">
|
<section xml:id="trove-manageclient_command_optional">
|
||||||
@ -71,7 +74,7 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Print debugging output (set logging level to DEBUG
|
Print debugging output (set logging level to DEBUG
|
||||||
instead of default WARNING level).
|
instead of default INFO level).
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -170,8 +173,7 @@
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Use syslog for logging. Existing syslog format is
|
Use syslog for logging. Existing syslog format is
|
||||||
<emphasis>DEPRECATED</emphasis> during I, and will change in J to honor
|
<emphasis>DEPRECATED</emphasis> and will be changed later to honor RFC5424.
|
||||||
RFC5424.
|
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -182,8 +184,8 @@
|
|||||||
(Optional) Enables or disables syslog rfc5424 format
|
(Optional) Enables or disables syslog rfc5424 format
|
||||||
for logging. If enabled, prefixes the MSG part of the
|
for logging. If enabled, prefixes the MSG part of the
|
||||||
syslog message with APP-NAME (RFC5424). The format
|
syslog message with APP-NAME (RFC5424). The format
|
||||||
without the APP-NAME is deprecated in I, and will be
|
without the APP-NAME is deprecated in Kilo, and will
|
||||||
removed in J.
|
be removed in Mitaka, along with this option.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -191,8 +193,8 @@
|
|||||||
<term><command>--verbose, -v</command></term>
|
<term><command>--verbose, -v</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Print more verbose output (set logging level to INFO
|
If set to false, will disable INFO logging level,
|
||||||
instead of default WARNING level).
|
making WARNING the default.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -207,7 +209,7 @@
|
|||||||
</variablelist>
|
</variablelist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="trove-manageclient_subcommand_datastore_update">
|
<section xml:id="trove-manageclient_subcommand_datastore_update">
|
||||||
<title>trove-manage datastore_update command</title>
|
<title>trove-manage datastore_update</title>
|
||||||
<screen><computeroutput>usage: trove-manage datastore_update [-h] datastore_name default_version</computeroutput></screen>
|
<screen><computeroutput>usage: trove-manage datastore_update [-h] datastore_name default_version</computeroutput></screen>
|
||||||
<para>
|
<para>
|
||||||
Add or update a datastore. If the datastore already exists, the default
|
Add or update a datastore. If the datastore already exists, the default
|
||||||
@ -242,10 +244,103 @@ version will be updated.
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</section>
|
||||||
|
<section xml:id="trove-manageclient_subcommand_datastore_version_flavor_add">
|
||||||
|
<title>trove-manage datastore_version_flavor_add</title>
|
||||||
|
<screen><computeroutput>usage: trove-manage datastore_version_flavor_add [-h]
|
||||||
|
datastore_name
|
||||||
|
datastore_version_name
|
||||||
|
flavor_ids</computeroutput></screen>
|
||||||
|
<para>
|
||||||
|
</para> <variablelist wordsize="10">
|
||||||
|
<title>Positional arguments</title>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>datastore_name</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Name of the datastore.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>datastore_version_name</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Name of the datastore version.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>flavor_ids</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Comma separated list of flavor ids.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
<variablelist wordsize="10">
|
||||||
|
<title>Optional arguments</title>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>-h, --help</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
show this help message and exit
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</section>
|
||||||
|
<section xml:id="trove-manageclient_subcommand_datastore_version_flavor_delete">
|
||||||
|
<title>trove-manage datastore_version_flavor_delete</title>
|
||||||
|
<screen><computeroutput>usage: trove-manage datastore_version_flavor_delete [-h]
|
||||||
|
datastore_name
|
||||||
|
datastore_version_name
|
||||||
|
flavor_id</computeroutput></screen>
|
||||||
|
<para>
|
||||||
|
</para> <variablelist wordsize="10">
|
||||||
|
<title>Positional arguments</title>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>datastore_name</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Name of the datastore.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>datastore_version_name</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Name of the datastore version.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>flavor_id</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
The flavor to be deleted for a given datastore and
|
||||||
|
datastore version.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
<variablelist wordsize="10">
|
||||||
|
<title>Optional arguments</title>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>-h, --help</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
show this help message and exit
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="trove-manageclient_subcommand_datastore_version_update">
|
<section xml:id="trove-manageclient_subcommand_datastore_version_update">
|
||||||
<title>trove-manage datastore_version_update command</title>
|
<title>trove-manage datastore_version_update</title>
|
||||||
<screen><computeroutput>usage: trove-manage datastore_version_update [-h]
|
<screen><computeroutput>usage: trove-manage datastore_version_update [-h]
|
||||||
datastore version_name manager
|
datastore version_name manager
|
||||||
image_id packages active</computeroutput></screen>
|
image_id packages active</computeroutput></screen>
|
||||||
@ -320,7 +415,7 @@ all values except the datastore name and version will be updated.
|
|||||||
</variablelist>
|
</variablelist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="trove-manageclient_subcommand_db_downgrade">
|
<section xml:id="trove-manageclient_subcommand_db_downgrade">
|
||||||
<title>trove-manage db_downgrade command</title>
|
<title>trove-manage db_downgrade</title>
|
||||||
<screen><computeroutput>usage: trove-manage db_downgrade [-h] [--repo_path REPO_PATH] version</computeroutput></screen>
|
<screen><computeroutput>usage: trove-manage db_downgrade [-h] [--repo_path REPO_PATH] version</computeroutput></screen>
|
||||||
<para>
|
<para>
|
||||||
Downgrade the database to the specified version.
|
Downgrade the database to the specified version.
|
||||||
@ -355,18 +450,39 @@ Downgrade the database to the specified version.
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="trove-manageclient_subcommand_db_recreate">
|
<section xml:id="trove-manageclient_subcommand_db_load_datastore_config_parameters">
|
||||||
<title>trove-manage db_recreate command</title>
|
<title>trove-manage db_load_datastore_config_parameters</title>
|
||||||
<screen><computeroutput>usage: trove-manage db_recreate [-h] repo_path</computeroutput></screen>
|
<screen><computeroutput>usage: trove-manage db_load_datastore_config_parameters [-h]
|
||||||
|
datastore
|
||||||
|
datastore_version
|
||||||
|
config_file_location</computeroutput></screen>
|
||||||
<para>
|
<para>
|
||||||
Drop the database and recreate it.
|
Loads configuration group parameter validation rules for a datastore version
|
||||||
|
into the database.
|
||||||
</para> <variablelist wordsize="10">
|
</para> <variablelist wordsize="10">
|
||||||
<title>Positional arguments</title>
|
<title>Positional arguments</title>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><command>repo_path</command></term>
|
<term><command>datastore</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
SQLAlchemy Migrate repository path.
|
Name of the datastore.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>datastore_version</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Name of the datastore version.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>config_file_location</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Fully qualified file path to the configuration group
|
||||||
|
parameter validation rules.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -381,10 +497,35 @@ Drop the database and recreate it.
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
</variablelist>
|
||||||
|
</section>
|
||||||
|
<section xml:id="trove-manageclient_subcommand_db_recreate">
|
||||||
|
<title>trove-manage db_recreate</title>
|
||||||
|
<screen><computeroutput>usage: trove-manage db_recreate [-h] [--repo_path REPO_PATH]</computeroutput></screen>
|
||||||
|
<para>
|
||||||
|
Drop the database and recreate it.
|
||||||
|
</para> <variablelist wordsize="10">
|
||||||
|
<title>Optional arguments</title>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>-h, --help</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
show this help message and exit
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
<varlistentry>
|
||||||
|
<term><command>--repo_path REPO_PATH</command></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
SQLAlchemy Migrate repository path.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="trove-manageclient_subcommand_db_sync">
|
<section xml:id="trove-manageclient_subcommand_db_sync">
|
||||||
<title>trove-manage db_sync command</title>
|
<title>trove-manage db_sync</title>
|
||||||
<screen><computeroutput>usage: trove-manage db_sync [-h] [--repo_path REPO_PATH]</computeroutput></screen>
|
<screen><computeroutput>usage: trove-manage db_sync [-h] [--repo_path REPO_PATH]</computeroutput></screen>
|
||||||
<para>
|
<para>
|
||||||
Populate the database structure
|
Populate the database structure
|
||||||
@ -409,7 +550,7 @@ Populate the database structure
|
|||||||
</variablelist>
|
</variablelist>
|
||||||
</section>
|
</section>
|
||||||
<section xml:id="trove-manageclient_subcommand_db_upgrade">
|
<section xml:id="trove-manageclient_subcommand_db_upgrade">
|
||||||
<title>trove-manage db_upgrade command</title>
|
<title>trove-manage db_upgrade</title>
|
||||||
<screen><computeroutput>usage: trove-manage db_upgrade [-h] [--version VERSION]
|
<screen><computeroutput>usage: trove-manage db_upgrade [-h] [--version VERSION]
|
||||||
[--repo_path REPO_PATH]</computeroutput></screen>
|
[--repo_path REPO_PATH]</computeroutput></screen>
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user