Fix formatting and output of 'nova help'

Update the 'nova help' output samples with the latest client version in
the cloud admin guide.

Change-Id: I24e64fc1192e485b3bd7e374cf11afdbacfcb7e6
This commit is contained in:
Gauvain Pocentek 2014-02-02 10:07:40 +01:00
parent 6bee41c051
commit 80afa027aa
2 changed files with 23 additions and 16 deletions

View File

@ -1872,12 +1872,20 @@ net.bridge.bridge-nf-call-ip6tables=0</programlisting>
<para>Now that you have installed the <para>Now that you have installed the
python-novaclient, confirm the installation by python-novaclient, confirm the installation by
entering:</para> entering:</para>
<screen><prompt>$</prompt> <userinput>nova help</userinput><computeroutput>usage: nova [--debug] [--os-username OS_USERNAME] [--os-password OS_PASSWORD] <screen><prompt>$</prompt> <userinput>nova help</userinput>
[--os-tenant-name_name OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] <computeroutput>usage: nova [--version] [--debug] [--os-cache] [--timings]
[--os-region-name OS_REGION_NAME] [--service-type SERVICE_TYPE] [--timeout &lt;seconds&gt;] [--os-username &lt;auth-user-name&gt;]
[--service-name SERVICE_NAME] [--endpoint-type ENDPOINT_TYPE] [--os-password &lt;auth-password&gt;]
[--version VERSION] [--os-tenant-name &lt;auth-tenant-name&gt;]
&lt;subcommand&gt; ...</computeroutput></screen> [--os-tenant-id &lt;auth-tenant-id&gt;] [--os-auth-url &lt;auth-url&gt;]
[--os-region-name &lt;region-name&gt;] [--os-auth-system &lt;auth-system&gt;]
[--service-type &lt;service-type&gt;] [--service-name &lt;service-name&gt;]
[--volume-service-name &lt;volume-service-name&gt;]
[--endpoint-type &lt;endpoint-type&gt;]
[--os-compute-api-version &lt;compute-api-ver&gt;]
[--os-cacert &lt;ca-certificate&gt;] [--insecure]
[--bypass-url &lt;bypass-url&gt;]
&lt;subcommand&gt; ...</computeroutput></screen>
</step> </step>
<step> <step>
<para>This command returns a list of nova commands <para>This command returns a list of nova commands

View File

@ -7,17 +7,16 @@
<para>Authorized users can use the <command>nova <para>Authorized users can use the <command>nova
flavor-create</command> command to create flavors. To see flavor-create</command> command to create flavors. To see
the available flavor-related commands, run:</para> the available flavor-related commands, run:</para>
<screen><prompt>$</prompt> <userinput>nova help | grep flavor</userinput> <screen><prompt>$</prompt> <userinput>nova help | grep flavor-</userinput>
<computeroutput>flavor-access-add Add flavor access for the given tenant. <computeroutput> flavor-access-add Add flavor access for the given tenant.
flavor-access-list Print access information about the given flavor. flavor-access-list Print access information about the given flavor.
flavor-access-remove flavor-access-remove
Remove flavor access for the given tenant. Remove flavor access for the given tenant.
flavor-create Create a new flavor flavor-create Create a new flavor
flavor-delete Delete a specific flavor flavor-delete Delete a specific flavor
flavor-key Set or unset extra_spec for a flavor. flavor-key Set or unset extra_spec for a flavor.
flavor-list Print a list of available 'flavors' (sizes of flavor-list Print a list of available 'flavors' (sizes of
flavor-show Show details about the given flavor. flavor-show Show details about the given flavor.</computeroutput></screen>
volume-type-delete Delete a specific flavor</computeroutput></screen>
<note> <note>
<para>To modify an existing flavor in the dashboard, you must <para>To modify an existing flavor in the dashboard, you must
delete the flavor and create a modified one with the same delete the flavor and create a modified one with the same