Update CLI reference for python-heatclient 0.7.0

Change-Id: I8bf057f97b5b400b725734f9add2d0848044d3db
This commit is contained in:
Atsushi SAKAI 2015-09-03 09:45:57 +09:00
parent d6d10a5fb7
commit 4f5443f5e3

View File

@ -15,7 +15,7 @@
interface (CLI) for the Orchestration API and its extensions. interface (CLI) for the Orchestration API and its extensions.
This chapter documents <command>heat</command> version This chapter documents <command>heat</command> version
<literal>0.6.0</literal>. <literal>0.7.0</literal>.
</para> </para>
<para>For help on a specific <command>heat</command> <para>For help on a specific <command>heat</command>
@ -89,7 +89,7 @@
<term><command>config-delete</command></term> <term><command>config-delete</command></term>
<listitem> <listitem>
<para> <para>
Delete software configurations. Delete a software configuration.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -105,6 +105,7 @@
<term><command>deployment-create</command></term> <term><command>deployment-create</command></term>
<listitem> <listitem>
<para> <para>
Create a software deployment.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -112,7 +113,15 @@
<term><command>deployment-delete</command></term> <term><command>deployment-delete</command></term>
<listitem> <listitem>
<para> <para>
Delete software deployments. Delete a software deployment.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>deployment-list</command></term>
<listitem>
<para>
List software deployments.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -129,7 +138,7 @@
<term><command>deployment-output-show</command></term> <term><command>deployment-output-show</command></term>
<listitem> <listitem>
<para> <para>
Show a specific stack output. Show a specific deployment output.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
@ -381,6 +390,14 @@
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><command>template-function-list</command></term>
<listitem>
<para>
List the available functions.
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><command>template-show</command></term> <term><command>template-show</command></term>
<listitem> <listitem>
@ -397,6 +414,14 @@
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><command>template-version-list</command></term>
<listitem>
<para>
List the available template versions.
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><command>bash-completion</command></term> <term><command>bash-completion</command></term>
<listitem> <listitem>
@ -794,7 +819,7 @@ Create a software configuration.
<title>heat config-delete</title> <title>heat config-delete</title>
<screen><computeroutput>usage: heat config-delete &lt;ID&gt; [&lt;ID&gt; ...]</computeroutput></screen> <screen><computeroutput>usage: heat config-delete &lt;ID&gt; [&lt;ID&gt; ...]</computeroutput></screen>
<para> <para>
Delete software configurations. Delete a software configuration.
</para> <variablelist wordsize="10"> </para> <variablelist wordsize="10">
<title>Positional arguments</title> <title>Positional arguments</title>
<varlistentry> <varlistentry>
@ -837,12 +862,13 @@ View details of a software configuration.
</section> </section>
<section xml:id="heatclient_subcommand_deployment-create"> <section xml:id="heatclient_subcommand_deployment-create">
<title>heat deployment-create</title> <title>heat deployment-create</title>
<screen><computeroutput>usage: heat deployment-create [-i &lt;KEY=VALUE&gt;] [-a &lt;ACTION&gt;] [-c &lt;CONFIG&gt;] <screen><computeroutput>usage: heat deployment-create [-i &lt;KEY=VALUE&gt;] [-a &lt;ACTION&gt;] [-c &lt;CONFIG&gt;] -s
[-s &lt;SERVER&gt;] [-t &lt;TRANSPORT&gt;] &lt;SERVER&gt; [-t &lt;TRANSPORT&gt;]
[--container &lt;CONTAINER_NAME&gt;] [--container &lt;CONTAINER_NAME&gt;]
[--timeout &lt;TIMEOUT&gt;] [--timeout &lt;TIMEOUT&gt;]
&lt;DEPLOY_NAME&gt;</computeroutput></screen> &lt;DEPLOY_NAME&gt;</computeroutput></screen>
<para> <para>
Create a software deployment.
</para> <variablelist wordsize="10"> </para> <variablelist wordsize="10">
<title>Positional arguments</title> <title>Positional arguments</title>
<varlistentry> <varlistentry>
@ -930,7 +956,7 @@ View details of a software configuration.
<title>heat deployment-delete</title> <title>heat deployment-delete</title>
<screen><computeroutput>usage: heat deployment-delete &lt;ID&gt; [&lt;ID&gt; ...]</computeroutput></screen> <screen><computeroutput>usage: heat deployment-delete &lt;ID&gt; [&lt;ID&gt; ...]</computeroutput></screen>
<para> <para>
Delete software deployments. Delete a software deployment.
</para> <variablelist wordsize="10"> </para> <variablelist wordsize="10">
<title>Positional arguments</title> <title>Positional arguments</title>
<varlistentry> <varlistentry>
@ -941,6 +967,23 @@ Delete software deployments.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist>
</section>
<section xml:id="heatclient_subcommand_deployment-list">
<title>heat deployment-list</title>
<screen><computeroutput>usage: heat deployment-list [-s &lt;SERVER&gt;]</computeroutput></screen>
<para>
List software deployments.
</para> <variablelist wordsize="10">
<title>Optional arguments</title>
<varlistentry>
<term><command>-s &lt;SERVER&gt;, --server &lt;SERVER&gt;</command></term>
<listitem>
<para>
ID of the server to fetch deployments for.
</para>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</section> </section>
<section xml:id="heatclient_subcommand_deployment-metadata-show"> <section xml:id="heatclient_subcommand_deployment-metadata-show">
@ -964,7 +1007,7 @@ Get deployment configuration metadata for the specified server.
<title>heat deployment-output-show</title> <title>heat deployment-output-show</title>
<screen><computeroutput>usage: heat deployment-output-show [-a] [-F &lt;FORMAT&gt;] &lt;ID&gt; [&lt;OUTPUT NAME&gt;]</computeroutput></screen> <screen><computeroutput>usage: heat deployment-output-show [-a] [-F &lt;FORMAT&gt;] &lt;ID&gt; [&lt;OUTPUT NAME&gt;]</computeroutput></screen>
<para> <para>
Show a specific stack output. Show a specific deployment output.
</para> <variablelist wordsize="10"> </para> <variablelist wordsize="10">
<title>Positional arguments</title> <title>Positional arguments</title>
<varlistentry> <varlistentry>
@ -1024,7 +1067,7 @@ Show the details of a software deployment.
<section xml:id="heatclient_subcommand_event-list"> <section xml:id="heatclient_subcommand_event-list">
<title>heat event-list</title> <title>heat event-list</title>
<screen><computeroutput>usage: heat event-list [-r &lt;RESOURCE&gt;] [-f &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;] <screen><computeroutput>usage: heat event-list [-r &lt;RESOURCE&gt;] [-f &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;]
[-l &lt;LIMIT&gt;] [-m &lt;ID&gt;] [-n &lt;DEPTH&gt;] [-l &lt;LIMIT&gt;] [-m &lt;ID&gt;] [-n &lt;DEPTH&gt;] [-F &lt;FORMAT&gt;]
&lt;NAME or ID&gt;</computeroutput></screen> &lt;NAME or ID&gt;</computeroutput></screen>
<para> <para>
List events for a stack. List events for a stack.
@ -1085,6 +1128,14 @@ List events for a stack.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><command>-F &lt;FORMAT&gt;, --format &lt;FORMAT&gt;</command></term>
<listitem>
<para>
The output value format, one of: log, table
</para>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</section> </section>
<section xml:id="heatclient_subcommand_event-show"> <section xml:id="heatclient_subcommand_event-show">
@ -1260,7 +1311,7 @@ Show a specific stack output.
</section> </section>
<section xml:id="heatclient_subcommand_resource-list"> <section xml:id="heatclient_subcommand_resource-list">
<title>heat resource-list</title> <title>heat resource-list</title>
<screen><computeroutput>usage: heat resource-list [-n &lt;DEPTH&gt;] &lt;NAME or ID&gt;</computeroutput></screen> <screen><computeroutput>usage: heat resource-list [-n &lt;DEPTH&gt;] [--with-detail] &lt;NAME or ID&gt;</computeroutput></screen>
<para> <para>
Show list of resources belonging to a stack. Show list of resources belonging to a stack.
</para> <variablelist wordsize="10"> </para> <variablelist wordsize="10">
@ -1285,6 +1336,15 @@ Show list of resources belonging to a stack.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><command>--with-detail</command></term>
<listitem>
<para>
Enable detail information presented for each resource
in resources list.
</para>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</section> </section>
<section xml:id="heatclient_subcommand_resource-metadata"> <section xml:id="heatclient_subcommand_resource-metadata">
@ -1314,7 +1374,7 @@ List resource metadata.
</section> </section>
<section xml:id="heatclient_subcommand_resource-show"> <section xml:id="heatclient_subcommand_resource-show">
<title>heat resource-show</title> <title>heat resource-show</title>
<screen><computeroutput>usage: heat resource-show &lt;NAME or ID&gt; &lt;RESOURCE&gt;</computeroutput></screen> <screen><computeroutput>usage: heat resource-show [-a &lt;ATTRIBUTE&gt;] &lt;NAME or ID&gt; &lt;RESOURCE&gt;</computeroutput></screen>
<para> <para>
Describe the resource. Describe the resource.
</para> <variablelist wordsize="10"> </para> <variablelist wordsize="10">
@ -1335,6 +1395,17 @@ Describe the resource.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist>
<variablelist wordsize="10">
<title>Optional arguments</title>
<varlistentry>
<term><command>-a &lt;ATTRIBUTE&gt;, --with-attr &lt;ATTRIBUTE&gt;</command></term>
<listitem>
<para>
Attribute to show, it can be specified multiple times.
</para>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</section> </section>
<section xml:id="heatclient_subcommand_resource-signal"> <section xml:id="heatclient_subcommand_resource-signal">
@ -1645,7 +1716,8 @@ Cancel currently running update of the stack.
<screen><computeroutput>usage: heat stack-create [-f &lt;FILE&gt;] [-e &lt;FILE or URL&gt;] <screen><computeroutput>usage: heat stack-create [-f &lt;FILE&gt;] [-e &lt;FILE or URL&gt;]
[--pre-create &lt;RESOURCE&gt;] [-u &lt;URL&gt;] [-o &lt;URL&gt;] [--pre-create &lt;RESOURCE&gt;] [-u &lt;URL&gt;] [-o &lt;URL&gt;]
[-c &lt;TIMEOUT&gt;] [-t &lt;TIMEOUT&gt;] [-r] [-c &lt;TIMEOUT&gt;] [-t &lt;TIMEOUT&gt;] [-r]
[-P &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;] [-Pf &lt;KEY=VALUE&gt;] [-P &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;] [-Pf &lt;KEY=FILE&gt;]
[--poll [SECONDS]] [--tags &lt;TAG1,TAG2&gt;]
&lt;STACK_NAME&gt;</computeroutput></screen> &lt;STACK_NAME&gt;</computeroutput></screen>
<para> <para>
Create the stack. Create the stack.
@ -1744,7 +1816,7 @@ Create the stack.
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><command>-Pf &lt;KEY=VALUE&gt;, --parameter-file &lt;KEY=VALUE&gt;</command></term> <term><command>-Pf &lt;KEY=FILE&gt;, --parameter-file &lt;KEY=FILE&gt;</command></term>
<listitem> <listitem>
<para> <para>
Parameter values from file used to create the stack. Parameter values from file used to create the stack.
@ -1753,6 +1825,24 @@ Create the stack.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><command>--poll [SECONDS]</command></term>
<listitem>
<para>
Poll and report events until stack completes. Optional
poll interval in seconds can be provided as argument,
default 5.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>--tags &lt;TAG1,TAG2&gt;</command></term>
<listitem>
<para>
A list of tags to associate with the stack.
</para>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</section> </section>
<section xml:id="heatclient_subcommand_stack-delete"> <section xml:id="heatclient_subcommand_stack-delete">
@ -1775,7 +1865,10 @@ Delete the stack(s).
<section xml:id="heatclient_subcommand_stack-list"> <section xml:id="heatclient_subcommand_stack-list">
<title>heat stack-list</title> <title>heat stack-list</title>
<screen><computeroutput>usage: heat stack-list [-s] [-n] [-a] [-f &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;] <screen><computeroutput>usage: heat stack-list [-s] [-n] [-a] [-f &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;]
[-l &lt;LIMIT&gt;] [-m &lt;ID&gt;] [-g] [-o]</computeroutput></screen> [-t &lt;TAG1,TAG2...&gt;] [--tags-any &lt;TAG1,TAG2...&gt;]
[--not-tags &lt;TAG1,TAG2...&gt;]
[--not-tags-any &lt;TAG1,TAG2...&gt;] [-l &lt;LIMIT&gt;] [-m &lt;ID&gt;]
[-g] [-o]</computeroutput></screen>
<para> <para>
List the user's stacks. List the user's stacks.
</para> <variablelist wordsize="10"> </para> <variablelist wordsize="10">
@ -1814,6 +1907,42 @@ List the user's stacks.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><command>-t &lt;TAG1,TAG2...&gt;, --tags &lt;TAG1,TAG2...&gt;</command></term>
<listitem>
<para>
Show stacks containing these tags, combine multiple
tags using the boolean AND expression
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>--tags-any &lt;TAG1,TAG2...&gt;</command></term>
<listitem>
<para>
Show stacks containing these tags, combine multiple
tags using the boolean OR expression
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>--not-tags &lt;TAG1,TAG2...&gt;</command></term>
<listitem>
<para>
Show stacks not containing these tags, combine
multiple tags using the boolean AND expression
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><command>--not-tags-any &lt;TAG1,TAG2...&gt;</command></term>
<listitem>
<para>
Show stacks not containing these tags, combine
multiple tags using the boolean OR expression
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><command>-l &lt;LIMIT&gt;, --limit &lt;LIMIT&gt;</command></term> <term><command>-l &lt;LIMIT&gt;, --limit &lt;LIMIT&gt;</command></term>
<listitem> <listitem>
@ -1856,7 +1985,8 @@ List the user's stacks.
<title>heat stack-preview</title> <title>heat stack-preview</title>
<screen><computeroutput>usage: heat stack-preview [-f &lt;FILE&gt;] [-e &lt;FILE or URL&gt;] [-u &lt;URL&gt;] [-o &lt;URL&gt;] <screen><computeroutput>usage: heat stack-preview [-f &lt;FILE&gt;] [-e &lt;FILE or URL&gt;] [-u &lt;URL&gt;] [-o &lt;URL&gt;]
[-t &lt;TIMEOUT&gt;] [-r] [-t &lt;TIMEOUT&gt;] [-r]
[-P &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;] [-Pf &lt;KEY=VALUE&gt;] [-P &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;] [-Pf &lt;KEY=FILE&gt;]
[--tags &lt;TAG1,TAG2&gt;]
&lt;STACK_NAME&gt;</computeroutput></screen> &lt;STACK_NAME&gt;</computeroutput></screen>
<para> <para>
Preview the stack. Preview the stack.
@ -1936,7 +2066,7 @@ Preview the stack.
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><command>-Pf &lt;KEY=VALUE&gt;, --parameter-file &lt;KEY=VALUE&gt;</command></term> <term><command>-Pf &lt;KEY=FILE&gt;, --parameter-file &lt;KEY=FILE&gt;</command></term>
<listitem> <listitem>
<para> <para>
Parameter values from file used to create the stack. Parameter values from file used to create the stack.
@ -1945,6 +2075,14 @@ Preview the stack.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><command>--tags &lt;TAG1,TAG2&gt;</command></term>
<listitem>
<para>
A list of tags to associate with the stack.
</para>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</section> </section>
<section xml:id="heatclient_subcommand_stack-restore"> <section xml:id="heatclient_subcommand_stack-restore">
@ -2022,8 +2160,8 @@ Make a snapshot of a stack.
<screen><computeroutput>usage: heat stack-update [-f &lt;FILE&gt;] [-e &lt;FILE or URL&gt;] <screen><computeroutput>usage: heat stack-update [-f &lt;FILE&gt;] [-e &lt;FILE or URL&gt;]
[--pre-update &lt;RESOURCE&gt;] [-u &lt;URL&gt;] [-o &lt;URL&gt;] [--pre-update &lt;RESOURCE&gt;] [-u &lt;URL&gt;] [-o &lt;URL&gt;]
[-t &lt;TIMEOUT&gt;] [-r] [--rollback &lt;VALUE&gt;] [-t &lt;TIMEOUT&gt;] [-r] [--rollback &lt;VALUE&gt;]
[-P &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;] [-Pf &lt;KEY=VALUE&gt;] [-P &lt;KEY1=VALUE1;KEY2=VALUE2...&gt;] [-Pf &lt;KEY=FILE&gt;]
[-x] [-c &lt;PARAMETER&gt;] [-x] [-c &lt;PARAMETER&gt;] [--tags &lt;TAG1,TAG2&gt;]
&lt;NAME or ID&gt;</computeroutput></screen> &lt;NAME or ID&gt;</computeroutput></screen>
<para> <para>
Update the stack. Update the stack.
@ -2128,7 +2266,7 @@ Update the stack.
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><command>-Pf &lt;KEY=VALUE&gt;, --parameter-file &lt;KEY=VALUE&gt;</command></term> <term><command>-Pf &lt;KEY=FILE&gt;, --parameter-file &lt;KEY=FILE&gt;</command></term>
<listitem> <listitem>
<para> <para>
Parameter values from file used to create the stack. Parameter values from file used to create the stack.
@ -2159,6 +2297,31 @@ Update the stack.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><command>--tags &lt;TAG1,TAG2&gt;</command></term>
<listitem>
<para>
An updated list of tags to associate with the stack.
</para>
</listitem>
</varlistentry>
</variablelist>
</section>
<section xml:id="heatclient_subcommand_template-function-list">
<title>heat template-function-list</title>
<screen><computeroutput>usage: heat template-function-list &lt;TEMPLATE_VERSION&gt;</computeroutput></screen>
<para>
List the available functions.
</para> <variablelist wordsize="10">
<title>Positional arguments</title>
<varlistentry>
<term><command>&lt;TEMPLATE_VERSION&gt;</command></term>
<listitem>
<para>
Template version to get the functions for.
</para>
</listitem>
</varlistentry>
</variablelist> </variablelist>
</section> </section>
<section xml:id="heatclient_subcommand_template-show"> <section xml:id="heatclient_subcommand_template-show">
@ -2221,4 +2384,11 @@ Validate a template with parameters.
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</section> </section>
<section xml:id="heatclient_subcommand_template-version-list">
<title>heat template-version-list</title>
<screen><computeroutput>usage: heat template-version-list</computeroutput></screen>
<para>
List the available template versions.
</para>
</section>
</chapter> </chapter>