Document missing commands for python-{glance,swift}client
Change-Id: I98d6486d27762fd3d5faa2dd76feac0ae2f3dc09
This commit is contained in:
parent
24a519d612
commit
1e52a943bf
@ -9,10 +9,10 @@
|
||||
|
||||
<?dbhtml stop-chunking?>
|
||||
|
||||
<title>Image Service command-line client</title>
|
||||
<title>Image service command-line client</title>
|
||||
|
||||
<para>The <command>glance</command> client is the command-line
|
||||
interface (CLI) for the OpenStack Image Service API and its extensions.
|
||||
interface (CLI) for the OpenStack Image service API and its extensions.
|
||||
|
||||
This chapter documents <command>glance</command> version
|
||||
<literal>0.18.0</literal>.
|
||||
@ -420,7 +420,7 @@
|
||||
</section>
|
||||
|
||||
<section xml:id="glance_cli_v1">
|
||||
<title>Image Service API v1 commands</title>
|
||||
<title>Image service API v1 commands</title>
|
||||
<section xml:id="glanceclient_subcommand_image-create">
|
||||
<title>glance image-create</title>
|
||||
<screen><computeroutput>usage: glance image-create [--id <IMAGE_ID>] [--name <NAME>] [--store <STORE>]
|
||||
@ -614,6 +614,43 @@ Delete specified image(s).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_image-download">
|
||||
<title>glance image-download</title>
|
||||
<screen><computeroutput>usage: glance image-download [--file <FILE>] [--progress] <IMAGE></computeroutput></screen>
|
||||
<para>
|
||||
Download a specific image.
|
||||
</para> <variablelist wordsize="10">
|
||||
<title>Positional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command><IMAGE></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Name or ID of image to download.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
<variablelist wordsize="10">
|
||||
<title>Optional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command>--file <FILE></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Local file to save downloaded image data to. If this is not
|
||||
specified the image data will be written to stdout.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--progress</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Show download progress bar.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_image-list">
|
||||
@ -1066,10 +1103,10 @@ Describe sharing permissions by image or tenant.
|
||||
</section>
|
||||
|
||||
<section xml:id="glance_cli_v2">
|
||||
<title>Image Service API v2 commands</title>
|
||||
<title>Image service API v2 commands</title>
|
||||
<para>
|
||||
You can select an API version to use by adding the
|
||||
<parameter>--os-image-api-version</parameter> option or by setting
|
||||
<parameter>--os-image-api-version</parameter> parameter or by setting
|
||||
the corresponding environment variable:
|
||||
<screen><prompt>$</prompt> <userinput>export OS_IMAGE_API_VERSION=2</userinput></screen>
|
||||
</para>
|
||||
@ -2342,6 +2379,100 @@ Update the status of a member for a given image.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_task-create_v2">
|
||||
<title>glance task-create (v2)</title>
|
||||
<screen><computeroutput>usage: glance --os-image-api-version 2 task-create [--type <TYPE>] [--input <STRING>]</computeroutput></screen>
|
||||
<para>
|
||||
Create a new task.
|
||||
</para> <variablelist wordsize="10">
|
||||
<title>Optional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command>--type <TYPE></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Type of Task. Please refer to Glance schema or
|
||||
documentation to see which tasks are supported.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--input <STRING></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Parameters of the task to be launched
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_task-list_v2">
|
||||
<title>glance task-list (v2)</title>
|
||||
<screen><computeroutput>usage: glance --os-image-api-version 2 task-list [--sort-key {id,type,status}] [--sort-dir {asc,desc}]
|
||||
[--page-size <SIZE>] [--type <TYPE>]
|
||||
[--status <STATUS>]</computeroutput></screen>
|
||||
<para>
|
||||
List tasks you can access.
|
||||
</para> <variablelist wordsize="10">
|
||||
<title>Optional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command>--sort-key {id,type,status}</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Sort task list by specified field.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--sort-dir {asc,desc}</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Sort task list in specified direction.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--page-size <SIZE></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Number of tasks to request in each paginated request.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--type <TYPE></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Filter tasks to those that have this type.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--status <STATUS></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Filter tasks to those that have this status.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_task-show_v2">
|
||||
<title>glance task-show (v2)</title>
|
||||
<screen><computeroutput>usage: glance --os-image-api-version 2 task-show <TASK_ID></computeroutput></screen>
|
||||
<para>
|
||||
Describe a specific task.
|
||||
</para> <variablelist wordsize="10">
|
||||
<title>Positional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command><TASK_ID></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
ID of task to describe.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
</section>
|
||||
|
@ -266,6 +266,16 @@
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_capabilities">
|
||||
<title>swift capabilities</title>
|
||||
|
||||
<screen><computeroutput>Usage: swift capabilities</computeroutput></screen>
|
||||
<para>
|
||||
Retrieve capability of the proxy.
|
||||
Optional positional arguments:
|
||||
<proxy_url> Proxy URL of the cluster to retrieve capabilities.
|
||||
</para>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_delete">
|
||||
<title>swift delete</title>
|
||||
|
||||
@ -629,6 +639,24 @@ Displays information for the account, container, or object.
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_tempurl">
|
||||
<title>swift tempurl</title>
|
||||
|
||||
<screen><computeroutput>Usage: swift tempurl</computeroutput></screen>
|
||||
<para>
|
||||
Generates a temporary URL for a Swift object.
|
||||
Positions arguments:
|
||||
[method] An HTTP method to allow for this temporary URL.
|
||||
Usually 'GET' or 'PUT'.
|
||||
[seconds] The amount of time in seconds the temporary URL will
|
||||
be valid for.
|
||||
[path] The full path to the Swift object. Example:
|
||||
/v1/AUTH_account/c/o.
|
||||
[key] The secret temporary URL key set on the Swift cluster.
|
||||
To set a key, run 'swift post -m
|
||||
"Temp-URL-Key:b3968d0207b54ece87cccc06515a89d4"'
|
||||
</para>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_upload">
|
||||
<title>swift upload</title>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user