From 80afa027aa3cbb6731a2469930ea843f6c72bf39 Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Sun, 2 Feb 2014 10:07:40 +0100 Subject: [PATCH] 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 --- doc/admin-guide-cloud/ch_compute.xml | 20 +++++++++++++------ .../section_cli_nova_customize_flavors.xml | 19 +++++++++--------- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/doc/admin-guide-cloud/ch_compute.xml b/doc/admin-guide-cloud/ch_compute.xml index 6e7ddfc8fd..b39429858a 100644 --- a/doc/admin-guide-cloud/ch_compute.xml +++ b/doc/admin-guide-cloud/ch_compute.xml @@ -1872,12 +1872,20 @@ net.bridge.bridge-nf-call-ip6tables=0 Now that you have installed the python-novaclient, confirm the installation by entering: - $ nova helpusage: nova [--debug] [--os-username OS_USERNAME] [--os-password OS_PASSWORD] -[--os-tenant-name_name OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] -[--os-region-name OS_REGION_NAME] [--service-type SERVICE_TYPE] -[--service-name SERVICE_NAME] [--endpoint-type ENDPOINT_TYPE] -[--version VERSION] -<subcommand> ... + $ nova help +usage: nova [--version] [--debug] [--os-cache] [--timings] + [--timeout <seconds>] [--os-username <auth-user-name>] + [--os-password <auth-password>] + [--os-tenant-name <auth-tenant-name>] + [--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>] + [--os-region-name <region-name>] [--os-auth-system <auth-system>] + [--service-type <service-type>] [--service-name <service-name>] + [--volume-service-name <volume-service-name>] + [--endpoint-type <endpoint-type>] + [--os-compute-api-version <compute-api-ver>] + [--os-cacert <ca-certificate>] [--insecure] + [--bypass-url <bypass-url>] + <subcommand> ... This command returns a list of nova commands diff --git a/doc/common/section_cli_nova_customize_flavors.xml b/doc/common/section_cli_nova_customize_flavors.xml index cd89347674..d53f62dc9e 100644 --- a/doc/common/section_cli_nova_customize_flavors.xml +++ b/doc/common/section_cli_nova_customize_flavors.xml @@ -7,17 +7,16 @@ Authorized users can use the nova flavor-create command to create flavors. To see the available flavor-related commands, run: - $ nova help | grep flavor -flavor-access-add Add flavor access for the given tenant. -flavor-access-list Print access information about the given flavor. -flavor-access-remove + $ nova help | grep flavor- + flavor-access-add Add flavor access for the given tenant. + flavor-access-list Print access information about the given flavor. + flavor-access-remove Remove flavor access for the given tenant. -flavor-create Create a new flavor -flavor-delete Delete a specific flavor -flavor-key Set or unset extra_spec for a flavor. -flavor-list Print a list of available 'flavors' (sizes of -flavor-show Show details about the given flavor. -volume-type-delete Delete a specific flavor + flavor-create Create a new flavor + flavor-delete Delete a specific flavor + flavor-key Set or unset extra_spec for a flavor. + flavor-list Print a list of available 'flavors' (sizes of + flavor-show Show details about the given flavor. To modify an existing flavor in the dashboard, you must delete the flavor and create a modified one with the same