Merge "Autogenerate python cli page"
This commit is contained in:
commit
9a330eb0c2
@ -2,18 +2,26 @@
|
||||
<section xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||
xml:id="ceilometer_client_commands">
|
||||
xml:id="ceilometerclient_commands">
|
||||
|
||||
<!-- This file is automatically generated, do not edit -->
|
||||
|
||||
<?dbhtml stop-chunking?>
|
||||
|
||||
<title>ceilometer commands</title>
|
||||
<para>The ceilometer client is the command-line interface for the
|
||||
OpenStack Telemetry API.</para>
|
||||
<para>For help on a specific ceilometer command, enter:</para>
|
||||
<para>The ceilometer client is the command-line interface (CLI) for the
|
||||
OpenStack Telemetry API and its extensions.</para>
|
||||
<para>For help on a specific <command>ceilometer</command>
|
||||
command, enter:
|
||||
</para>
|
||||
<screen><prompt>$</prompt> <userinput><command>ceilometer</command> <option>help</option> <replaceable>COMMAND</replaceable></userinput></screen>
|
||||
<example>
|
||||
<title>Usage</title>
|
||||
<screen><computeroutput>ceilometer [--version] [-d] [-v] [-k] [--cert-file CERT_FILE]
|
||||
[--key-file KEY_FILE] [--ca-file CA_FILE]
|
||||
[--timeout TIMEOUT] [--os-username OS_USERNAME]
|
||||
[--os-password OS_PASSWORD] [--os-tenant-id OS_TENANT_ID]
|
||||
|
||||
<section xml:id="ceilometerclient_command_usage">
|
||||
<title>ceilometer usage</title>
|
||||
<screen><computeroutput> [--key-file KEY_FILE] [--os-cacert <ca-certificate-file>]
|
||||
[--ca-file OS_CACERT] [--timeout TIMEOUT]
|
||||
[--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]
|
||||
@ -23,29 +31,48 @@
|
||||
[--os-service-type OS_SERVICE_TYPE]
|
||||
[--os-endpoint-type OS_ENDPOINT_TYPE]
|
||||
<subcommand> ...</computeroutput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Positional arguments</title>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_command_pos">
|
||||
<title>ceilometer positional arguments</title>
|
||||
<screen><computeroutput> <subcommand>
|
||||
alarm-create Create a new alarm.
|
||||
alarm-combination-create
|
||||
Create a new alarm based on state of other alarms.
|
||||
alarm-combination-update
|
||||
Update an existing alarm based on state of other
|
||||
alarms.
|
||||
alarm-create Create a new alarm (Deprecated).
|
||||
alarm-delete Delete an alarm.
|
||||
alarm-history Display the change history of an alarm.
|
||||
alarm-list List the user's alarms.
|
||||
alarm-show Show an alarm.
|
||||
alarm-state-get Get the state of an alarm.
|
||||
alarm-state-set Set the state of an alarm.
|
||||
alarm-threshold-create
|
||||
Create a new alarm based on computed statistics.
|
||||
alarm-threshold-update
|
||||
Update an existing alarm based on computed statistics.
|
||||
alarm-update Update an existing alarm.
|
||||
event-list List events.
|
||||
event-show Show a particular event.
|
||||
event-type-list List event types.
|
||||
meter-list List the user's meters.
|
||||
resource-list List the resources.
|
||||
resource-show Show the resource.
|
||||
sample-create Create a sample.
|
||||
sample-list List the samples for this meters.
|
||||
statistics List the statistics for this meter.
|
||||
sample-list List the samples for a meter.
|
||||
statistics List the statistics for a meter.
|
||||
trait-description-list
|
||||
List trait info for an event type.
|
||||
trait-list List trait all traits with name <trait_name> for Event
|
||||
Type
|
||||
bash-completion Prints all of the commands and options to stdout.
|
||||
help Display help about this program or one of its
|
||||
subcommands.</computeroutput></screen>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>Optional arguments</title>
|
||||
<screen><computeroutput> -d, --debug Defaults to env[HEATCLIENT_DEBUG]
|
||||
--version show program's version number and exit
|
||||
subcommands.
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_command_optional">
|
||||
<title>ceilometer optional arguments</title>
|
||||
<screen><computeroutput> --version show program's version number and exit
|
||||
-d, --debug Defaults to env[CEILOMETERCLIENT_DEBUG]
|
||||
-v, --verbose Print more verbose output
|
||||
-k, --insecure Explicitly allow ceilometerclient to perform
|
||||
@ -60,10 +87,11 @@
|
||||
--key-file KEY_FILE Path of client key to use in SSL connection. This
|
||||
option is not necessary if your key is prepended to
|
||||
your cert file.
|
||||
--ca-file CA_FILE Path of CA SSL certificate(s) used to verify the
|
||||
remote server certificate. Without this option
|
||||
ceilometer looks for the default system CA
|
||||
certificates.
|
||||
--os-cacert <ca-certificate-file>
|
||||
Path of CA TLS certificate(s) used to verifythe remote
|
||||
server's certificate. Without this option ceilometer
|
||||
looks for the default system CA certificates.
|
||||
--ca-file OS_CACERT DEPRECATED! Use --os-cacert.
|
||||
--timeout TIMEOUT Number of seconds to wait for a response
|
||||
--os-username OS_USERNAME
|
||||
Defaults to env[OS_USERNAME]
|
||||
@ -86,6 +114,565 @@
|
||||
--os-service-type OS_SERVICE_TYPE
|
||||
Defaults to env[OS_SERVICE_TYPE]
|
||||
--os-endpoint-type OS_ENDPOINT_TYPE
|
||||
Defaults to env[OS_ENDPOINT_TYPE]</computeroutput></screen>
|
||||
</example>
|
||||
Defaults to env[OS_ENDPOINT_TYPE]
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-combination-create">
|
||||
<title>ceilometer alarm-combination-create command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-combination-create --name <NAME>
|
||||
[--project-id <PROJECT_ID>]
|
||||
[--user-id <USER_ID>]
|
||||
[--description <DESCRIPTION>]
|
||||
[--state <STATE>]
|
||||
[--enabled {True|False}]
|
||||
[--alarm-action <Webhook URL>]
|
||||
[--ok-action <Webhook URL>]
|
||||
[--insufficient-data-action <Webhook URL>]
|
||||
--alarm_ids <ALARM IDS>
|
||||
[--operator <OPERATOR>]
|
||||
[--repeat-actions {True|False}]
|
||||
|
||||
Create a new alarm based on state of other alarms.
|
||||
|
||||
Optional arguments:
|
||||
--name <NAME> Name of the alarm (must be unique per tenant)
|
||||
Required.
|
||||
--project-id <PROJECT_ID>
|
||||
Tenant to associate with alarm (only settable by admin
|
||||
users)
|
||||
--user-id <USER_ID> User to associate with alarm (only settable by admin
|
||||
users)
|
||||
--description <DESCRIPTION>
|
||||
Free text description of the alarm
|
||||
--state <STATE> State of the alarm, one of: ['ok', 'alarm',
|
||||
'insufficient_data']
|
||||
--enabled {True|False}
|
||||
True if alarm evaluation/actioning is enabled
|
||||
--alarm-action <Webhook URL>
|
||||
URL to invoke when state transitions to alarm. May be
|
||||
used multiple times. Defaults to None.
|
||||
--ok-action <Webhook URL>
|
||||
URL to invoke when state transitions to OK. May be
|
||||
used multiple times. Defaults to None.
|
||||
--insufficient-data-action <Webhook URL>
|
||||
URL to invoke when state transitions to unkown. May be
|
||||
used multiple times. Defaults to None.
|
||||
--alarm_ids <ALARM IDS>
|
||||
List of alarm id Required.
|
||||
--operator <OPERATOR>
|
||||
Operator to compare with, one of: ['and', 'or']
|
||||
--repeat-actions {True|False}
|
||||
True if actions should be repeatedly notified while
|
||||
alarm remains in target state Defaults to False.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-combination-update">
|
||||
<title>ceilometer alarm-combination-update command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-combination-update -a <ALARM_ID> [--name <NAME>]
|
||||
[--project-id <PROJECT_ID>]
|
||||
[--user-id <USER_ID>]
|
||||
[--description <DESCRIPTION>]
|
||||
[--state <STATE>]
|
||||
[--enabled {True|False}]
|
||||
[--alarm-action <Webhook URL>]
|
||||
[--ok-action <Webhook URL>]
|
||||
[--insufficient-data-action <Webhook URL>]
|
||||
[--alarm_ids <ALARM IDS>]
|
||||
[--operator <OPERATOR>]
|
||||
[--repeat-actions {True|False}]
|
||||
|
||||
Update an existing alarm based on state of other alarms.
|
||||
|
||||
Optional arguments:
|
||||
-a <ALARM_ID>, --alarm_id <ALARM_ID>
|
||||
ID of the alarm to update. Required.
|
||||
--name <NAME> Name of the alarm (must be unique per tenant)
|
||||
--project-id <PROJECT_ID>
|
||||
Tenant to associate with alarm (only settable by admin
|
||||
users)
|
||||
--user-id <USER_ID> User to associate with alarm (only settable by admin
|
||||
users)
|
||||
--description <DESCRIPTION>
|
||||
Free text description of the alarm
|
||||
--state <STATE> State of the alarm, one of: ['ok', 'alarm',
|
||||
'insufficient_data']
|
||||
--enabled {True|False}
|
||||
True if alarm evaluation/actioning is enabled
|
||||
--alarm-action <Webhook URL>
|
||||
URL to invoke when state transitions to alarm. May be
|
||||
used multiple times. Defaults to None.
|
||||
--ok-action <Webhook URL>
|
||||
URL to invoke when state transitions to OK. May be
|
||||
used multiple times. Defaults to None.
|
||||
--insufficient-data-action <Webhook URL>
|
||||
URL to invoke when state transitions to unkown. May be
|
||||
used multiple times. Defaults to None.
|
||||
--alarm_ids <ALARM IDS>
|
||||
List of alarm id
|
||||
--operator <OPERATOR>
|
||||
Operator to compare with, one of: ['and', 'or']
|
||||
--repeat-actions {True|False}
|
||||
True if actions should be repeatedly notified while
|
||||
alarm remains in target state
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-delete">
|
||||
<title>ceilometer alarm-delete command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-delete -a <ALARM_ID>
|
||||
|
||||
Delete an alarm.
|
||||
|
||||
Optional arguments:
|
||||
-a <ALARM_ID>, --alarm_id <ALARM_ID>
|
||||
ID of the alarm to delete. Required.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-history">
|
||||
<title>ceilometer alarm-history command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-history -a <ALARM_ID> [-q <QUERY>]
|
||||
|
||||
Display the change history of an alarm.
|
||||
|
||||
Optional arguments:
|
||||
-a <ALARM_ID>, --alarm_id <ALARM_ID>
|
||||
ID of the alarm for which history is shown. Required.
|
||||
-q <QUERY>, --query <QUERY>
|
||||
key[op]data_type::value; list. data_type is optional,
|
||||
but if supplied must be string, integer, float, or
|
||||
boolean
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-list">
|
||||
<title>ceilometer alarm-list command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-list [-q <QUERY>]
|
||||
|
||||
List the user's alarms.
|
||||
|
||||
Optional arguments:
|
||||
-q <QUERY>, --query <QUERY>
|
||||
key[op]data_type::value; list. data_type is optional,
|
||||
but if supplied must be string, integer, float, or
|
||||
boolean
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-show">
|
||||
<title>ceilometer alarm-show command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-show -a <ALARM_ID>
|
||||
|
||||
Show an alarm.
|
||||
|
||||
Optional arguments:
|
||||
-a <ALARM_ID>, --alarm_id <ALARM_ID>
|
||||
ID of the alarm to show. Required.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-state-get">
|
||||
<title>ceilometer alarm-state-get command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-state-get -a <ALARM_ID>
|
||||
|
||||
Get the state of an alarm.
|
||||
|
||||
Optional arguments:
|
||||
-a <ALARM_ID>, --alarm_id <ALARM_ID>
|
||||
ID of the alarm state to show. Required.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-state-set">
|
||||
<title>ceilometer alarm-state-set command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-state-set -a <ALARM_ID> --state <STATE>
|
||||
|
||||
Set the state of an alarm.
|
||||
|
||||
Optional arguments:
|
||||
-a <ALARM_ID>, --alarm_id <ALARM_ID>
|
||||
ID of the alarm state to set. Required.
|
||||
--state <STATE> State of the alarm, one of: ['ok', 'alarm',
|
||||
'insufficient_data'] Required.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-threshold-create">
|
||||
<title>ceilometer alarm-threshold-create command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-threshold-create --name <NAME>
|
||||
[--project-id <PROJECT_ID>]
|
||||
[--user-id <USER_ID>]
|
||||
[--description <DESCRIPTION>]
|
||||
[--state <STATE>]
|
||||
[--enabled {True|False}]
|
||||
[--alarm-action <Webhook URL>]
|
||||
[--ok-action <Webhook URL>]
|
||||
[--insufficient-data-action <Webhook URL>]
|
||||
--meter-name <METRIC>
|
||||
[--period <PERIOD>]
|
||||
[--evaluation-periods <COUNT>]
|
||||
[--statistic <STATISTIC>]
|
||||
[--comparison-operator <OPERATOR>]
|
||||
--threshold <THRESHOLD> [-q <QUERY>]
|
||||
[--repeat-actions {True|False}]
|
||||
|
||||
Create a new alarm based on computed statistics.
|
||||
|
||||
Optional arguments:
|
||||
--name <NAME> Name of the alarm (must be unique per tenant)
|
||||
Required.
|
||||
--project-id <PROJECT_ID>
|
||||
Tenant to associate with alarm (only settable by admin
|
||||
users)
|
||||
--user-id <USER_ID> User to associate with alarm (only settable by admin
|
||||
users)
|
||||
--description <DESCRIPTION>
|
||||
Free text description of the alarm
|
||||
--state <STATE> State of the alarm, one of: ['ok', 'alarm',
|
||||
'insufficient_data']
|
||||
--enabled {True|False}
|
||||
True if alarm evaluation/actioning is enabled
|
||||
--alarm-action <Webhook URL>
|
||||
URL to invoke when state transitions to alarm. May be
|
||||
used multiple times. Defaults to None.
|
||||
--ok-action <Webhook URL>
|
||||
URL to invoke when state transitions to OK. May be
|
||||
used multiple times. Defaults to None.
|
||||
--insufficient-data-action <Webhook URL>
|
||||
URL to invoke when state transitions to unkown. May be
|
||||
used multiple times. Defaults to None.
|
||||
--meter-name <METRIC>
|
||||
Metric to evaluate against Required.
|
||||
--period <PERIOD> Length of each period (seconds) to evaluate over
|
||||
--evaluation-periods <COUNT>
|
||||
Number of periods to evaluate over
|
||||
--statistic <STATISTIC>
|
||||
Statistic to evaluate, one of: ['max', 'min', 'avg',
|
||||
'sum', 'count']
|
||||
--comparison-operator <OPERATOR>
|
||||
Operator to compare with, one of: ['lt', 'le', 'eq',
|
||||
'ne', 'ge', 'gt']
|
||||
--threshold <THRESHOLD>
|
||||
Threshold to evaluate against Required.
|
||||
-q <QUERY>, --query <QUERY>
|
||||
key[op]data_type::value; list. data_type is optional,
|
||||
but if supplied must be string, integer, float, or
|
||||
boolean
|
||||
--repeat-actions {True|False}
|
||||
True if actions should be repeatedly notified while
|
||||
alarm remains in target state Defaults to False.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-threshold-update">
|
||||
<title>ceilometer alarm-threshold-update command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-threshold-update -a <ALARM_ID> [--name <NAME>]
|
||||
[--project-id <PROJECT_ID>]
|
||||
[--user-id <USER_ID>]
|
||||
[--description <DESCRIPTION>]
|
||||
[--state <STATE>]
|
||||
[--enabled {True|False}]
|
||||
[--alarm-action <Webhook URL>]
|
||||
[--ok-action <Webhook URL>]
|
||||
[--insufficient-data-action <Webhook URL>]
|
||||
[--meter-name <METRIC>]
|
||||
[--period <PERIOD>]
|
||||
[--evaluation-periods <COUNT>]
|
||||
[--statistic <STATISTIC>]
|
||||
[--comparison-operator <OPERATOR>]
|
||||
[--threshold <THRESHOLD>]
|
||||
[-q <QUERY>]
|
||||
[--repeat-actions {True|False}]
|
||||
|
||||
Update an existing alarm based on computed statistics.
|
||||
|
||||
Optional arguments:
|
||||
-a <ALARM_ID>, --alarm_id <ALARM_ID>
|
||||
ID of the alarm to update. Required.
|
||||
--name <NAME> Name of the alarm (must be unique per tenant)
|
||||
--project-id <PROJECT_ID>
|
||||
Tenant to associate with alarm (only settable by admin
|
||||
users)
|
||||
--user-id <USER_ID> User to associate with alarm (only settable by admin
|
||||
users)
|
||||
--description <DESCRIPTION>
|
||||
Free text description of the alarm
|
||||
--state <STATE> State of the alarm, one of: ['ok', 'alarm',
|
||||
'insufficient_data']
|
||||
--enabled {True|False}
|
||||
True if alarm evaluation/actioning is enabled
|
||||
--alarm-action <Webhook URL>
|
||||
URL to invoke when state transitions to alarm. May be
|
||||
used multiple times. Defaults to None.
|
||||
--ok-action <Webhook URL>
|
||||
URL to invoke when state transitions to OK. May be
|
||||
used multiple times. Defaults to None.
|
||||
--insufficient-data-action <Webhook URL>
|
||||
URL to invoke when state transitions to unkown. May be
|
||||
used multiple times. Defaults to None.
|
||||
--meter-name <METRIC>
|
||||
Metric to evaluate against
|
||||
--period <PERIOD> Length of each period (seconds) to evaluate over
|
||||
--evaluation-periods <COUNT>
|
||||
Number of periods to evaluate over
|
||||
--statistic <STATISTIC>
|
||||
Statistic to evaluate, one of: ['max', 'min', 'avg',
|
||||
'sum', 'count']
|
||||
--comparison-operator <OPERATOR>
|
||||
Operator to compare with, one of: ['lt', 'le', 'eq',
|
||||
'ne', 'ge', 'gt']
|
||||
--threshold <THRESHOLD>
|
||||
Threshold to evaluate against
|
||||
-q <QUERY>, --query <QUERY>
|
||||
key[op]data_type::value; list. data_type is optional,
|
||||
but if supplied must be string, integer, float, or
|
||||
boolean
|
||||
--repeat-actions {True|False}
|
||||
True if actions should be repeatedly notified while
|
||||
alarm remains in target state
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_alarm-update">
|
||||
<title>ceilometer alarm-update command</title>
|
||||
<screen><computeroutput>usage: ceilometer alarm-update -a <ALARM_ID> [--name <NAME>]
|
||||
[--project-id <PROJECT_ID>]
|
||||
[--user-id <USER_ID>]
|
||||
[--description <DESCRIPTION>] [--state <STATE>]
|
||||
[--enabled {True|False}]
|
||||
[--alarm-action <Webhook URL>]
|
||||
[--ok-action <Webhook URL>]
|
||||
[--insufficient-data-action <Webhook URL>]
|
||||
[--period <PERIOD>]
|
||||
[--evaluation-periods <COUNT>]
|
||||
[--meter-name <METRIC>]
|
||||
[--statistic <STATISTIC>]
|
||||
[--comparison-operator <OPERATOR>]
|
||||
[--threshold <THRESHOLD>]
|
||||
[--matching-metadata <Matching Metadata>]
|
||||
[--repeat-actions {True|False}]
|
||||
|
||||
Update an existing alarm.
|
||||
|
||||
Optional arguments:
|
||||
-a <ALARM_ID>, --alarm_id <ALARM_ID>
|
||||
ID of the alarm to update. Required.
|
||||
--name <NAME> Name of the alarm (must be unique per tenant)
|
||||
--project-id <PROJECT_ID>
|
||||
Tenant to associate with alarm (only settable by admin
|
||||
users)
|
||||
--user-id <USER_ID> User to associate with alarm (only settable by admin
|
||||
users)
|
||||
--description <DESCRIPTION>
|
||||
Free text description of the alarm
|
||||
--state <STATE> State of the alarm, one of: ['ok', 'alarm',
|
||||
'insufficient_data']
|
||||
--enabled {True|False}
|
||||
True if alarm evaluation/actioning is enabled
|
||||
--alarm-action <Webhook URL>
|
||||
URL to invoke when state transitions to alarm. May be
|
||||
used multiple times. Defaults to None.
|
||||
--ok-action <Webhook URL>
|
||||
URL to invoke when state transitions to OK. May be
|
||||
used multiple times. Defaults to None.
|
||||
--insufficient-data-action <Webhook URL>
|
||||
URL to invoke when state transitions to unkown. May be
|
||||
used multiple times. Defaults to None.
|
||||
--period <PERIOD> Length of each period (seconds) to evaluate over
|
||||
--evaluation-periods <COUNT>
|
||||
Number of periods to evaluate over
|
||||
--meter-name <METRIC>
|
||||
Metric to evaluate against
|
||||
--statistic <STATISTIC>
|
||||
Statistic to evaluate, one of: ['max', 'min', 'avg',
|
||||
'sum', 'count']
|
||||
--comparison-operator <OPERATOR>
|
||||
Operator to compare with, one of: ['lt', 'le', 'eq',
|
||||
'ne', 'ge', 'gt']
|
||||
--threshold <THRESHOLD>
|
||||
Threshold to evaluate against
|
||||
--matching-metadata <Matching Metadata>
|
||||
A meter should match this resource metadata
|
||||
(key=value) additionally to the meter_name Defaults to
|
||||
None.
|
||||
--repeat-actions {True|False}
|
||||
True if actions should be repeatedly notified while
|
||||
alarm remains in target state
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_event-list">
|
||||
<title>ceilometer event-list command</title>
|
||||
<screen><computeroutput>usage: ceilometer event-list [-q <QUERY>]
|
||||
|
||||
List events.
|
||||
|
||||
Optional arguments:
|
||||
-q <QUERY>, --query <QUERY>
|
||||
key[op]data_type::value; list. data_type is optional,
|
||||
but if supplied must be string, integer, floator
|
||||
datetime.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_event-show">
|
||||
<title>ceilometer event-show command</title>
|
||||
<screen><computeroutput>usage: ceilometer event-show -m <message_id>
|
||||
|
||||
Show a particular event.
|
||||
|
||||
Optional arguments:
|
||||
-m <message_id>, --message_id <message_id>
|
||||
The id of the event. Should be a UUID Required.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_event-type-list">
|
||||
<title>ceilometer event-type-list command</title>
|
||||
<screen><computeroutput>usage: ceilometer event-type-list
|
||||
|
||||
List event types.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_meter-list">
|
||||
<title>ceilometer meter-list command</title>
|
||||
<screen><computeroutput>usage: ceilometer meter-list [-q <QUERY>]
|
||||
|
||||
List the user's meters.
|
||||
|
||||
Optional arguments:
|
||||
-q <QUERY>, --query <QUERY>
|
||||
key[op]data_type::value; list. data_type is optional,
|
||||
but if supplied must be string, integer, float, or
|
||||
boolean
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_resource-list">
|
||||
<title>ceilometer resource-list command</title>
|
||||
<screen><computeroutput>usage: ceilometer resource-list [-q <QUERY>]
|
||||
|
||||
List the resources.
|
||||
|
||||
Optional arguments:
|
||||
-q <QUERY>, --query <QUERY>
|
||||
key[op]data_type::value; list. data_type is optional,
|
||||
but if supplied must be string, integer, float, or
|
||||
boolean.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_resource-show">
|
||||
<title>ceilometer resource-show command</title>
|
||||
<screen><computeroutput>usage: ceilometer resource-show -r <RESOURCE_ID>
|
||||
|
||||
Show the resource.
|
||||
|
||||
Optional arguments:
|
||||
-r <RESOURCE_ID>, --resource_id <RESOURCE_ID>
|
||||
ID of the resource to show. Required.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_sample-create">
|
||||
<title>ceilometer sample-create command</title>
|
||||
<screen><computeroutput>usage: ceilometer sample-create [--project-id <PROJECT_ID>]
|
||||
[--user-id <USER_ID>] -r <RESOURCE_ID> -m
|
||||
<METER_NAME> --meter-type <METER_TYPE>
|
||||
--meter-unit <METER_UNIT> --sample-volume
|
||||
<SAMPLE_VOLUME>
|
||||
[--resource-metadata <RESOURCE_METADATA>]
|
||||
[--timestamp <TIMESTAMP>]
|
||||
|
||||
Create a sample.
|
||||
|
||||
Optional arguments:
|
||||
--project-id <PROJECT_ID>
|
||||
Tenant to associate with sample (only settable by
|
||||
admin users)
|
||||
--user-id <USER_ID> User to associate with sample (only settable by admin
|
||||
users)
|
||||
-r <RESOURCE_ID>, --resource-id <RESOURCE_ID>
|
||||
ID of the resource. Required.
|
||||
-m <METER_NAME>, --meter-name <METER_NAME>
|
||||
the meter name Required.
|
||||
--meter-type <METER_TYPE>
|
||||
the meter type Required.
|
||||
--meter-unit <METER_UNIT>
|
||||
the meter unit Required.
|
||||
--sample-volume <SAMPLE_VOLUME>
|
||||
The sample volume Required.
|
||||
--resource-metadata <RESOURCE_METADATA>
|
||||
resource metadata
|
||||
--timestamp <TIMESTAMP>
|
||||
the sample timestamp
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_sample-list">
|
||||
<title>ceilometer sample-list command</title>
|
||||
<screen><computeroutput>usage: ceilometer sample-list [-q <QUERY>] -m <NAME> [-l <NUMBER>]
|
||||
|
||||
List the samples for a meter.
|
||||
|
||||
Optional arguments:
|
||||
-q <QUERY>, --query <QUERY>
|
||||
key[op]data_type::value; list. data_type is optional,
|
||||
but if supplied must be string, integer, float, or
|
||||
boolean
|
||||
-m <NAME>, --meter <NAME>
|
||||
Name of meter to show samples for. Required.
|
||||
-l <NUMBER>, --limit <NUMBER>
|
||||
Maximum number of samples to return.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_statistics">
|
||||
<title>ceilometer statistics command</title>
|
||||
<screen><computeroutput>usage: ceilometer statistics [-q <QUERY>] -m <NAME> [-p <PERIOD>]
|
||||
|
||||
List the statistics for a meter.
|
||||
|
||||
Optional arguments:
|
||||
-q <QUERY>, --query <QUERY>
|
||||
key[op]data_type::value; list. data_type is optional,
|
||||
but if supplied must be string, integer, float, or
|
||||
boolean
|
||||
-m <NAME>, --meter <NAME>
|
||||
Name of meter to show samples for. Required.
|
||||
-p <PERIOD>, --period <PERIOD>
|
||||
Period in seconds over which to group samples.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_trait-description-list">
|
||||
<title>ceilometer trait-description-list command</title>
|
||||
<screen><computeroutput>usage: ceilometer trait-description-list -e <EVENT_TYPE>
|
||||
|
||||
List trait info for an event type.
|
||||
|
||||
Optional arguments:
|
||||
-e <EVENT_TYPE>, --event_type <EVENT_TYPE>
|
||||
Type of the event for which traits will be shown
|
||||
Required.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="ceilometerclient_subcommand_trait-list">
|
||||
<title>ceilometer trait-list command</title>
|
||||
<screen><computeroutput>usage: ceilometer trait-list -e <EVENT_TYPE> -t <TRAIT_NAME>
|
||||
|
||||
List trait all traits with name <trait_name> for Event Type <event_type>.
|
||||
|
||||
Optional arguments:
|
||||
-e <EVENT_TYPE>, --event_type <EVENT_TYPE>
|
||||
Type of the event for which traits will listed
|
||||
Required.
|
||||
-t <TRAIT_NAME>, --trait_name <TRAIT_NAME>
|
||||
The name of the trait to list Required.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
</section>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -2,20 +2,27 @@
|
||||
<section xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||
xml:id="glance_commands">
|
||||
xml:id="glanceclient_commands">
|
||||
|
||||
<!-- This file is automatically generated, do not edit -->
|
||||
|
||||
<?dbhtml stop-chunking?>
|
||||
|
||||
<title>glance commands</title>
|
||||
<para>The glance client is the command-line interface (CLI) for the
|
||||
OpenStack Image Service API.</para>
|
||||
<para>For help on a specific glance command, enter:</para>
|
||||
OpenStack Image Service API and its extensions.</para>
|
||||
<para>For help on a specific <command>glance</command>
|
||||
command, enter:
|
||||
</para>
|
||||
<screen><prompt>$</prompt> <userinput><command>glance</command> <option>help</option> <replaceable>COMMAND</replaceable></userinput></screen>
|
||||
<example>
|
||||
<title>Usage</title>
|
||||
<screen><computeroutput> glance [--version] [-d] [-v] [-k] [--cert-file CERT_FILE]
|
||||
[--key-file KEY_FILE] [--os-cacert <ca-certificate-file>]
|
||||
[--ca-file OS_CACERT] [--timeout TIMEOUT] [--no-ssl-compression]
|
||||
[-f] [--dry-run] [--ssl] [-H ADDRESS] [-p PORT]
|
||||
[--os-username OS_USERNAME] [-I OS_USERNAME]
|
||||
[--os-password OS_PASSWORD] [-K OS_PASSWORD]
|
||||
|
||||
<section xml:id="glanceclient_command_usage">
|
||||
<title>glance usage</title>
|
||||
<screen><computeroutput> [--cert-file CERT_FILE] [--key-file KEY_FILE]
|
||||
[--os-cacert <ca-certificate-file>] [--ca-file OS_CACERT]
|
||||
[--timeout TIMEOUT] [--no-ssl-compression] [-f] [--dry-run]
|
||||
[--ssl] [-H ADDRESS] [-p PORT] [--os-username OS_USERNAME]
|
||||
[-I OS_USERNAME] [--os-password OS_PASSWORD] [-K OS_PASSWORD]
|
||||
[--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME]
|
||||
[-T OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] [-N OS_AUTH_URL]
|
||||
[--os-region-name OS_REGION_NAME] [-R OS_REGION_NAME]
|
||||
@ -25,9 +32,9 @@
|
||||
[--os-service-type OS_SERVICE_TYPE]
|
||||
[--os-endpoint-type OS_ENDPOINT_TYPE] [-S OS_AUTH_STRATEGY]
|
||||
<subcommand> ...</computeroutput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Positional arguments</title>
|
||||
</section>
|
||||
<section xml:id="glanceclient_command_pos">
|
||||
<title>glance positional arguments</title>
|
||||
<screen><computeroutput> <subcommand>
|
||||
add DEPRECATED! Use image-create instead.
|
||||
clear DEPRECATED!
|
||||
@ -50,13 +57,17 @@
|
||||
show DEPRECATED! Use image-show instead.
|
||||
update DEPRECATED! Use image-update instead.
|
||||
help Display help about this program or one of its
|
||||
subcommands.</computeroutput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Optional arguments</title>
|
||||
subcommands.
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="glanceclient_command_optional">
|
||||
<title>glance optional arguments</title>
|
||||
<screen><computeroutput> --version show program's version number and exit
|
||||
-d, --debug Defaults to env[GLANCECLIENT_DEBUG]
|
||||
-v, --verbose Print more verbose output
|
||||
--get-schema Force retrieving the schema used to generate portions
|
||||
of the help text rather than using a cached copy.
|
||||
Ignored with api version 1
|
||||
-k, --insecure Explicitly allow glanceclient to perform "insecure
|
||||
SSL" (https) requests. The server's certificate will
|
||||
not be verified against any certificate authorities.
|
||||
@ -117,6 +128,245 @@
|
||||
--os-endpoint-type OS_ENDPOINT_TYPE
|
||||
Defaults to env[OS_ENDPOINT_TYPE]
|
||||
-S OS_AUTH_STRATEGY, --os_auth_strategy OS_AUTH_STRATEGY
|
||||
DEPRECATED! This option is completely ignored.</computeroutput></screen>
|
||||
</example>
|
||||
DEPRECATED! This option is completely ignored.
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_image-create">
|
||||
<title>glance image-create command</title>
|
||||
<screen><computeroutput>usage: glance image-create [--id <IMAGE_ID>] [--name <NAME>] [--store <STORE>]
|
||||
[--disk-format <DISK_FORMAT>]
|
||||
[--container-format <CONTAINER_FORMAT>]
|
||||
[--owner <TENANT_ID>] [--size <SIZE>]
|
||||
[--min-disk <DISK_GB>] [--min-ram <DISK_RAM>]
|
||||
[--location <IMAGE_URL>] [--file <FILE>]
|
||||
[--checksum <CHECKSUM>] [--copy-from <IMAGE_URL>]
|
||||
[--is-public {True,False}]
|
||||
[--is-protected {True,False}]
|
||||
[--property <key=value>] [--human-readable]
|
||||
[--progress]
|
||||
|
||||
Create a new image.
|
||||
|
||||
Optional arguments:
|
||||
--id <IMAGE_ID> ID of image to reserve.
|
||||
--name <NAME> Name of image.
|
||||
--store <STORE> Store to upload image to.
|
||||
--disk-format <DISK_FORMAT>
|
||||
Disk format of image. Acceptable formats: ami, ari,
|
||||
aki, vhd, vmdk, raw, qcow2, vdi, and iso.
|
||||
--container-format <CONTAINER_FORMAT>
|
||||
Container format of image. Acceptable formats: ami,
|
||||
ari, aki, bare, and ovf.
|
||||
--owner <TENANT_ID> Tenant who should own image.
|
||||
--size <SIZE> Size of image data (in bytes). Only used with '--
|
||||
location' and '--copy_from'.
|
||||
--min-disk <DISK_GB> Minimum size of disk needed to boot image (in
|
||||
gigabytes).
|
||||
--min-ram <DISK_RAM> Minimum amount of ram needed to boot image (in
|
||||
megabytes).
|
||||
--location <IMAGE_URL>
|
||||
URL where the data for this image already resides. For
|
||||
example, if the image data is stored in swift, you
|
||||
could specify
|
||||
'swift://account:key@example.com/container/obj'.
|
||||
--file <FILE> Local file that contains disk image to be uploaded
|
||||
during creation. Alternatively, images can be passed
|
||||
to the client via stdin.
|
||||
--checksum <CHECKSUM>
|
||||
Hash of image data used Glance can use for
|
||||
verification. Provide a md5 checksum here.
|
||||
--copy-from <IMAGE_URL>
|
||||
Similar to '--location' in usage, but this indicates
|
||||
that the Glance server should immediately copy the
|
||||
data and store it in its configured image store.
|
||||
--is-public {True,False}
|
||||
Make image accessible to the public.
|
||||
--is-protected {True,False}
|
||||
Prevent image from being deleted.
|
||||
--property <key=value>
|
||||
Arbitrary property to associate with image. May be
|
||||
used multiple times.
|
||||
--human-readable Print image size in a human-friendly format.
|
||||
--progress Show upload progress bar.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_image-delete">
|
||||
<title>glance image-delete command</title>
|
||||
<screen><computeroutput>usage: glance image-delete <IMAGE> [<IMAGE> ...]
|
||||
|
||||
Delete specified image(s).
|
||||
|
||||
Positional arguments:
|
||||
<IMAGE> Name or ID of image(s) to delete.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_image-list">
|
||||
<title>glance image-list command</title>
|
||||
<screen><computeroutput>usage: glance image-list [--name <NAME>] [--status <STATUS>]
|
||||
[--container-format <CONTAINER_FORMAT>]
|
||||
[--disk-format <DISK_FORMAT>] [--size-min <SIZE>]
|
||||
[--size-max <SIZE>] [--property-filter <KEY=VALUE>]
|
||||
[--page-size <SIZE>] [--human-readable]
|
||||
[--sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}]
|
||||
[--sort-dir {asc,desc}] [--is-public {True,False}]
|
||||
[--owner <TENANT_ID>] [--all-tenants]
|
||||
|
||||
List images you can access.
|
||||
|
||||
Optional arguments:
|
||||
--name <NAME> Filter images to those that have this name.
|
||||
--status <STATUS> Filter images to those that have this status.
|
||||
--container-format <CONTAINER_FORMAT>
|
||||
Filter images to those that have this container
|
||||
format. Acceptable formats: ami, ari, aki, bare, and
|
||||
ovf.
|
||||
--disk-format <DISK_FORMAT>
|
||||
Filter images to those that have this disk format.
|
||||
Acceptable formats: ami, ari, aki, vhd, vmdk, raw,
|
||||
qcow2, vdi, and iso.
|
||||
--size-min <SIZE> Filter images to those with a size greater than this.
|
||||
--size-max <SIZE> Filter images to those with a size less than this.
|
||||
--property-filter <KEY=VALUE>
|
||||
Filter images by a user-defined image property.
|
||||
--page-size <SIZE> Number of images to request in each paginated request.
|
||||
--human-readable Print image size in a human-friendly format.
|
||||
--sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}
|
||||
Sort image list by specified field.
|
||||
--sort-dir {asc,desc}
|
||||
Sort image list in specified direction.
|
||||
--is-public {True,False}
|
||||
Allows the user to select a listing of public or non
|
||||
public images.
|
||||
--owner <TENANT_ID> Display only images owned by this tenant id. Filtering
|
||||
occurs on the client side so may be inefficient. This
|
||||
option is mainly intended for admin use. Use an empty
|
||||
string ('') to list images with no owner. Note: This
|
||||
option overrides the --is-public argument if present.
|
||||
Note: the v2 API supports more efficient server-side
|
||||
owner based filtering.
|
||||
--all-tenants Allows the admin user to list all images irrespective
|
||||
of the image's owner or is_public value.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_image-show">
|
||||
<title>glance image-show command</title>
|
||||
<screen><computeroutput>usage: glance image-show [--human-readable] <IMAGE>
|
||||
|
||||
Describe a specific image.
|
||||
|
||||
Positional arguments:
|
||||
<IMAGE> Name or ID of image to describe.
|
||||
|
||||
Optional arguments:
|
||||
--human-readable Print image size in a human-friendly format.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_image-update">
|
||||
<title>glance image-update command</title>
|
||||
<screen><computeroutput>usage: glance image-update [--name <NAME>] [--disk-format <DISK_FORMAT>]
|
||||
[--container-format <CONTAINER_FORMAT>]
|
||||
[--owner <TENANT_ID>] [--size <SIZE>]
|
||||
[--min-disk <DISK_GB>] [--min-ram <DISK_RAM>]
|
||||
[--location <IMAGE_URL>] [--file <FILE>]
|
||||
[--checksum <CHECKSUM>] [--copy-from <IMAGE_URL>]
|
||||
[--is-public {True,False}]
|
||||
[--is-protected {True,False}]
|
||||
[--property <key=value>] [--purge-props]
|
||||
[--human-readable] [--progress]
|
||||
<IMAGE>
|
||||
|
||||
Update a specific image.
|
||||
|
||||
Positional arguments:
|
||||
<IMAGE> Name or ID of image to modify.
|
||||
|
||||
Optional arguments:
|
||||
--name <NAME> Name of image.
|
||||
--disk-format <DISK_FORMAT>
|
||||
Disk format of image. Acceptable formats: ami, ari,
|
||||
aki, vhd, vmdk, raw, qcow2, vdi, and iso.
|
||||
--container-format <CONTAINER_FORMAT>
|
||||
Container format of image. Acceptable formats: ami,
|
||||
ari, aki, bare, and ovf.
|
||||
--owner <TENANT_ID> Tenant who should own image.
|
||||
--size <SIZE> Size of image data (in bytes).
|
||||
--min-disk <DISK_GB> Minimum size of disk needed to boot image (in
|
||||
gigabytes).
|
||||
--min-ram <DISK_RAM> Minimum amount of ram needed to boot image (in
|
||||
megabytes).
|
||||
--location <IMAGE_URL>
|
||||
URL where the data for this image already resides. For
|
||||
example, if the image data is stored in swift, you
|
||||
could specify
|
||||
'swift://account:key@example.com/container/obj'.
|
||||
--file <FILE> Local file that contains disk image to be uploaded
|
||||
during update. Alternatively, images can be passed to
|
||||
the client via stdin.
|
||||
--checksum <CHECKSUM>
|
||||
Hash of image data used Glance can use for
|
||||
verification.
|
||||
--copy-from <IMAGE_URL>
|
||||
Similar to '--location' in usage, but this indicates
|
||||
that the Glance server should immediately copy the
|
||||
data and store it in its configured image store.
|
||||
--is-public {True,False}
|
||||
Make image accessible to the public.
|
||||
--is-protected {True,False}
|
||||
Prevent image from being deleted.
|
||||
--property <key=value>
|
||||
Arbitrary property to associate with image. May be
|
||||
used multiple times.
|
||||
--purge-props If this flag is present, delete all image properties
|
||||
not explicitly set in the update request. Otherwise,
|
||||
those properties not referenced are preserved.
|
||||
--human-readable Print image size in a human-friendly format.
|
||||
--progress Show upload progress bar.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_member-create">
|
||||
<title>glance member-create command</title>
|
||||
<screen><computeroutput>usage: glance member-create [--can-share] <IMAGE> <TENANT_ID>
|
||||
|
||||
Share a specific image with a tenant.
|
||||
|
||||
Positional arguments:
|
||||
<IMAGE> Image to add member to.
|
||||
<TENANT_ID> Tenant to add as member
|
||||
|
||||
Optional arguments:
|
||||
--can-share Allow the specified tenant to share this image.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_member-delete">
|
||||
<title>glance member-delete command</title>
|
||||
<screen><computeroutput>usage: glance member-delete <IMAGE> <TENANT_ID>
|
||||
|
||||
Remove a shared image from a tenant.
|
||||
|
||||
Positional arguments:
|
||||
<IMAGE> Image from which to remove member
|
||||
<TENANT_ID> Tenant to remove as member
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="glanceclient_subcommand_member-list">
|
||||
<title>glance member-list command</title>
|
||||
<screen><computeroutput>usage: glance member-list [--image-id <IMAGE_ID>] [--tenant-id <TENANT_ID>]
|
||||
|
||||
Describe sharing permissions by image or tenant.
|
||||
|
||||
Optional arguments:
|
||||
--image-id <IMAGE_ID>
|
||||
Filter results by an image ID.
|
||||
--tenant-id <TENANT_ID>
|
||||
Filter results by a tenant ID.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
</section>
|
||||
|
@ -2,58 +2,70 @@
|
||||
<section xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||
xml:id="heat_client_commands">
|
||||
xml:id="heatclient_commands">
|
||||
|
||||
<!-- This file is automatically generated, do not edit -->
|
||||
|
||||
<?dbhtml stop-chunking?>
|
||||
|
||||
<title>heat commands</title>
|
||||
<para>The heat client is the command-line interface for the
|
||||
OpenStack Orchestration API.</para>
|
||||
<para>For help on a specific heat command, enter:</para>
|
||||
<para>The heat client is the command-line interface (CLI) for the
|
||||
OpenStack Orchestration API and its extensions.</para>
|
||||
<para>For help on a specific <command>heat</command>
|
||||
command, enter:
|
||||
</para>
|
||||
<screen><prompt>$</prompt> <userinput><command>heat</command> <option>help</option> <replaceable>COMMAND</replaceable></userinput></screen>
|
||||
<example>
|
||||
<title>Usage</title>
|
||||
<screen><computeroutput>heat [-d] [-v] [-k] [--cert-file CERT_FILE] [--key-file KEY_FILE]
|
||||
[--ca-file CA_FILE] [--timeout TIMEOUT]
|
||||
|
||||
<section xml:id="heatclient_command_usage">
|
||||
<title>heat usage</title>
|
||||
<screen><computeroutput> [--key-file KEY_FILE] [--ca-file CA_FILE] [--timeout TIMEOUT]
|
||||
[--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] [--os-no-client-auth]
|
||||
[--heat-url HEAT_URL] [--heat-api-version HEAT_API_VERSION]
|
||||
[--os-service-type OS_SERVICE_TYPE]
|
||||
[--os-endpoint-type OS_ENDPOINT_TYPE] [-t]
|
||||
[--os-endpoint-type OS_ENDPOINT_TYPE] [--include-password]
|
||||
<subcommand> ...</computeroutput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Positional arguments</title>
|
||||
</section>
|
||||
<section xml:id="heatclient_command_pos">
|
||||
<title>heat positional arguments</title>
|
||||
<screen><computeroutput> <subcommand>
|
||||
action-resume Resume the stack.
|
||||
action-suspend Suspend the stack.
|
||||
create DEPRECATED! Use stack-create instead
|
||||
delete DEPRECATED! Use stack-delete instead
|
||||
describe DEPRECATED! Use stack-show instead
|
||||
event DEPRECATED! Use event-show instead
|
||||
event-list List events for a stack
|
||||
event-show Describe the event
|
||||
gettemplate DEPRECATED! Use template-show instead
|
||||
list DEPRECATED! Use stack-list instead
|
||||
resource DEPRECATED! Use resource-show instead
|
||||
resource-list Show list of resources belonging to a stack
|
||||
resource-metadata List resource metadata
|
||||
resource-show Describe the resource
|
||||
stack-create Create the stack
|
||||
stack-delete Delete the stack
|
||||
stack-list List the user's stacks
|
||||
stack-show Describe the stack
|
||||
stack-update Update the stack
|
||||
template-show Get the template for the specified stack
|
||||
template-validate Validate a template with parameters
|
||||
update DEPRECATED! Use stack-update instead
|
||||
validate DEPRECATED! Use template-validate instead
|
||||
create DEPRECATED! Use stack-create instead.
|
||||
delete DEPRECATED! Use stack-delete instead.
|
||||
describe DEPRECATED! Use stack-show instead.
|
||||
event DEPRECATED! Use event-show instead.
|
||||
event-list List events for a stack.
|
||||
event-show Describe the event.
|
||||
gettemplate DEPRECATED! Use template-show instead.
|
||||
list DEPRECATED! Use stack-list instead.
|
||||
resource DEPRECATED! Use resource-show instead.
|
||||
resource-list Show list of resources belonging to a stack.
|
||||
resource-metadata List resource metadata.
|
||||
resource-show Describe the resource.
|
||||
resource-template Generate a template based on a resource.
|
||||
resource-type-list List the available resource types.
|
||||
resource-type-show Show the resource type.
|
||||
stack-create Create the stack.
|
||||
stack-delete Delete the stack(s).
|
||||
stack-list List the user's stacks.
|
||||
stack-show Describe the stack.
|
||||
stack-update Update the stack.
|
||||
template-show Get the template for the specified stack.
|
||||
template-validate Validate a template with parameters.
|
||||
update DEPRECATED! Use stack-update instead.
|
||||
validate DEPRECATED! Use template-validate instead.
|
||||
bash-completion Prints all of the commands and options to stdout.
|
||||
help Display help about this program or one of its
|
||||
subcommands.</computeroutput></screen>
|
||||
</example>
|
||||
|
||||
<example>
|
||||
<title>Optional arguments</title>
|
||||
<screen><computeroutput> -d, --debug Defaults to env[HEATCLIENT_DEBUG]
|
||||
subcommands.
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_command_optional">
|
||||
<title>heat optional arguments</title>
|
||||
<screen><computeroutput> --version Shows the client version and exits
|
||||
-d, --debug Defaults to env[HEATCLIENT_DEBUG]
|
||||
-v, --verbose Print more verbose output
|
||||
-k, --insecure Explicitly allow the client to perform"insecure" SSL
|
||||
(https) requests. The server's certificate will not be
|
||||
@ -84,7 +96,7 @@
|
||||
Defaults to env[OS_REGION_NAME]
|
||||
--os-auth-token OS_AUTH_TOKEN
|
||||
Defaults to env[OS_AUTH_TOKEN]
|
||||
--os-no-client-auth Do not contact heat for a token. Defaults to
|
||||
--os-no-client-auth Do not contact keystone for a token. Defaults to
|
||||
env[OS_NO_CLIENT_AUTH]
|
||||
--heat-url HEAT_URL Defaults to env[HEAT_URL]
|
||||
--heat-api-version HEAT_API_VERSION
|
||||
@ -93,7 +105,248 @@
|
||||
Defaults to env[OS_SERVICE_TYPE]
|
||||
--os-endpoint-type OS_ENDPOINT_TYPE
|
||||
Defaults to env[OS_ENDPOINT_TYPE]
|
||||
-t, --token-only Only send a token for auth, do not send username and
|
||||
password as well.</computeroutput></screen>
|
||||
</example>
|
||||
--include-password Send os-username and os-password to heat
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_action-resume">
|
||||
<title>heat action-resume command</title>
|
||||
<screen><computeroutput>usage: heat action-resume <NAME or ID>
|
||||
|
||||
Resume the stack.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to resume.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_action-suspend">
|
||||
<title>heat action-suspend command</title>
|
||||
<screen><computeroutput>usage: heat action-suspend <NAME or ID>
|
||||
|
||||
Suspend the stack.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to suspend.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_event-list">
|
||||
<title>heat event-list command</title>
|
||||
<screen><computeroutput>usage: heat event-list [-r <RESOURCE>] <NAME or ID>
|
||||
|
||||
List events for a stack.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to show the events for.
|
||||
|
||||
Optional arguments:
|
||||
-r <RESOURCE>, --resource <RESOURCE>
|
||||
Name of the resource to filter events by
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_event-show">
|
||||
<title>heat event-show command</title>
|
||||
<screen><computeroutput>usage: heat event-show <NAME or ID> <RESOURCE> <EVENT>
|
||||
|
||||
Describe the event.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to show the events for.
|
||||
<RESOURCE> Name of the resource the event belongs to.
|
||||
<EVENT> ID of event to display details for
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_resource-list">
|
||||
<title>heat resource-list command</title>
|
||||
<screen><computeroutput>usage: heat resource-list <NAME or ID>
|
||||
|
||||
Show list of resources belonging to a stack.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to show the resources for.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_resource-metadata">
|
||||
<title>heat resource-metadata command</title>
|
||||
<screen><computeroutput>usage: heat resource-metadata <NAME or ID> <RESOURCE>
|
||||
|
||||
List resource metadata.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to show the resource metadata for.
|
||||
<RESOURCE> Name of the resource to show the metadata for.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_resource-show">
|
||||
<title>heat resource-show command</title>
|
||||
<screen><computeroutput>usage: heat resource-show <NAME or ID> <RESOURCE>
|
||||
|
||||
Describe the resource.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to show the resource for.
|
||||
<RESOURCE> Name of the resource to show the details for.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_resource-template">
|
||||
<title>heat resource-template command</title>
|
||||
<screen><computeroutput>usage: heat resource-template [-F <FORMAT>] <RESOURCE>
|
||||
|
||||
Generate a template based on a resource.
|
||||
|
||||
Positional arguments:
|
||||
<RESOURCE> Name of the resource to generate a template for.
|
||||
|
||||
Optional arguments:
|
||||
-F <FORMAT>, --format <FORMAT>
|
||||
The template output format, one of: yaml, json
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_resource-type-list">
|
||||
<title>heat resource-type-list command</title>
|
||||
<screen><computeroutput>usage: heat resource-type-list
|
||||
|
||||
List the available resource types.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_resource-type-show">
|
||||
<title>heat resource-type-show command</title>
|
||||
<screen><computeroutput>usage: heat resource-type-show <RESOURCE_TYPE>
|
||||
|
||||
Show the resource type.
|
||||
|
||||
Positional arguments:
|
||||
<RESOURCE_TYPE> Resource Type to get the details for.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_stack-create">
|
||||
<title>heat stack-create command</title>
|
||||
<screen><computeroutput>usage: heat stack-create [-f <FILE>] [-e <FILE>] [-u <URL>] [-o <URL>]
|
||||
[-c <TIMEOUT>] [-r] [-P <KEY1=VALUE1;KEY2=VALUE2...>]
|
||||
<STACK_NAME>
|
||||
|
||||
Create the stack.
|
||||
|
||||
Positional arguments:
|
||||
<STACK_NAME> Name of the stack to create.
|
||||
|
||||
Optional arguments:
|
||||
-f <FILE>, --template-file <FILE>
|
||||
Path to the template.
|
||||
-e <FILE>, --environment-file <FILE>
|
||||
Path to the environment.
|
||||
-u <URL>, --template-url <URL>
|
||||
URL of template.
|
||||
-o <URL>, --template-object <URL>
|
||||
URL to retrieve template object (e.g from swift)
|
||||
-c <TIMEOUT>, --create-timeout <TIMEOUT>
|
||||
Stack creation timeout in minutes. Default: 60
|
||||
-r, --enable-rollback
|
||||
Enable rollback on create/update failure
|
||||
-P <KEY1=VALUE1;KEY2=VALUE2...>, --parameters <KEY1=VALUE1;KEY2=VALUE2...>
|
||||
Parameter values used to create the stack. This can be
|
||||
specified multiple times, or once with parameters
|
||||
separated by semicolon.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_stack-delete">
|
||||
<title>heat stack-delete command</title>
|
||||
<screen><computeroutput>usage: heat stack-delete <NAME or ID> [<NAME or ID> ...]
|
||||
|
||||
Delete the stack(s).
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack(s) to delete.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_stack-list">
|
||||
<title>heat stack-list command</title>
|
||||
<screen><computeroutput>usage: heat stack-list
|
||||
|
||||
List the user's stacks.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_stack-show">
|
||||
<title>heat stack-show command</title>
|
||||
<screen><computeroutput>usage: heat stack-show <NAME or ID>
|
||||
|
||||
Describe the stack.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to describe.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_stack-update">
|
||||
<title>heat stack-update command</title>
|
||||
<screen><computeroutput>usage: heat stack-update [-f <FILE>] [-e <FILE>] [-u <URL>] [-o <URL>]
|
||||
[-P <KEY1=VALUE1;KEY2=VALUE2...>]
|
||||
<NAME or ID>
|
||||
|
||||
Update the stack.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to update.
|
||||
|
||||
Optional arguments:
|
||||
-f <FILE>, --template-file <FILE>
|
||||
Path to the template.
|
||||
-e <FILE>, --environment-file <FILE>
|
||||
Path to the environment.
|
||||
-u <URL>, --template-url <URL>
|
||||
URL of template.
|
||||
-o <URL>, --template-object <URL>
|
||||
URL to retrieve template object (e.g from swift)
|
||||
-P <KEY1=VALUE1;KEY2=VALUE2...>, --parameters <KEY1=VALUE1;KEY2=VALUE2...>
|
||||
Parameter values used to create the stack. This can be
|
||||
specified multiple times, or once with parameters
|
||||
separated by semicolon.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_template-show">
|
||||
<title>heat template-show command</title>
|
||||
<screen><computeroutput>usage: heat template-show <NAME or ID>
|
||||
|
||||
Get the template for the specified stack.
|
||||
|
||||
Positional arguments:
|
||||
<NAME or ID> Name or ID of stack to get the template for.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="heatclient_subcommand_template-validate">
|
||||
<title>heat template-validate command</title>
|
||||
<screen><computeroutput>usage: heat template-validate [-u <URL>] [-f <FILE>] [-e <FILE>] [-o <URL>]
|
||||
[-P <KEY1=VALUE1;KEY2=VALUE2...>]
|
||||
|
||||
Validate a template with parameters.
|
||||
|
||||
Optional arguments:
|
||||
-u <URL>, --template-url <URL>
|
||||
URL of template.
|
||||
-f <FILE>, --template-file <FILE>
|
||||
Path to the template.
|
||||
-e <FILE>, --environment-file <FILE>
|
||||
Path to the environment.
|
||||
-o <URL>, --template-object <URL>
|
||||
URL to retrieve template object (e.g from swift)
|
||||
-P <KEY1=VALUE1;KEY2=VALUE2...>, --parameters <KEY1=VALUE1;KEY2=VALUE2...>
|
||||
Parameter values to validate. This can be specified
|
||||
multiple times, or once with parameters separated by
|
||||
semicolon.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
</section>
|
||||
|
@ -2,17 +2,23 @@
|
||||
<section xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||
xml:id="keystone_client_commands">
|
||||
xml:id="keystoneclient_commands">
|
||||
|
||||
<!-- This file is automatically generated, do not edit -->
|
||||
|
||||
<?dbhtml stop-chunking?>
|
||||
|
||||
<title>keystone commands</title>
|
||||
<para>The keystone client is the command-line interface (CLI) for
|
||||
the OpenStack Identity API.</para>
|
||||
<para>For help on a specific keystone command, enter:</para>
|
||||
<para>The keystone client is the command-line interface (CLI) for the
|
||||
OpenStack Identity API and its extensions.</para>
|
||||
<para>For help on a specific <command>keystone</command>
|
||||
command, enter:
|
||||
</para>
|
||||
<screen><prompt>$</prompt> <userinput><command>keystone</command> <option>help</option> <replaceable>COMMAND</replaceable></userinput></screen>
|
||||
<example>
|
||||
<title>Usage</title>
|
||||
<screen><computeroutput>
|
||||
keystone [--version] [--timeout <seconds>]
|
||||
[--os-username <auth-user-name>]
|
||||
|
||||
<section xml:id="keystoneclient_command_usage">
|
||||
<title>keystone usage</title>
|
||||
<screen><computeroutput> [--os-username <auth-user-name>]
|
||||
[--os-password <auth-password>]
|
||||
[--os-tenant-name <auth-tenant-name>]
|
||||
[--os-tenant-id <tenant-id>] [--os-auth-url <auth-url>]
|
||||
@ -24,59 +30,60 @@ keystone [--version] [--timeout <seconds>]
|
||||
[--os-cert <certificate>] [--os-key <key>] [--os-cache]
|
||||
[--force-new-token] [--stale-duration <seconds>]
|
||||
<subcommand> ...</computeroutput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Positional arguments</title>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_command_pos">
|
||||
<title>keystone positional arguments</title>
|
||||
<screen><computeroutput> <subcommand>
|
||||
catalog List service catalog, possibly filtered by service.
|
||||
ec2-credentials-create
|
||||
Create EC2-compatible credentials for user per tenant
|
||||
Create EC2-compatible credentials for user per tenant.
|
||||
ec2-credentials-delete
|
||||
Delete EC2-compatible credentials
|
||||
Delete EC2-compatible credentials.
|
||||
ec2-credentials-get
|
||||
Display EC2-compatible credentials
|
||||
Display EC2-compatible credentials.
|
||||
ec2-credentials-list
|
||||
List EC2-compatible credentials for a user
|
||||
endpoint-create Create a new endpoint associated with a service
|
||||
endpoint-delete Delete a service endpoint
|
||||
endpoint-create Create a new endpoint associated with a service.
|
||||
endpoint-delete Delete a service endpoint.
|
||||
endpoint-get Find endpoint filtered by a specific attribute or
|
||||
service type
|
||||
endpoint-list List configured service endpoints
|
||||
password-update Update own password
|
||||
role-create Create new role
|
||||
role-delete Delete role
|
||||
role-get Display role details
|
||||
role-list List all roles
|
||||
service-create Add service to Service Catalog
|
||||
service-delete Delete service from Service Catalog
|
||||
service-get Display service from Service Catalog
|
||||
service-list List all services in Service Catalog
|
||||
tenant-create Create new tenant
|
||||
tenant-delete Delete tenant
|
||||
tenant-get Display tenant details
|
||||
tenant-list List all tenants
|
||||
tenant-update Update tenant name, description, enabled status
|
||||
token-get Display the current user token
|
||||
service type.
|
||||
endpoint-list List configured service endpoints.
|
||||
password-update Update own password.
|
||||
role-create Create new role.
|
||||
role-delete Delete role.
|
||||
role-get Display role details.
|
||||
role-list List all roles.
|
||||
service-create Add service to Service Catalog.
|
||||
service-delete Delete service from Service Catalog.
|
||||
service-get Display service from Service Catalog.
|
||||
service-list List all services in Service Catalog.
|
||||
tenant-create Create new tenant.
|
||||
tenant-delete Delete tenant.
|
||||
tenant-get Display tenant details.
|
||||
tenant-list List all tenants.
|
||||
tenant-update Update tenant name, description, enabled status.
|
||||
token-get Display the current user token.
|
||||
user-create Create new user
|
||||
user-delete Delete user
|
||||
user-get Display user details.
|
||||
user-list List users
|
||||
user-list List users.
|
||||
user-password-update
|
||||
Update user password
|
||||
Update user password.
|
||||
user-role-add Add role to user
|
||||
user-role-list List roles granted to a user
|
||||
user-role-remove Remove role from user
|
||||
user-update Update user's name, email, and enabled status
|
||||
user-update Update user's name, email, and enabled status.
|
||||
discover Discover Keystone servers, supported API versions and
|
||||
extensions.
|
||||
bootstrap Grants a new role to a new user on a new tenant, after
|
||||
creating each.
|
||||
bash-completion Prints all of the commands and options to stdout.
|
||||
help Display help about this program or one of its
|
||||
subcommands.</computeroutput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Optional arguments</title>
|
||||
subcommands.
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_command_optional">
|
||||
<title>keystone optional arguments</title>
|
||||
<screen><computeroutput> --version Shows the client version and exits
|
||||
--timeout <seconds> Set request timeout (in seconds)
|
||||
--os-username <auth-user-name>
|
||||
@ -125,6 +132,478 @@ keystone [--version] [--timeout <seconds>]
|
||||
Stale duration (in seconds) used to determine whether
|
||||
a token has expired when retrieving it from keyring.
|
||||
This is useful in mitigating process or network
|
||||
delays. Default is 30 seconds.</computeroutput></screen>
|
||||
</example>
|
||||
delays. Default is 30 seconds.
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_bootstrap">
|
||||
<title>keystone bootstrap command</title>
|
||||
<screen><computeroutput>usage: keystone bootstrap [--user-name <user-name>] --pass <password>
|
||||
[--role-name <role-name>]
|
||||
[--tenant-name <tenant-name>]
|
||||
|
||||
Grants a new role to a new user on a new tenant, after creating each.
|
||||
|
||||
Arguments:
|
||||
--user-name <user-name>
|
||||
The name of the user to be created (default="admin").
|
||||
--pass <password> The password for the new user.
|
||||
--role-name <role-name>
|
||||
The name of the role to be created and granted to the
|
||||
user (default="admin").
|
||||
--tenant-name <tenant-name>
|
||||
The name of the tenant to be created
|
||||
(default="admin").
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_catalog">
|
||||
<title>keystone catalog command</title>
|
||||
<screen><computeroutput>usage: keystone catalog [--service <service-type>]
|
||||
|
||||
List service catalog, possibly filtered by service.
|
||||
|
||||
Arguments:
|
||||
--service <service-type>
|
||||
Service type to return
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_discover">
|
||||
<title>keystone discover command</title>
|
||||
<screen><computeroutput>usage: keystone discover
|
||||
|
||||
Discover Keystone servers, supported API versions and extensions. Usage:: $
|
||||
keystone discover Keystone found at http://localhost:35357 - supports version
|
||||
v1.0 (DEPRECATED) here http://localhost:35357/v1.0 - supports version v1.1
|
||||
(CURRENT) here http://localhost:35357/v1.1 - supports version v2.0 (CURRENT)
|
||||
here http://localhost:35357/v2.0 - and RAX-KSKEY: Rackspace API Key
|
||||
Authentication Admin Extension - and RAX-KSGRP: Rackspace Keystone Group
|
||||
Extensions
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_ec2-credentials-create">
|
||||
<title>keystone ec2-credentials-create command</title>
|
||||
<screen><computeroutput>usage: keystone ec2-credentials-create [--user-id <user-id>]
|
||||
[--tenant-id <tenant-id>]
|
||||
|
||||
Create EC2-compatible credentials for user per tenant.
|
||||
|
||||
Arguments:
|
||||
--user-id <user-id> User ID
|
||||
--tenant-id <tenant-id>
|
||||
Tenant ID
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_ec2-credentials-delete">
|
||||
<title>keystone ec2-credentials-delete command</title>
|
||||
<screen><computeroutput>usage: keystone ec2-credentials-delete [--user-id <user-id>] --access
|
||||
<access-key>
|
||||
|
||||
Delete EC2-compatible credentials.
|
||||
|
||||
Arguments:
|
||||
--user-id <user-id> User ID
|
||||
--access <access-key>
|
||||
Access Key
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_ec2-credentials-get">
|
||||
<title>keystone ec2-credentials-get command</title>
|
||||
<screen><computeroutput>usage: keystone ec2-credentials-get [--user-id <user-id>] --access
|
||||
<access-key>
|
||||
|
||||
Display EC2-compatible credentials.
|
||||
|
||||
Arguments:
|
||||
--user-id <user-id> User ID
|
||||
--access <access-key>
|
||||
Access Key
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_ec2-credentials-list">
|
||||
<title>keystone ec2-credentials-list command</title>
|
||||
<screen><computeroutput>usage: keystone ec2-credentials-list [--user-id <user-id>]
|
||||
|
||||
List EC2-compatible credentials for a user
|
||||
|
||||
Arguments:
|
||||
--user-id <user-id> User ID
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_endpoint-create">
|
||||
<title>keystone endpoint-create command</title>
|
||||
<screen><computeroutput>usage: keystone endpoint-create [--region <endpoint-region>] --service
|
||||
<service> --publicurl <public-url>
|
||||
[--adminurl <admin-url>]
|
||||
[--internalurl <internal-url>]
|
||||
|
||||
Create a new endpoint associated with a service.
|
||||
|
||||
Arguments:
|
||||
--region <endpoint-region>
|
||||
Endpoint region
|
||||
--service <service>, --service-id <service>, --service_id <service>
|
||||
Name or ID of service associated with Endpoint
|
||||
--publicurl <public-url>
|
||||
Public URL endpoint
|
||||
--adminurl <admin-url>
|
||||
Admin URL endpoint
|
||||
--internalurl <internal-url>
|
||||
Internal URL endpoint
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_endpoint-delete">
|
||||
<title>keystone endpoint-delete command</title>
|
||||
<screen><computeroutput>usage: keystone endpoint-delete <endpoint-id>
|
||||
|
||||
Delete a service endpoint.
|
||||
|
||||
Arguments:
|
||||
<endpoint-id> ID of endpoint to delete
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_endpoint-get">
|
||||
<title>keystone endpoint-get command</title>
|
||||
<screen><computeroutput>usage: keystone endpoint-get --service <service-type>
|
||||
[--endpoint-type <endpoint-type>]
|
||||
[--attr <service-attribute>] [--value <value>]
|
||||
|
||||
Find endpoint filtered by a specific attribute or service type.
|
||||
|
||||
Arguments:
|
||||
--service <service-type>
|
||||
Service type to select
|
||||
--endpoint-type <endpoint-type>
|
||||
Endpoint type to select
|
||||
--attr <service-attribute>
|
||||
Service attribute to match for selection
|
||||
--value <value> Value of attribute to match
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_endpoint-list">
|
||||
<title>keystone endpoint-list command</title>
|
||||
<screen><computeroutput>usage: keystone endpoint-list
|
||||
|
||||
List configured service endpoints.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_password-update">
|
||||
<title>keystone password-update command</title>
|
||||
<screen><computeroutput>usage: keystone password-update [--current-password <current-password>]
|
||||
[--new-password <new-password>]
|
||||
|
||||
Update own password.
|
||||
|
||||
Arguments:
|
||||
--current-password <current-password>
|
||||
Current password, Defaults to the password as set by
|
||||
--os-password or OS_PASSWORD
|
||||
--new-password <new-password>
|
||||
Desired new password
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_role-create">
|
||||
<title>keystone role-create command</title>
|
||||
<screen><computeroutput>usage: keystone role-create --name <role-name>
|
||||
|
||||
Create new role.
|
||||
|
||||
Arguments:
|
||||
--name <role-name> Name of new role
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_role-delete">
|
||||
<title>keystone role-delete command</title>
|
||||
<screen><computeroutput>usage: keystone role-delete <role>
|
||||
|
||||
Delete role.
|
||||
|
||||
Arguments:
|
||||
<role> Name or ID of role to delete
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_role-get">
|
||||
<title>keystone role-get command</title>
|
||||
<screen><computeroutput>usage: keystone role-get <role>
|
||||
|
||||
Display role details.
|
||||
|
||||
Arguments:
|
||||
<role> Name or ID of role to display
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_role-list">
|
||||
<title>keystone role-list command</title>
|
||||
<screen><computeroutput>usage: keystone role-list
|
||||
|
||||
List all roles.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_service-create">
|
||||
<title>keystone service-create command</title>
|
||||
<screen><computeroutput>usage: keystone service-create --name <name> --type <type>
|
||||
[--description <service-description>]
|
||||
|
||||
Add service to Service Catalog.
|
||||
|
||||
Arguments:
|
||||
--name <name> Name of new service (must be unique)
|
||||
--type <type> Service type (one of: identity, compute, network,
|
||||
image, object-store, or other service identifier
|
||||
string)
|
||||
--description <service-description>
|
||||
Description of service
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_service-delete">
|
||||
<title>keystone service-delete command</title>
|
||||
<screen><computeroutput>usage: keystone service-delete <service>
|
||||
|
||||
Delete service from Service Catalog.
|
||||
|
||||
Arguments:
|
||||
<service> Name or ID of service to delete
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_service-get">
|
||||
<title>keystone service-get command</title>
|
||||
<screen><computeroutput>usage: keystone service-get <service>
|
||||
|
||||
Display service from Service Catalog.
|
||||
|
||||
Arguments:
|
||||
<service> Name or ID of service to display
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_service-list">
|
||||
<title>keystone service-list command</title>
|
||||
<screen><computeroutput>usage: keystone service-list
|
||||
|
||||
List all services in Service Catalog.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_tenant-create">
|
||||
<title>keystone tenant-create command</title>
|
||||
<screen><computeroutput>usage: keystone tenant-create --name <tenant-name>
|
||||
[--description <tenant-description>]
|
||||
[--enabled <true|false>]
|
||||
|
||||
Create new tenant.
|
||||
|
||||
Arguments:
|
||||
--name <tenant-name> New tenant name (must be unique)
|
||||
--description <tenant-description>
|
||||
Description of new tenant (default is none)
|
||||
--enabled <true|false>
|
||||
Initial tenant enabled status (default true)
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_tenant-delete">
|
||||
<title>keystone tenant-delete command</title>
|
||||
<screen><computeroutput>usage: keystone tenant-delete <tenant>
|
||||
|
||||
Delete tenant.
|
||||
|
||||
Arguments:
|
||||
<tenant> Name or ID of tenant to delete
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_tenant-get">
|
||||
<title>keystone tenant-get command</title>
|
||||
<screen><computeroutput>usage: keystone tenant-get <tenant>
|
||||
|
||||
Display tenant details.
|
||||
|
||||
Arguments:
|
||||
<tenant> Name or ID of tenant to display
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_tenant-list">
|
||||
<title>keystone tenant-list command</title>
|
||||
<screen><computeroutput>usage: keystone tenant-list
|
||||
|
||||
List all tenants.
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_tenant-update">
|
||||
<title>keystone tenant-update command</title>
|
||||
<screen><computeroutput>usage: keystone tenant-update [--name <tenant_name>]
|
||||
[--description <tenant-description>]
|
||||
[--enabled <true|false>]
|
||||
<tenant>
|
||||
|
||||
Update tenant name, description, enabled status.
|
||||
|
||||
Arguments:
|
||||
--name <tenant_name> Desired new name of tenant
|
||||
--description <tenant-description>
|
||||
Desired new description of tenant
|
||||
--enabled <true|false>
|
||||
Enable or disable tenant
|
||||
<tenant> Name or ID of tenant to update
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_token-get">
|
||||
<title>keystone token-get command</title>
|
||||
<screen><computeroutput>usage: keystone token-get [--wrap <integer>]
|
||||
|
||||
Display the current user token.
|
||||
|
||||
Arguments:
|
||||
--wrap <integer> wrap PKI tokens to a specified length, or 0 to disable
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_user-create">
|
||||
<title>keystone user-create command</title>
|
||||
<screen><computeroutput>usage: keystone user-create --name <user-name> [--tenant <tenant>]
|
||||
[--pass <pass>] [--email <email>]
|
||||
[--enabled <true|false>]
|
||||
|
||||
Create new user
|
||||
|
||||
Arguments:
|
||||
--name <user-name> New user name (must be unique)
|
||||
--tenant <tenant>, --tenant-id <tenant>
|
||||
New user default tenant
|
||||
--pass <pass> New user password
|
||||
--email <email> New user email address
|
||||
--enabled <true|false>
|
||||
Initial user enabled status (default true)
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_user-delete">
|
||||
<title>keystone user-delete command</title>
|
||||
<screen><computeroutput>usage: keystone user-delete <user>
|
||||
|
||||
Delete user
|
||||
|
||||
Arguments:
|
||||
<user> Name or ID of user to delete
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_user-get">
|
||||
<title>keystone user-get command</title>
|
||||
<screen><computeroutput>usage: keystone user-get <user>
|
||||
|
||||
Display user details.
|
||||
|
||||
Arguments:
|
||||
<user> Name or ID of user to display
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_user-list">
|
||||
<title>keystone user-list command</title>
|
||||
<screen><computeroutput>usage: keystone user-list [--tenant <tenant>]
|
||||
|
||||
List users.
|
||||
|
||||
Arguments:
|
||||
--tenant <tenant>, --tenant-id <tenant>
|
||||
Tenant; lists all users if not specified
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_user-password-update">
|
||||
<title>keystone user-password-update command</title>
|
||||
<screen><computeroutput>usage: keystone user-password-update [--pass <password>] <user>
|
||||
|
||||
Update user password.
|
||||
|
||||
Arguments:
|
||||
--pass <password> Desired new password
|
||||
<user> Name or ID of user to update password
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_user-role-add">
|
||||
<title>keystone user-role-add command</title>
|
||||
<screen><computeroutput>usage: keystone user-role-add --user <user> --role <role> [--tenant <tenant>]
|
||||
|
||||
Add role to user
|
||||
|
||||
Arguments:
|
||||
--user <user>, --user-id <user>, --user_id <user>
|
||||
Name or ID of user
|
||||
--role <role>, --role-id <role>, --role_id <role>
|
||||
Name or ID of role
|
||||
--tenant <tenant>, --tenant-id <tenant>
|
||||
Name or ID of tenant
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_user-role-list">
|
||||
<title>keystone user-role-list command</title>
|
||||
<screen><computeroutput>usage: keystone user-role-list [--user <user>] [--tenant <tenant>]
|
||||
|
||||
List roles granted to a user
|
||||
|
||||
Arguments:
|
||||
--user <user>, --user-id <user>
|
||||
List roles granted to a user
|
||||
--tenant <tenant>, --tenant-id <tenant>
|
||||
List roles granted on a tenant
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_user-role-remove">
|
||||
<title>keystone user-role-remove command</title>
|
||||
<screen><computeroutput>usage: keystone user-role-remove --user <user> --role <role>
|
||||
[--tenant <tenant>]
|
||||
|
||||
Remove role from user
|
||||
|
||||
Arguments:
|
||||
--user <user>, --user-id <user>, --user_id <user>
|
||||
Name or ID of user
|
||||
--role <role>, --role-id <role>, --role_id <role>
|
||||
Name or ID of role
|
||||
--tenant <tenant>, --tenant-id <tenant>
|
||||
Name or ID of tenant
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="keystoneclient_subcommand_user-update">
|
||||
<title>keystone user-update command</title>
|
||||
<screen><computeroutput>usage: keystone user-update [--name <user-name>] [--email <email>]
|
||||
[--enabled <true|false>]
|
||||
<user>
|
||||
|
||||
Update user's name, email, and enabled status.
|
||||
|
||||
Arguments:
|
||||
--name <user-name> Desired new user name
|
||||
--email <email> Desired new email address
|
||||
--enabled <true|false>
|
||||
Enable or disable user
|
||||
<user> Name or ID of user to update
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
</section>
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -2,21 +2,28 @@
|
||||
<section xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||
xml:id="swift_commands">
|
||||
xml:id="swiftclient_commands">
|
||||
|
||||
<!-- This file is automatically generated, do not edit -->
|
||||
|
||||
<?dbhtml stop-chunking?>
|
||||
|
||||
<title>swift commands</title>
|
||||
<para>The swift client is the command-line interface for the
|
||||
OpenStack Object Storage API.</para>
|
||||
<para>For help on a specific swift command, enter:</para>
|
||||
<screen><prompt>$</prompt> <userinput>swift <option>help</option> <replaceable>COMMAND</replaceable></userinput></screen>
|
||||
<example>
|
||||
<title>Usage</title>
|
||||
<screen><computeroutput>swift [--version] [--help] [--snet] [--verbose]
|
||||
[--debug] [--quiet] [--auth <auth_url>]
|
||||
<para>The swift client is the command-line interface (CLI) for the
|
||||
OpenStack Object Storage API and its extensions.</para>
|
||||
<para>For help on a specific <command>swift</command>
|
||||
command, enter:
|
||||
</para>
|
||||
<screen><prompt>$</prompt> <userinput><command>swift</command> <option>help</option> <replaceable>COMMAND</replaceable></userinput></screen>
|
||||
|
||||
<section xml:id="swiftclient_command_usage">
|
||||
<title>swift usage</title>
|
||||
<screen><computeroutput> [--debug] [--info] [--quiet] [--auth <auth_url>]
|
||||
[--auth-version <auth_version>] [--user <username>]
|
||||
[--key <api_key>] [--retries <num_retries>]
|
||||
[--os-username <auth-user-name>] [--os-password <auth-password>]
|
||||
[--os-tenant-name <auth-tenant-name>]
|
||||
[--os-tenant-id <auth-tenant-id>]
|
||||
[--os-tenant-name <auth-tenant-name>]
|
||||
[--os-auth-url <auth-url>] [--os-auth-token <auth-token>]
|
||||
[--os-storage-url <storage-url>] [--os-region-name <region-name>]
|
||||
[--os-service-type <service-type>]
|
||||
@ -24,29 +31,652 @@
|
||||
[--os-cacert <ca-certificate>] [--insecure]
|
||||
[--no-ssl-compression]
|
||||
<subcommand> ...</computeroutput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Commands</title>
|
||||
</section>
|
||||
<section xml:id="swiftclient_command_pos">
|
||||
<title>swift positional arguments</title>
|
||||
<screen><computeroutput> <subcommand>
|
||||
delete Delete a container or objects within a container
|
||||
download Download objects from containers
|
||||
list Lists the containers for the account or the objects
|
||||
for a container
|
||||
post Updates meta information for the account, container,
|
||||
or object
|
||||
or object; creates containers if not present
|
||||
stat Displays information for the account, container,
|
||||
or object
|
||||
upload Uploads files or directories to the given container
|
||||
</computeroutput></screen>
|
||||
</example>
|
||||
<example>
|
||||
<title>Examples</title>
|
||||
<screen><prompt>$</prompt> <userinput>swift -A https://auth.api.rackspacecloud.com/v1.0 -U user -K key stat</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>swift --os-auth-url https://api.example.com/v2.0 --os-tenant-name tenant \
|
||||
--os-usernameuser --os-password password list</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>swift --os-auth-token 6ee5eb33efad4e45ab46806eac010566 \
|
||||
--os-storage-url https://10.1.5.2:8080/v1/AUTH_ced809b6a4baea7aeab61a \
|
||||
list</userinput></screen>
|
||||
<screen><prompt>$</prompt> <userinput>swift list --lh</userinput></screen>
|
||||
</example>
|
||||
</section>
|
||||
<section xml:id="swiftclient_command_examples">
|
||||
<title>swift examples</title>
|
||||
<screen><computeroutput> swift -A https://auth.api.rackspacecloud.com/v1.0 -U user -K api_key stat -v
|
||||
swift --os-auth-url https://api.example.com/v2.0 --os-tenant-name tenant \
|
||||
--os-username user --os-password password list
|
||||
swift --os-auth-token 6ee5eb33efad4e45ab46806eac010566 \
|
||||
--os-storage-url https://10.1.5.2:8080/v1/AUTH_ced809b6a4baea7aeab61a \
|
||||
list
|
||||
swift list --lh
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="swiftclient_command_optional">
|
||||
<title>swift optional arguments</title>
|
||||
<screen><computeroutput> --version show program's version number and exit
|
||||
-h, --help show this help message and exit
|
||||
-s, --snet Use SERVICENET internal network
|
||||
-v, --verbose Print more info
|
||||
--debug Show the curl commands and results of all http queries
|
||||
regardless of result status.
|
||||
--info Show the curl commands and results of all http
|
||||
queries which return an error.
|
||||
-q, --quiet Suppress status output
|
||||
-A AUTH, --auth=AUTH URL for obtaining an auth token
|
||||
-V AUTH_VERSION, --auth-version=AUTH_VERSION
|
||||
Specify a version for authentication. Defaults to 1.0.
|
||||
-U USER, --user=USER User name for obtaining an auth token.
|
||||
-K KEY, --key=KEY Key for obtaining an auth token.
|
||||
-R RETRIES, --retries=RETRIES
|
||||
The number of times to retry a failed connection.
|
||||
--os-username=<auth-user-name>
|
||||
Openstack username. Defaults to env[OS_USERNAME].
|
||||
--os-password=<auth-password>
|
||||
Openstack password. Defaults to env[OS_PASSWORD].
|
||||
--os-tenant-id=<auth-tenant-id>
|
||||
OpenStack tenant ID. Defaults to env[OS_TENANT_ID]
|
||||
--os-tenant-name=<auth-tenant-name>
|
||||
Openstack tenant name. Defaults to
|
||||
env[OS_TENANT_NAME].
|
||||
--os-auth-url=<auth-url>
|
||||
Openstack auth URL. Defaults to env[OS_AUTH_URL].
|
||||
--os-auth-token=<auth-token>
|
||||
Openstack token. Defaults to env[OS_AUTH_TOKEN]. Used
|
||||
with --os-storage-url to bypass the usual
|
||||
username/password authentication.
|
||||
--os-storage-url=<storage-url>
|
||||
Openstack storage URL. Defaults to
|
||||
env[OS_STORAGE_URL]. Overrides the storage url
|
||||
returned during auth. Will bypass authentication when
|
||||
used with --os-auth-token.
|
||||
--os-region-name=<region-name>
|
||||
Openstack region name. Defaults to env[OS_REGION_NAME]
|
||||
--os-service-type=<service-type>
|
||||
Openstack Service type. Defaults to
|
||||
env[OS_SERVICE_TYPE]
|
||||
--os-endpoint-type=<endpoint-type>
|
||||
Openstack Endpoint type. Defaults to
|
||||
env[OS_ENDPOINT_TYPE]
|
||||
--os-cacert=<ca-certificate>
|
||||
Specify a CA bundle file to use in verifying a TLS
|
||||
(https) server certificate. Defaults to env[OS_CACERT]
|
||||
--insecure Allow swiftclient to access insecure keystone server.
|
||||
The keystone's certificate will not be verified.
|
||||
Defaults to env[SWIFTCLIENT_INSECURE] (set to 'true'
|
||||
to enable).
|
||||
--no-ssl-compression Disable SSL compression when using https. This may
|
||||
increase performance.
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_delete">
|
||||
<title>swift delete command</title>
|
||||
<screen><computeroutput>Usage: Delete a container or objects within a container
|
||||
|
||||
Positional arguments:
|
||||
<container> Name of container to delete from
|
||||
[object] Name of object to delete. Specify multiple times
|
||||
for multiple objects
|
||||
|
||||
Optional arguments:
|
||||
--all Delete all containers and objects
|
||||
--leave-segments Do not delete segments of manifest objects
|
||||
--object-threads <threads>
|
||||
Number of threads to use for deleting objects
|
||||
--container-threads <threads>
|
||||
Number of threads to use for deleting containers
|
||||
|
||||
Options:
|
||||
--version show program's version number and exit
|
||||
-h, --help show this help message and exit
|
||||
-s, --snet Use SERVICENET internal network
|
||||
-v, --verbose Print more info
|
||||
--debug Show the curl commands and results of all http queries
|
||||
regardless of result status.
|
||||
--info Show the curl commands and results of all http
|
||||
queries which return an error.
|
||||
-q, --quiet Suppress status output
|
||||
-A AUTH, --auth=AUTH URL for obtaining an auth token
|
||||
-V AUTH_VERSION, --auth-version=AUTH_VERSION
|
||||
Specify a version for authentication. Defaults to 1.0.
|
||||
-U USER, --user=USER User name for obtaining an auth token.
|
||||
-K KEY, --key=KEY Key for obtaining an auth token.
|
||||
-R RETRIES, --retries=RETRIES
|
||||
The number of times to retry a failed connection.
|
||||
--os-username=<auth-user-name>
|
||||
Openstack username. Defaults to env[OS_USERNAME].
|
||||
--os-password=<auth-password>
|
||||
Openstack password. Defaults to env[OS_PASSWORD].
|
||||
--os-tenant-id=<auth-tenant-id>
|
||||
OpenStack tenant ID. Defaults to env[OS_TENANT_ID]
|
||||
--os-tenant-name=<auth-tenant-name>
|
||||
Openstack tenant name. Defaults to
|
||||
env[OS_TENANT_NAME].
|
||||
--os-auth-url=<auth-url>
|
||||
Openstack auth URL. Defaults to env[OS_AUTH_URL].
|
||||
--os-auth-token=<auth-token>
|
||||
Openstack token. Defaults to env[OS_AUTH_TOKEN]. Used
|
||||
with --os-storage-url to bypass the usual
|
||||
username/password authentication.
|
||||
--os-storage-url=<storage-url>
|
||||
Openstack storage URL. Defaults to
|
||||
env[OS_STORAGE_URL]. Overrides the storage url
|
||||
returned during auth. Will bypass authentication when
|
||||
used with --os-auth-token.
|
||||
--os-region-name=<region-name>
|
||||
Openstack region name. Defaults to env[OS_REGION_NAME]
|
||||
--os-service-type=<service-type>
|
||||
Openstack Service type. Defaults to
|
||||
env[OS_SERVICE_TYPE]
|
||||
--os-endpoint-type=<endpoint-type>
|
||||
Openstack Endpoint type. Defaults to
|
||||
env[OS_ENDPOINT_TYPE]
|
||||
--os-cacert=<ca-certificate>
|
||||
Specify a CA bundle file to use in verifying a TLS
|
||||
(https) server certificate. Defaults to env[OS_CACERT]
|
||||
--insecure Allow swiftclient to access insecure keystone server.
|
||||
The keystone's certificate will not be verified.
|
||||
Defaults to env[SWIFTCLIENT_INSECURE] (set to 'true'
|
||||
to enable).
|
||||
--no-ssl-compression Disable SSL compression when using https. This may
|
||||
increase performance.
|
||||
-a, --all Indicates that you really want to delete everything in
|
||||
the account
|
||||
--leave-segments Indicates that you want the segments of
|
||||
manifestobjects left alone
|
||||
--object-threads=OBJECT_THREADS
|
||||
Number of threads to use for deleting objects
|
||||
--container-threads=CONTAINER_THREADS
|
||||
Number of threads to use for deleting containers
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_download">
|
||||
<title>swift download command</title>
|
||||
<screen><computeroutput>Usage: Download objects from containers
|
||||
|
||||
Positional arguments:
|
||||
<container> Name of container to download from. To download a
|
||||
whole account, omit this and specify --all.
|
||||
<object> Name of object to download. Specify multiple times
|
||||
for multiple objects. Omit this to download all
|
||||
objects from the container.
|
||||
|
||||
Optional arguments:
|
||||
--all Indicates that you really want to download
|
||||
everything in the account
|
||||
--marker Marker to use when starting a container or account
|
||||
download
|
||||
--prefix <prefix> Only download items beginning with <prefix>
|
||||
--output <out_file> For a single file download, stream the output to
|
||||
<out_file>. Specifying "-" as <out_file> will
|
||||
redirect to stdout
|
||||
--object-threads <threads>
|
||||
Number of threads to use for downloading objects
|
||||
--container-threads <threads>
|
||||
Number of threads to use for deleting containers
|
||||
--no-download Perform download(s), but don't actually write anything
|
||||
to disk
|
||||
--header <header_name:header_value>
|
||||
Adds a customized request header to the query, like
|
||||
"Range" or "If-Match". This argument is repeatable.
|
||||
Example --header "content-type:text/plain"
|
||||
|
||||
Options:
|
||||
--version show program's version number and exit
|
||||
-h, --help show this help message and exit
|
||||
-s, --snet Use SERVICENET internal network
|
||||
-v, --verbose Print more info
|
||||
--debug Show the curl commands and results of all http queries
|
||||
regardless of result status.
|
||||
--info Show the curl commands and results of all http
|
||||
queries which return an error.
|
||||
-q, --quiet Suppress status output
|
||||
-A AUTH, --auth=AUTH URL for obtaining an auth token
|
||||
-V AUTH_VERSION, --auth-version=AUTH_VERSION
|
||||
Specify a version for authentication. Defaults to 1.0.
|
||||
-U USER, --user=USER User name for obtaining an auth token.
|
||||
-K KEY, --key=KEY Key for obtaining an auth token.
|
||||
-R RETRIES, --retries=RETRIES
|
||||
The number of times to retry a failed connection.
|
||||
--os-username=<auth-user-name>
|
||||
Openstack username. Defaults to env[OS_USERNAME].
|
||||
--os-password=<auth-password>
|
||||
Openstack password. Defaults to env[OS_PASSWORD].
|
||||
--os-tenant-id=<auth-tenant-id>
|
||||
OpenStack tenant ID. Defaults to env[OS_TENANT_ID]
|
||||
--os-tenant-name=<auth-tenant-name>
|
||||
Openstack tenant name. Defaults to
|
||||
env[OS_TENANT_NAME].
|
||||
--os-auth-url=<auth-url>
|
||||
Openstack auth URL. Defaults to env[OS_AUTH_URL].
|
||||
--os-auth-token=<auth-token>
|
||||
Openstack token. Defaults to env[OS_AUTH_TOKEN]. Used
|
||||
with --os-storage-url to bypass the usual
|
||||
username/password authentication.
|
||||
--os-storage-url=<storage-url>
|
||||
Openstack storage URL. Defaults to
|
||||
env[OS_STORAGE_URL]. Overrides the storage url
|
||||
returned during auth. Will bypass authentication when
|
||||
used with --os-auth-token.
|
||||
--os-region-name=<region-name>
|
||||
Openstack region name. Defaults to env[OS_REGION_NAME]
|
||||
--os-service-type=<service-type>
|
||||
Openstack Service type. Defaults to
|
||||
env[OS_SERVICE_TYPE]
|
||||
--os-endpoint-type=<endpoint-type>
|
||||
Openstack Endpoint type. Defaults to
|
||||
env[OS_ENDPOINT_TYPE]
|
||||
--os-cacert=<ca-certificate>
|
||||
Specify a CA bundle file to use in verifying a TLS
|
||||
(https) server certificate. Defaults to env[OS_CACERT]
|
||||
--insecure Allow swiftclient to access insecure keystone server.
|
||||
The keystone's certificate will not be verified.
|
||||
Defaults to env[SWIFTCLIENT_INSECURE] (set to 'true'
|
||||
to enable).
|
||||
--no-ssl-compression Disable SSL compression when using https. This may
|
||||
increase performance.
|
||||
-a, --all Indicates that you really want to download everything
|
||||
in the account
|
||||
-m MARKER, --marker=MARKER
|
||||
Marker to use when starting a container or account
|
||||
download
|
||||
-p PREFIX, --prefix=PREFIX
|
||||
Will only download items beginning with the prefix
|
||||
-o OUT_FILE, --output=OUT_FILE
|
||||
For a single file download, stream the output to an
|
||||
alternate location
|
||||
--object-threads=OBJECT_THREADS
|
||||
Number of threads to use for downloading objects
|
||||
--container-threads=CONTAINER_THREADS
|
||||
Number of threads to use for listing containers
|
||||
--no-download Perform download(s), but don't actually write anything
|
||||
to disk
|
||||
-H HEADER, --header=HEADER
|
||||
Specify a request header, as --header NAME:VALUE. Adds
|
||||
a customized request header to the query, like "Range"
|
||||
or "If-Match". This argument is repeatable. Example
|
||||
--header "content-type:text/plain"
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_list">
|
||||
<title>swift list command</title>
|
||||
<screen><computeroutput>Usage: Lists the containers for the account or the objects for a container
|
||||
|
||||
Positional arguments:
|
||||
[container] Name of container to list object in
|
||||
|
||||
Optional arguments:
|
||||
--long Long listing format, similar to ls -l
|
||||
--lh Report sizes in human readable format similar to ls -lh
|
||||
--totals Used with -l or --ls, only report totals
|
||||
--prefix Only list items beginning with the prefix
|
||||
--delimiter Roll up items with the given delimiter. For containers
|
||||
only. See OpenStack Swift API documentation for what
|
||||
this means.
|
||||
|
||||
Options:
|
||||
--version show program's version number and exit
|
||||
-h, --help show this help message and exit
|
||||
-s, --snet Use SERVICENET internal network
|
||||
-v, --verbose Print more info
|
||||
--debug Show the curl commands and results of all http queries
|
||||
regardless of result status.
|
||||
--info Show the curl commands and results of all http
|
||||
queries which return an error.
|
||||
-q, --quiet Suppress status output
|
||||
-A AUTH, --auth=AUTH URL for obtaining an auth token
|
||||
-V AUTH_VERSION, --auth-version=AUTH_VERSION
|
||||
Specify a version for authentication. Defaults to 1.0.
|
||||
-U USER, --user=USER User name for obtaining an auth token.
|
||||
-K KEY, --key=KEY Key for obtaining an auth token.
|
||||
-R RETRIES, --retries=RETRIES
|
||||
The number of times to retry a failed connection.
|
||||
--os-username=<auth-user-name>
|
||||
Openstack username. Defaults to env[OS_USERNAME].
|
||||
--os-password=<auth-password>
|
||||
Openstack password. Defaults to env[OS_PASSWORD].
|
||||
--os-tenant-id=<auth-tenant-id>
|
||||
OpenStack tenant ID. Defaults to env[OS_TENANT_ID]
|
||||
--os-tenant-name=<auth-tenant-name>
|
||||
Openstack tenant name. Defaults to
|
||||
env[OS_TENANT_NAME].
|
||||
--os-auth-url=<auth-url>
|
||||
Openstack auth URL. Defaults to env[OS_AUTH_URL].
|
||||
--os-auth-token=<auth-token>
|
||||
Openstack token. Defaults to env[OS_AUTH_TOKEN]. Used
|
||||
with --os-storage-url to bypass the usual
|
||||
username/password authentication.
|
||||
--os-storage-url=<storage-url>
|
||||
Openstack storage URL. Defaults to
|
||||
env[OS_STORAGE_URL]. Overrides the storage url
|
||||
returned during auth. Will bypass authentication when
|
||||
used with --os-auth-token.
|
||||
--os-region-name=<region-name>
|
||||
Openstack region name. Defaults to env[OS_REGION_NAME]
|
||||
--os-service-type=<service-type>
|
||||
Openstack Service type. Defaults to
|
||||
env[OS_SERVICE_TYPE]
|
||||
--os-endpoint-type=<endpoint-type>
|
||||
Openstack Endpoint type. Defaults to
|
||||
env[OS_ENDPOINT_TYPE]
|
||||
--os-cacert=<ca-certificate>
|
||||
Specify a CA bundle file to use in verifying a TLS
|
||||
(https) server certificate. Defaults to env[OS_CACERT]
|
||||
--insecure Allow swiftclient to access insecure keystone server.
|
||||
The keystone's certificate will not be verified.
|
||||
Defaults to env[SWIFTCLIENT_INSECURE] (set to 'true'
|
||||
to enable).
|
||||
--no-ssl-compression Disable SSL compression when using https. This may
|
||||
increase performance.
|
||||
-l, --long Long listing similar to ls -l command
|
||||
--lh report sizes as human similar to ls -lh switch, but -h
|
||||
taken
|
||||
-t, --totals used with -l or --ls, only report totals
|
||||
-p PREFIX, --prefix=PREFIX
|
||||
Will only list items beginning with the prefix
|
||||
-d DELIMITER, --delimiter=DELIMITER
|
||||
Will roll up items with the given delimiter (see
|
||||
OpenStack Swift API documentation for what this means)
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_post">
|
||||
<title>swift post command</title>
|
||||
<screen><computeroutput>Usage: Updates meta information for the account, container, or object.
|
||||
If the container is not found, it will be created automatically.
|
||||
|
||||
Positional arguments:
|
||||
<container> Name of container to post to
|
||||
[object] Name of object to post. Specify multiple times
|
||||
for multiple objects
|
||||
|
||||
Optional arguments:
|
||||
--read-acl <acl> Read ACL for containers. Quick summary of ACL syntax:
|
||||
.r:*, .r:-.example.com, .r:www.example.com, account1,
|
||||
account2:user2
|
||||
--write-acl <acl> Write ACL for containers. Quick summary of ACL syntax:
|
||||
account1 account2:user2
|
||||
--sync-to <sync-to> Sync To for containers, for multi-cluster replication
|
||||
--sync-key <sync-key> Sync Key for containers, for multi-cluster replication
|
||||
--meta <name:value> Sets a meta data item. This option may be repeated.
|
||||
Example: -m Color:Blue -m Size:Large
|
||||
--header <header> Set request headers. This option may be repeated.
|
||||
Example -H "content-type:text/plain"
|
||||
|
||||
Options:
|
||||
--version show program's version number and exit
|
||||
-h, --help show this help message and exit
|
||||
-s, --snet Use SERVICENET internal network
|
||||
-v, --verbose Print more info
|
||||
--debug Show the curl commands and results of all http queries
|
||||
regardless of result status.
|
||||
--info Show the curl commands and results of all http
|
||||
queries which return an error.
|
||||
-q, --quiet Suppress status output
|
||||
-A AUTH, --auth=AUTH URL for obtaining an auth token
|
||||
-V AUTH_VERSION, --auth-version=AUTH_VERSION
|
||||
Specify a version for authentication. Defaults to 1.0.
|
||||
-U USER, --user=USER User name for obtaining an auth token.
|
||||
-K KEY, --key=KEY Key for obtaining an auth token.
|
||||
-R RETRIES, --retries=RETRIES
|
||||
The number of times to retry a failed connection.
|
||||
--os-username=<auth-user-name>
|
||||
Openstack username. Defaults to env[OS_USERNAME].
|
||||
--os-password=<auth-password>
|
||||
Openstack password. Defaults to env[OS_PASSWORD].
|
||||
--os-tenant-id=<auth-tenant-id>
|
||||
OpenStack tenant ID. Defaults to env[OS_TENANT_ID]
|
||||
--os-tenant-name=<auth-tenant-name>
|
||||
Openstack tenant name. Defaults to
|
||||
env[OS_TENANT_NAME].
|
||||
--os-auth-url=<auth-url>
|
||||
Openstack auth URL. Defaults to env[OS_AUTH_URL].
|
||||
--os-auth-token=<auth-token>
|
||||
Openstack token. Defaults to env[OS_AUTH_TOKEN]. Used
|
||||
with --os-storage-url to bypass the usual
|
||||
username/password authentication.
|
||||
--os-storage-url=<storage-url>
|
||||
Openstack storage URL. Defaults to
|
||||
env[OS_STORAGE_URL]. Overrides the storage url
|
||||
returned during auth. Will bypass authentication when
|
||||
used with --os-auth-token.
|
||||
--os-region-name=<region-name>
|
||||
Openstack region name. Defaults to env[OS_REGION_NAME]
|
||||
--os-service-type=<service-type>
|
||||
Openstack Service type. Defaults to
|
||||
env[OS_SERVICE_TYPE]
|
||||
--os-endpoint-type=<endpoint-type>
|
||||
Openstack Endpoint type. Defaults to
|
||||
env[OS_ENDPOINT_TYPE]
|
||||
--os-cacert=<ca-certificate>
|
||||
Specify a CA bundle file to use in verifying a TLS
|
||||
(https) server certificate. Defaults to env[OS_CACERT]
|
||||
--insecure Allow swiftclient to access insecure keystone server.
|
||||
The keystone's certificate will not be verified.
|
||||
Defaults to env[SWIFTCLIENT_INSECURE] (set to 'true'
|
||||
to enable).
|
||||
--no-ssl-compression Disable SSL compression when using https. This may
|
||||
increase performance.
|
||||
-r READ_ACL, --read-acl=READ_ACL
|
||||
Sets the Read ACL for containers. Quick summary of ACL
|
||||
syntax: .r:*, .r:-.example.com, .r:www.example.com,
|
||||
account1, account2:user2
|
||||
-w WRITE_ACL, --write-acl=WRITE_ACL
|
||||
Sets the Write ACL for containers. Quick summary of
|
||||
ACL syntax: account1, account2:user2
|
||||
-t SYNC_TO, --sync-to=SYNC_TO
|
||||
Sets the Sync To for containers, for multi-cluster
|
||||
replication.
|
||||
-k SYNC_KEY, --sync-key=SYNC_KEY
|
||||
Sets the Sync Key for containers, for multi-cluster
|
||||
replication.
|
||||
-m META, --meta=META Sets a meta data item with the syntax name:value. This
|
||||
option may be repeated. Example: -m Color:Blue -m
|
||||
Size:Large
|
||||
-H HEADER, --header=HEADER
|
||||
Set request headers with the syntax header:value.
|
||||
This option may be repeated. Example -H "content-
|
||||
type:text/plain" -H "Content-Length: 4000"
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_stat">
|
||||
<title>swift stat command</title>
|
||||
<screen><computeroutput>Usage: Displays information for the account, container, or object
|
||||
|
||||
Positional arguments:
|
||||
<container> Name of container to stat from
|
||||
<object> Name of object to stat. Specify multiple times
|
||||
for multiple objects
|
||||
|
||||
Optional arguments:
|
||||
--lh Report sizes in human readable format similar to ls -lh
|
||||
|
||||
Options:
|
||||
--version show program's version number and exit
|
||||
-h, --help show this help message and exit
|
||||
-s, --snet Use SERVICENET internal network
|
||||
-v, --verbose Print more info
|
||||
--debug Show the curl commands and results of all http queries
|
||||
regardless of result status.
|
||||
--info Show the curl commands and results of all http
|
||||
queries which return an error.
|
||||
-q, --quiet Suppress status output
|
||||
-A AUTH, --auth=AUTH URL for obtaining an auth token
|
||||
-V AUTH_VERSION, --auth-version=AUTH_VERSION
|
||||
Specify a version for authentication. Defaults to 1.0.
|
||||
-U USER, --user=USER User name for obtaining an auth token.
|
||||
-K KEY, --key=KEY Key for obtaining an auth token.
|
||||
-R RETRIES, --retries=RETRIES
|
||||
The number of times to retry a failed connection.
|
||||
--os-username=<auth-user-name>
|
||||
Openstack username. Defaults to env[OS_USERNAME].
|
||||
--os-password=<auth-password>
|
||||
Openstack password. Defaults to env[OS_PASSWORD].
|
||||
--os-tenant-id=<auth-tenant-id>
|
||||
OpenStack tenant ID. Defaults to env[OS_TENANT_ID]
|
||||
--os-tenant-name=<auth-tenant-name>
|
||||
Openstack tenant name. Defaults to
|
||||
env[OS_TENANT_NAME].
|
||||
--os-auth-url=<auth-url>
|
||||
Openstack auth URL. Defaults to env[OS_AUTH_URL].
|
||||
--os-auth-token=<auth-token>
|
||||
Openstack token. Defaults to env[OS_AUTH_TOKEN]. Used
|
||||
with --os-storage-url to bypass the usual
|
||||
username/password authentication.
|
||||
--os-storage-url=<storage-url>
|
||||
Openstack storage URL. Defaults to
|
||||
env[OS_STORAGE_URL]. Overrides the storage url
|
||||
returned during auth. Will bypass authentication when
|
||||
used with --os-auth-token.
|
||||
--os-region-name=<region-name>
|
||||
Openstack region name. Defaults to env[OS_REGION_NAME]
|
||||
--os-service-type=<service-type>
|
||||
Openstack Service type. Defaults to
|
||||
env[OS_SERVICE_TYPE]
|
||||
--os-endpoint-type=<endpoint-type>
|
||||
Openstack Endpoint type. Defaults to
|
||||
env[OS_ENDPOINT_TYPE]
|
||||
--os-cacert=<ca-certificate>
|
||||
Specify a CA bundle file to use in verifying a TLS
|
||||
(https) server certificate. Defaults to env[OS_CACERT]
|
||||
--insecure Allow swiftclient to access insecure keystone server.
|
||||
The keystone's certificate will not be verified.
|
||||
Defaults to env[SWIFTCLIENT_INSECURE] (set to 'true'
|
||||
to enable).
|
||||
--no-ssl-compression Disable SSL compression when using https. This may
|
||||
increase performance.
|
||||
--lh report totals like 'list --lh'
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
<section xml:id="swiftclient_subcommand_upload">
|
||||
<title>swift upload command</title>
|
||||
<screen><computeroutput>Usage: Uploads specified files and directories to the given container
|
||||
|
||||
Positional arguments:
|
||||
<container> Name of container to upload to
|
||||
<file_or_directory> Name of file or directory to upload. Specify multiple
|
||||
times for multiple uploads
|
||||
|
||||
Optional arguments:
|
||||
--changed Only upload files that have changed since the last
|
||||
upload
|
||||
--segment-size <size> Upload files in segments no larger than <size> and
|
||||
then create a "manifest" file that will download all
|
||||
the segments as if it were the original file
|
||||
--segment-container <container>
|
||||
Upload the segments into the specified container. If
|
||||
not specified, the segments will be uploaded to a
|
||||
<container>_segments container so as to not pollute the
|
||||
main <container> listings.
|
||||
--leave-segments Indicates that you want the older segments of manifest
|
||||
objects left alone (in the case of overwrites)
|
||||
--object-threads <threads>
|
||||
Number of threads to use for uploading full objects.
|
||||
Default is 10.
|
||||
--segment-threads <threads>
|
||||
Number of threads to use for uploading object segments.
|
||||
Default is 10.
|
||||
--header <header> Set request headers with the syntax header:value.
|
||||
This option may be repeated.
|
||||
Example -H "content-type:text/plain".
|
||||
--use-slo When used in conjunction with --segment-size will
|
||||
create a Static Large Object instead of the default
|
||||
Dynamic Large Object.
|
||||
--object-name <object-name>
|
||||
Upload file and name object to <object-name> or upload
|
||||
dir and use <object-name> as object prefix instead of
|
||||
folder name
|
||||
|
||||
Options:
|
||||
--version show program's version number and exit
|
||||
-h, --help show this help message and exit
|
||||
-s, --snet Use SERVICENET internal network
|
||||
-v, --verbose Print more info
|
||||
--debug Show the curl commands and results of all http queries
|
||||
regardless of result status.
|
||||
--info Show the curl commands and results of all http
|
||||
queries which return an error.
|
||||
-q, --quiet Suppress status output
|
||||
-A AUTH, --auth=AUTH URL for obtaining an auth token
|
||||
-V AUTH_VERSION, --auth-version=AUTH_VERSION
|
||||
Specify a version for authentication. Defaults to 1.0.
|
||||
-U USER, --user=USER User name for obtaining an auth token.
|
||||
-K KEY, --key=KEY Key for obtaining an auth token.
|
||||
-R RETRIES, --retries=RETRIES
|
||||
The number of times to retry a failed connection.
|
||||
--os-username=<auth-user-name>
|
||||
Openstack username. Defaults to env[OS_USERNAME].
|
||||
--os-password=<auth-password>
|
||||
Openstack password. Defaults to env[OS_PASSWORD].
|
||||
--os-tenant-id=<auth-tenant-id>
|
||||
OpenStack tenant ID. Defaults to env[OS_TENANT_ID]
|
||||
--os-tenant-name=<auth-tenant-name>
|
||||
Openstack tenant name. Defaults to
|
||||
env[OS_TENANT_NAME].
|
||||
--os-auth-url=<auth-url>
|
||||
Openstack auth URL. Defaults to env[OS_AUTH_URL].
|
||||
--os-auth-token=<auth-token>
|
||||
Openstack token. Defaults to env[OS_AUTH_TOKEN]. Used
|
||||
with --os-storage-url to bypass the usual
|
||||
username/password authentication.
|
||||
--os-storage-url=<storage-url>
|
||||
Openstack storage URL. Defaults to
|
||||
env[OS_STORAGE_URL]. Overrides the storage url
|
||||
returned during auth. Will bypass authentication when
|
||||
used with --os-auth-token.
|
||||
--os-region-name=<region-name>
|
||||
Openstack region name. Defaults to env[OS_REGION_NAME]
|
||||
--os-service-type=<service-type>
|
||||
Openstack Service type. Defaults to
|
||||
env[OS_SERVICE_TYPE]
|
||||
--os-endpoint-type=<endpoint-type>
|
||||
Openstack Endpoint type. Defaults to
|
||||
env[OS_ENDPOINT_TYPE]
|
||||
--os-cacert=<ca-certificate>
|
||||
Specify a CA bundle file to use in verifying a TLS
|
||||
(https) server certificate. Defaults to env[OS_CACERT]
|
||||
--insecure Allow swiftclient to access insecure keystone server.
|
||||
The keystone's certificate will not be verified.
|
||||
Defaults to env[SWIFTCLIENT_INSECURE] (set to 'true'
|
||||
to enable).
|
||||
--no-ssl-compression Disable SSL compression when using https. This may
|
||||
increase performance.
|
||||
-c, --changed Will only upload files that have changed since the
|
||||
last upload
|
||||
-S SEGMENT_SIZE, --segment-size=SEGMENT_SIZE
|
||||
Will upload files in segments no larger than <size>
|
||||
and then create a "manifest" file that will download
|
||||
all the segments as if it were the original file.
|
||||
-C SEGMENT_CONTAINER, --segment-container=SEGMENT_CONTAINER
|
||||
Will upload the segments into the specified
|
||||
container.If not specified, the segments will be
|
||||
uploaded to <container>_segments container so as to
|
||||
not pollute the main <container> listings.
|
||||
--leave-segments Indicates that you want the older segments of manifest
|
||||
objects left alone (in the case of overwrites)
|
||||
--object-threads=OBJECT_THREADS
|
||||
Number of threads to use for uploading full objects
|
||||
--segment-threads=SEGMENT_THREADS
|
||||
Number of threads to use for uploading object segments
|
||||
-H HEADER, --header=HEADER
|
||||
Set request headers with the syntax header:value.
|
||||
This option may be repeated. Example -H "content-
|
||||
type:text/plain" -H "Content-Length: 4000"
|
||||
--use-slo When used in conjunction with --segment-size will
|
||||
create a Static Large Object instead of the default
|
||||
Dynamic Large Object.
|
||||
--object-name=OBJECT_NAME
|
||||
Upload file and name object to the name specified
|
||||
|
||||
</computeroutput></screen>
|
||||
</section>
|
||||
</section>
|
||||
|
@ -50,7 +50,7 @@
|
||||
<section xml:id="associate-glance-cli-commands">
|
||||
<title>Image CLI Commands</title>
|
||||
<xi:include href="../common/section_cli_glance_commands.xml"
|
||||
xpointer="xmlns(db=http://docbook.org/ns/docbook) xpath(//*[@xml:id = 'glance_commands']/*[not(self::db:title)])">
|
||||
xpointer="xmlns(db=http://docbook.org/ns/docbook) xpath(//*[@xml:id = 'glanceclient_commands']/*[not(self::db:title)])">
|
||||
<xi:fallback><para><mediaobject><imageobject><imagedata fileref="figures/openstack-training-remote-content-not-available.png" format="PNG"/></imageobject></mediaobject>Remote content not available</para><para>image source</para><para><link xlink:href="https://docs.google.com/drawings/d/1J2LZSxmc06xKyxMgPjv5fC0blV7qK6956-AeTmFOZD4/edit?usp=sharing">https://docs.google.com/drawings/d/1J2LZSxmc06xKyxMgPjv5fC0blV7qK6956-AeTmFOZD4/edit?usp=sharing</link></para></xi:fallback>
|
||||
</xi:include>
|
||||
</section>
|
||||
|
@ -36,7 +36,7 @@
|
||||
<section xml:id="associate-block-storage-commands">
|
||||
<title>Block Storage CLI Commands</title>
|
||||
<xi:include href="../common/section_cli_cinder_commands.xml"
|
||||
xpointer="xmlns(db=http://docbook.org/ns/docbook) xpath(//*[@xml:id = 'cinder_commands']/*[not(self::db:title)])">
|
||||
xpointer="xmlns(db=http://docbook.org/ns/docbook) xpath(//*[@xml:id = 'cinderclient_commands']/*[not(self::db:title)])">
|
||||
<xi:fallback><para><mediaobject><imageobject><imagedata fileref="figures/openstack-training-remote-content-not-available.png" format="PNG"/></imageobject></mediaobject>Remote content not available</para><para>image source</para><para><link xlink:href="https://docs.google.com/drawings/d/1J2LZSxmc06xKyxMgPjv5fC0blV7qK6956-AeTmFOZD4/edit?usp=sharing">https://docs.google.com/drawings/d/1J2LZSxmc06xKyxMgPjv5fC0blV7qK6956-AeTmFOZD4/edit?usp=sharing</link></para></xi:fallback>
|
||||
</xi:include>
|
||||
</section>
|
||||
|
@ -29,7 +29,7 @@
|
||||
<section xml:id="associate-network-cli-commands">
|
||||
<title>Network CLI Commands</title>
|
||||
<xi:include href="../common/section_cli_neutron_commands.xml"
|
||||
xpointer="xmlns(db=http://docbook.org/ns/docbook) xpath(//*[@xml:id = 'neutron_client_commands']/*[not(self::db:title)])">
|
||||
xpointer="xmlns(db=http://docbook.org/ns/docbook) xpath(//*[@xml:id = 'neutronclient_commands']/*[not(self::db:title)])">
|
||||
<xi:fallback><para><mediaobject><imageobject><imagedata fileref="figures/openstack-training-remote-content-not-available.png" format="PNG"/></imageobject></mediaobject>Remote content not available</para><para>image source</para><para><link xlink:href="https://docs.google.com/drawings/d/1J2LZSxmc06xKyxMgPjv5fC0blV7qK6956-AeTmFOZD4/edit?usp=sharing">https://docs.google.com/drawings/d/1J2LZSxmc06xKyxMgPjv5fC0blV7qK6956-AeTmFOZD4/edit?usp=sharing</link></para></xi:fallback>
|
||||
</xi:include>
|
||||
</section>
|
||||
|
@ -29,7 +29,7 @@
|
||||
<section xml:id="associate-object-store-cli-commands">
|
||||
<title>Object Storage CLI Commands</title>
|
||||
<xi:include href="../common/section_cli_swift_commands.xml"
|
||||
xpointer="xmlns(db=http://docbook.org/ns/docbook) xpath(//*[@xml:id = 'swift_commands']/*[not(self::db:title)])">
|
||||
xpointer="xmlns(db=http://docbook.org/ns/docbook) xpath(//*[@xml:id = 'swiftclient_commands']/*[not(self::db:title)])">
|
||||
<xi:fallback><para><mediaobject><imageobject><imagedata fileref="figures/openstack-training-remote-content-not-available.png" format="PNG"/></imageobject></mediaobject>Remote content not available</para><para>image source</para><para><link xlink:href="https://docs.google.com/drawings/d/1J2LZSxmc06xKyxMgPjv5fC0blV7qK6956-AeTmFOZD4/edit?usp=sharing">https://docs.google.com/drawings/d/1J2LZSxmc06xKyxMgPjv5fC0blV7qK6956-AeTmFOZD4/edit?usp=sharing</link></para></xi:fallback>
|
||||
</xi:include>
|
||||
</section>
|
||||
|
@ -20,7 +20,7 @@
|
||||
<link xlink:href="http://docs.openstack.org/user-guide/content/dashboard_stacks.html">End User Guide</link>.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para><systemitem>heat</systemitem> CLI commands, see <xref linkend="heat_client_commands"/></para>
|
||||
<para><systemitem>heat</systemitem> CLI commands, see <xref linkend="heatclient_commands"/></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
Loading…
Reference in New Issue
Block a user