Update CLI reference for python-ironicclient 0.8.0
Change-Id: I1f6a081d7c5ceac5b46ef47872b3d832c9c8b313
This commit is contained in:
parent
d6d10a5fb7
commit
7b75042b6b
@ -15,7 +15,7 @@
|
||||
interface (CLI) for the Bare metal API and its extensions.
|
||||
|
||||
This chapter documents <command>ironic</command> version
|
||||
<literal>0.7.0</literal>.
|
||||
<literal>0.8.0</literal>.
|
||||
</para>
|
||||
|
||||
<para>For help on a specific <command>ironic</command>
|
||||
@ -25,24 +25,24 @@
|
||||
|
||||
<section xml:id="ironicclient_command_usage">
|
||||
<title>ironic usage</title>
|
||||
<screen><computeroutput>usage: ironic [--version] [--debug] [-v] [--cert-file OS_CERT]
|
||||
[--key-file OS_KEY] [--ca-file OS_CACERT]
|
||||
[--os-username OS_USERNAME] [--os-password OS_PASSWORD]
|
||||
[--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME]
|
||||
[--os-auth-url OS_AUTH_URL] [--os-region-name OS_REGION_NAME]
|
||||
[--os-auth-token OS_AUTH_TOKEN] [--ironic-url IRONIC_URL]
|
||||
[--ironic-api-version IRONIC_API_VERSION]
|
||||
[--os-service-type OS_SERVICE_TYPE] [--os-endpoint OS_ENDPOINT]
|
||||
[--os-endpoint-type OS_ENDPOINT_TYPE]
|
||||
[--max-retries MAX_RETRIES] [--retry-interval RETRY_INTERVAL]
|
||||
[--insecure] [--os-cacert <ca-certificate>]
|
||||
<screen><computeroutput>usage: ironic [--insecure] [--os-cacert <ca-certificate>]
|
||||
[--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>]
|
||||
[--os-user-domain-id OS_USER_DOMAIN_ID]
|
||||
[--os-user-domain-name OS_USER_DOMAIN_NAME]
|
||||
[--os-project-id OS_PROJECT_ID]
|
||||
[--os-project-name OS_PROJECT_NAME]
|
||||
[--os-project-domain-id OS_PROJECT_DOMAIN_ID]
|
||||
[--os-project-domain-name OS_PROJECT_DOMAIN_NAME]
|
||||
[--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--version]
|
||||
[--debug] [-v] [--cert-file OS_CERT] [--key-file OS_KEY]
|
||||
[--ca-file OS_CACERT] [--os-username OS_USERNAME]
|
||||
[--os-password OS_PASSWORD] [--os-tenant-id OS_TENANT_ID]
|
||||
[--os-tenant-name OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL]
|
||||
[--os-region-name OS_REGION_NAME]
|
||||
[--os-auth-token OS_AUTH_TOKEN] [--ironic-url IRONIC_URL]
|
||||
[--ironic-api-version IRONIC_API_VERSION]
|
||||
[--os-service-type OS_SERVICE_TYPE] [--os-endpoint OS_ENDPOINT]
|
||||
[--os-endpoint-type OS_ENDPOINT_TYPE]
|
||||
[--max-retries MAX_RETRIES] [--retry-interval RETRY_INTERVAL]
|
||||
<subcommand> ...</computeroutput></screen>
|
||||
<variablelist wordsize="10">
|
||||
<title>Subcommands</title>
|
||||
@ -328,6 +328,103 @@
|
||||
<section xml:id="ironicclient_command_optional">
|
||||
<title>ironic optional arguments</title>
|
||||
<variablelist wordsize="10">
|
||||
<varlistentry>
|
||||
<term><command>--insecure</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Explicitly allow client to perform "insecure" TLS
|
||||
(https) requests. The server's certificate will not be
|
||||
verified against any certificate authorities. This
|
||||
option should be used with caution.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-cacert <ca-certificate></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Specify a CA bundle file to use in verifying a TLS
|
||||
(https) server certificate. Defaults to
|
||||
<code>env[OS_CACERT]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-cert <certificate></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_CERT]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-key <key></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_KEY]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--timeout <seconds></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set request timeout (in seconds).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-user-domain-id OS_USER_DOMAIN_ID</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_USER_DOMAIN_ID]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-user-domain-name OS_USER_DOMAIN_NAME</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_USER_DOMAIN_NAME]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-project-id OS_PROJECT_ID</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Another way to specify tenant ID. This option is
|
||||
mutually exclusive with --os-tenant-id. Defaults to
|
||||
<code>env[OS_PROJECT_ID]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-project-name OS_PROJECT_NAME</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Another way to specify tenant name. This option is
|
||||
mutually exclusive with --os-tenant-name. Defaults to
|
||||
<code>env[OS_PROJECT_NAME]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-project-domain-id OS_PROJECT_DOMAIN_ID</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_PROJECT_DOMAIN_ID]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-project-domain-name OS_PROJECT_DOMAIN_NAME</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_PROJECT_DOMAIN_NAME]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--version</command></term>
|
||||
<listitem>
|
||||
@ -495,103 +592,6 @@
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--insecure</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Explicitly allow client to perform "insecure" TLS
|
||||
(https) requests. The server's certificate will not be
|
||||
verified against any certificate authorities. This
|
||||
option should be used with caution.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-cacert <ca-certificate></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Specify a CA bundle file to use in verifying a TLS
|
||||
(https) server certificate. Defaults to
|
||||
<code>env[OS_CACERT]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-cert <certificate></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_CERT]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-key <key></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_KEY]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--timeout <seconds></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Set request timeout (in seconds).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-user-domain-id OS_USER_DOMAIN_ID</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_USER_DOMAIN_ID]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-user-domain-name OS_USER_DOMAIN_NAME</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_USER_DOMAIN_NAME]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-project-id OS_PROJECT_ID</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Another way to specify tenant ID. This option is
|
||||
mutually exclusive with --os-tenant-id. Defaults to
|
||||
<code>env[OS_PROJECT_ID]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-project-name OS_PROJECT_NAME</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Another way to specify tenant name. This option is
|
||||
mutually exclusive with --os-tenant-name. Defaults to
|
||||
<code>env[OS_PROJECT_NAME]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-project-domain-id OS_PROJECT_DOMAIN_ID</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_PROJECT_DOMAIN_ID]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--os-project-domain-name OS_PROJECT_DOMAIN_NAME</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Defaults to <code>env[OS_PROJECT_DOMAIN_NAME]</code>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="ironicclient_subcommand_chassis-create">
|
||||
@ -640,7 +640,8 @@ Delete a chassis.
|
||||
<section xml:id="ironicclient_subcommand_chassis-list">
|
||||
<title>ironic chassis-list</title>
|
||||
<screen><computeroutput>usage: ironic chassis-list [--detail] [--limit <limit>] [--marker <chassis>]
|
||||
[--sort-key <field>] [--sort-dir <direction>]</computeroutput></screen>
|
||||
[--sort-key <field>] [--sort-dir <direction>]
|
||||
[--fields <field> [<field> ...]]</computeroutput></screen>
|
||||
<para>
|
||||
List the chassis.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -689,12 +690,23 @@ List the chassis.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--fields <field> [<field> ...]</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One or more chassis fields. Only these fields will be
|
||||
fetched from the server. Can not be used when '--
|
||||
detail' is specified.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="ironicclient_subcommand_chassis-node-list">
|
||||
<title>ironic chassis-node-list</title>
|
||||
<screen><computeroutput>usage: ironic chassis-node-list [--detail] [--limit <limit>] [--marker <node>]
|
||||
[--sort-key <field>] [--sort-dir <direction>]
|
||||
[--fields <field> [<field> ...]]
|
||||
<chassis></computeroutput></screen>
|
||||
<para>
|
||||
List the nodes contained in a chassis.
|
||||
@ -755,11 +767,21 @@ List the nodes contained in a chassis.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--fields <field> [<field> ...]</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One or more node fields. Only these fields will be
|
||||
fetched from the server. Can not be used when '--
|
||||
detail' is specified.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="ironicclient_subcommand_chassis-show">
|
||||
<title>ironic chassis-show</title>
|
||||
<screen><computeroutput>usage: ironic chassis-show <chassis></computeroutput></screen>
|
||||
<screen><computeroutput>usage: ironic chassis-show [--fields <field> [<field> ...]] <chassis></computeroutput></screen>
|
||||
<para>
|
||||
Show detailed information about a chassis.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -772,6 +794,18 @@ Show detailed information about a chassis.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
<variablelist wordsize="10">
|
||||
<title>Optional arguments</title>
|
||||
<varlistentry>
|
||||
<term><command>--fields <field> [<field> ...]</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One or more chassis fields. Only these fields will be
|
||||
fetched from the server.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="ironicclient_subcommand_chassis-update">
|
||||
@ -1043,7 +1077,8 @@ Get the supported boot devices for a node.
|
||||
<screen><computeroutput>usage: ironic node-list [--limit <limit>] [--marker <node>]
|
||||
[--sort-key <field>] [--sort-dir <direction>]
|
||||
[--maintenance <boolean>] [--associated <boolean>]
|
||||
[--detail]</computeroutput></screen>
|
||||
[--provision-state <provision-state>] [--detail]
|
||||
[--fields <field> [<field> ...]]</computeroutput></screen>
|
||||
<para>
|
||||
List the nodes which are registered with the Ironic service.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -1100,6 +1135,14 @@ List the nodes which are registered with the Ironic service.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--provision-state <provision-state></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
List nodes in specified provision state.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--detail</command></term>
|
||||
<listitem>
|
||||
@ -1108,12 +1151,23 @@ List the nodes which are registered with the Ironic service.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--fields <field> [<field> ...]</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One or more node fields. Only these fields will be
|
||||
fetched from the server. Can not be used when '--
|
||||
detail' is specified.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="ironicclient_subcommand_node-port-list">
|
||||
<title>ironic node-port-list</title>
|
||||
<screen><computeroutput>usage: ironic node-port-list [--detail] [--limit <limit>] [--marker <port>]
|
||||
[--sort-key <field>] [--sort-dir <direction>]
|
||||
[--fields <field> [<field> ...]]
|
||||
<node></computeroutput></screen>
|
||||
<para>
|
||||
List the ports associated with a node.
|
||||
@ -1174,6 +1228,16 @@ List the ports associated with a node.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--fields <field> [<field> ...]</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One or more port fields. Only these fields will be
|
||||
fetched from the server. Can not be used when '--
|
||||
detail' is specified.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="ironicclient_subcommand_node-set-boot-device">
|
||||
@ -1345,7 +1409,7 @@ Provision, rebuild, delete, inspect, provide or manage an instance.
|
||||
</section>
|
||||
<section xml:id="ironicclient_subcommand_node-show">
|
||||
<title>ironic node-show</title>
|
||||
<screen><computeroutput>usage: ironic node-show [--instance] <id></computeroutput></screen>
|
||||
<screen><computeroutput>usage: ironic node-show [--instance] [--fields <field> [<field> ...]] <id></computeroutput></screen>
|
||||
<para>
|
||||
Show detailed information about a node.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -1354,8 +1418,8 @@ Show detailed information about a node.
|
||||
<term><command><id></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Name or UUID of the node (or instance UUID if --instance is
|
||||
specified).
|
||||
Name or UUID of the node (or instance UUID if
|
||||
--instance is specified).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -1370,6 +1434,15 @@ Show detailed information about a node.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--fields <field> [<field> ...]</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One or more node fields. Only these fields will be
|
||||
fetched from the server.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="ironicclient_subcommand_node-show-states">
|
||||
@ -1544,7 +1617,8 @@ Delete a port.
|
||||
<title>ironic port-list</title>
|
||||
<screen><computeroutput>usage: ironic port-list [--detail] [--address <mac-address>] [--limit <limit>]
|
||||
[--marker <port>] [--sort-key <field>]
|
||||
[--sort-dir <direction>]</computeroutput></screen>
|
||||
[--sort-dir <direction>]
|
||||
[--fields <field> [<field> ...]]</computeroutput></screen>
|
||||
<para>
|
||||
List the ports.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -1602,11 +1676,21 @@ List the ports.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--fields <field> [<field> ...]</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One or more port fields. Only these fields will be
|
||||
fetched from the server. Can not be used when '--
|
||||
detail' is specified.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
<section xml:id="ironicclient_subcommand_port-show">
|
||||
<title>ironic port-show</title>
|
||||
<screen><computeroutput>usage: ironic port-show [--address] <id></computeroutput></screen>
|
||||
<screen><computeroutput>usage: ironic port-show [--address] [--fields <field> [<field> ...]] <id></computeroutput></screen>
|
||||
<para>
|
||||
Show detailed information about a port.
|
||||
</para> <variablelist wordsize="10">
|
||||
@ -1615,7 +1699,8 @@ Show detailed information about a port.
|
||||
<term><command><id></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
UUID of the port (or MAC address if --address is specified).
|
||||
UUID of the port (or MAC address if --address is
|
||||
specified).
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -1626,7 +1711,17 @@ Show detailed information about a port.
|
||||
<term><command>--address <id></command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
is the MAC address (instead of the UUID) of the port.
|
||||
is the MAC address (instead of the UUID) of the
|
||||
port.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><command>--fields <field> [<field> ...]</command></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One or more port fields. Only these fields will be
|
||||
fetched from the server.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
Loading…
Reference in New Issue
Block a user