Change-Id: Ic42f41b0bb06a6dabe85e7ed870cbadbbdf58eb1
399 KiB
OpenStack command-line client
The openstack client is a common OpenStackcommand-line interface (CLI).
This chapter documents openstack
version 2.6.0
.
For help on a specific openstack
command, enter:
$ openstack COMMAND --help
openstack usage
usage: openstack [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug]
[--os-cloud <cloud-config-name>]
[--os-region-name <auth-region-name>]
[--os-cacert <ca-bundle-file>] [--os-cert <certificate-file>]
[--os-key <key-file>] [--verify | --insecure]
[--os-default-domain <auth-domain>]
[--os-interface <interface>] [--timing] [--os-beta-command]
[--os-profile hmac-key]
[--os-compute-api-version <compute-api-version>]
[--os-network-api-version <network-api-version>]
[--os-image-api-version <image-api-version>]
[--os-volume-api-version <volume-api-version>]
[--os-identity-api-version <identity-api-version>]
[--os-auth-type <auth-type>]
[--os-project-domain-id <auth-project-domain-id>]
[--os-protocol <auth-protocol>]
[--os-project-name <auth-project-name>]
[--os-trust-id <auth-trust-id>]
[--os-service-provider-endpoint <auth-service-provider-endpoint>]
[--os-domain-name <auth-domain-name>]
[--os-user-domain-id <auth-user-domain-id>]
[--os-identity-provider-url <auth-identity-provider-url>]
[--os-access-token-endpoint <auth-access-token-endpoint>]
[--os-domain-id <auth-domain-id>]
[--os-user-domain-name <auth-user-domain-name>]
[--os-scope <auth-scope>] [--os-user-id <auth-user-id>]
[--os-identity-provider <auth-identity-provider>]
[--os-username <auth-username>]
[--os-auth-url <auth-auth-url>]
[--os-client-secret <auth-client-secret>]
[--os-client-id <auth-client-id>]
[--os-project-domain-name <auth-project-domain-name>]
[--os-password <auth-password>]
[--os-endpoint <auth-endpoint>] [--os-url <auth-url>]
[--os-token <auth-token>] [--os-project-id <auth-project-id>]
[--os-object-api-version <object-api-version>]
[--os-orchestration-api-version <orchestration-api-version>]
[--os-data-processing-api-version <data-processing-api-version>]
[--os-data-processing-url OS_DATA_PROCESSING_URL]
[--os-queues-api-version <queues-api-version>]
[--inspector-api-version INSPECTOR_API_VERSION]
[--inspector-url INSPECTOR_URL]
[--os-baremetal-api-version <baremetal-api-version>]
[--os-key-manager-api-version <key-manager-api-version>]
[--os-dns-api-version <dns-api-version>]
openstack optional arguments
--version
-
show program's version number and exit
-v, --verbose
-
Increase verbosity of output. Can be repeated.
-q, --quiet
-
Suppress output except warnings and errors.
--log-file LOG_FILE
-
Specify a file to log output. Disabled by default.
-h, --help
-
Show help message and exit.
--debug
-
Show tracebacks on errors.
--os-cloud <cloud-config-name>
-
Cloud name in clouds.yaml (Env: OS_CLOUD)
--os-region-name <auth-region-name>
-
Authentication region name (Env: OS_REGION_NAME)
--os-cacert <ca-bundle-file>
-
CA certificate bundle file (Env: OS_CACERT)
--os-cert <certificate-file>
-
Client certificate bundle file (Env: OS_CERT)
--os-key <key-file>
-
Client certificate key file (Env: OS_KEY)
--verify
-
Verify server certificate (default)
--insecure
-
Disable server certificate verification
--os-default-domain <auth-domain>
-
Default domain ID, default=default (Env: OS_DEFAULT_DOMAIN)
--os-interface <interface>
-
Select an interface type. Valid interface types: [admin, public, internal]. (Env: OS_INTERFACE)
--timing
-
Print API call timing info
--os-beta-command
-
Enable beta commands which are subject to change
--os-profile
-
hmac-key HMAC key for encrypting profiling context data
--os-compute-api-version <compute-api-version>
-
Compute API version, default=2 (Env: OS_COMPUTE_API_VERSION)
--os-network-api-version <network-api-version>
-
Network API version, default=2.0 (Env: OS_NETWORK_API_VERSION)
--os-image-api-version <image-api-version>
-
Image API version, default=1 (Env: OS_IMAGE_API_VERSION)
--os-volume-api-version <volume-api-version>
-
Volume API version, default=2 (Env: OS_VOLUME_API_VERSION)
--os-identity-api-version <identity-api-version>
-
Identity API version, default=3 (Env: OS_IDENTITY_API_VERSION)
--os-auth-type <auth-type>
-
Select an authentication type. Available types: osc_password, token_endpoint, v2token, admin_token, v2password, v3password, v3scopedsaml, v3oidcpassword, v3unscopedadfs, token, v3token, password, v3unscopedsaml. Default: selected based on
--os-
username/--os-token
(Env: OS_AUTH_TYPE) --os-project-domain-id <auth-project-domain-id>
-
With osc_password: Domain ID containing project With v3password: Domain ID containing project With v3scopedsaml: Domain ID containing project With v3oidcpassword: Domain ID containing project With v3unscopedadfs: Domain ID containing project With token: Domain ID containing project With v3token: Domain ID containing project With password: Domain ID containing project With v3unscopedsaml: Domain ID containing project (Env: OS_PROJECT_DOMAIN_ID)
--os-protocol <auth-protocol>
-
With v3oidcpassword: Name of the federated protocol used for federated authentication. Must match its counterpart name configured at the keystone service provider. Typically values would be 'saml2' or 'oidc'. (Env: OS_PROTOCOL)
--os-project-name <auth-project-name>
-
With osc_password: Project name to scope to With v3password: Project name to scope to With v3scopedsaml: Project name to scope to With v3oidcpassword: Project name to scope to With v3unscopedadfs: Project name to scope to With token: Project name to scope to With v3token: Project name to scope to With password: Project name to scope to With v3unscopedsaml: Project name to scope to (Env: OS_PROJECT_NAME)
--os-trust-id <auth-trust-id>
-
With osc_password: Trust ID With v2token: Trust ID With v2password: Trust ID With v3password: Trust ID With v3scopedsaml: Trust ID With v3oidcpassword: Trust ID With v3unscopedadfs: Trust ID With token: Trust ID With v3token: Trust ID With password: Trust ID With v3unscopedsaml: Trust ID (Env: OS_TRUST_ID)
--os-service-provider-endpoint <auth-service-provider-endpoint>
-
With v3unscopedadfs: Service Provider's Endpoint (Env: OS_SERVICE_PROVIDER_ENDPOINT)
--os-domain-name <auth-domain-name>
-
With osc_password: Domain name to scope to With v3password: Domain name to scope to With v3scopedsaml: Domain name to scope to With v3oidcpassword: Domain name to scope to With v3unscopedadfs: Domain name to scope to With token: Domain name to scope to With v3token: Domain name to scope to With password: Domain name to scope to With v3unscopedsaml: Domain name to scope to (Env: OS_DOMAIN_NAME)
--os-user-domain-id <auth-user-domain-id>
-
With osc_password: User's domain id With v3password: User's domain id With password: User's domain id (Env: OS_USER_DOMAIN_ID)
--os-identity-provider-url <auth-identity-provider-url>
-
With v3unscopedadfs: Identity Provider's URL With v3unscopedsaml: Identity Provider's URL (Env: OS_IDENTITY_PROVIDER_URL)
--os-access-token-endpoint <auth-access-token-endpoint>
-
With v3oidcpassword: OpenID Connect Provider Token Endpoint (Env: OS_ACCESS_TOKEN_ENDPOINT)
--os-domain-id <auth-domain-id>
-
With osc_password: Domain ID to scope to With v3password: Domain ID to scope to With v3scopedsaml: Domain ID to scope to With v3oidcpassword: Domain ID to scope to With v3unscopedadfs: Domain ID to scope to With token: Domain ID to scope to With v3token: Domain ID to scope to With password: Domain ID to scope to With v3unscopedsaml: Domain ID to scope to (Env: OS_DOMAIN_ID)
--os-user-domain-name <auth-user-domain-name>
-
With osc_password: User's domain name With v3password: User's domain name With password: User's domain name (Env: OS_USER_DOMAIN_NAME)
--os-scope <auth-scope>
-
With v3oidcpassword: OpenID Connect scope that is requested from OP (Env: OS_SCOPE)
--os-user-id <auth-user-id>
-
With osc_password: User id With v2password: User ID to login with With v3password: User ID With password: User id (Env: OS_USER_ID)
--os-identity-provider <auth-identity-provider>
-
With v3oidcpassword: Identity Provider's name With v3unscopedadfs: Identity Provider's name With v3unscopedsaml: Identity Provider's name (Env: OS_IDENTITY_PROVIDER)
--os-username <auth-username>
-
With osc_password: Username With v2password: Username to login with With v3password: Username With v3oidcpassword: Username With v3unscopedadfs: Username With password: Username With v3unscopedsaml: Username (Env: OS_USERNAME)
--os-auth-url <auth-auth-url>
-
With osc_password: Authentication URL With v2token: Authentication URL With v2password: Authentication URL With v3password: Authentication URL With v3scopedsaml: Authentication URL With v3oidcpassword: Authentication URL With v3unscopedadfs: Authentication URL With token: Authentication URL With v3token: Authentication URL With password: Authentication URL With v3unscopedsaml: Authentication URL (Env: OS_AUTH_URL)
--os-client-secret <auth-client-secret>
-
With v3oidcpassword: OAuth 2.0 Client Secret (Env: OS_CLIENT_SECRET)
--os-client-id <auth-client-id>
-
With v3oidcpassword: OAuth 2.0 Client ID (Env: OS_CLIENT_ID)
--os-project-domain-name <auth-project-domain-name>
-
With osc_password: Domain name containing project With v3password: Domain name containing project With v3scopedsaml: Domain name containing project With v3oidcpassword: Domain name containing project With v3unscopedadfs: Domain name containing project With token: Domain name containing project With v3token: Domain name containing project With password: Domain name containing project With v3unscopedsaml: Domain name containing project (Env: OS_PROJECT_DOMAIN_NAME)
--os-password <auth-password>
-
With osc_password: User's password With v2password: Password to use With v3password: User's password With v3oidcpassword: Password With v3unscopedadfs: Password With password: User's password With v3unscopedsaml: Password (Env: OS_PASSWORD)
--os-endpoint <auth-endpoint>
-
With token_endpoint: The endpoint that will always be used With admin_token: The endpoint that will always be used (Env: OS_ENDPOINT)
--os-url <auth-url>
-
With token_endpoint: Specific service endpoint to use (Env: OS_URL)
--os-token <auth-token>
-
With token_endpoint: The token that will always be used With token_endpoint: Authentication token to use With v2token: Token With admin_token: The token that will always be used With v3scopedsaml: Token to authenticate with With token: Token to authenticate with With v3token: Token to authenticate with (Env: OS_TOKEN)
--os-project-id <auth-project-id>
-
With osc_password: Project ID to scope to With v3password: Project ID to scope to With v3scopedsaml: Project ID to scope to With v3oidcpassword: Project ID to scope to With v3unscopedadfs: Project ID to scope to With token: Project ID to scope to With v3token: Project ID to scope to With password: Project ID to scope to With v3unscopedsaml: Project ID to scope to (Env: OS_PROJECT_ID)
--os-object-api-version <object-api-version>
-
Object API version, default=1 (Env: OS_OBJECT_API_VERSION)
--os-orchestration-api-version <orchestration-api-version>
-
Orchestration API version, default=1 (Env: OS_ORCHESTRATION_API_VERSION)
--os-data-processing-api-version <data-processing-api-version>
-
Data processing API version, default=1.1 (Env: OS_DATA_PROCESSING_API_VERSION)
--os-data-processing-url OS_DATA_PROCESSING_URL
-
Data processing API URL, (Env: OS_DATA_PROCESSING_API_URL)
--os-queues-api-version <queues-api-version>
-
Queues API version, default=1.1 (Env: OS_QUEUES_API_VERSION)
--inspector-api-version INSPECTOR_API_VERSION
-
inspector API version, only 1 is supported now (env: INSPECTOR_VERSION).
--inspector-url INSPECTOR_URL
-
inspector URL, defaults to localhost (env: INSPECTOR_URL).
--os-baremetal-api-version <baremetal-api-version>
-
Baremetal API version, default=1.6 (Env: OS_BAREMETAL_API_VERSION)
--os-key-manager-api-version <key-manager-api-version>
-
Barbican API version, default=1 (Env: OS_KEY_MANAGER_API_VERSION)
--os-dns-api-version <dns-api-version>
-
DNS API version, default=2 (Env: OS_DNS_API_VERSION)
OpenStack with Identity API v3 commands
Important
OpenStack Identity API v2 is deprecated in the Mitaka release.
You can select the Identity API version to use by adding the --os-identity-api-version
parameter or by setting the corresponding environment variable:
export OS_IDENTITY_API_VERSION=3
openstack access token create
usage: openstack access token create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
--consumer-key <consumer-key>
--consumer-secret <consumer-secret>
--request-key <request-key>
--request-secret <request-secret>
--verifier <verifier>
Create an access token
Optional arguments:
-h, --help
-
show this help message and exit
--consumer-key <consumer-key>
-
Consumer key (required)
--consumer-secret <consumer-secret>
-
Consumer secret (required)
--request-key <request-key>
-
Request token to exchange for access token (required)
--request-secret <request-secret>
-
Secret associated with <request-key> (required)
--verifier <verifier>
-
Verifier associated with <request-key> (required)
openstack acl delete
usage: openstack acl delete [-h] URI
Delete ACLs for a secret or container as identified by its href.
Positional arguments:
URI
-
The URI reference for the secret or container.
Optional arguments:
-h, --help
-
show this help message and exit
openstack acl get
usage: openstack acl get [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
URI
Retrieve ACLs for a secret or container by providing its href.
Positional arguments:
URI
-
The URI reference for the secret or container.
Optional arguments:
-h, --help
-
show this help message and exit
openstack acl submit
usage: openstack acl submit [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--user [USERS]]
[--project-access | --no-project-access]
[--operation-type {read}]
URI
Submit ACL on a secret or container as identified by its href.
Positional arguments:
URI
-
The URI reference for the secret or container.
Optional arguments:
-h, --help
-
show this help message and exit
--user [USERS], -u [USERS]
-
Keystone userid(s) for ACL.
--project-access
-
Flag to enable project access behavior.
--no-project-access
-
Flag to disable project access behavior.
--operation-type {read}, -o {read}
-
Type of Barbican operation ACL is set for
openstack acl user add
usage: openstack acl user add [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--user [USERS]]
[--project-access | --no-project-access]
[--operation-type {read}]
URI
Add ACL users to a secret or container as identified by its href.
Positional arguments:
URI
-
The URI reference for the secret or container.
Optional arguments:
-h, --help
-
show this help message and exit
--user [USERS], -u [USERS]
-
Keystone userid(s) for ACL.
--project-access
-
Flag to enable project access behavior.
--no-project-access
-
Flag to disable project access behavior.
--operation-type {read}, -o {read}
-
Type of Barbican operation ACL is set for
openstack acl user remove
usage: openstack acl user remove [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--user [USERS]]
[--project-access | --no-project-access]
[--operation-type {read}]
URI
Remove ACL users from a secret or container as identified by its href.
Positional arguments:
URI
-
The URI reference for the secret or container.
Optional arguments:
-h, --help
-
show this help message and exit
--user [USERS], -u [USERS]
-
Keystone userid(s) for ACL.
--project-access
-
Flag to enable project access behavior.
--no-project-access
-
Flag to disable project access behavior.
--operation-type {read}, -o {read}
-
Type of Barbican operation ACL is set for
openstack address scope create
usage: openstack address scope create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--ip-version {4,6}]
[--project <project>]
[--project-domain <project-domain>]
[--share | --no-share]
<name>
Create a new Address Scope
Positional arguments:
<name>
-
New address scope name
Optional arguments:
-h, --help
-
show this help message and exit
--ip-version {4,6} IP
-
version (default is 4)
--project <project>
-
Owner's project (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--share
-
Share the address scope between projects
--no-share
-
Do not share the address scope between projects (default)
openstack address scope delete
usage: openstack address scope delete [-h]
<address-scope> [<address-scope> ...]
Delete address scope(s)
Positional arguments:
<address-scope>
-
Address scope(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack address scope list
usage: openstack address scope list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List address scopes
Optional arguments:
-h, --help
-
show this help message and exit
openstack address scope set
usage: openstack address scope set [-h] [--name <name>] [--share | --no-share]
<address-scope>
Set address scope properties
Positional arguments:
<address-scope>
-
Address scope to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Set address scope name
--share
-
Share the address scope between projects
--no-share
-
Do not share the address scope between projects
openstack address scope show
usage: openstack address scope show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<address-scope>
Display address scope details
Positional arguments:
<address-scope>
-
Address scope to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack aggregate add host
usage: openstack aggregate add host [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<aggregate> <host>
Add host to aggregate
Positional arguments:
<aggregate>
-
Aggregate (name or ID)
<host>
-
Host to add to <aggregate>
Optional arguments:
-h, --help
-
show this help message and exit
openstack aggregate create
usage: openstack aggregate create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--zone <availability-zone>]
[--property <key=value>]
<name>
Create a new aggregate
Positional arguments:
<name>
-
New aggregate name
Optional arguments:
-h, --help
-
show this help message and exit
--zone <availability-zone>
-
Availability zone name
--property <key=value>
-
Property to add to this aggregate (repeat option to set multiple properties)
openstack aggregate delete
usage: openstack aggregate delete [-h] <aggregate>
Delete an existing aggregate
Positional arguments:
<aggregate>
-
Aggregate to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack aggregate list
usage: openstack aggregate list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long]
List all aggregates
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
openstack aggregate remove host
usage: openstack aggregate remove host [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<aggregate> <host>
Remove host from aggregate
Positional arguments:
<aggregate>
-
Aggregate (name or ID)
<host>
-
Host to remove from <aggregate>
Optional arguments:
-h, --help
-
show this help message and exit
openstack aggregate set
usage: openstack aggregate set [-h] [--name <name>]
[--zone <availability-zone>]
[--property <key=value>]
<aggregate>
Set aggregate properties
Positional arguments:
<aggregate>
-
Aggregate to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Set aggregate name
--zone <availability-zone>
-
Set availability zone name
--property <key=value>
-
Property to set on <aggregate> (repeat option to set multiple properties)
openstack aggregate show
usage: openstack aggregate show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<aggregate>
Display aggregate details
Positional arguments:
<aggregate>
-
Aggregate to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack aggregate unset
usage: openstack aggregate unset [-h] --property <key> <aggregate>
Unset aggregate properties
Positional arguments:
<aggregate>
-
Aggregate to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Property to remove from aggregate (repeat option to remove multiple properties)
openstack availability zone list
usage: openstack availability zone list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--compute] [--network] [--volume]
[--long]
List availability zones and their status
Optional arguments:
-h, --help
-
show this help message and exit
--compute
-
List compute availability zones
--network
-
List network availability zones
--volume
-
List volume availability zones
--long
-
List additional fields in output
openstack backup create
usage: openstack backup create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] [--name <name>]
[--description <description>]
[--container <container>]
<volume>
Create new backup
Positional arguments:
<volume>
-
Volume to backup (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Name of the backup
--description <description>
-
Description of the backup
--container <container>
-
Optional backup container name
openstack backup delete
usage: openstack backup delete [-h] <backup> [<backup> ...]
Delete backup(s)
Positional arguments:
<backup>
-
Backup(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack backup list
usage: openstack backup list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}] [--long]
List backups
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
openstack backup restore
usage: openstack backup restore [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<backup> <volume>
Restore backup
Positional arguments:
<backup>
-
Backup to restore (ID only)
<volume>
-
Volume to restore to (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack backup show
usage: openstack backup show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<backup>
Display backup details
Positional arguments:
<backup>
-
Backup to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal create
usage: openstack baremetal create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--chassis-uuid <chassis>] --driver <driver>
[--driver-info <key=value>]
[--property <key=value>]
[--extra <key=value>] [--uuid <uuid>]
[--name <name>]
Register a new node with the baremetal service
Optional arguments:
-h, --help
-
show this help message and exit
--chassis-uuid <chassis>
-
UUID of the chassis that this node belongs to.
--driver <driver>
-
Driver used to control the node [REQUIRED].
--driver-info <key=value>
-
Key/value pair used by the driver, such as out-of-band management credentials. Can be specified multiple times.
--property <key=value>
-
Key/value pair describing the physical characteristics of the node. This is exported to Nova and used by the scheduler. Can be specified multiple times.
--extra <key=value>
-
Record arbitrary key/value metadata. Can be specified multiple times.
--uuid <uuid>
-
Unique UUID for the node.
--name <name>
-
Unique name for the node.
openstack baremetal delete
usage: openstack baremetal delete [-h] <node>
Unregister a baremetal node
Positional arguments:
<node>
-
Node to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal introspection abort
usage: openstack baremetal introspection abort [-h] uuid
Abort running introspection for node.
Positional arguments:
uuid
-
baremetal node UUID
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal introspection data save
usage: openstack baremetal introspection data save [-h] [--file <filename>]
uuid
Save or display raw introspection data.
Positional arguments:
uuid
-
baremetal node UUID
Optional arguments:
-h, --help
-
show this help message and exit
--file <filename>
-
downloaded introspection data filename (default: stdout)
openstack baremetal introspection reprocess
usage: openstack baremetal introspection reprocess [-h] uuid
Reprocess stored introspection data
Positional arguments:
uuid
-
baremetal node UUID
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal introspection rule delete
usage: openstack baremetal introspection rule delete [-h] uuid
Delete an introspection rule.
Positional arguments:
uuid
-
rule UUID
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal introspection rule import
usage: openstack baremetal introspection rule import [-h] file
Import one or several introspection rules from a json file.
Positional arguments:
file
-
JSON file to import, may contain one or several rules
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal introspection rule list
usage: openstack baremetal introspection rule list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List all introspection rules.
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal introspection rule purge
usage: openstack baremetal introspection rule purge [-h]
Drop all introspection rules.
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal introspection rule show
usage: openstack baremetal introspection rule show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
uuid
Show an introspection rule.
Positional arguments:
uuid
-
rule UUID
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal introspection start
usage: openstack baremetal introspection start [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--new-ipmi-username NEW_IPMI_USERNAME]
[--new-ipmi-password NEW_IPMI_PASSWORD]
[--wait]
uuid [uuid ...]
Start the introspection.
Positional arguments:
uuid
-
baremetal node UUID(s)
Optional arguments:
-h, --help
-
show this help message and exit
--new-ipmi-username NEW_IPMI_USERNAME
-
if set, *Ironic Inspector* will update IPMI user name to this value
--new-ipmi-password NEW_IPMI_PASSWORD
-
if set, *Ironic Inspector* will update IPMI password to this value
--wait
-
wait for introspection to finish; the result will be displayed in the end
openstack baremetal introspection status
usage: openstack baremetal introspection status [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
uuid
Get introspection status.
Positional arguments:
uuid
-
baremetal node UUID
Optional arguments:
-h, --help
-
show this help message and exit
openstack baremetal list
usage: openstack baremetal list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit <limit>] [--marker <node>]
[--sort <key>[:<direction>]] [--maintenance]
[--associated] [--long]
List baremetal nodes
Optional arguments:
-h, --help
-
show this help message and exit
--limit <limit>
-
Maximum number of nodes to return per request, 0 for no limit. Default is the maximum number used by the Baremetal API Service.
--marker <node>
-
Node UUID (for example, of the last node in the list from a previous request). Returns the list of nodes after this UUID.
--sort <key>[:<direction>]
-
Sort output by selected keys and directions(asc or desc) (default: asc), multiple keys and directions can be specified separated by comma
--maintenance
-
List nodes in maintenance mode.
--associated
-
List only nodes associated with an instance.
--long
-
Show detailed information about the nodes.
openstack baremetal set
usage: openstack baremetal set [-h] [--property <path=value>] <node>
Set baremetal properties
Positional arguments:
<node>
-
Name or UUID of the node.
Optional arguments:
-h, --help
-
show this help message and exit
--property <path=value>
-
Property to add to this baremetal host (repeat option to set multiple properties)
openstack baremetal show
usage: openstack baremetal show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] [--instance]
[--long]
<node>
Show baremetal node details
Positional arguments:
<node>
-
Name or UUID of the node (or instance UUID if
--instance
is specified)
Optional arguments:
-h, --help
-
show this help message and exit
--instance <node>
-
is an instance UUID.
--long
openstack baremetal unset
usage: openstack baremetal unset [-h] [--property <path>] <node>
Unset baremetal properties
Positional arguments:
<node>
-
Name or UUID of the node.
Optional arguments:
-h, --help
-
show this help message and exit
--property <path>
-
Property to unset on this baremetal host (repeat option to unset multiple properties)
openstack ca get
usage: openstack ca get [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
URI
Retrieve a CA by providing its URI.
Positional arguments:
URI
-
The URI reference for the CA.
Optional arguments:
-h, --help
-
show this help message and exit
openstack ca list
usage: openstack ca list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit LIMIT] [--offset OFFSET] [--name NAME]
List cas.
Optional arguments:
-h, --help
-
show this help message and exit
--limit LIMIT, -l LIMIT
-
specify the limit to the number of items to list per page (default: 10; maximum: 100)
--offset OFFSET, -o OFFSET
-
specify the page offset (default: 0)
--name NAME, -n NAME
-
specify the secret name (default: None)
openstack catalog list
usage: openstack catalog list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List services in the service catalog
Optional arguments:
-h, --help
-
show this help message and exit
openstack catalog show
usage: openstack catalog show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<service>
Display service catalog details
Positional arguments:
<service>
-
Service to display (type or name)
Optional arguments:
-h, --help
-
show this help message and exit
openstack claim create
usage: openstack claim create [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--ttl <ttl>] [--grace <grace>]
[--limit <limit>]
<queue_name>
Create claim and return a list of claimed messages
Positional arguments:
<queue_name>
-
Name of the queue to be claim
Optional arguments:
-h, --help
-
show this help message and exit
--ttl <ttl>
-
Time to live in seconds for claim
--grace <grace>
-
The message grace period in seconds
--limit <limit>
-
Claims a set of messages, up to limit
openstack claim query
usage: openstack claim query [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
<queue_name> <claim_id>
Display claim details
Positional arguments:
<queue_name>
-
Name of the claimed queue
<claim_id>
-
ID of the claim
Optional arguments:
-h, --help
-
show this help message and exit
openstack claim release
usage: openstack claim release [-h] <queue_name> <claim_id>
Delete a claim
Positional arguments:
<queue_name>
-
Name of the claimed queue
<claim_id>
-
Claim ID to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack claim renew
usage: openstack claim renew [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--ttl <ttl>] [--grace <grace>]
<queue_name> <claim_id>
Renew a claim
Positional arguments:
<queue_name>
-
Name of the claimed queue
<claim_id>
-
Claim ID
Optional arguments:
-h, --help
-
show this help message and exit
--ttl <ttl>
-
Time to live in seconds for claim
--grace <grace>
-
The message grace period in seconds
openstack command list
usage: openstack command list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List recognized commands by group
Optional arguments:
-h, --help
-
show this help message and exit
openstack compute agent create
usage: openstack compute agent create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<os> <architecture> <version> <url>
<md5hash> <hypervisor>
Create compute agent command
Positional arguments:
<os>
-
Type of OS
<architecture>
-
Type of architecture
<version>
-
Version
<url>
-
URL
<md5hash>
-
MD5 hash
<hypervisor>
-
Type of hypervisor
Optional arguments:
-h, --help
-
show this help message and exit
openstack compute agent delete
usage: openstack compute agent delete [-h] <id> [<id> ...]
Delete compute agent(s)
Positional arguments:
<id>
-
ID of agent(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack compute agent list
usage: openstack compute agent list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--hypervisor <hypervisor>]
List compute agent command
Optional arguments:
-h, --help
-
show this help message and exit
--hypervisor <hypervisor>
-
Type of hypervisor
openstack compute agent set
usage: openstack compute agent set [-h] <id> <version> <url> <md5hash>
Set compute agent command
Positional arguments:
<id>
-
ID of the agent
<version>
-
Version of the agent
<url>
-
URL
<md5hash>
-
MD5 hash
Optional arguments:
-h, --help
-
show this help message and exit
openstack compute service delete
usage: openstack compute service delete [-h] <service>
Delete service command
Positional arguments:
<service>
-
Compute service to delete (ID only)
Optional arguments:
-h, --help
-
show this help message and exit
openstack compute service list
usage: openstack compute service list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--host <host>] [--service <service>]
[--long]
List service command
Optional arguments:
-h, --help
-
show this help message and exit
--host <host>
-
List services on specified host (name only)
--service <service>
-
List only specified service (name only)
--long
-
List additional fields in output
openstack compute service set
usage: openstack compute service set [-h] [--enable | --disable]
[--disable-reason <reason>]
<host> <service>
Set service command
Positional arguments:
<host>
-
Name of host
<service>
-
Name of service
Optional arguments:
-h, --help
-
show this help message and exit
--enable
-
Enable service
--disable
-
Disable service
--disable-reason <reason>
-
Reason for disabling the service (in quotas). Should be used with
--disable
option.
openstack configuration show
usage: openstack configuration show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--mask | --unmask]
Display configuration details
Optional arguments:
-h, --help
-
show this help message and exit
--mask
-
Attempt to mask passwords (default)
--unmask
-
Show password in clear text
openstack congress datasource create
usage: openstack congress datasource create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--description <datasource-description>]
[--config <key=value>]
<datasource-driver>
<datasource-name>
Create a datasource.
Positional arguments:
<datasource-driver>
-
Selected datasource driver
<datasource-name>
-
Name you want to call the datasource
Optional arguments:
-h, --help
-
show this help message and exit
--description <datasource-description>
-
Description of the datasource
--config <key=value>
-
config dictionary to pass in
openstack congress datasource delete
usage: openstack congress datasource delete [-h] <datasource-name>
Delete a datasource.
Positional arguments:
<datasource-name>
-
Name of the datasource to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress datasource list
usage: openstack congress datasource list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List Datasources.
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress datasource row list
usage: openstack congress datasource row list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<datasource-name> <table>
List datasource rows.
Positional arguments:
<datasource-name>
-
Name of the datasource to show
<table>
-
Table to get the datasource rows from
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress datasource schema show
usage: openstack congress datasource schema show [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<datasource-name>
Show schema for datasource.
Positional arguments:
<datasource-name>
-
Name of the datasource
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress datasource status show
usage: openstack congress datasource status show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
<datasource-name>
List status for datasource.
Positional arguments:
<datasource-name>
-
Name of the datasource
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress datasource table list
usage: openstack congress datasource table list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<datasource-name>
List datasource tables.
Positional arguments:
<datasource-name>
-
Name of the datasource
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress datasource table schema show
usage: openstack congress datasource table schema show [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<datasource-name>
<table-name>
Show schema for datasource table.
Positional arguments:
<datasource-name>
-
Name of the datasource
<table-name>
-
Name of the table
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress datasource table show
usage: openstack congress datasource table show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
<datasource-name> <table-id>
Show Datasource Table properties.
Positional arguments:
<datasource-name>
-
Name of datasource
<table-id>
-
Table id
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress driver config show
usage: openstack congress driver config show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
<datasource-driver>
List driver tables.
Positional arguments:
<datasource-driver>
-
Name of the datasource driver
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress driver list
usage: openstack congress driver list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List drivers.
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress driver schema show
usage: openstack congress driver schema show [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<datasource-driver>
List datasource tables.
Positional arguments:
<datasource-driver>
-
Name of the datasource driver
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress policy create
usage: openstack congress policy create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--description <description>]
[--abbreviation <abbreviation>]
[--kind <kind>]
<policy_name>
Create a policy.
Positional arguments:
<policy_name>
-
Name of the policy
Optional arguments:
-h, --help
-
show this help message and exit
--description <description>
-
Policy description
--abbreviation <abbreviation>
-
Policy abbreviation (used in traces)
--kind <kind>
-
Kind of policy: {nonrecursive, database, action, materialized}
openstack congress policy delete
usage: openstack congress policy delete [-h] <policy>
Delete a policy.
Positional arguments:
<policy>
-
ID or name of the policy to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress policy list
usage: openstack congress policy list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List Policy.
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress policy row list
usage: openstack congress policy row list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--trace]
<policy-name> <table>
List policy rows.
Positional arguments:
<policy-name>
-
Name of the policy to show
<table>
-
Table to get the policy rows from
Optional arguments:
-h, --help
-
show this help message and exit
--trace
-
Display explanation of result
openstack congress policy rule create
usage: openstack congress policy rule create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--name RULE_NAME]
[--comment COMMENT]
<policy-name> <rule>
Create a policy rule.
Positional arguments:
<policy-name>
-
Name or identifier of the policy
<rule>
-
Policy rule
Optional arguments:
-h, --help
-
show this help message and exit
--name RULE_NAME
-
Name of the policy rule
--comment COMMENT
-
Comment about policy rule
openstack congress policy rule delete
usage: openstack congress policy rule delete [-h]
<policy-name> <rule-id/rule-name>
Delete a policy rule.
Positional arguments:
<policy-name>
-
Name of the policy to delete
<rule-id/rule-name>
-
ID/Name of the policy rule to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress policy rule list
usage: openstack congress policy rule list [-h] <policy-name>
List policy rules.
Positional arguments:
<policy-name>
-
Name of the policy
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress policy rule show
usage: openstack congress policy rule show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<policy-name> <rule-id/rule-name>
Show a policy rule.
Positional arguments:
<policy-name>
-
Name or identifier of the policy
<rule-id/rule-name>
-
Policy rule id or rule name
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress policy show
usage: openstack congress policy show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<policy-name>
Show policy properties.
Positional arguments:
<policy-name>
-
Name of policy
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress policy simulate
usage: openstack congress policy simulate [-h] [--delta] [--trace]
<policy> <query> <sequence>
<action_policy>
Show the result of simulation.
Positional arguments:
<policy>
-
Name of the policy
<query>
-
String representing query (policy rule or literal)
<sequence>
-
String representing sequence of updates/actions
<action_policy>
-
Name of the policy with actions
Optional arguments:
-h, --help
-
show this help message and exit
--delta
-
Return difference in query caused by update sequence
--trace
-
Include trace describing computation
openstack congress policy table list
usage: openstack congress policy table list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<policy-name>
List policy tables.
Positional arguments:
<policy-name>
-
Name of the policy
Optional arguments:
-h, --help
-
show this help message and exit
openstack congress policy table show
usage: openstack congress policy table show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
<policy-name> <table-id>
Show policy table properties.
Positional arguments:
<policy-name>
-
Name of policy
<table-id>
-
Table id
Optional arguments:
-h, --help
-
show this help message and exit
openstack console log show
usage: openstack console log show [-h] [--lines <num-lines>] <server>
Show server's console output
Positional arguments:
<server>
-
Server to show console log (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--lines <num-lines>
-
Number of lines to display from the end of the log (default=all)
openstack console url show
usage: openstack console url show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--novnc | --xvpvnc | --spice]
<server>
Show server's remote console URL
Positional arguments:
<server>
-
Server to show URL (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--novnc
-
Show noVNC console URL (default)
--xvpvnc
-
Show xpvnc console URL
--spice
-
Show SPICE console URL
openstack consumer create
usage: openstack consumer create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--description <description>]
Create new consumer
Optional arguments:
-h, --help
-
show this help message and exit
--description <description>
-
New consumer description
openstack consumer delete
usage: openstack consumer delete [-h] <consumer>
Delete consumer
Positional arguments:
<consumer>
-
Consumer to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack consumer list
usage: openstack consumer list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List consumers
Optional arguments:
-h, --help
-
show this help message and exit
openstack consumer set
usage: openstack consumer set [-h] [--description <description>] <consumer>
Set consumer properties
Positional arguments:
<consumer>
-
Consumer to modify
Optional arguments:
-h, --help
-
show this help message and exit
--description <description>
-
New consumer description
openstack consumer show
usage: openstack consumer show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<consumer>
Display consumer details
Positional arguments:
<consumer>
-
Consumer to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack container create
usage: openstack container create [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<container-name> [<container-name> ...]
Create new container
Positional arguments:
<container-name>
-
New container name(s)
Optional arguments:
-h, --help
-
show this help message and exit
openstack container delete
usage: openstack container delete [-h] [--recursive]
<container> [<container> ...]
Delete container
Positional arguments:
<container>
-
Container(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
--recursive, -r
-
Recursively delete objects and container
openstack container list
usage: openstack container list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--prefix <prefix>] [--marker <marker>]
[--end-marker <end-marker>] [--limit <limit>]
[--long] [--all]
List containers
Optional arguments:
-h, --help
-
show this help message and exit
--prefix <prefix>
-
Filter list using <prefix>
--marker <marker>
-
Anchor for paging
--end-marker <end-marker>
-
End anchor for paging
--limit <limit>
-
Limit the number of containers returned
--long
-
List additional fields in output
--all
-
List all containers (default is 10000)
openstack container save
usage: openstack container save [-h] <container>
Save container contents locally
Positional arguments:
<container>
-
Container to save
Optional arguments:
-h, --help
-
show this help message and exit
openstack container set
usage: openstack container set [-h] --property <key=value> <container>
Set container properties
Positional arguments:
<container>
-
Container to modify
Optional arguments:
-h, --help
-
show this help message and exit
--property <key=value>
-
Set a property on this container (repeat option to set multiple properties)
openstack container show
usage: openstack container show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<container>
Display container details
Positional arguments:
<container>
-
Container to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack container unset
usage: openstack container unset [-h] --property <key> <container>
Unset container properties
Positional arguments:
<container>
-
Container to modify
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Property to remove from container (repeat option to remove multiple properties)
openstack credential create
usage: openstack credential create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--type <type>] [--project <project>]
<user> <data>
Create credential command
Positional arguments:
<user>
-
Name or ID of user that owns the credential
<data>
-
New credential data
Optional arguments:
-h, --help
-
show this help message and exit
--type <type>
-
New credential type
--project <project>
-
Project name or ID which limits the scope of the credential
openstack credential delete
usage: openstack credential delete [-h] <credential-id>
Delete credential command
Positional arguments:
<credential-id>
-
ID of credential to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack credential list
usage: openstack credential list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List credential command
Optional arguments:
-h, --help
-
show this help message and exit
openstack credential set
usage: openstack credential set [-h] --user <user> --type <type> --data <data>
[--project <project>]
<credential-id>
Set credential command
Positional arguments:
<credential-id>
-
ID of credential to change
Optional arguments:
-h, --help
-
show this help message and exit
--user <user>
-
Name or ID of user that owns the credential
--type <type>
-
New credential type
--data <data>
-
New credential data
--project <project>
-
Project name or ID which limits the scope of the credential
openstack credential show
usage: openstack credential show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<credential-id>
Show credential command
Positional arguments:
<credential-id>
-
ID of credential to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing cluster create
usage: openstack dataprocessing cluster create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--name <name>]
[--cluster-template <cluster-template>]
[--image <image>]
[--description <description>]
[--user-keypair <keypair>]
[--neutron-network <network>]
[--count <count>] [--public]
[--protected] [--transient]
[--json <filename>] [--wait]
Creates cluster
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Name of the cluster [REQUIRED if JSON is not provided]
--cluster-template <cluster-template>
-
Cluster template name or ID [REQUIRED if JSON is not provided]
--image <image>
-
Image that will be used for cluster deployment (Name or ID) [REQUIRED if JSON is not provided]
--description <description>
-
Description of the cluster
--user-keypair <keypair>
-
User keypair to get acces to VMs after cluster creation
--neutron-network <network>
-
Instances of the cluster will get fixed IP addresses in this network. (Name or ID should be provided)
--count <count>
-
Number of clusters to be created
--public
-
Make the cluster public (Visible from other tenants)
--protected
-
Make the cluster protected
--transient
-
Create transient cluster
--json <filename>
-
JSON representation of the cluster. Other arguments (except for
--wait)
will not be taken into account if this one is provided --wait
-
Wait for the cluster creation to complete
openstack dataprocessing cluster delete
usage: openstack dataprocessing cluster delete [-h] [--wait]
<cluster> [<cluster> ...]
Deletes cluster
Positional arguments:
<cluster>
-
Name(s) or id(s) of the cluster(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
--wait
-
Wait for the cluster(s) delete to complete
openstack dataprocessing cluster list
usage: openstack dataprocessing cluster list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long] [--plugin <plugin>]
[--plugin-version <plugin_version>]
[--name <name-substring>]
Lists clusters
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--plugin <plugin>
-
List clusters with specific plugin
--plugin-version <plugin_version>
-
List clusters with specific version of the plugin
--name <name-substring>
-
List clusters with specific substring in the name
openstack dataprocessing cluster scale
usage: openstack dataprocessing cluster scale [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--instances <node-group-template:instances_count> [<node-group-template:instances_count> ...]]
[--json <filename>] [--wait]
<cluster>
Scales cluster
Positional arguments:
<cluster>
-
Name or ID of the cluster
Optional arguments:
-h, --help
-
show this help message and exit
--instances <node-group-template:instances_count> [<node-group-template:instances_count> ...]
-
Node group templates and number of their instances to be scale to [REQUIRED if JSON is not provided]
--json <filename>
-
JSON representation of the cluster scale object. Other arguments (except for
--wait)
will not be taken into account if this one is provided --wait
-
Wait for the cluster scale to complete
openstack dataprocessing cluster show
usage: openstack dataprocessing cluster show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--verification]
<cluster>
Display cluster details
Positional arguments:
<cluster>
-
Name or id of the cluster to display
Optional arguments:
-h, --help
-
show this help message and exit
--verification
-
List additional fields for verifications
openstack dataprocessing cluster template create
usage: openstack dataprocessing cluster template create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--name <name>]
[--node-groups <node-group:instances_count> [<node-group:instances_count> ...]]
[--anti-affinity <anti-affinity> [<anti-affinity> ...]]
[--description <description>]
[--autoconfig]
[--public]
[--protected]
[--json <filename>]
[--shares <filename>]
[--configs <filename>]
Creates cluster template
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Name of the cluster template [REQUIRED if JSON is not provided]
--node-groups <node-group:instances_count> [<node-group:instances_count> ...]
-
List of the node groups(names or IDs) and numbers of instances for each one of them [REQUIRED if JSON is not provided]
--anti-affinity <anti-affinity> [<anti-affinity> ...]
-
List of processes that should be added to an anti-affinity group
--description <description>
-
Description of the cluster template
--autoconfig
-
If enabled, instances of the cluster will be automatically configured
--public
-
Make the cluster template public (Visible from other tenants)
--protected
-
Make the cluster template protected
--json <filename>
-
JSON representation of the cluster template. Other arguments will not be taken into account if this one is provided
--shares <filename>
-
JSON representation of the manila shares
--configs <filename>
-
JSON representation of the cluster template configs
openstack dataprocessing cluster template delete
usage: openstack dataprocessing cluster template delete [-h]
<cluster-template>
[<cluster-template> ...]
Deletes cluster template
Positional arguments:
<cluster-template>
-
Name(s) or id(s) of the cluster template(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing cluster template list
usage: openstack dataprocessing cluster template list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long]
[--plugin <plugin>]
[--plugin-version <plugin_version>]
[--name <name-substring>]
Lists cluster templates
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--plugin <plugin>
-
List cluster templates for specific plugin
--plugin-version <plugin_version>
-
List cluster templates with specific version of the plugin
--name <name-substring>
-
List cluster templates with specific substring in the name
openstack dataprocessing cluster template show
usage: openstack dataprocessing cluster template show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
<cluster-template>
Display cluster template details
Positional arguments:
<cluster-template>
-
Name or id of the cluster template to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing cluster template update
usage: openstack dataprocessing cluster template update [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--name <name>]
[--node-groups <node-group:instances_count> [<node-group:instances_count> ...]]
[--anti-affinity <anti-affinity> [<anti-affinity> ...]]
[--description <description>]
[--autoconfig-enable | --autoconfig-disable]
[--public | --private]
[--protected | --unprotected]
[--json <filename>]
[--shares <filename>]
[--configs <filename>]
<cluster-template>
Updates cluster template
Positional arguments:
<cluster-template>
-
Name or ID of the cluster template [REQUIRED]
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New name of the cluster template
--node-groups <node-group:instances_count> [<node-group:instances_count> ...]
-
List of the node groups(names or IDs) and numbers ofinstances for each one of them
--anti-affinity <anti-affinity> [<anti-affinity> ...]
-
List of processes that should be added to an anti-affinity group
--description <description>
-
Description of the cluster template
--autoconfig-enable
-
Instances of the cluster will be automatically configured
--autoconfig-disable
-
Instances of the cluster will not be automatically configured
--public
-
Make the cluster template public (Visible from other tenants)
--private
-
Make the cluster template private (Visible only from this tenant)
--protected
-
Make the cluster template protected
--unprotected
-
Make the cluster template unprotected
--json <filename>
-
JSON representation of the cluster template. Other arguments will not be taken into account if this one is provided
--shares <filename>
-
JSON representation of the manila shares
--configs <filename>
-
JSON representation of the cluster template configs
openstack dataprocessing cluster update
usage: openstack dataprocessing cluster update [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--name <name>]
[--description <description>]
[--shares <filename>]
[--public | --private]
[--protected | --unprotected]
<cluster>
Updates cluster
Positional arguments:
<cluster>
-
Name or ID of the cluster
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New name of the cluster
--description <description>
-
Description of the cluster
--shares <filename>
-
JSON representation of the manila shares
--public
-
Make the cluster public (Visible from other tenants)
--private
-
Make the cluster private (Visible only from this tenant)
--protected
-
Make the cluster protected
--unprotected
-
Make the cluster unprotected
openstack dataprocessing cluster verification
usage: openstack dataprocessing cluster verification [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
(--start | --show)
<cluster>
Updates cluster verifications
Positional arguments:
<cluster>
-
Name or ID of the cluster
Optional arguments:
-h, --help
-
show this help message and exit
--start
-
Start health verification for the cluster
--show
-
Show health of the cluster
openstack dataprocessing data source create
usage: openstack dataprocessing data source create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX] --type
<type> --url <url>
[--username <username>]
[--password <password>]
[--description <description>]
[--public] [--protected]
<name>
Creates data source
Positional arguments:
<name>
-
Name of the data source
Optional arguments:
-h, --help
-
show this help message and exit
--type <type>
-
Type of the data source (swift, hdfs, maprfs, manila) [REQUIRED]
--url <url>
-
Url for the data source [REQUIRED]
--username <username>
-
Username for accessing the data source url
--password <password>
-
Password for accessing the data source url
--description <description>
-
Description of the data source
--public
-
Make the data source public
--protected
-
Make the data source protected
openstack dataprocessing data source delete
usage: openstack dataprocessing data source delete [-h]
<data-source>
[<data-source> ...]
Delete data source
Positional arguments:
<data-source>
-
Name(s) or id(s) of the data source(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing data source list
usage: openstack dataprocessing data source list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long] [--type <type>]
Lists data sources
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--type <type>
-
List data sources of specific type (swift, hdfs, maprfs, manila)
openstack dataprocessing data source show
usage: openstack dataprocessing data source show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
<data-source>
Display data source details
Positional arguments:
<data-source>
-
Name or id of the data source to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing data source update
usage: openstack dataprocessing data source update [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--name <name>]
[--type <type>]
[--url <url>]
[--username <username>]
[--password <password>]
[--description <description>]
[--public | --private]
[--protected | --unprotected]
<data-source>
Update data source
Positional arguments:
<data-source>
-
Name or id of the data source
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New name of the data source
--type <type>
-
Type of the data source (swift, hdfs, maprfs, manila)
--url <url>
-
Url for the data source
--username <username>
-
Username for accessing the data source url
--password <password>
-
Password for accessing the data source url
--description <description>
-
Description of the data source
--public
-
Make the data source public (Visible from other tenants)
--private
-
Make the data source private (Visible only from this tenant)
--protected
-
Make the data source protected
--unprotected
-
Make the data source unprotected
openstack dataprocessing image list
usage: openstack dataprocessing image list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long] [--name <name-regex>]
[--tags <tag> [<tag> ...]]
[--username <username>]
Lists registered images
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--name <name-regex>
-
Regular expression to match image name
--tags <tag> [<tag> ...]
-
List images with specific tag(s)
--username <username>
-
List images with specific username
openstack dataprocessing image register
usage: openstack dataprocessing image register [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
--username <username>
[--description <description>]
<image>
Register an image
Positional arguments:
<image>
-
Name or ID of the image to register
Optional arguments:
-h, --help
-
show this help message and exit
--username <username>
-
Username of privileged user in the image [REQUIRED]
--description <description>
-
Description of the image. If not provided, description of the image will be reset to empty
openstack dataprocessing image show
usage: openstack dataprocessing image show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<image>
Display image details
Positional arguments:
<image>
-
Name or id of the image to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing image tags add
usage: openstack dataprocessing image tags add [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
--tags <tag> [<tag> ...]
<image>
Add image tags
Positional arguments:
<image>
-
Name or id of the image
Optional arguments:
-h, --help
-
show this help message and exit
--tags <tag> [<tag> ...]
-
Tag(s) to add [REQUIRED]
openstack dataprocessing image tags remove
usage: openstack dataprocessing image tags remove [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--tags <tag> [<tag> ...] |
--all]
<image>
Remove image tags
Positional arguments:
<image>
-
Name or id of the image
Optional arguments:
-h, --help
-
show this help message and exit
--tags <tag> [<tag> ...]
-
Tag(s) to remove
--all
-
Remove all tags from image
openstack dataprocessing image tags set
usage: openstack dataprocessing image tags set [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
--tags <tag> [<tag> ...]
<image>
Set image tags (Replace current image tags with provided ones)
Positional arguments:
<image>
-
Name or id of the image
Optional arguments:
-h, --help
-
show this help message and exit
--tags <tag> [<tag> ...]
-
Tag(s) to set [REQUIRED]
openstack dataprocessing image unregister
usage: openstack dataprocessing image unregister [-h] <image> [<image> ...]
Unregister image(s)
Positional arguments:
<image>
-
Name(s) or id(s) of the image(s) to unregister
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing job binary create
usage: openstack dataprocessing job binary create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--name <name>]
[--data <file> | --url <url>]
[--description <description>]
[--username <username>]
[--password <password> | --password-prompt]
[--public] [--protected]
[--json <filename>]
Creates job binary
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Name of the job binary [REQUIRED if JSON is not provided]
--data <file>
-
File that will be stored in the internal DB [REQUIRED if JSON and URL are not provided]
--url <url>
-
URL for the job binary [REQUIRED if JSON and file are not provided]
--description <description>
-
Description of the job binary
--username <username>
-
Username for accessing the job binary URL
--password <password>
-
Password for accessing the job binary URL
--password-prompt
-
Prompt interactively for password
--public
-
Make the job binary public
--protected
-
Make the job binary protected
--json <filename>
-
JSON representation of the job binary. Other arguments will not be taken into account if this one is provided
openstack dataprocessing job binary delete
usage: openstack dataprocessing job binary delete [-h]
<job-binary>
[<job-binary> ...]
Deletes job binary
Positional arguments:
<job-binary>
-
Name(s) or id(s) of the job binary(ies) to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing job binary download
usage: openstack dataprocessing job binary download [-h] [--file <file>]
<job-binary>
Downloads job binary
Positional arguments:
<job-binary>
-
Name or ID of the job binary to download
Optional arguments:
-h, --help
-
show this help message and exit
--file <file>
-
Destination file (defaults to job binary name)
openstack dataprocessing job binary list
usage: openstack dataprocessing job binary list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long]
[--name <name-substring>]
Lists job binaries
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--name <name-substring>
-
List job binaries with specific substring in the name
openstack dataprocessing job binary show
usage: openstack dataprocessing job binary show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
<job-binary>
Display job binary details
Positional arguments:
<job-binary>
-
Name or ID of the job binary to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing job binary update
usage: openstack dataprocessing job binary update [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--name <name>]
[--url <url>]
[--description <description>]
[--username <username>]
[--password <password> | --password-prompt]
[--public | --private]
[--protected | --unprotected]
[--json <filename>]
<job-binary>
Updates job binary
Positional arguments:
<job-binary>
-
Name or ID of the job binary
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New name of the job binary
--url <url>
-
URL for the job binary [Internal DB URL can not be updated]
--description <description>
-
Description of the job binary
--username <username>
-
Username for accessing the job binary URL
--password <password>
-
Password for accessing the job binary URL
--password-prompt
-
Prompt interactively for password
--public
-
Make the job binary public (Visible from other tenants)
--private
-
Make the job binary private (Visible only from this tenant)
--protected
-
Make the job binary protected
--unprotected
-
Make the job binary unprotected
--json <filename>
-
JSON representation of the update object. Other arguments will not be taken into account if this one is provided
openstack dataprocessing job delete
usage: openstack dataprocessing job delete [-h] [--wait] <job> [<job> ...]
Deletes job
Positional arguments:
<job>
-
ID(s) of the job(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
--wait
-
Wait for the job(s) delete to complete
openstack dataprocessing job execute
usage: openstack dataprocessing job execute [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--job-template <job-template>]
[--cluster <cluster>]
[--input <input>]
[--output <output>]
[--params <name:value> [<name:value> ...]]
[--args <argument> [<argument> ...]]
[--public] [--protected]
[--config-json <filename> | --configs <name:value> [<name:value> ...]]
[--interface <filename>]
[--json <filename>]
Executes job
Optional arguments:
-h, --help
-
show this help message and exit
--job-template <job-template>
-
Name or ID of the job template [REQUIRED if JSON is not provided]
--cluster <cluster>
-
Name or ID of the cluster [REQUIRED if JSON is not provided]
--input <input>
-
Name or ID of the input data source
--output <output>
-
Name or ID of the output data source
--params <name:value> [<name:value> ...]
-
Parameters to add to the job
--args <argument> [<argument> ...]
-
Arguments to add to the job
--public
-
Make the job public
--protected
-
Make the job protected
--config-json <filename>
-
JSON representation of the job configs
--configs <name:value> [<name:value> ...]
-
Configs to add to the job
--interface <filename>
-
JSON representation of the interface
--json <filename>
-
JSON representation of the job. Other arguments will not be taken into account if this one is provided
openstack dataprocessing job list
usage: openstack dataprocessing job list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long] [--status <status>]
Lists jobs
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--status <status>
-
List jobs with specific status
openstack dataprocessing job show
usage: openstack dataprocessing job show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<job>
Display job details
Positional arguments:
<job>
-
ID of the job to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing job template create
usage: openstack dataprocessing job template create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--name <name>]
[--type <type>]
[--mains <main> [<main> ...]]
[--libs <lib> [<lib> ...]]
[--description <description>]
[--public] [--protected]
[--interface <filename>]
[--json <filename>]
Creates job template
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Name of the job template [REQUIRED if JSON is not provided]
--type <type>
-
Type of the job (Hive, Java, MapReduce, Storm, Pig, Shell, MapReduce.Streaming, Spark) [REQUIRED if JSON is not provided]
--mains <main> [<main> ...]
-
Name(s) or ID(s) for job's main job binary(s)
--libs <lib> [<lib> ...]
-
Name(s) or ID(s) for job's lib job binary(s)
--description <description>
-
Description of the job template
--public
-
Make the job template public
--protected
-
Make the job template protected
--interface <filename>
-
JSON representation of the interface
--json <filename>
-
JSON representation of the job template
openstack dataprocessing job template delete
usage: openstack dataprocessing job template delete [-h]
<job-template>
[<job-template> ...]
Deletes job template
Positional arguments:
<job-template>
-
Name(s) or id(s) of the job template(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing job template list
usage: openstack dataprocessing job template list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long] [--type <type>]
[--name <name-substring>]
Lists job templates
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--type <type>
-
List job templates of specific type
--name <name-substring>
-
List job templates with specific substring in the name
openstack dataprocessing job template show
usage: openstack dataprocessing job template show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
<job-template>
Display job template details
Positional arguments:
<job-template>
-
Name or ID of the job template to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing job template update
usage: openstack dataprocessing job template update [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--name <name>]
[--description <description>]
[--public | --private]
[--protected | --unprotected]
<job-template>
Updates job template
Positional arguments:
<job-template>
-
Name or ID of the job template
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New name of the job template
--description <description>
-
Description of the job template
--public
-
Make the job template public (Visible from other tenants)
--private
-
Make the job_template private (Visible only from this tenant)
--protected
-
Make the job template protected
--unprotected
-
Make the job template unprotected
openstack dataprocessing job type configs get
usage: openstack dataprocessing job type configs get [-h] [--file <file>]
<job-type>
Get job type configs
Positional arguments:
<job-type>
-
Type of the job to provide config information about
Optional arguments:
-h, --help
-
show this help message and exit
--file <file>
-
Destination file (defaults to job type)
openstack dataprocessing job type list
usage: openstack dataprocessing job type list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--type <type>]
[--plugin <plugin>]
[--plugin-version <plugin_version>]
Lists job types supported by plugins
Optional arguments:
-h, --help
-
show this help message and exit
--type <type>
-
Get information about specific job type
--plugin <plugin>
-
Get only job types supported by this plugin
--plugin-version <plugin_version>
-
Get only job types supported by specific version of the plugin. This parameter will be taken into account only if plugin is provided
openstack dataprocessing job update
usage: openstack dataprocessing job update [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--public | --private]
[--protected | --unprotected]
<job>
Updates job
Positional arguments:
<job>
-
ID of the job to update
Optional arguments:
-h, --help
-
show this help message and exit
--public
-
Make the job public (Visible from other tenants)
--private
-
Make the job private (Visible only from this tenant)
--protected
-
Make the job protected
--unprotected
-
Make the job unprotected
openstack dataprocessing node group template create
usage: openstack dataprocessing node group template create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--name <name>]
[--plugin <plugin>]
[--plugin-version <plugin_version>]
[--processes <processes> [<processes> ...]]
[--flavor <flavor>]
[--security-groups <security-groups> [<security-groups> ...]]
[--auto-security-group]
[--availability-zone <availability-zone>]
[--floating-ip-pool <floating-ip-pool>]
[--volumes-per-node <volumes-per-node>]
[--volumes-size <volumes-size>]
[--volumes-type <volumes-type>]
[--volumes-availability-zone <volumes-availability-zone>]
[--volumes-mount-prefix <volumes-mount-prefix>]
[--volumes-locality]
[--description <description>]
[--autoconfig]
[--proxy-gateway]
[--public]
[--protected]
[--json <filename>]
[--shares <filename>]
[--configs <filename>]
Creates node group template
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Name of the node group template [REQUIRED if JSON is not provided]
--plugin <plugin>
-
Name of the plugin [REQUIRED if JSON is not provided]
--plugin-version <plugin_version>
-
Version of the plugin [REQUIRED if JSON is not provided]
--processes <processes> [<processes> ...]
-
List of the processes that will be launched on each instance [REQUIRED if JSON is not provided]
--flavor <flavor>
-
Name or ID of the flavor [REQUIRED if JSON is not provided]
--security-groups <security-groups> [<security-groups> ...]
-
List of the security groups for the instances in this node group
--auto-security-group
-
Indicates if an additional security group should be created for the node group
--availability-zone <availability-zone>
-
Name of the availability zone where instances will be created
--floating-ip-pool <floating-ip-pool>
-
ID of the floating IP pool
--volumes-per-node <volumes-per-node>
-
Number of volumes attached to every node
--volumes-size <volumes-size>
-
Size of volumes attached to node (GB). This parameter will be taken into account only if volumes-per-node is set and non-zero
--volumes-type <volumes-type>
-
Type of the volumes. This parameter will be taken into account only if volumes-per-node is set and non-zero
--volumes-availability-zone <volumes-availability-zone>
-
Name of the availability zone where volumes will be created. This parameter will be taken into account only if volumes-per-node is set and non-zero
--volumes-mount-prefix <volumes-mount-prefix>
-
Prefix for mount point directory. This parameter will be taken into account only if volumes-per-node is set and non-zero
--volumes-locality
-
If enabled, instance and attached volumes will be created on the same physical host. This parameter will be taken into account only if volumes-per-node is set and non-zero
--description <description>
-
Description of the node group template
--autoconfig
-
If enabled, instances of the node group will be automatically configured
--proxy-gateway
-
If enabled, instances of the node group will be used to access other instances in the cluster
--public
-
Make the node group template public (Visible from other tenants)
--protected
-
Make the node group template protected
--json <filename>
-
JSON representation of the node group template. Other arguments will not be taken into account if this one is provided
--shares <filename>
-
JSON representation of the manila shares
--configs <filename>
-
JSON representation of the node group template configs
openstack dataprocessing node group template delete
usage: openstack dataprocessing node group template delete [-h]
<node-group-template>
[<node-group-template> ...]
Deletes node group template
Positional arguments:
<node-group-template>
-
Name(s) or id(s) of the node group template(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing node group template list
usage: openstack dataprocessing node group template list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long]
[--plugin <plugin>]
[--plugin-version <plugin_version>]
[--name <name-substring>]
Lists node group templates
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--plugin <plugin>
-
List node group templates for specific plugin
--plugin-version <plugin_version>
-
List node group templates with specific version of the plugin
--name <name-substring>
-
List node group templates with specific substring in the name
openstack dataprocessing node group template show
usage: openstack dataprocessing node group template show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
<node-group-template>
Display node group template details
Positional arguments:
<node-group-template>
-
Name or id of the node group template to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack dataprocessing node group template update
usage: openstack dataprocessing node group template update [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--name <name>]
[--plugin <plugin>]
[--plugin-version <plugin_version>]
[--processes <processes> [<processes> ...]]
[--security-groups <security-groups> [<security-groups> ...]]
[--auto-security-group-enable | --auto-security-group-disable]
[--availability-zone <availability-zone>]
[--flavor <flavor>]
[--floating-ip-pool <floating-ip-pool>]
[--volumes-per-node <volumes-per-node>]
[--volumes-size <volumes-size>]
[--volumes-type <volumes-type>]
[--volumes-availability-zone <volumes-availability-zone>]
[--volumes-mount-prefix <volumes-mount-prefix>]
[--volumes-locality-enable | --volumes-locality-disable]
[--description <description>]
[--autoconfig-enable | --autoconfig-disable]
[--proxy-gateway-enable | --proxy-gateway-disable]
[--public | --private]
[--protected | --unprotected]
[--json <filename>]
[--shares <filename>]
[--configs <filename>]
<node-group-template>
Updates node group template
Positional arguments:
<node-group-template>
-
Name or ID of the node group template
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New name of the node group template
--plugin <plugin>
-
Name of the plugin
--plugin-version <plugin_version>
-
Version of the plugin
--processes <processes> [<processes> ...]
-
List of the processes that will be launched on each instance
--security-groups <security-groups> [<security-groups> ...]
-
List of the security groups for the instances in this node group
--auto-security-group-enable
-
Additional security group should be created for the node group
--auto-security-group-disable
-
Additional security group should not be created for the node group
--availability-zone <availability-zone>
-
Name of the availability zone where instances will be created
--flavor <flavor>
-
Name or ID of the flavor
--floating-ip-pool <floating-ip-pool>
-
ID of the floating IP pool
--volumes-per-node <volumes-per-node>
-
Number of volumes attached to every node
--volumes-size <volumes-size>
-
Size of volumes attached to node (GB). This parameter will be taken into account only if volumes-per-node is set and non-zero
--volumes-type <volumes-type>
-
Type of the volumes. This parameter will be taken into account only if volumes-per-node is set and non-zero
--volumes-availability-zone <volumes-availability-zone>
-
Name of the availability zone where volumes will be created. This parameter will be taken into account only if volumes-per-node is set and non-zero
--volumes-mount-prefix <volumes-mount-prefix>
-
Prefix for mount point directory. This parameter will be taken into account only if volumes-per-node is set and non-zero
--volumes-locality-enable
-
Instance and attached volumes will be created on the same physical host. This parameter will be taken into account only if volumes-per-node is set and non-zero
--volumes-locality-disable
-
Instance and attached volumes creation on the same physical host will not be regulated. This parameter will be takeninto account only if volumes-per-node is set and non-zero
--description <description>
-
Description of the node group template
--autoconfig-enable
-
Instances of the node group will be automatically configured
--autoconfig-disable
-
Instances of the node group will not be automatically configured
--proxy-gateway-enable
-
Instances of the node group will be used to access other instances in the cluster
--proxy-gateway-disable
-
Instances of the node group will not be used to access other instances in the cluster
--public
-
Make the node group template public (Visible from other tenants)
--private
-
Make the node group template private (Visible only from this tenant)
--protected
-
Make the node group template protected
--unprotected
-
Make the node group template unprotected
--json <filename>
-
JSON representation of the node group template update fields. Other arguments will not be taken into account if this one is provided
--shares <filename>
-
JSON representation of the manila shares
--configs <filename>
-
JSON representation of the node group template configs
openstack dataprocessing plugin configs get
usage: openstack dataprocessing plugin configs get [-h] [--file <file>]
<plugin> <plugin_version>
Get plugin configs
Positional arguments:
<plugin>
-
Name of the plugin to provide config information about
<plugin_version>
-
Version of the plugin to provide config information about
Optional arguments:
-h, --help
-
show this help message and exit
--file <file>
-
Destination file (defaults to plugin name)
openstack dataprocessing plugin list
usage: openstack dataprocessing plugin list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long]
Lists plugins
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
openstack dataprocessing plugin show
usage: openstack dataprocessing plugin show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--plugin-version <plugin_version>]
<plugin>
Display plugin details
Positional arguments:
<plugin>
-
Name of the plugin to display
Optional arguments:
-h, --help
-
show this help message and exit
--plugin-version <plugin_version>
-
Version of the plugin to display
openstack domain create
usage: openstack domain create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--description <description>]
[--enable | --disable] [--or-show]
<domain-name>
Create new domain
Positional arguments:
<domain-name>
-
New domain name
Optional arguments:
-h, --help
-
show this help message and exit
--description <description>
-
New domain description
--enable
-
Enable domain (default)
--disable
-
Disable domain
--or-show
-
Return existing domain
openstack domain delete
usage: openstack domain delete [-h] <domain>
Delete domain
Positional arguments:
<domain>
-
Domain to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack domain list
usage: openstack domain list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List domains
Optional arguments:
-h, --help
-
show this help message and exit
openstack domain set
usage: openstack domain set [-h] [--name <name>] [--description <description>]
[--enable | --disable]
<domain>
Set domain properties
Positional arguments:
<domain>
-
Domain to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New domain name
--description <description>
-
New domain description
--enable
-
Enable domain
--disable
-
Disable domain
openstack domain show
usage: openstack domain show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<domain>
Display domain details
Positional arguments:
<domain>
-
Domain to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack ec2 credentials create
usage: openstack ec2 credentials create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--project <project>] [--user <user>]
[--user-domain <user-domain>]
[--project-domain <project-domain>]
Create EC2 credentials
Optional arguments:
-h, --help
-
show this help message and exit
--project <project>
-
Create credentials in project (name or ID; default: current authenticated project)
--user <user>
-
Create credentials for user (name or ID; default: current authenticated user)
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack ec2 credentials delete
usage: openstack ec2 credentials delete [-h] [--user <user>]
[--user-domain <user-domain>]
<access-key>
Delete EC2 credentials
Positional arguments:
<access-key>
-
Credentials access key
Optional arguments:
-h, --help
-
show this help message and exit
--user <user>
-
Delete credentials for user (name or ID)
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
openstack ec2 credentials list
usage: openstack ec2 credentials list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--user <user>]
[--user-domain <user-domain>]
List EC2 credentials
Optional arguments:
-h, --help
-
show this help message and exit
--user <user>
-
Filter list by user (name or ID)
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
openstack ec2 credentials show
usage: openstack ec2 credentials show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--user <user>]
[--user-domain <user-domain>]
<access-key>
Display EC2 credentials details
Positional arguments:
<access-key>
-
Credentials access key
Optional arguments:
-h, --help
-
show this help message and exit
--user <user>
-
Show credentials for user (name or ID)
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
openstack endpoint create
usage: openstack endpoint create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--region <region-id>] [--enable | --disable]
<service> <interface> <url>
Create new endpoint
Positional arguments:
<service>
-
New endpoint service (name or ID)
<interface>
-
New endpoint interface type (admin, public or internal)
<url>
-
New endpoint URL
Optional arguments:
-h, --help
-
show this help message and exit
--region <region-id>
-
New endpoint region ID
--enable
-
Enable endpoint (default)
--disable
-
Disable endpoint
openstack endpoint delete
usage: openstack endpoint delete [-h] <endpoint-id>
Delete endpoint
Positional arguments:
<endpoint-id>
-
Endpoint ID to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack endpoint list
usage: openstack endpoint list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--service <service>] [--interface <interface>]
[--region <region-id>]
List endpoints
Optional arguments:
-h, --help
-
show this help message and exit
--service <service>
-
Filter by service
--interface <interface>
-
Filter by interface type (admin, public or internal)
--region <region-id>
-
Filter by region ID
openstack endpoint set
usage: openstack endpoint set [-h] [--region <region-id>]
[--interface <interface>] [--url <url>]
[--service <service>] [--enable | --disable]
<endpoint-id>
Set endpoint properties
Positional arguments:
<endpoint-id>
-
Endpoint ID to modify
Optional arguments:
-h, --help
-
show this help message and exit
--region <region-id>
-
New endpoint region ID
--interface <interface>
-
New endpoint interface type (admin, public or internal)
--url <url>
-
New endpoint URL
--service <service>
-
New endpoint service (name or ID)
--enable
-
Enable endpoint
--disable
-
Disable endpoint
openstack endpoint show
usage: openstack endpoint show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<endpoint>
Display endpoint details
Positional arguments:
<endpoint>
-
Endpoint to display (endpoint ID, service ID, service name, service type)
Optional arguments:
-h, --help
-
show this help message and exit
openstack extension list
usage: openstack extension list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--compute] [--identity] [--network]
[--volume] [--long]
List API extensions
Optional arguments:
-h, --help
-
show this help message and exit
--compute
-
List extensions for the Compute API
--identity
-
List extensions for the Identity API
--network
-
List extensions for the Network API
--volume
-
List extensions for the Block Storage API
--long
-
List additional fields in output
openstack federation domain list
usage: openstack federation domain list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List accessible domains
Optional arguments:
-h, --help
-
show this help message and exit
openstack federation project list
usage: openstack federation project list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List accessible projects
Optional arguments:
-h, --help
-
show this help message and exit
openstack federation protocol create
usage: openstack federation protocol create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
--identity-provider
<identity-provider> --mapping
<mapping>
<name>
Create new federation protocol
Positional arguments:
<name>
-
New federation protocol name (must be unique per identity provider)
Optional arguments:
-h, --help
-
show this help message and exit
--identity-provider <identity-provider>
-
Identity provider that will support the new federation protocol (name or ID) (required)
--mapping <mapping>
-
Mapping that is to be used (name or ID) (required)
openstack federation protocol delete
usage: openstack federation protocol delete [-h] --identity-provider
<identity-provider>
<federation-protocol>
Delete federation protocol
Positional arguments:
<federation-protocol>
-
Federation protocol to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--identity-provider <identity-provider>
-
Identity provider that supports <federation-protocol> (name or ID) (required)
openstack federation protocol list
usage: openstack federation protocol list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
--identity-provider
<identity-provider>
List federation protocols
Optional arguments:
-h, --help
-
show this help message and exit
--identity-provider <identity-provider>
-
Identity provider to list (name or ID) (required)
openstack federation protocol set
usage: openstack federation protocol set [-h] --identity-provider
<identity-provider>
[--mapping <mapping>]
<name>
Set federation protocol properties
Positional arguments:
<name>
-
Federation protocol to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--identity-provider <identity-provider>
-
Identity provider that supports <federation-protocol> (name or ID) (required)
--mapping <mapping>
-
Mapping that is to be used (name or ID)
openstack federation protocol show
usage: openstack federation protocol show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
--identity-provider
<identity-provider>
<federation-protocol>
Display federation protocol details
Positional arguments:
<federation-protocol>
-
Federation protocol to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--identity-provider <identity-provider>
-
Identity provider that supports <federation-protocol> (name or ID) (required)
openstack flavor create
usage: openstack flavor create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] [--id <id>]
[--ram <size-mb>] [--disk <size-gb>]
[--ephemeral <size-gb>] [--swap <size-gb>]
[--vcpus <vcpus>] [--rxtx-factor <factor>]
[--public | --private]
<flavor-name>
Create new flavor
Positional arguments:
<flavor-name>
-
New flavor name
Optional arguments:
-h, --help
-
show this help message and exit
--id <id>
-
Unique flavor ID; 'auto' creates a UUID (default: auto)
--ram <size-mb>
-
Memory size in MB (default 256M)
--disk <size-gb>
-
Disk size in GB (default 0G)
--ephemeral <size-gb>
-
Ephemeral disk size in GB (default 0G)
--swap <size-gb>
-
Swap space size in GB (default 0G)
--vcpus <vcpus>
-
Number of vcpus (default 1)
--rxtx-factor <factor>
-
RX/TX factor (default 1.0)
--public
-
Flavor is available to other projects (default)
--private
-
Flavor is not available to other projects
openstack flavor delete
usage: openstack flavor delete [-h] <flavor>
Delete flavor
Positional arguments:
<flavor>
-
Flavor to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack flavor list
usage: openstack flavor list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--public | --private | --all] [--long]
[--marker <marker>] [--limit <limit>]
List flavors
Optional arguments:
-h, --help
-
show this help message and exit
--public
-
List only public flavors (default)
--private
-
List only private flavors
--all
-
List all flavors, whether public or private
--long
-
List additional fields in output
--marker <marker>
-
The last flavor ID of the previous page
--limit <limit>
-
Maximum number of flavors to display
openstack flavor set
usage: openstack flavor set [-h] [--property <key=value>]
[--project <project>]
[--project-domain <project-domain>]
<flavor>
Set flavor properties
Positional arguments:
<flavor>
-
Flavor to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--property <key=value>
-
Property to add or modify for this flavor (repeat option to set multiple properties)
--project <project>
-
Set flavor access to project (name or ID) (admin only)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack flavor show
usage: openstack flavor show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<flavor>
Display flavor details
Positional arguments:
<flavor>
-
Flavor to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack flavor unset
usage: openstack flavor unset [-h] [--property <key>] [--project <project>]
[--project-domain <project-domain>]
<flavor>
Unset flavor properties
Positional arguments:
<flavor>
-
Flavor to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Property to remove from flavor (repeat option to unset multiple properties)
--project <project>
-
Remove flavor access from project (name or ID) (admin only)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack group add user
usage: openstack group add user [-h] [--group-domain <group-domain>]
[--user-domain <user-domain>]
<group> <user>
Add user to group
Positional arguments:
<group>
-
Group to contain <user> (name or ID)
<user>
-
User to add to <group> (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--group-domain <group-domain>
-
Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
openstack group contains user
usage: openstack group contains user [-h] [--group-domain <group-domain>]
[--user-domain <user-domain>]
<group> <user>
Check user membership in group
Positional arguments:
<group>
-
Group to check (name or ID)
<user>
-
User to check (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--group-domain <group-domain>
-
Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
openstack group create
usage: openstack group create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--domain <domain>]
[--description <description>] [--or-show]
<group-name>
Create new group
Positional arguments:
<group-name>
-
New group name
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Domain to contain new group (name or ID)
--description <description>
-
New group description
--or-show
-
Return existing group
openstack group delete
usage: openstack group delete [-h] [--domain <domain>] <group> [<group> ...]
Delete group(s)
Positional arguments:
<group>
-
Group(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Domain containing group(s) (name or ID)
openstack group list
usage: openstack group list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--domain <domain>] [--user <user>]
[--user-domain <user-domain>] [--long]
List groups
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Filter group list by <domain> (name or ID)
--user <user>
-
Filter group list by <user> (name or ID)
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
--long
-
List additional fields in output
openstack group remove user
usage: openstack group remove user [-h] [--group-domain <group-domain>]
[--user-domain <user-domain>]
<group> <user>
Remove user from group
Positional arguments:
<group>
-
Group containing <user> (name or ID)
<user>
-
User to remove from <group> (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--group-domain <group-domain>
-
Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
openstack group set
usage: openstack group set [-h] [--domain <domain>] [--name <name>]
[--description <description>]
<group>
Set group properties
Positional arguments:
<group>
-
Group to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Domain containing <group> (name or ID)
--name <name>
-
New group name
--description <description>
-
New group description
openstack group show
usage: openstack group show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--domain <domain>]
<group>
Display group details
Positional arguments:
<group>
-
Group to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Domain containing <group> (name or ID)
openstack host list
usage: openstack host list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--zone <zone>]
List host command
Optional arguments:
-h, --help
-
show this help message and exit
--zone <zone>
-
Only return hosts in the availability zone
openstack host set
usage: openstack host set [-h] [--enable | --disable]
[--enable-maintenance | --disable-maintenance]
<host>
Set host properties
Positional arguments:
<host>
-
The host to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--enable
-
Enable the host
--disable
-
Disable the host
--enable-maintenance
-
Enable maintenance mode for the host
--disable-maintenance
-
Disable maintenance mode for the host
openstack host show
usage: openstack host show [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
<host>
Show host command
Positional arguments:
<host>
-
Name of host
Optional arguments:
-h, --help
-
show this help message and exit
openstack hypervisor list
usage: openstack hypervisor list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--matching <hostname>]
List hypervisors
Optional arguments:
-h, --help
-
show this help message and exit
--matching <hostname>
-
Filter hypervisors using <hostname> substring
openstack hypervisor show
usage: openstack hypervisor show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<hypervisor>
Display hypervisor details
Positional arguments:
<hypervisor>
-
Hypervisor to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack hypervisor stats show
usage: openstack hypervisor stats show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
Display hypervisor stats details
Optional arguments:
-h, --help
-
show this help message and exit
openstack identity provider create
usage: openstack identity provider create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--remote-id <remote-id> | --remote-id-file <file-name>]
[--description <description>]
[--enable | --disable]
<name>
Create new identity provider
Positional arguments:
<name>
-
New identity provider name (must be unique)
Optional arguments:
-h, --help
-
show this help message and exit
--remote-id <remote-id>
-
Remote IDs to associate with the Identity Provider (repeat option to provide multiple values)
--remote-id-file <file-name>
-
Name of a file that contains many remote IDs to associate with the identity provider, one per line
--description <description>
-
New identity provider description
--enable
-
Enable identity provider (default)
--disable
-
Disable the identity provider
openstack identity provider delete
usage: openstack identity provider delete [-h] <identity-provider>
Delete identity provider
Positional arguments:
<identity-provider>
-
Identity provider to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack identity provider list
usage: openstack identity provider list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List identity providers
Optional arguments:
-h, --help
-
show this help message and exit
openstack identity provider set
usage: openstack identity provider set [-h] [--description <description>]
[--remote-id <remote-id> | --remote-id-file <file-name>]
[--enable | --disable]
<identity-provider>
Set identity provider properties
Positional arguments:
<identity-provider>
-
Identity provider to modify
Optional arguments:
-h, --help
-
show this help message and exit
--description <description>
-
Set identity provider description
--remote-id <remote-id>
-
Remote IDs to associate with the Identity Provider (repeat option to provide multiple values)
--remote-id-file <file-name>
-
Name of a file that contains many remote IDs to associate with the identity provider, one per line
--enable
-
Enable the identity provider
--disable
-
Disable the identity provider
openstack identity provider show
usage: openstack identity provider show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<identity-provider>
Display identity provider details
Positional arguments:
<identity-provider>
-
Identity provider to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack image add project
usage: openstack image add project [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--project-domain <project-domain>]
<image> <project>
Associate project with image
Positional arguments:
<image>
-
Image to share (name or ID)
<project>
-
Project to associate with image (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack image create
usage: openstack image create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--id <id>]
[--container-format <container-format>]
[--disk-format <disk-format>]
[--min-disk <disk-gb>] [--min-ram <ram-mb>]
[--file <file>] [--volume <volume>] [--force]
[--protected | --unprotected]
[--public | --private] [--property <key=value>]
[--tag <tag>] [--project <project>]
[--project-domain <project-domain>]
<image-name>
Create/upload an image
Positional arguments:
<image-name>
-
New image name
Optional arguments:
-h, --help
-
show this help message and exit
--id <id>
-
Image ID to reserve
--container-format <container-format>
-
Image container format (default: bare)
--disk-format <disk-format>
-
Image disk format (default: raw)
--min-disk <disk-gb>
-
Minimum disk size needed to boot image, in gigabytes
--min-ram <ram-mb>
-
Minimum RAM size needed to boot image, in megabytes
--file <file>
-
Upload image from local file
--volume <volume>
-
Create image from a volume
--force
-
Force image creation if volume is in use (only meaningful with
--volume)
--protected
-
Prevent image from being deleted
--unprotected
-
Allow image to be deleted (default)
--public
-
Image is accessible to the public
--private
-
Image is inaccessible to the public (default)
--property <key=value>
-
Set a property on this image (repeat option to set multiple properties)
--tag <tag>
-
Set a tag on this image (repeat option to set multiple tags)
--project <project>
-
Set an alternate project on this image (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack image delete
usage: openstack image delete [-h] <image> [<image> ...]
Delete image(s)
Positional arguments:
<image>
-
Image(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack image list
usage: openstack image list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--public | --private | --shared]
[--property <key=value>] [--long]
[--sort <key>[:<direction>]] [--limit <limit>]
[--marker <marker>]
List available images
Optional arguments:
-h, --help
-
show this help message and exit
--public
-
List only public images
--private
-
List only private images
--shared
-
List only shared images
--property <key=value>
-
Filter output based on property
--long
-
List additional fields in output
--sort <key>[:<direction>]
-
Sort output by selected keys and directions(asc or desc) (default: asc), multiple keys and directions can be specified separated by comma
--limit <limit>
-
Maximum number of images to display.
--marker <marker>
-
The last image (name or ID) of the previous page. Display list of images after marker. Display all images if not specified.
openstack image remove project
usage: openstack image remove project [-h] [--project-domain <project-domain>]
<image> <project>
Disassociate project with image
Positional arguments:
<image>
-
Image to unshare (name or ID)
<project>
-
Project to disassociate with image (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack image save
usage: openstack image save [-h] [--file <filename>] <image>
Save an image locally
Positional arguments:
<image>
-
Image to save (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--file <filename>
-
Downloaded image save filename (default: stdout)
openstack image set
usage: openstack image set [-h] [--name <name>] [--min-disk <disk-gb>]
[--min-ram <ram-mb>]
[--container-format <container-format>]
[--disk-format <disk-format>]
[--protected | --unprotected]
[--public | --private] [--property <key=value>]
[--tag <tag>] [--architecture <architecture>]
[--instance-id <instance-id>]
[--kernel-id <kernel-id>] [--os-distro <os-distro>]
[--os-version <os-version>]
[--ramdisk-id <ramdisk-id>]
[--deactivate | --activate] [--project <project>]
[--project-domain <project-domain>]
<image>
Set image properties
Positional arguments:
<image>
-
Image to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New image name
--min-disk <disk-gb>
-
Minimum disk size needed to boot image, in gigabytes
--min-ram <ram-mb>
-
Minimum RAM size needed to boot image, in megabytes
--container-format <container-format>
-
Image container format (default: bare)
--disk-format <disk-format>
-
Image disk format (default: raw)
--protected
-
Prevent image from being deleted
--unprotected
-
Allow image to be deleted (default)
--public
-
Image is accessible to the public
--private
-
Image is inaccessible to the public (default)
--property <key=value>
-
Set a property on this image (repeat option to set multiple properties)
--tag <tag>
-
Set a tag on this image (repeat option to set multiple tags)
--architecture <architecture>
-
Operating system architecture
--instance-id <instance-id>
-
ID of server instance used to create this image
--kernel-id <kernel-id>
-
ID of kernel image used to boot this disk image
--os-distro <os-distro>
-
Operating system distribution name
--os-version <os-version>
-
Operating system distribution version
--ramdisk-id <ramdisk-id>
-
ID of ramdisk image used to boot this disk image
--deactivate
-
Deactivate the image
--activate
-
Activate the image
--project <project>
-
Set an alternate project on this image (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack image show
usage: openstack image show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<image>
Display image details
Positional arguments:
<image>
-
Image to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack image unset
usage: openstack image unset [-h] [--tag <tag>] [--property <property_key>]
<image>
Unset image tags and properties
Positional arguments:
<image>
-
Image to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--tag <tag>
-
Unset a tag on this image (repeat option to set multiple tags)
--property <property_key>
-
Unset a property on this image (repeat option to set multiple properties)
openstack ip availability list
usage: openstack ip availability list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--ip-version <ip-version>]
[--project <project>]
[--project-domain <project-domain>]
List IP availability for network
Optional arguments:
-h, --help
-
show this help message and exit
--ip-version <ip-version>
-
List IP availability of given IP version networks
--project <project>
-
List IP availability of given project
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack ip availability show
usage: openstack ip availability show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<network>
Show network IP availability details
Positional arguments:
<network>
-
Show IP availability for a specific network (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack ip fixed add
usage: openstack ip fixed add [-h] <network> <server>
Add fixed IP address to server
Positional arguments:
<network>
-
Network to fetch an IP address from (name or ID)
<server>
-
Server to receive the IP address (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack ip fixed remove
usage: openstack ip fixed remove [-h] <ip-address> <server>
Remove fixed IP address from server
Positional arguments:
<ip-address>
-
IP address to remove from server (name only)
<server>
-
Server to remove the IP address from (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack ip floating add
usage: openstack ip floating add [-h] <ip-address> <server>
Add floating IP address to server
Positional arguments:
<ip-address>
-
IP address to add to server (name only)
<server>
-
Server to receive the IP address (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack ip floating create
usage: openstack ip floating create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<network>
Create floating IP
Positional arguments:
<network>
-
Network to allocate floating IP from (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack ip floating delete
usage: openstack ip floating delete [-h] <floating-ip>
Delete floating IP
Positional arguments:
<floating-ip>
-
Floating IP to delete (IP address or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack ip floating list
usage: openstack ip floating list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List floating IP(s)
Optional arguments:
-h, --help
-
show this help message and exit
openstack ip floating pool list
usage: openstack ip floating pool list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List pools of floating IP addresses
Optional arguments:
-h, --help
-
show this help message and exit
openstack ip floating remove
usage: openstack ip floating remove [-h] <ip-address> <server>
Remove floating IP address from server
Positional arguments:
<ip-address>
-
IP address to remove from server (name only)
<server>
-
Server to remove the IP address from (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack ip floating show
usage: openstack ip floating show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<floating-ip>
Show floating IP details
Positional arguments:
<floating-ip>
-
Floating IP to display (IP address or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack keypair create
usage: openstack keypair create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--public-key <file>]
<name>
Create new public key
Positional arguments:
<name>
-
New public key name
Optional arguments:
-h, --help
-
show this help message and exit
--public-key <file>
-
Filename for public key to add
openstack keypair delete
usage: openstack keypair delete [-h] <key>
Delete public key
Positional arguments:
<key>
-
Public key to delete (name only)
Optional arguments:
-h, --help
-
show this help message and exit
openstack keypair list
usage: openstack keypair list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List public key fingerprints
Optional arguments:
-h, --help
-
show this help message and exit
openstack keypair show
usage: openstack keypair show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--public-key]
<key>
Display public key details
Positional arguments:
<key>
-
Public key to display (name only)
Optional arguments:
-h, --help
-
show this help message and exit
--public-key
-
Show only bare public key
openstack limits show
usage: openstack limits show [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
(--absolute | --rate) [--reserved]
[--project <project>] [--domain <domain>]
Show compute and block storage limits
Optional arguments:
-h, --help
-
show this help message and exit
--absolute
-
Show absolute limits
--rate
-
Show rate limits
--reserved
-
Include reservations count [only valid with
--absolute]
--project <project>
-
Show limits for a specific project (name or ID) [only valid with
--absolute]
--domain <domain>
-
Domain the project belongs to (name or ID) [only valid with
--absolute]
openstack mapping create
usage: openstack mapping create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] --rules
<filename>
<name>
Create new mapping
Positional arguments:
<name>
-
New mapping name (must be unique)
Optional arguments:
-h, --help
-
show this help message and exit
--rules <filename>
-
Filename that contains a set of mapping rules (required)
openstack mapping delete
usage: openstack mapping delete [-h] <mapping>
Delete mapping
Positional arguments:
<mapping>
-
Mapping to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack mapping list
usage: openstack mapping list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List mappings
Optional arguments:
-h, --help
-
show this help message and exit
openstack mapping set
usage: openstack mapping set [-h] [--rules <filename>] <name>
Set mapping properties
Positional arguments:
<name>
-
Mapping to modify
Optional arguments:
-h, --help
-
show this help message and exit
--rules <filename>
-
Filename that contains a new set of mapping rules
openstack mapping show
usage: openstack mapping show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<mapping>
Display mapping details
Positional arguments:
<mapping>
-
Mapping to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack messaging flavor create
usage: openstack messaging flavor create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--capabilities <capabilities>]
<flavor_name> <pool_group>
Create a pool flavor
Positional arguments:
<flavor_name>
-
Name of the flavor
<pool_group>
-
Pool group for flavor
Optional arguments:
-h, --help
-
show this help message and exit
--capabilities <capabilities>
-
Describes flavor-specific capabilities, This option is only available in client api version < 2 .
openstack messaging flavor delete
usage: openstack messaging flavor delete [-h] <flavor_name>
Delete a flavor
Positional arguments:
<flavor_name>
-
Name of the flavor
Optional arguments:
-h, --help
-
show this help message and exit
openstack messaging flavor list
usage: openstack messaging flavor list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--marker <flavor_name>]
[--limit <limit>]
[--detailed <detailed>]
List available flavors
Optional arguments:
-h, --help
-
show this help message and exit
--marker <flavor_name>
-
Flavor's paging marker
--limit <limit>
-
Page size limit
--detailed <detailed>
-
If show detailed capabilities of flavor
openstack messaging flavor show
usage: openstack messaging flavor show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<flavor_name>
Display flavor details
Positional arguments:
<flavor_name>
-
Flavor to display (name)
Optional arguments:
-h, --help
-
show this help message and exit
openstack messaging flavor update
usage: openstack messaging flavor update [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--pool_group <pool_group>]
[--capabilities <capabilities>]
<flavor_name>
Update a flavor's attributes
Positional arguments:
<flavor_name>
-
Name of the flavor
Optional arguments:
-h, --help
-
show this help message and exit
--pool_group <pool_group>
-
Pool group the flavor sits on
--capabilities <capabilities>
-
Describes flavor-specific capabilities.
openstack module list
usage: openstack module list [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--all]
List module versions
Optional arguments:
-h, --help
-
show this help message and exit
--all
-
Show all modules that have version information
openstack network create
usage: openstack network create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--share | --no-share] [--subnet <subnet>]
<name>
Create new network
Positional arguments:
<name>
-
New network name
Optional arguments:
-h, --help
-
show this help message and exit
--share
-
Share the network between projects
--no-share
-
Do not share the network between projects
--subnet <subnet>
-
IPv4 subnet for fixed IPs (in CIDR notation)
openstack network delete
usage: openstack network delete [-h] <network> [<network> ...]
Delete network(s)
Positional arguments:
<network>
-
Network(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack network list
usage: openstack network list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--external] [--long]
List networks
Optional arguments:
-h, --help
-
show this help message and exit
--external
-
List external networks
--long
-
List additional fields in output
openstack network segment list
usage: openstack network segment list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long] [--network <network>]
List network segments (Caution: This is a beta command and subject to
change. Use global option --os-beta-command
to enable this command)
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--network <network>
-
List network segments that belong to this network (name or ID)
openstack network segment show
usage: openstack network segment show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<network-segment>
Display network segment details (Caution: This is a beta command and
subject to change. Use global option --os-beta-command
to enable this command)
Positional arguments:
<network-segment>
-
Network segment to display (ID only)
Optional arguments:
-h, --help
-
show this help message and exit
openstack network set
usage: openstack network set [-h] [--name <name>] [--enable | --disable]
[--share | --no-share] [--external | --internal]
[--default | --no-default]
[--provider-network-type <provider-network-type>]
[--provider-physical-network <provider-physical-network>]
[--provider-segment <provider-segment>]
[--transparent-vlan | --no-transparent-vlan]
<network>
Set network properties
Positional arguments:
<network>
-
Network to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Set network name
--enable
-
Enable network
--disable
-
Disable network
--share
-
Share the network between projects
--no-share
-
Do not share the network between projects
--external
-
Set this network as an external network (external-net extension required)
--internal
-
Set this network as an internal network
--default
-
Set the network as the default external network
--no-default
-
Do not use the network as the default external network
--provider-network-type <provider-network-type>
-
The physical mechanism by which the virtual network is implemented. The supported options are: flat, gre, local, vlan, vxlan
--provider-physical-network <provider-physical-network>
-
Name of the physical network over which the virtual network is implemented
--provider-segment <provider-segment>
-
VLAN ID for VLAN networks or Tunnel ID for GRE/VXLAN networks
--transparent-vlan
-
Make the network VLAN transparent
--no-transparent-vlan
-
Do not make the network VLAN transparent
openstack network show
usage: openstack network show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<network>
Show network details
Positional arguments:
<network>
-
Network to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack object create
usage: openstack object create [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<container> <filename> [<filename> ...]
Upload object to container
Positional arguments:
<container>
-
Container for new object
<filename>
-
Local filename(s) to upload
Optional arguments:
-h, --help
-
show this help message and exit
openstack object delete
usage: openstack object delete [-h] <container> <object> [<object> ...]
Delete object from container
Positional arguments:
<container>
-
Delete object(s) from <container>
<object>
-
Object(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack object list
usage: openstack object list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--prefix <prefix>] [--delimiter <delimiter>]
[--marker <marker>] [--end-marker <end-marker>]
[--limit <limit>] [--long] [--all]
<container>
List objects
Positional arguments:
<container>
-
Container to list
Optional arguments:
-h, --help
-
show this help message and exit
--prefix <prefix>
-
Filter list using <prefix>
--delimiter <delimiter>
-
Roll up items with <delimiter>
--marker <marker>
-
Anchor for paging
--end-marker <end-marker>
-
End anchor for paging
--limit <limit>
-
Limit the number of objects returned
--long
-
List additional fields in output
--all
-
List all objects in container (default is 10000)
openstack object save
usage: openstack object save [-h] [--file <filename>] <container> <object>
Save object locally
Positional arguments:
<container>
-
Download <object> from <container>
<object>
-
Object to save
Optional arguments:
-h, --help
-
show this help message and exit
--file <filename>
-
Destination filename (defaults to object name)
openstack object set
usage: openstack object set [-h] --property <key=value> <container> <object>
Set object properties
Positional arguments:
<container>
-
Modify <object> from <container>
<object>
-
Object to modify
Optional arguments:
-h, --help
-
show this help message and exit
--property <key=value>
-
Set a property on this object (repeat option to set multiple properties)
openstack object show
usage: openstack object show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<container> <object>
Display object details
Positional arguments:
<container>
-
Display <object> from <container>
<object>
-
Object to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack object store account set
usage: openstack object store account set [-h] --property <key=value>
Set account properties
Optional arguments:
-h, --help
-
show this help message and exit
--property <key=value>
-
Set a property on this account (repeat option to set multiple properties)
openstack object store account show
usage: openstack object store account show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
Display account details
Optional arguments:
-h, --help
-
show this help message and exit
openstack object store account unset
usage: openstack object store account unset [-h] --property <key>
Unset account properties
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Property to remove from account (repeat option to remove multiple properties)
openstack object unset
usage: openstack object unset [-h] --property <key> <container> <object>
Unset object properties
Positional arguments:
<container>
-
Modify <object> from <container>
<object>
-
Object to modify
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Property to remove from object (repeat option to remove multiple properties)
openstack orchestration build info
usage: openstack orchestration build info [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
Retrieve build information.
Optional arguments:
-h, --help
-
show this help message and exit
openstack orchestration resource type list
usage: openstack orchestration resource type list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--filter <key=value>]
List resource types.
Optional arguments:
-h, --help
-
show this help message and exit
--filter <key=value>
-
Filter parameters to apply on returned resource types. This can be specified multiple times. It can be any of name, version or support_status
openstack orchestration resource type show
usage: openstack orchestration resource type show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX]
[--template-type <template-type>]
<resource-type>
Show details and optionally generate a template for a resource type.
Positional arguments:
<resource-type>
-
Resource type to show details for
Optional arguments:
-h, --help
-
show this help message and exit
--template-type <template-type>
-
Optional template type to generate, hot or cfn
openstack orchestration service list
usage: openstack orchestration service list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List the Heat engines.
Optional arguments:
-h, --help
-
show this help message and exit
openstack orchestration template function list
usage: openstack orchestration template function list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<template-version>
List the available functions.
Positional arguments:
<template-version>
-
Template version to get the functions for
Optional arguments:
-h, --help
-
show this help message and exit
openstack orchestration template validate
usage: openstack orchestration template validate [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--prefix PREFIX] -t
<template> [-e <environment>]
[--show-nested]
[--parameter <key=value>]
[--ignore-errors <error1,error2,...>]
Validate a template
Optional arguments:
-h, --help
-
show this help message and exit
-t <template>, --template <template>
-
Path to the template
-e <environment>, --environment <environment>
-
Path to the environment. Can be specified multiple times
--show-nested
-
Resolve parameters from nested templates as well
--parameter <key=value>
-
Parameter values used to create the stack. This can be specified multiple times
--ignore-errors <error1,error2,...>
-
List of heat errors to ignore
openstack orchestration template version list
usage: openstack orchestration template version list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List the available template versions.
Optional arguments:
-h, --help
-
show this help message and exit
openstack policy create
usage: openstack policy create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] [--type <type>]
<filename>
Create new policy
Positional arguments:
<filename>
-
New serialized policy rules file
Optional arguments:
-h, --help
-
show this help message and exit
--type <type>
-
New MIME type of the policy rules file (defaults to application/json)
openstack policy delete
usage: openstack policy delete [-h] <policy>
Delete policy
Positional arguments:
<policy>
-
Policy to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack policy list
usage: openstack policy list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}] [--long]
List policies
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
openstack policy set
usage: openstack policy set [-h] [--type <type>] [--rules <filename>] <policy>
Set policy properties
Positional arguments:
<policy>
-
Policy to modify
Optional arguments:
-h, --help
-
show this help message and exit
--type <type>
-
New MIME type of the policy rules file
--rules <filename>
-
New serialized policy rules file
openstack policy show
usage: openstack policy show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<policy>
Display policy details
Positional arguments:
<policy>
-
Policy to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack pool create
usage: openstack pool create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--pool_group <pool_group>]
[--pool_options <pool_options>]
<pool_name> <pool_uri> <pool_weight>
Create a pool
Positional arguments:
<pool_name>
-
Name of the pool
<pool_uri>
-
Storage engine URI
<pool_weight>
-
weight of the pool
Optional arguments:
-h, --help
-
show this help message and exit
--pool_group <pool_group>
-
Group of the pool
--pool_options <pool_options>
-
An optional request component related to storage-specific options
openstack pool delete
usage: openstack pool delete [-h] <pool_name>
Delete a pool
Positional arguments:
<pool_name>
-
Name of the pool
Optional arguments:
-h, --help
-
show this help message and exit
openstack pool list
usage: openstack pool list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--marker <pool_name>] [--limit <limit>]
[--detailed <detailed>]
List available Pools
Optional arguments:
-h, --help
-
show this help message and exit
--marker <pool_name>
-
Pool's paging marker
--limit <limit>
-
Page size limit
--detailed <detailed>
-
Detailed output
openstack pool show
usage: openstack pool show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<pool_name>
Display pool details
Positional arguments:
<pool_name>
-
Pool to display (name)
Optional arguments:
-h, --help
-
show this help message and exit
openstack pool update
usage: openstack pool update [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--pool_uri <pool_uri>]
[--pool_weight <pool_weight>]
[--pool_group <pool_group>]
[--pool_options <pool_options>]
<pool_name>
Update a pool attribute
Positional arguments:
<pool_name>
-
Name of the pool
Optional arguments:
-h, --help
-
show this help message and exit
--pool_uri <pool_uri>
-
Storage engine URI
--pool_weight <pool_weight>
-
Weight of the pool
--pool_group <pool_group>
-
Group of the pool
--pool_options <pool_options>
-
An optional request component related to storage-specific options
openstack port create
usage: openstack port create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] --network <network>
[--device <device-id>]
[--device-owner <device-owner>]
[--vnic-type <vnic-type>] [--host <host-id>]
[--fixed-ip subnet=<subnet>,ip-address=<ip-address>]
[--binding-profile <binding-profile>]
[--enable | --disable]
[--mac-address <mac-address>]
[--project <project>]
[--project-domain <project-domain>]
<name>
Create a new port
Positional arguments:
<name>
-
Name of this port
Optional arguments:
-h, --help
-
show this help message and exit
--network <network>
-
Network this port belongs to (name or ID)
--device <device-id>
-
Port device ID
--device-owner <device-owner>
-
Device owner of this port
--vnic-type <vnic-type>
-
VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal, default: normal)
--host <host-id>
-
Allocate port on host <host-id> (ID only)
--fixed-ip
-
subnet=<subnet>,ip-address=<ip-address> Desired IP and/or subnet (name or ID) for this port: subnet=<subnet>,ip-address=<ip-address> (repeat option to set multiple fixed IP addresses)
--binding-profile <binding-profile>
-
Custom data to be passed as binding:profile: <key>=<value> (repeat option to set multiple binding:profile data)
--enable
-
Enable port (default)
--disable
-
Disable port
--mac-address <mac-address>
-
MAC address of this port
--project <project>
-
Owner's project (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack port delete
usage: openstack port delete [-h] <port> [<port> ...]
Delete port(s)
Positional arguments:
<port>
-
Port(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack port list
usage: openstack port list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--router <router>]
List ports
Optional arguments:
-h, --help
-
show this help message and exit
--router <router>
-
List only ports attached to this router (name or ID)
openstack port set
usage: openstack port set [-h] [--device <device-id>]
[--device-owner <device-owner>]
[--vnic-type <vnic-type>] [--host <host-id>]
[--enable | --disable] [--name <name>]
[--fixed-ip subnet=<subnet>,ip-address=<ip-address> | --no-fixed-ip]
[--binding-profile <binding-profile> | --no-binding-profile]
<port>
Set port properties
Positional arguments:
<port>
-
Port to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--device <device-id>
-
Port device ID
--device-owner <device-owner>
-
Device owner of this port
--vnic-type <vnic-type>
-
VNIC type for this port (direct | direct-physical | macvtap | normal | baremetal, default: normal)
--host <host-id>
-
Allocate port on host <host-id> (ID only)
--enable
-
Enable port
--disable
-
Disable port
--name <name>
-
Set port name
--fixed-ip
-
subnet=<subnet>,ip-address=<ip-address> Desired IP and/or subnet (name or ID) for this port: subnet=<subnet>,ip-address=<ip-address> (repeat option to set multiple fixed IP addresses)
--no-fixed-ip
-
Clear existing information of fixed IP addresses
--binding-profile <binding-profile>
-
Custom data to be passed as binding:profile: <key>=<value> (repeat option to set multiple binding:profile data)
--no-binding-profile
-
Clear existing information of binding:profile
openstack port show
usage: openstack port show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<port>
Display port details
Positional arguments:
<port>
-
Port to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack project create
usage: openstack project create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--domain <domain>] [--parent <project>]
[--description <description>]
[--enable | --disable]
[--property <key=value>] [--or-show]
<project-name>
Create new project
Positional arguments:
<project-name>
-
New project name
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Domain owning the project (name or ID)
--parent <project>
-
Parent of the project (name or ID)
--description <description>
-
Project description
--enable
-
Enable project
--disable
-
Disable project
--property <key=value>
-
Add a property to <name> (repeat option to set multiple properties)
--or-show
-
Return existing project
openstack project delete
usage: openstack project delete [-h] [--domain <domain>]
<project> [<project> ...]
Delete project(s)
Positional arguments:
<project>
-
Project(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Domain owning <project> (name or ID)
openstack project list
usage: openstack project list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--domain <domain>] [--user <user>] [--long]
List projects
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Filter projects by <domain> (name or ID)
--user <user>
-
Filter projects by <user> (name or ID)
--long
-
List additional fields in output
openstack project set
usage: openstack project set [-h] [--name <name>] [--domain <domain>]
[--description <description>]
[--enable | --disable] [--property <key=value>]
<project>
Set project properties
Positional arguments:
<project>
-
Project to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Set project name
--domain <domain>
-
Domain owning <project> (name or ID)
--description <description>
-
Set project description
--enable
-
Enable project
--disable
-
Disable project
--property <key=value>
-
Set a property on <project> (repeat option to set multiple properties)
openstack project show
usage: openstack project show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--domain <domain>]
[--parents] [--children]
<project>
Display project details
Positional arguments:
<project>
-
Project to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Domain owning <project> (name or ID)
--parents
-
Show the project's parents as a list
--children
-
Show project's subtree (children) as a list
openstack ptr record list
usage: openstack ptr record list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List floatingip ptr records
Optional arguments:
-h, --help
-
show this help message and exit
openstack ptr record set
usage: openstack ptr record set [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--description DESCRIPTION | --no-description]
[--ttl TTL | --no-ttl]
floatingip_id ptrdname
Set floatingip ptr record
Positional arguments:
floatingip_id
-
Floating IP ID
ptrdname
-
PTRD Name
Optional arguments:
-h, --help
-
show this help message and exit
--description DESCRIPTION
-
Description
--no-description
--ttl TTL
-
TTL
--no-ttl
openstack ptr record show
usage: openstack ptr record show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
floatingip_id
Show floatingip ptr record details
Positional arguments:
floatingip_id
-
Floating IP ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack ptr record unset
usage: openstack ptr record unset [-h] floatingip_id
Unset floatingip ptr record
Positional arguments:
floatingip_id
-
Floating IP ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack queue create
usage: openstack queue create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<queue_name>
Create a queue
Positional arguments:
<queue_name>
-
Name of the queue
Optional arguments:
-h, --help
-
show this help message and exit
openstack queue delete
usage: openstack queue delete [-h] <queue_name>
Delete a queue
Positional arguments:
<queue_name>
-
Name of the queue
Optional arguments:
-h, --help
-
show this help message and exit
openstack queue exists
usage: openstack queue exists [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<queue_name>
Check queue existence
Positional arguments:
<queue_name>
-
Name of the queue
Optional arguments:
-h, --help
-
show this help message and exit
openstack queue get metadata
usage: openstack queue get metadata [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<queue_name>
Get queue metadata
Positional arguments:
<queue_name>
-
Name of the queue
Optional arguments:
-h, --help
-
show this help message and exit
openstack queue list
usage: openstack queue list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--marker <queue_id>] [--limit <limit>]
List available queues
Optional arguments:
-h, --help
-
show this help message and exit
--marker <queue_id>
-
Queue's paging marker
--limit <limit>
-
Page size limit
openstack queue set metadata
usage: openstack queue set metadata [-h] <queue_name> <queue_metadata>
Set queue metadata
Positional arguments:
<queue_name>
-
Name of the queue
<queue_metadata>
-
Queue metadata
Optional arguments:
-h, --help
-
show this help message and exit
openstack queue stats
usage: openstack queue stats [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<queue_name>
Get queue stats
Positional arguments:
<queue_name>
-
Name of the queue
Optional arguments:
-h, --help
-
show this help message and exit
openstack quota set
usage: openstack quota set [-h] [--class]
[--injected-file-size <injected-file-size>]
[--instances <instances>]
[--properties <properties>]
[--injected-files <injected-files>]
[--cores <cores>] [--ram <ram>]
[--fixed-ips <fixed-ips>]
[--injected-path-size <injected-path-size>]
[--key-pairs <key-pairs>] [--gigabytes <gigabytes>]
[--volumes <volumes>] [--snapshots <snapshots>]
[--secgroups <secgroups>]
[--floating-ips <floating-ips>]
[--secgroup-rules <secgroup-rules>]
[--volume-type <volume-type>]
<project/class>
Set quotas for project or class
Positional arguments:
<project/class>
-
Set quotas for this project or class (name/ID)
Optional arguments:
-h, --help
-
show this help message and exit
--class
-
Set quotas for <class>
--injected-file-size <injected-file-size>
-
New value for the injected-file-size quota
--instances <instances>
-
New value for the instances quota
--properties <properties>
-
New value for the properties quota
--injected-files <injected-files>
-
New value for the injected-files quota
--cores <cores>
-
New value for the cores quota
--ram <ram>
-
New value for the ram quota
--fixed-ips <fixed-ips>
-
New value for the fixed-ips quota
--injected-path-size <injected-path-size>
-
New value for the injected-path-size quota
--key-pairs <key-pairs>
-
New value for the key-pairs quota
--gigabytes <gigabytes>
-
New value for the gigabytes quota
--volumes <volumes>
-
New value for the volumes quota
--snapshots <snapshots>
-
New value for the snapshots quota
--secgroups <secgroups>
-
New value for the secgroups quota
--floating-ips <floating-ips>
-
New value for the floating-ips quota
--secgroup-rules <secgroup-rules>
-
New value for the secgroup-rules quota
--volume-type <volume-type>
-
Set quotas for a specific <volume-type>
openstack quota show
usage: openstack quota show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--class | --default]
[<project/class>]
Show quotas for project or class
Positional arguments:
<project/class>
-
Show quotas for this project or class (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--class
-
Show quotas for <class>
--default
-
Show default quotas for <project>
openstack recordset create
usage: openstack recordset create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] --records
RECORDS [RECORDS ...] --type TYPE
[--ttl TTL] [--description DESCRIPTION]
zone_id name
Create new recordset
Positional arguments:
zone_id
-
Zone ID
name
-
RecordSet Name
Optional arguments:
-h, --help
-
show this help message and exit
--records RECORDS [RECORDS ...]
-
RecordSet Records
--type TYPE
-
RecordSet Type
--ttl TTL
-
Time To Live (Seconds)
--description DESCRIPTION
-
Description
openstack recordset delete
usage: openstack recordset delete [-h] zone_id id
Delete recordset
Positional arguments:
zone_id
-
Zone ID
id
-
RecordSet ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack recordset list
usage: openstack recordset list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--name NAME] [--type TYPE] [--data DATA]
[--ttl TTL] [--description DESCRIPTION]
[--status STATUS] [--action ACTION]
zone_id
List recordsets
Positional arguments:
zone_id
-
Zone ID
Optional arguments:
-h, --help
-
show this help message and exit
--name NAME
-
RecordSet Name
--type TYPE
-
RecordSet Type
--data DATA
-
RecordSet Record Data
--ttl TTL
-
Time To Live (Seconds)
--description DESCRIPTION
-
Description
--status STATUS
-
RecordSet Status
--action ACTION
-
RecordSet Action
openstack recordset set
usage: openstack recordset set [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--records RECORDS [RECORDS ...]]
[--description DESCRIPTION | --no-description]
[--ttl TTL | --no-ttl]
zone_id id
Set recordset properties
Positional arguments:
zone_id
-
Zone ID
id
-
RecordSet ID
Optional arguments:
-h, --help
-
show this help message and exit
--records RECORDS [RECORDS ...]
-
Records
--description DESCRIPTION
-
Description
--no-description
--ttl TTL
-
TTL
--no-ttl
openstack recordset show
usage: openstack recordset show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
zone_id id
Show recordset details
Positional arguments:
zone_id
-
Zone ID
id
-
RecordSet ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack region create
usage: openstack region create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--parent-region <region-id>]
[--description <description>]
<region-id>
Create new region
Positional arguments:
<region-id>
-
New region ID
Optional arguments:
-h, --help
-
show this help message and exit
--parent-region <region-id>
-
Parent region ID
--description <description>
-
New region description
openstack region delete
usage: openstack region delete [-h] <region-id>
Delete region
Positional arguments:
<region-id>
-
Region ID to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack region list
usage: openstack region list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--parent-region <region-id>]
List regions
Optional arguments:
-h, --help
-
show this help message and exit
--parent-region <region-id>
-
Filter by parent region ID
openstack region set
usage: openstack region set [-h] [--parent-region <region-id>]
[--description <description>]
<region-id>
Set region properties
Positional arguments:
<region-id>
-
Region to modify
Optional arguments:
-h, --help
-
show this help message and exit
--parent-region <region-id>
-
New parent region ID
--description <description>
-
New region description
openstack region show
usage: openstack region show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<region-id>
Display region details
Positional arguments:
<region-id>
-
Region to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack request token authorize
usage: openstack request token authorize [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
--request-key <request-key> --role
<role>
Authorize a request token
Optional arguments:
-h, --help
-
show this help message and exit
--request-key <request-key>
-
Request token to authorize (ID only) (required)
--role <role>
-
Roles to authorize (name or ID) (repeat option to set multiple values, required)
openstack request token create
usage: openstack request token create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
--consumer-key <consumer-key>
--consumer-secret <consumer-secret>
--project <project> [--domain <domain>]
Create a request token
Optional arguments:
-h, --help
-
show this help message and exit
--consumer-key <consumer-key>
-
Consumer key (required)
--consumer-secret <consumer-secret>
-
Consumer secret (required)
--project <project>
-
Project that consumer wants to access (name or ID) (required)
--domain <domain>
-
Domain owning <project> (name or ID)
openstack role add
usage: openstack role add [-h] [--domain <domain> | --project <project>]
[--user <user> | --group <group>]
[--group-domain <group-domain>]
[--project-domain <project-domain>]
[--user-domain <user-domain>] [--inherited]
<role>
Adds a role to a user or group on a domain or project
Positional arguments:
<role>
-
Role to add to <user> (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Include <domain> (name or ID)
--project <project>
-
Include <project> (name or ID)
--user <user>
-
Include <user> (name or ID)
--group <group>
-
Include <group> (name or ID)
--group-domain <group-domain>
-
Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
--inherited
-
Specifies if the role grant is inheritable to the sub projects
openstack role assignment list
usage: openstack role assignment list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--effective] [--role <role>] [--names]
[--user <user>]
[--user-domain <user-domain>]
[--group <group>]
[--group-domain <group-domain>]
[--domain <domain> | --project <project>]
[--project-domain <project-domain>]
[--inherited]
List role assignments
Optional arguments:
-h, --help
-
show this help message and exit
--effective
-
Returns only effective role assignments
--role <role>
-
Role to filter (name or ID)
--names
-
Display names instead of IDs
--user <user>
-
User to filter (name or ID)
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
--group <group>
-
Group to filter (name or ID)
--group-domain <group-domain>
-
Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--domain <domain>
-
Domain to filter (name or ID)
--project <project>
-
Project to filter (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--inherited
-
Specifies if the role grant is inheritable to the sub projects
openstack role create
usage: openstack role create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--or-show]
<role-name>
Create new role
Positional arguments:
<role-name>
-
New role name
Optional arguments:
-h, --help
-
show this help message and exit
--or-show
-
Return existing role
openstack role delete
usage: openstack role delete [-h] <role> [<role> ...]
Delete role(s)
Positional arguments:
<role>
-
Role(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack role list
usage: openstack role list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--domain <domain> | --project <project>]
[--user <user> | --group <group>]
[--group-domain <group-domain>]
[--project-domain <project-domain>]
[--user-domain <user-domain>] [--inherited]
List roles
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Include <domain> (name or ID)
--project <project>
-
Include <project> (name or ID)
--user <user>
-
Include <user> (name or ID)
--group <group>
-
Include <group> (name or ID)
--group-domain <group-domain>
-
Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
--inherited
-
Specifies if the role grant is inheritable to the sub projects
openstack role remove
usage: openstack role remove [-h] [--domain <domain> | --project <project>]
[--user <user> | --group <group>]
[--group-domain <group-domain>]
[--project-domain <project-domain>]
[--user-domain <user-domain>] [--inherited]
<role>
Remove role from domain/project : user/group
Positional arguments:
<role>
-
Role to remove (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Include <domain> (name or ID)
--project <project>
-
Include <project> (name or ID)
--user <user>
-
Include <user> (name or ID)
--group <group>
-
Include <group> (name or ID)
--group-domain <group-domain>
-
Domain the group belongs to (name or ID). This can be used in case collisions between group names exist.
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
--inherited
-
Specifies if the role grant is inheritable to the sub projects
openstack role set
usage: openstack role set [-h] [--name <name>] <role>
Set role properties
Positional arguments:
<role>
-
Role to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Set role name
openstack role show
usage: openstack role show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<role>
Display role details
Positional arguments:
<role>
-
Role to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack router add port
usage: openstack router add port [-h] <router> <port>
Add a port to a router
Positional arguments:
<router>
-
Router to which port will be added (name or ID)
<port>
-
Port to be added (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack router add subnet
usage: openstack router add subnet [-h] <router> <subnet>
Add a subnet to a router
Positional arguments:
<router>
-
Router to which subnet will be added (name or ID)
<subnet>
-
Subnet to be added (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack router create
usage: openstack router create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--enable | --disable] [--distributed]
[--project <project>]
[--project-domain <project-domain>]
[--availability-zone-hint <availability-zone>]
<name>
Create a new router
Positional arguments:
<name>
-
New router name
Optional arguments:
-h, --help
-
show this help message and exit
--enable
-
Enable router (default)
--disable
-
Disable router
--distributed
-
Create a distributed router
--project <project>
-
Owner's project (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--availability-zone-hint <availability-zone>
-
Availability Zone in which to create this router (Router Availability Zone extension required, repeat option to set multiple availability zones)
openstack router delete
usage: openstack router delete [-h] <router> [<router> ...]
Delete router(s)
Positional arguments:
<router>
-
Router(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack router list
usage: openstack router list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}] [--long]
List routers
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
openstack router remove port
usage: openstack router remove port [-h] <router> <port>
Remove a port from a router
Positional arguments:
<router>
-
Router from which port will be removed (name or ID)
<port>
-
Port to be removed (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack router remove subnet
usage: openstack router remove subnet [-h] <router> <subnet>
Remove a subnet from a router
Positional arguments:
<router>
-
Router from which the subnet will be removed (name or ID)
<subnet>
-
Subnet to be removed (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack router set
usage: openstack router set [-h] [--name <name>] [--enable | --disable]
[--distributed | --centralized]
[--route destination=<subnet>,gateway=<ip-address> | --no-route]
<router>
Set router properties
Positional arguments:
<router>
-
Router to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Set router name
--enable
-
Enable router
--disable
-
Disable router
--distributed
-
Set router to distributed mode (disabled router only)
--centralized
-
Set router to centralized mode (disabled router only)
--route
-
destination=<subnet>,gateway=<ip-address> Routes associated with the router destination: destination subnet (in CIDR notation) gateway: nexthop IP address (repeat option to set multiple routes)
--no-route
-
Clear routes associated with the router
openstack router show
usage: openstack router show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<router>
Display router details
Positional arguments:
<router>
-
Router to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack secret container create
usage: openstack secret container create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--name NAME] [--type TYPE]
[--secret SECRET]
Store a container in Barbican.
Optional arguments:
-h, --help
-
show this help message and exit
--name NAME, -n NAME
-
a human-friendly name.
--type TYPE
-
type of container to create (default: generic).
--secret SECRET, -s SECRET
-
one secret to store in a container (can be set multiple times). Example:
--secret
"private_key=https://url.test/v1/secrets/1-2-3-4"
openstack secret container delete
usage: openstack secret container delete [-h] URI
Delete a container by providing its href.
Positional arguments:
URI
-
The URI reference for the container
Optional arguments:
-h, --help
-
show this help message and exit
openstack secret container get
usage: openstack secret container get [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
URI
Retrieve a container by providing its URI.
Positional arguments:
URI
-
The URI reference for the container.
Optional arguments:
-h, --help
-
show this help message and exit
openstack secret container list
usage: openstack secret container list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit LIMIT] [--offset OFFSET]
[--name NAME] [--type TYPE]
List containers.
Optional arguments:
-h, --help
-
show this help message and exit
--limit LIMIT, -l LIMIT
-
specify the limit to the number of items to list per page (default: 10; maximum: 100)
--offset OFFSET, -o OFFSET
-
specify the page offset (default: 0)
--name NAME, -n NAME
-
specify the container name (default: None)
--type TYPE, -t TYPE
-
specify the type filter for the list (default: None).
openstack secret delete
usage: openstack secret delete [-h] URI
Delete a secret by providing its URI.
Positional arguments:
URI
-
The URI reference for the secret
Optional arguments:
-h, --help
-
show this help message and exit
openstack secret get
usage: openstack secret get [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--decrypt] [--payload]
[--payload_content_type PAYLOAD_CONTENT_TYPE]
URI
Retrieve a secret by providing its URI.
Positional arguments:
URI
-
The URI reference for the secret.
Optional arguments:
-h, --help
-
show this help message and exit
--decrypt, -d
-
if specified, retrieve the unencrypted secret data; the data type can be specified with
--payload-content-
type. --payload, -p
-
if specified, retrieve the unencrypted secret data; the data type can be specified with
--payload-content-
type. If the user wishes to only retrieve the value of the payload they must add "-f value" to format returning only the value of the payload --payload_content_type PAYLOAD_CONTENT_TYPE, -t PAYLOAD_CONTENT_TYPE
-
the content type of the decrypted secret (default: text/plain.
openstack secret list
usage: openstack secret list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit LIMIT] [--offset OFFSET] [--name NAME]
[--algorithm ALGORITHM] [--bit-length BIT_LENGTH]
[--mode MODE]
List secrets.
Optional arguments:
-h, --help
-
show this help message and exit
--limit LIMIT, -l LIMIT
-
specify the limit to the number of items to list per page (default: 10; maximum: 100)
--offset OFFSET, -o OFFSET
-
specify the page offset (default: 0)
--name NAME, -n NAME
-
specify the secret name (default: None)
--algorithm ALGORITHM, -a ALGORITHM
-
the algorithm filter for the list(default: None).
--bit-length BIT_LENGTH, -b BIT_LENGTH
-
the bit length filter for the list (default: 0).
--mode MODE, -m MODE
-
the algorithm mode filter for the list (default: None).
openstack secret order create
usage: openstack secret order create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--name NAME] [--algorithm ALGORITHM]
[--bit-length BIT_LENGTH] [--mode MODE]
[--payload-content-type PAYLOAD_CONTENT_TYPE]
[--expiration EXPIRATION]
[--request-type REQUEST_TYPE]
[--subject-dn SUBJECT_DN]
[--source-container-ref SOURCE_CONTAINER_REF]
[--ca-id CA_ID] [--profile PROFILE]
[--request-file REQUEST_FILE]
type
Create a new order.
Positional arguments:
type
-
the type of the order to create.
Optional arguments:
-h, --help
-
show this help message and exit
--name NAME, -n NAME
-
a human-friendly name.
--algorithm ALGORITHM, -a ALGORITHM
-
the algorithm to be used with the requested key (default: aes).
--bit-length BIT_LENGTH, -b BIT_LENGTH
-
the bit length of the requested secret key (default: 256).
--mode MODE, -m MODE
-
the algorithm mode to be used with the requested key (default: cbc).
--payload-content-type PAYLOAD_CONTENT_TYPE, -t PAYLOAD_CONTENT_TYPE
-
the type/format of the secret to be generated (default: application/octet-stream).
--expiration EXPIRATION, -x EXPIRATION
-
the expiration time for the secret in ISO 8601 format.
--request-type REQUEST_TYPE
-
the type of the certificate request.
--subject-dn SUBJECT_DN
-
the subject of the certificate.
--source-container-ref SOURCE_CONTAINER_REF
-
the source of the certificate when using stored-key requests.
--ca-id CA_ID
-
the identifier of the CA to use for the certificate request.
--profile PROFILE
-
the profile of certificate to use.
--request-file REQUEST_FILE
-
the file containing the CSR.
openstack secret order delete
usage: openstack secret order delete [-h] URI
Delete an order by providing its href.
Positional arguments:
URI
-
The URI reference for the order
Optional arguments:
-h, --help
-
show this help message and exit
openstack secret order get
usage: openstack secret order get [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
URI
Retrieve an order by providing its URI.
Positional arguments:
URI
-
The URI reference order.
Optional arguments:
-h, --help
-
show this help message and exit
openstack secret order list
usage: openstack secret order list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit LIMIT] [--offset OFFSET]
List orders.
Optional arguments:
-h, --help
-
show this help message and exit
--limit LIMIT, -l LIMIT
-
specify the limit to the number of items to list per page (default: 10; maximum: 100)
--offset OFFSET, -o OFFSET
-
specify the page offset (default: 0)
openstack secret store
usage: openstack secret store [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--name NAME]
[--payload PAYLOAD] [--secret-type SECRET_TYPE]
[--payload-content-type PAYLOAD_CONTENT_TYPE]
[--payload-content-encoding PAYLOAD_CONTENT_ENCODING]
[--algorithm ALGORITHM]
[--bit-length BIT_LENGTH] [--mode MODE]
[--expiration EXPIRATION]
Store a secret in Barbican.
Optional arguments:
-h, --help
-
show this help message and exit
--name NAME, -n NAME
-
a human-friendly name.
--payload PAYLOAD, -p PAYLOAD
-
the unencrypted secret; if provided, you must also provide a payload_content_type
--secret-type SECRET_TYPE, -s SECRET_TYPE
-
the secret type; must be one of symmetric, public, private, certificate, passphrase, opaque (default)
--payload-content-type PAYLOAD_CONTENT_TYPE, -t PAYLOAD_CONTENT_TYPE
-
the type/format of the provided secret data; "text/plain" is assumed to be UTF-8; required when
--payload
is supplied. --payload-content-encoding PAYLOAD_CONTENT_ENCODING, -e PAYLOAD_CONTENT_ENCODING
-
required if
--payload-content-type
is "application /octet-stream". --algorithm ALGORITHM, -a ALGORITHM
-
the algorithm (default: aes).
--bit-length BIT_LENGTH, -b BIT_LENGTH
-
the bit length (default: 256).
--mode MODE, -m MODE
-
the algorithm mode; used only for reference (default: cbc)
--expiration EXPIRATION, -x EXPIRATION
-
the expiration time for the secret in ISO 8601 format.
openstack secret update
usage: openstack secret update [-h] URI payload
Update a secret with no payload in Barbican.
Positional arguments:
URI
-
The URI reference for the secret.
payload
-
the unencrypted secret
Optional arguments:
-h, --help
-
show this help message and exit
openstack security group create
usage: openstack security group create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--description <description>]
<name>
Create a new security group
Positional arguments:
<name>
-
New security group name
Optional arguments:
-h, --help
-
show this help message and exit
--description <description>
-
Security group description
openstack security group delete
usage: openstack security group delete [-h] <group>
Delete a security group
Positional arguments:
<group>
-
Security group to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack security group list
usage: openstack security group list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--all-projects]
List security groups
Optional arguments:
-h, --help
-
show this help message and exit
--all-projects
-
Display information from all projects (admin only)
openstack security group rule create
usage: openstack security group rule create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--src-ip <ip-address> | --src-group <group>]
[--dst-port <port-range>]
[--protocol <protocol>]
<group>
Create a new security group rule
Positional arguments:
<group>
-
Create rule in this security group (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--src-ip <ip-address>
-
Source IP address block (may use CIDR notation; default for IPv4 rule: 0.0.0.0/0)
--src-group <group>
-
Source security group (name or ID)
--dst-port <port-range>
-
Destination port, may be a single port or a starting and ending port range: 137:139. Required for IP protocols TCP and UDP. Ignored for ICMP IP protocols.
--protocol <protocol>
-
IP protocol (icmp, tcp, udp; default: tcp)
openstack security group rule delete
usage: openstack security group rule delete [-h] <rule>
Delete a security group rule
Positional arguments:
<rule>
-
Security group rule to delete (ID only)
Optional arguments:
-h, --help
-
show this help message and exit
openstack security group rule list
usage: openstack security group rule list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--all-projects]
[<group>]
List security group rules
Positional arguments:
<group>
-
List all rules in this security group (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--all-projects
-
Display information from all projects (admin only)
openstack security group rule show
usage: openstack security group rule show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<rule>
Display security group rule details
Positional arguments:
<rule>
-
Security group rule to display (ID only)
Optional arguments:
-h, --help
-
show this help message and exit
openstack security group set
usage: openstack security group set [-h] [--name <new-name>]
[--description <description>]
<group>
Set security group properties
Positional arguments:
<group>
-
Security group to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <new-name>
-
New security group name
--description <description>
-
New security group description
openstack security group show
usage: openstack security group show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<group>
Display security group details
Positional arguments:
<group>
-
Security group to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server add security group
usage: openstack server add security group [-h] <server> <group>
Add security group to server
Positional arguments:
<server>
-
Server (name or ID)
<group>
-
Security group to add (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server add volume
usage: openstack server add volume [-h] [--device <device>] <server> <volume>
Add volume to server
Positional arguments:
<server>
-
Server (name or ID)
<volume>
-
Volume to add (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--device <device>
-
Server internal device name for volume
openstack server backup create
usage: openstack server backup create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--name <image-name>]
[--type <backup-type>]
[--rotate <count>] [--wait]
<server>
Create a server backup image
Positional arguments:
<server>
-
Server to back up (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <image-name>
-
Name of the backup image (default: server name)
--type <backup-type>
-
Used to populate the backup_type property of the backup image (default: empty)
--rotate <count>
-
Number of backups to keep (default: 1)
--wait
-
Wait for backup image create to complete
openstack server create
usage: openstack server create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
(--image <image> | --volume <volume>) --flavor
<flavor>
[--security-group <security-group-name>]
[--key-name <key-name>]
[--property <key=value>]
[--file <dest-filename=source-filename>]
[--user-data <user-data>]
[--availability-zone <zone-name>]
[--block-device-mapping <dev-name=mapping>]
[--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid>]
[--hint <key=value>]
[--config-drive <config-drive-volume>|True]
[--min <count>] [--max <count>] [--wait]
<server-name>
Create a new server
Positional arguments:
<server-name>
-
New server name
Optional arguments:
-h, --help
-
show this help message and exit
--image <image>
-
Create server from this image (name or ID)
--volume <volume>
-
Create server from this volume (name or ID)
--flavor <flavor>
-
Create server with this flavor (name or ID)
--security-group <security-group-name>
-
Security group to assign to this server (name or ID) (repeat option to set multiple groups)
--key-name <key-name>
-
Keypair to inject into this server (optional extension)
--property <key=value>
-
Set a property on this server (repeat option to set multiple values)
--file <dest-filename=source-filename>
-
File to inject into image before boot (repeat option to set multiple files)
--user-data <user-data>
-
User data file to serve from the metadata server
--availability-zone <zone-name>
-
Select an availability zone for the server
--block-device-mapping <dev-name=mapping>
-
Map block devices; map is <id>:<type>:<size(GB)>:<delete_on_terminate> (optional extension)
--nic <net-id=net-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,port-id=port-uuid>
-
Create a NIC on the server. Specify option multiple times to create multiple NICs. Either net-id or port-id must be provided, but not both. net-id: attach NIC to network with this UUID, port-id: attach NIC to port with this UUID, v4-fixed-ip: IPv4 fixed address for NIC (optional), v6-fixed-ip: IPv6 fixed address for NIC (optional).
--hint <key=value>
-
Hints for the scheduler (optional extension)
--config-drive <config-drive-volume>|True
-
Use specified volume as the config drive, or 'True' to use an ephemeral drive
--min <count>
-
Minimum number of servers to launch (default=1)
--max <count>
-
Maximum number of servers to launch (default=1)
--wait
-
Wait for build to complete
openstack server delete
usage: openstack server delete [-h] [--wait] <server> [<server> ...]
Delete server(s)
Positional arguments:
<server>
-
Server(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--wait
-
Wait for delete to complete
openstack server dump create
usage: openstack server dump create [-h] <server> [<server> ...]
Create a dump file in server(s) Trigger crash dump in server(s) with features like kdump in Linux. It will create a dump file in the server(s) dumping the server(s)' memory, and also crash the server(s). OSC sees the dump file (server dump) as a kind of resource.
Positional arguments:
<server>
-
Server(s) to create dump file (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server group create
usage: openstack server group create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] --policy
<policy>
<name>
Create a new server group.
Positional arguments:
<name>
-
New server group name
Optional arguments:
-h, --help
-
show this help message and exit
--policy <policy>
-
Add a policy to <name> (repeat option to add multiple policies)
openstack server group delete
usage: openstack server group delete [-h] <server-group> [<server-group> ...]
Delete existing server group(s).
Positional arguments:
<server-group>
-
server group(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server group list
usage: openstack server group list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--all-projects] [--long]
List all server groups.
Optional arguments:
-h, --help
-
show this help message and exit
--all-projects
-
Display information from all projects (admin only)
--long
-
List additional fields in output
openstack server group show
usage: openstack server group show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<server-group>
Display server group details.
Positional arguments:
<server-group>
-
server group to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server image create
usage: openstack server image create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--name <image-name>] [--wait]
<server>
Create a new disk image from a running server
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <image-name>
-
Name of new image (default is server name)
--wait
-
Wait for image create to complete
openstack server list
usage: openstack server list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--reservation-id <reservation-id>]
[--ip <ip-address-regex>]
[--ip6 <ip-address-regex>] [--name <name-regex>]
[--instance-name <server-name>]
[--status <status>] [--flavor <flavor>]
[--image <image>] [--host <hostname>]
[--all-projects] [--project <project>]
[--project-domain <project-domain>]
[--user <user>] [--user-domain <user-domain>]
[--long] [--marker <marker>] [--limit <limit>]
List servers
Optional arguments:
-h, --help
-
show this help message and exit
--reservation-id <reservation-id>
-
Only return instances that match the reservation
--ip <ip-address-regex>
-
Regular expression to match IP addresses
--ip6 <ip-address-regex>
-
Regular expression to match IPv6 addresses
--name <name-regex>
-
Regular expression to match names
--instance-name <server-name>
-
Regular expression to match instance name (admin only)
--status <status>
-
Search by server status
--flavor <flavor>
-
Search by flavor (name or ID)
--image <image>
-
Search by image (name or ID)
--host <hostname>
-
Search by hostname
--all-projects
-
Include all projects (admin only)
--project <project>
-
Search by project (admin only) (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--user <user>
-
Search by user (admin only) (name or ID)
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
--long
-
List additional fields in output
--marker <marker>
-
The last server (name or ID) of the previous page. Display list of servers after marker. Display all servers if not specified.
--limit <limit>
-
Maximum number of servers to display. If limit equals -1, all servers will be displayed. If limit is greater than 'osapi_max_limit' option of Nova API, 'osapi_max_limit' will be used instead.
openstack server lock
usage: openstack server lock [-h] <server> [<server> ...]
Lock server(s). A non-admin user will not be able to execute actions
Positional arguments:
<server>
-
Server(s) to lock (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server migrate
usage: openstack server migrate [-h] [--live <hostname>]
[--shared-migration | --block-migration]
[--disk-overcommit | --no-disk-overcommit]
[--wait]
<server>
Migrate server to different host
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--live <hostname>
-
Target hostname
--shared-migration
-
Perform a shared live migration (default)
--block-migration
-
Perform a block live migration
--disk-overcommit
-
Allow disk over-commit on the destination host
--no-disk-overcommit
-
Do not over-commit disk on the destination host (default)
--wait
-
Wait for resize to complete
openstack server pause
usage: openstack server pause [-h] <server> [<server> ...]
Pause server(s)
Positional arguments:
<server>
-
Server(s) to pause (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server reboot
usage: openstack server reboot [-h] [--hard | --soft] [--wait] <server>
Perform a hard or soft server reboot
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--hard
-
Perform a hard reboot
--soft
-
Perform a soft reboot
--wait
-
Wait for reboot to complete
openstack server rebuild
usage: openstack server rebuild [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--image <image>] [--password <password>]
[--wait]
<server>
Rebuild server
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--image <image>
-
Recreate server from the specified image (name or ID). Defaults to the currently used one.
--password <password>
-
Set the password on the rebuilt instance
--wait
-
Wait for rebuild to complete
openstack server remove security group
usage: openstack server remove security group [-h] <server> <group>
Remove security group from server
Positional arguments:
<server>
-
Name or ID of server to use
<group>
-
Name or ID of security group to remove from server
Optional arguments:
-h, --help
-
show this help message and exit
openstack server remove volume
usage: openstack server remove volume [-h] <server> <volume>
Remove volume from server
Positional arguments:
<server>
-
Server (name or ID)
<volume>
-
Volume to remove (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server rescue
usage: openstack server rescue [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<server>
Put server in rescue mode
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server resize
usage: openstack server resize [-h] [--flavor <flavor> | --confirm | --revert]
[--wait]
<server>
Scale server to a new flavor
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--flavor <flavor>
-
Resize server to specified flavor
--confirm
-
Confirm server resize is complete
--revert
-
Restore server state before resize
--wait
-
Wait for resize to complete
openstack server restore
usage: openstack server restore [-h] <server> [<server> ...]
Restore server(s)
Positional arguments:
<server>
-
Server(s) to restore (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server resume
usage: openstack server resume [-h] <server> [<server> ...]
Resume server(s)
Positional arguments:
<server>
-
Server(s) to resume (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server set
usage: openstack server set [-h] [--name <new-name>] [--root-password]
[--property <key=value>] [--state <state>]
<server>
Set server properties
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <new-name>
-
New server name
--root-password
-
Set new root password (interactive only)
--property <key=value>
-
Property to add/change for this server (repeat option to set multiple properties)
--state <state>
-
New server state (valid value: active, error)
openstack server shelve
usage: openstack server shelve [-h] <server> [<server> ...]
Shelve server(s)
Positional arguments:
<server>
-
Server(s) to shelve (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server show
usage: openstack server show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--diagnostics]
<server>
Show server details
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--diagnostics
-
Display server diagnostics information
openstack server ssh
usage: openstack server ssh [-h] [--login <login-name>] [--port <port>]
[--identity <keyfile>] [--option <config-options>]
[-4 | -6]
[--public | --private | --address-type <address-type>]
<server>
SSH to server
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--login <login-name>
-
Login name (ssh -l option)
--port <port>
-
Destination port (ssh -p option)
--identity <keyfile>
-
Private key file (ssh -i option)
--option <config-options>
-
Options in ssh_config(5) format (ssh -o option)
-4
-
Use only IPv4 addresses
-6
-
Use only IPv6 addresses
--public
-
Use public IP address
--private
-
Use private IP address
--address-type <address-type>
-
Use other IP address (public, private, etc)
openstack server start
usage: openstack server start [-h] <server> [<server> ...]
Start server(s).
Positional arguments:
<server>
-
Server(s) to start (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server stop
usage: openstack server stop [-h] <server> [<server> ...]
Stop server(s).
Positional arguments:
<server>
-
Server(s) to stop (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server suspend
usage: openstack server suspend [-h] <server> [<server> ...]
Suspend server(s)
Positional arguments:
<server>
-
Server(s) to suspend (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server unlock
usage: openstack server unlock [-h] <server> [<server> ...]
Unlock server(s)
Positional arguments:
<server>
-
Server(s) to unlock (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server unpause
usage: openstack server unpause [-h] <server> [<server> ...]
Unpause server(s)
Positional arguments:
<server>
-
Server(s) to unpause (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server unrescue
usage: openstack server unrescue [-h] <server>
Restore server from rescue mode
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack server unset
usage: openstack server unset [-h] [--property <key>] <server>
Unset server properties
Positional arguments:
<server>
-
Server (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Property key to remove from server (repeat option to remove multiple values)
openstack server unshelve
usage: openstack server unshelve [-h] <server> [<server> ...]
Unshelve server(s)
Positional arguments:
<server>
-
Server(s) to unshelve (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack service create
usage: openstack service create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] [--name <name>]
[--description <description>]
[--enable | --disable]
<type>
Create new service
Positional arguments:
<type>
-
New service type (compute, image, identity, volume, etc)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New service name
--description <description>
-
New service description
--enable
-
Enable service (default)
--disable
-
Disable service
openstack service delete
usage: openstack service delete [-h] <service>
Delete service
Positional arguments:
<service>
-
Service to delete (type, name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack service list
usage: openstack service list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}] [--long]
List services
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
openstack service provider create
usage: openstack service provider create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
--auth-url <auth-url>
[--description <description>]
--service-provider-url <sp-url>
[--enable | --disable]
<name>
Create new service provider
Positional arguments:
<name>
-
New service provider name (must be unique)
Optional arguments:
-h, --help
-
show this help message and exit
--auth-url <auth-url>
-
Authentication URL of remote federated service provider (required)
--description <description>
-
New service provider description
--service-provider-url <sp-url>
-
A service URL where SAML assertions are being sent (required)
--enable
-
Enable the service provider (default)
--disable
-
Disable the service provider
openstack service provider delete
usage: openstack service provider delete [-h] <service-provider>
Delete service provider
Positional arguments:
<service-provider>
-
Service provider to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack service provider list
usage: openstack service provider list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List service providers
Optional arguments:
-h, --help
-
show this help message and exit
openstack service provider set
usage: openstack service provider set [-h] [--auth-url <auth-url>]
[--description <description>]
[--service-provider-url <sp-url>]
[--enable | --disable]
<service-provider>
Set service provider properties
Positional arguments:
<service-provider>
-
Service provider to modify
Optional arguments:
-h, --help
-
show this help message and exit
--auth-url <auth-url>
-
New Authentication URL of remote federated service provider
--description <description>
-
New service provider description
--service-provider-url <sp-url>
-
New service provider URL, where SAML assertions are sent
--enable
-
Enable the service provider
--disable
-
Disable the service provider
openstack service provider show
usage: openstack service provider show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<service-provider>
Display service provider details
Positional arguments:
<service-provider>
-
Service provider to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack service set
usage: openstack service set [-h] [--type <type>] [--name <service-name>]
[--description <description>]
[--enable | --disable]
<service>
Set service properties
Positional arguments:
<service>
-
Service to update (type, name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--type <type>
-
New service type (compute, image, identity, volume, etc)
--name <service-name>
-
New service name
--description <description>
-
New service description
--enable
-
Enable service
--disable
-
Disable service
openstack service show
usage: openstack service show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<service>
Display service details
Positional arguments:
<service>
-
Service to display (type, name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack snapshot create
usage: openstack snapshot create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--name <name>] [--description <description>]
[--force]
<volume>
Create new snapshot
Positional arguments:
<volume>
-
Volume to snapshot (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Name of the snapshot
--description <description>
-
Description of the snapshot
--force
-
Create a snapshot attached to an instance. Default is False
openstack snapshot delete
usage: openstack snapshot delete [-h] <snapshot> [<snapshot> ...]
Delete volume snapshot(s)
Positional arguments:
<snapshot>
-
Snapshot(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack snapshot list
usage: openstack snapshot list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--all-projects] [--long]
List snapshots
Optional arguments:
-h, --help
-
show this help message and exit
--all-projects
-
Include all projects (admin only)
--long
-
List additional fields in output
openstack snapshot set
usage: openstack snapshot set [-h] [--name <name>]
[--description <description>]
[--property <key=value>] [--state <state>]
<snapshot>
Set snapshot properties
Positional arguments:
<snapshot>
-
Snapshot to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New snapshot name
--description <description>
-
New snapshot description
--property <key=value>
-
Property to add/change for this snapshot (repeat option to set multiple properties)
--state <state>
-
New snapshot state. Valid values are available, error, creating, deleting, and error-deleting.
openstack snapshot show
usage: openstack snapshot show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<snapshot>
Display snapshot details
Positional arguments:
<snapshot>
-
Snapshot to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack snapshot unset
usage: openstack snapshot unset [-h] [--property <key>] <snapshot>
Unset snapshot properties
Positional arguments:
<snapshot>
-
Snapshot to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Property to remove from snapshot (repeat option to remove multiple properties)
openstack software config create
usage: openstack software config create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--config-file <config-file>]
[--definition-file <destination-file>]
[--group <group>]
<config-name>
Create software config
Positional arguments:
<config-name>
-
Name of the software config to create
Optional arguments:
-h, --help
-
show this help message and exit
--config-file <config-file>
-
Path to JSON/YAML containing map defining <inputs>, <outputs>, and <options>
--definition-file <destination-file>
-
Path to software config script/data
--group <group>
-
Group name of tool expected by the software config
openstack software config delete
usage: openstack software config delete [-h] <config> [<config> ...]
Delete software configs
Positional arguments:
<config>
-
IDs of the software configs to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack software config list
usage: openstack software config list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--limit <limit>] [--marker <id>]
List software configs
Optional arguments:
-h, --help
-
show this help message and exit
--limit <limit>
-
Limit the number of configs returned
--marker <id>
-
Return configs that appear after the given config ID
openstack software config show
usage: openstack software config show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--config-only]
<config>
Show software config details
Positional arguments:
<config>
-
ID of the config
Optional arguments:
-h, --help
-
show this help message and exit
--config-only
-
Only display the value of the <config> property.
openstack software deployment create
usage: openstack software deployment create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--input-value <key=value>]
[--action <action>]
[--config <config>] --server
<server>
[--signal-transport <signal-transport>]
[--container <container>]
[--timeout <timeout>]
<deployment-name>
Create a software deployment.
Positional arguments:
<deployment-name>
-
Name of the derived config associated with this deployment. This is used to apply a sort order to the list of configurations currently deployed to the server.
Optional arguments:
-h, --help
-
show this help message and exit
--input-value <key=value>
-
Input value to set on the deployment. This can be specified multiple times.
--action <action>
-
Name of an action for this deployment. This can be a custom action, or one of CREATE, UPDATE, DELETE, SUSPEND, RESUME. Default is UPDATE
--config <config>
-
ID of the configuration to deploy
--server <server>
-
ID of the server being deployed to
--signal-transport <signal-transport>
-
How the server should signal to heat with the deployment output values. TEMP_URL_SIGNAL will create a Swift TempURL to be signaled via HTTP PUT. ZAQAR_SIGNAL will create a dedicated zaqar queue to be signaled using the provided keystone credentials.NO_SIGNAL will result in the resource going to the COMPLETE state without waiting for any signal
--container <container>
-
Optional name of container to store TEMP_URL_SIGNAL objects in. If not specified a container will be created with a name derived from the DEPLOY_NAME
--timeout <timeout>
-
Deployment timeout in minutes
openstack software deployment delete
usage: openstack software deployment delete [-h]
<deployment> [<deployment> ...]
Delete software deployment(s) and correlative config(s).
Positional arguments:
<deployment>
-
ID of the deployment(s) to delete.
Optional arguments:
-h, --help
-
show this help message and exit
openstack software deployment list
usage: openstack software deployment list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--server <server>] [--long]
List software deployments.
Optional arguments:
-h, --help
-
show this help message and exit
--server <server>
-
ID of the server to fetch deployments for
--long
-
List more fields in output
openstack software deployment metadata show
usage: openstack software deployment metadata show [-h] <server>
Get deployment configuration metadata for the specified server.
Positional arguments:
<server>
-
ID of the server to fetch deployments for
Optional arguments:
-h, --help
-
show this help message and exit
openstack software deployment output show
usage: openstack software deployment output show [-h] [--all] [--long]
<deployment> [<output-name>]
Show a specific deployment output.
Positional arguments:
<deployment>
-
ID of deployment to show the output for
<output-name>
-
Name of an output to display
Optional arguments:
-h, --help
-
show this help message and exit
--all
-
Display all deployment outputs
--long
-
Show full deployment logs in output
openstack software deployment show
usage: openstack software deployment show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--long]
<deployment>
Show SoftwareDeployment Details.
Positional arguments:
<deployment>
-
ID of the deployment
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
Show more fields in output
openstack stack abandon
usage: openstack stack abandon [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--output-file <output-file>]
<stack>
Abandon stack and output results.
Positional arguments:
<stack>
-
Name or ID of stack to abandon
Optional arguments:
-h, --help
-
show this help message and exit
--output-file <output-file>
-
File to output abandon results
openstack stack adopt
usage: openstack stack adopt [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [-e <environment>]
[--timeout <timeout>] --adopt-file <adopt-file>
[--enable-rollback] [--parameter <key=value>]
[--wait]
<stack-name>
Adopt a stack.
Positional arguments:
<stack-name>
-
Name of the stack to adopt
Optional arguments:
-h, --help
-
show this help message and exit
-e <environment>, --environment <environment>
-
Path to the environment. Can be specified multiple times
--timeout <timeout>
-
Stack creation timeout in minutes
--adopt-file <adopt-file>
-
Path to adopt stack data file
--enable-rollback
-
Enable rollback on create/update failure
--parameter <key=value>
-
Parameter values used to create the stack. Can be specified multiple times
--wait
-
Wait until stack adopt completes
openstack stack cancel
usage: openstack stack cancel [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}] [--wait]
<stack> [<stack> ...]
Cancel current task for a stack. Supported tasks for cancellation: * update
Positional arguments:
<stack>
-
Stack(s) to cancel (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--wait
-
Wait for check to complete
openstack stack check
usage: openstack stack check [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}] [--wait]
<stack> [<stack> ...]
Check a stack.
Positional arguments:
<stack>
-
Stack(s) to check update (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--wait
-
Wait for check to complete
openstack stack create
usage: openstack stack create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] -t <template>
[-e <environment>] [--timeout <timeout>]
[--pre-create <resource>] [--enable-rollback]
[--parameter <key=value>]
[--parameter-file <key=file>] [--wait]
[--tags <tag1,tag2...>] [--dry-run]
<stack-name>
Create a stack.
Positional arguments:
<stack-name>
-
Name of the stack to create
Optional arguments:
-h, --help
-
show this help message and exit
-t <template>, --template <template>
-
Path to the template
-e <environment>, --environment <environment>
-
Path to the environment. Can be specified multiple times
--timeout <timeout>
-
Stack creating timeout in minutes
--pre-create <resource>
-
Name of a resource to set a pre-create hook to. Resources in nested stacks can be set using slash as a separator: nested_stack/another/my_resource. You can use wildcards to match multiple stacks or resources: nested_stack/an*/*_resource. This can be specified multiple times
--enable-rollback
-
Enable rollback on create/update failure
--parameter <key=value>
-
Parameter values used to create the stack. This can be specified multiple times
--parameter-file <key=file>
-
Parameter values from file used to create the stack. This can be specified multiple times. Parameter values would be the content of the file
--wait
-
Wait until stack goes to CREATE_COMPLETE or CREATE_FAILED
--tags <tag1,tag2...>
-
A list of tags to associate with the stack
--dry-run
-
Do not actually perform the stack create, but show what would be created
openstack stack delete
usage: openstack stack delete [-h] [--yes] [--wait] <stack> [<stack> ...]
Delete stack(s).
Positional arguments:
<stack>
-
Stack(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--yes
-
Skip yes/no prompt (assume yes)
--wait
-
Wait for stack delete to complete
openstack stack event list
usage: openstack stack event list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--resource <resource>]
[--filter <key=value>] [--limit <limit>]
[--marker <id>] [--nested-depth <depth>]
[--sort <key>[:<direction>]] [--follow]
<stack>
List events.
Positional arguments:
<stack>
-
Name or ID of stack to show events for
Optional arguments:
-h, --help
-
show this help message and exit
--resource <resource>
-
Name of resource to show events for. Note: this cannot be specified with
--nested-depth
--filter <key=value>
-
Filter parameters to apply on returned events
--limit <limit>
-
Limit the number of events returned
--marker <id>
-
Only return events that appear after the given ID
--nested-depth <depth>
-
Depth of nested stacks from which to display events. Note: this cannot be specified with
--resource
--sort <key>[:<direction>]
-
Sort output by selected keys and directions (asc or desc) (default: asc). Specify multiple times to sort on multiple keys
--follow
-
Print events until process is halted
openstack stack event show
usage: openstack stack event show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<stack> <resource> <event>
Show event details.
Positional arguments:
<stack>
-
Name or ID of stack to show events for
<resource>
-
Name of the resource event belongs to
<event>
-
ID of event to display details for
Optional arguments:
-h, --help
-
show this help message and exit
openstack stack hook clear
usage: openstack stack hook clear [-h] [--pre-create] [--pre-update]
<stack> <resource> [<resource> ...]
Clear resource hooks on a given stack.
Positional arguments:
<stack>
-
Stack to display (name or ID)
<resource>
-
Resource names with hooks to clear. Resources in nested stacks can be set using slash as a separator: nested_stack/another/my_resource. You can use wildcards to match multiple stacks or resources: nested_stack/an*/*_resource
Optional arguments:
-h, --help
-
show this help message and exit
--pre-create
-
Clear the pre-create hooks
--pre-update
-
Clear the pre-update hooks
openstack stack hook poll
usage: openstack stack hook poll [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--nested-depth <nested-depth>]
<stack>
List resources with pending hook for a stack.
Positional arguments:
<stack>
-
Stack to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--nested-depth <nested-depth>
-
Depth of nested stacks from which to display hooks
openstack stack list
usage: openstack stack list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--deleted] [--nested] [--hidden]
[--property <key=value>] [--tags <tag1,tag2...>]
[--tag-mode <mode>] [--limit <limit>]
[--marker <id>] [--sort <key>[:<direction>]]
[--all-projects] [--short] [--long]
List stacks.
Optional arguments:
-h, --help
-
show this help message and exit
--deleted
-
Include soft-deleted stacks in the stack listing
--nested
-
Include nested stacks in the stack listing
--hidden
-
Include hidden stacks in the stack listing
--property <key=value>
-
Filter properties to apply on returned stacks (repeat to filter on multiple properties)
--tags <tag1,tag2...>
-
List of tags to filter by. Can be combined with
--tag-
mode to specify how to filter tags --tag-mode <mode>
-
Method of filtering tags. Must be one of "any", "not", or "not-any". If not specified, multiple tags will be combined with the boolean AND expression
--limit <limit>
-
The number of stacks returned
--marker <id>
-
Only return stacks that appear after the given ID
--sort <key>[:<direction>]
-
Sort output by selected keys and directions (asc or desc) (default: asc). Specify multiple times to sort on multiple properties
--all-projects
-
Include all projects (admin only)
--short
-
List fewer fields in output
--long
-
List additional fields in output, this is implied by
--all-projects
openstack stack output list
usage: openstack stack output list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<stack>
List stack outputs.
Positional arguments:
<stack>
-
Name or ID of stack to query
Optional arguments:
-h, --help
-
show this help message and exit
openstack stack output show
usage: openstack stack output show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] [--all]
<stack> [<output>]
Show stack output.
Positional arguments:
<stack>
-
Name or ID of stack to query
<output>
-
Name of an output to display
Optional arguments:
-h, --help
-
show this help message and exit
--all
-
Display all stack outputs
openstack stack resource list
usage: openstack stack resource list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long] [-n <nested-depth>]
[--filter <key=value>]
<stack>
List stack resources.
Positional arguments:
<stack>
-
Name or ID of stack to query
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
Enable detailed information presented for each resource in resource list
-n <nested-depth>, --nested-depth <nested-depth>
-
Depth of nested stacks from which to display resources
--filter <key=value>
-
Filter parameters to apply on returned resources based on their name, status, type, action, id and physcial_resource_id
openstack stack resource mark unhealthy
usage: openstack stack resource mark unhealthy [-h] [--reset]
<stack> <resource> [reason]
Set resource's health.
Positional arguments:
<stack>
-
Name or ID of stack the resource belongs to
<resource>
-
Name of the resource
reason
-
Reason for state change
Optional arguments:
-h, --help
-
show this help message and exit
--reset
-
Set the resource as healthy
openstack stack resource metadata
usage: openstack stack resource metadata [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<stack> <resource>
Show resource metadata
Positional arguments:
<stack>
-
Stack to display (name or ID)
<resource>
-
Name of the resource to show the metadata for
Optional arguments:
-h, --help
-
show this help message and exit
openstack stack resource show
usage: openstack stack resource show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--with-attr <attribute>]
<stack> <resource>
Display stack resource.
Positional arguments:
<stack>
-
Name or ID of stack to query
<resource>
-
Name or ID of resource
Optional arguments:
-h, --help
-
show this help message and exit
--with-attr <attribute>
-
Attribute to show, can be specified multiple times
openstack stack resource signal
usage: openstack stack resource signal [-h] [--data <data>]
[--data-file <data-file>]
<stack> <resource>
Signal a resource with optional data.
Positional arguments:
<stack>
-
Name or ID of stack the resource belongs to
<resource>
-
Name of the resoure to signal
Optional arguments:
-h, --help
-
show this help message and exit
--data <data>
-
JSON Data to send to the signal handler
--data-file <data-file>
-
File containing JSON data to send to the signal handler
openstack stack resume
usage: openstack stack resume [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}] [--wait]
<stack> [<stack> ...]
Resume a stack.
Positional arguments:
<stack>
-
Stack(s) to resume (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--wait
-
Wait for resume to complete
openstack stack show
usage: openstack stack show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<stack>
Show stack details.
Positional arguments:
<stack>
-
Stack to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack stack snapshot create
usage: openstack stack snapshot create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--name <name>]
<stack>
Create stack snapshot.
Positional arguments:
<stack>
-
Name or ID of stack
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Name of snapshot
openstack stack snapshot delete
usage: openstack stack snapshot delete [-h] <stack> <snapshot>
Delete stack snapshot.
Positional arguments:
<stack>
-
Name or ID of stack
<snapshot>
-
ID of stack snapshot
Optional arguments:
-h, --help
-
show this help message and exit
openstack stack snapshot list
usage: openstack stack snapshot list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
<stack>
List stack snapshots.
Positional arguments:
<stack>
-
Name or ID of stack containing the snapshots
Optional arguments:
-h, --help
-
show this help message and exit
openstack stack snapshot restore
usage: openstack stack snapshot restore [-h] <stack> <snapshot>
Restore stack snapshot
Positional arguments:
<stack>
-
Name or ID of stack containing the snapshot
<snapshot>
-
ID of the snapshot to restore
Optional arguments:
-h, --help
-
show this help message and exit
openstack stack snapshot show
usage: openstack stack snapshot show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<stack> <snapshot>
Show stack snapshot.
Positional arguments:
<stack>
-
Name or ID of stack containing the snapshot
<snapshot>
-
ID of the snapshot to show
Optional arguments:
-h, --help
-
show this help message and exit
openstack stack suspend
usage: openstack stack suspend [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--wait]
<stack> [<stack> ...]
Suspend a stack.
Positional arguments:
<stack>
-
Stack(s) to suspend (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--wait
-
Wait for suspend to complete
openstack stack template show
usage: openstack stack template show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<stack>
Display stack template.
Positional arguments:
<stack>
-
Name or ID of stack to query
Optional arguments:
-h, --help
-
show this help message and exit
openstack stack update
usage: openstack stack update [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [-t <template>]
[-e <environment>] [--pre-update <resource>]
[--timeout <timeout>] [--rollback <value>]
[--dry-run] [--parameter <key=value>]
[--parameter-file <key=file>] [--existing]
[--clear-parameter <parameter>]
[--tags <tag1,tag2...>] [--wait]
<stack>
Update a stack.
Positional arguments:
<stack>
-
Name or ID of stack to update
Optional arguments:
-h, --help
-
show this help message and exit
-t <template>, --template <template>
-
Path to the template
-e <environment>, --environment <environment>
-
Path to the environment. Can be specified multiple times
--pre-update <resource>
-
Name of a resource to set a pre-update hook to. Resources in nested stacks can be set using slash as a separator: nested_stack/another/my_resource. You can use wildcards to match multiple stacks or resources: nested_stack/an*/*_resource. This can be specified multiple times
--timeout <timeout>
-
Stack update timeout in minutes
--rollback <value>
-
Set rollback on update failure. Value "enabled" sets rollback to enabled. Value "disabled" sets rollback to disabled. Value "keep" uses the value of existing stack to be updated (default)
--dry-run
-
Do not actually perform the stack update, but show what would be changed
--parameter <key=value>
-
Parameter values used to create the stack. This can be specified multiple times
--parameter-file <key=file>
-
Parameter values from file used to create the stack. This can be specified multiple times. Parameter value would be the content of the file
--existing
-
Re-use the template, parameters and environment of the current stack. If the template argument is omitted then the existing template is used. If no
--environment
is specified then the existing environment is used. Parameters specified in--parameter
will patch over the existing values in the current stack. Parameters omitted will keep the existing values --clear-parameter <parameter>
-
Remove the parameters from the set of parameters of current stack for the stack-update. The default value in the template will be used. This can be specified multiple times
--tags <tag1,tag2...>
-
An updated list of tags to associate with the stack
--wait
-
Wait until stack goes to UPDATE_COMPLETE or UPDATE_FAILED
openstack subnet create
usage: openstack subnet create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--project <project>]
[--project-domain <project-domain>]
[--subnet-pool <subnet-pool> | --use-default-subnet-pool]
[--prefix-length <prefix-length>]
[--subnet-range <subnet-range>]
[--dhcp | --no-dhcp] [--gateway <gateway>]
[--ip-version {4,6}]
[--ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
[--ipv6-address-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
--network <network>
[--allocation-pool start=<ip-address>,end=<ip-address>]
[--dns-nameserver <dns-nameserver>]
[--host-route destination=<subnet>,gateway=<ip-address>]
name
Create a subnet
Positional arguments:
name
-
New subnet name
Optional arguments:
-h, --help
-
show this help message and exit
--project <project>
-
Owner's project (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--subnet-pool <subnet-pool>
-
Subnet pool from which this subnet will obtain a CIDR (Name or ID)
--use-default-subnet-pool
-
Use default subnet pool for
--ip-version
--prefix-length <prefix-length>
-
Prefix length for subnet allocation from subnet pool
--subnet-range <subnet-range>
-
Subnet range in CIDR notation (required if
--subnet-
pool is not specified, optional otherwise) --dhcp
-
Enable DHCP (default)
--no-dhcp
-
Disable DHCP
--gateway <gateway>
-
Specify a gateway for the subnet. The three options are: <ip-address>: Specific IP address to use as the gateway, 'auto': Gateway address should automatically be chosen from within the subnet itself, 'none': This subnet will not use a gateway, e.g.:
--gateway
192.168.9.1,--gateway
auto,--gateway
none (default is 'auto') --ip-version {4,6} IP
-
version (default is 4). Note that when subnet pool is specified, IP version is determined from the subnet pool and this option is ignored
--ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}
-
IPv6 RA (Router Advertisement) mode, valid modes: [dhcpv6-stateful, dhcpv6-stateless, slaac]
--ipv6-address-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}
-
IPv6 address mode, valid modes: [dhcpv6-stateful, dhcpv6-stateless, slaac]
--network <network>
-
Network this subnet belongs to (name or ID)
--allocation-pool
-
start=<ip-address>,end=<ip-address> Allocation pool IP addresses for this subnet e.g.: start=192.168.199.2,end=192.168.199.254 (repeat option to add multiple IP addresses)
--dns-nameserver <dns-nameserver>
-
DNS server for this subnet (repeat option to set multiple DNS servers)
--host-route
-
destination=<subnet>,gateway=<ip-address> Additional route for this subnet e.g.: destination=10.10.0.0/16,gateway=192.168.71.254 destination: destination subnet (in CIDR notation) gateway: nexthop IP address (repeat option to add multiple routes)
openstack subnet delete
usage: openstack subnet delete [-h] <subnet>
Delete subnet
Positional arguments:
<subnet>
-
Subnet to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack subnet list
usage: openstack subnet list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}] [--long]
[--ip-version <ip-version>]
List subnets
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
--ip-version <ip-version>
-
List only subnets of given IP version in outputAllowed values for IP version are 4 and 6.
openstack subnet pool create
usage: openstack subnet pool create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
--pool-prefix <pool-prefix>
[--default-prefix-length <default-prefix-length>]
[--min-prefix-length <min-prefix-length>]
[--max-prefix-length <max-prefix-length>]
[--project <project>]
[--project-domain <project-domain>]
[--address-scope <address-scope>]
[--default | --no-default]
[--share | --no-share]
<name>
Create subnet pool
Positional arguments:
<name>
-
Name of the new subnet pool
Optional arguments:
-h, --help
-
show this help message and exit
--pool-prefix <pool-prefix>
-
Set subnet pool prefixes (in CIDR notation) (repeat option to set multiple prefixes)
--default-prefix-length <default-prefix-length>
-
Set subnet pool default prefix length
--min-prefix-length <min-prefix-length>
-
Set subnet pool minimum prefix length
--max-prefix-length <max-prefix-length>
-
Set subnet pool maximum prefix length
--project <project>
-
Owner's project (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--address-scope <address-scope>
-
Set address scope associated with the subnet pool (name or ID), prefixes must be unique across address scopes
--default
-
Set this as a default subnet pool
--no-default
-
Set this as a non-default subnet pool
--share
-
Set this subnet pool as shared
--no-share
-
Set this subnet pool as not shared
openstack subnet pool delete
usage: openstack subnet pool delete [-h] <subnet-pool>
Delete subnet pool
Positional arguments:
<subnet-pool>
-
Subnet pool to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack subnet pool list
usage: openstack subnet pool list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long]
List subnet pools
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
openstack subnet pool set
usage: openstack subnet pool set [-h] [--name <name>]
[--pool-prefix <pool-prefix>]
[--default-prefix-length <default-prefix-length>]
[--min-prefix-length <min-prefix-length>]
[--max-prefix-length <max-prefix-length>]
[--address-scope <address-scope> | --no-address-scope]
[--default | --no-default]
<subnet-pool>
Set subnet pool properties
Positional arguments:
<subnet-pool>
-
Subnet pool to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Set subnet pool name
--pool-prefix <pool-prefix>
-
Set subnet pool prefixes (in CIDR notation) (repeat option to set multiple prefixes)
--default-prefix-length <default-prefix-length>
-
Set subnet pool default prefix length
--min-prefix-length <min-prefix-length>
-
Set subnet pool minimum prefix length
--max-prefix-length <max-prefix-length>
-
Set subnet pool maximum prefix length
--address-scope <address-scope>
-
Set address scope associated with the subnet pool (name or ID), prefixes must be unique across address scopes
--no-address-scope
-
Remove address scope associated with the subnet pool
--default
-
Set this as a default subnet pool
--no-default
-
Set this as a non-default subnet pool
openstack subnet pool show
usage: openstack subnet pool show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<subnet-pool>
Display subnet pool details
Positional arguments:
<subnet-pool>
-
Subnet pool to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack subnet set
usage: openstack subnet set [-h] [--name <name>] [--dhcp | --no-dhcp]
[--gateway <gateway>]
[--allocation-pool start=<ip-address>,end=<ip-address>]
[--dns-nameserver <dns-nameserver>]
[--host-route destination=<subnet>,gateway=<ip-address>]
<subnet>
Set subnet properties
Positional arguments:
<subnet>
-
Subnet to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Updated name of the subnet
--dhcp
-
Enable DHCP
--no-dhcp
-
Disable DHCP
--gateway <gateway>
-
Specify a gateway for the subnet. The options are: <ip-address>: Specific IP address to use as the gateway, 'none': This subnet will not use a gateway, e.g.:
--gateway
192.168.9.1,--gateway
none --allocation-pool
-
start=<ip-address>,end=<ip-address> Allocation pool IP addresses for this subnet e.g.: start=192.168.199.2,end=192.168.199.254 (repeat option to add multiple IP addresses)
--dns-nameserver <dns-nameserver>
-
DNS server for this subnet (repeat option to set multiple DNS servers)
--host-route
-
destination=<subnet>,gateway=<ip-address> Additional route for this subnet e.g.: destination=10.10.0.0/16,gateway=192.168.71.254 destination: destination subnet (in CIDR notation) gateway: nexthop IP address (repeat option to add multiple routes)
openstack subnet show
usage: openstack subnet show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<subnet>
Display subnet details
Positional arguments:
<subnet>
-
Subnet to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack tld create
usage: openstack tld create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] --name NAME
[--description DESCRIPTION]
Create new tld
Optional arguments:
-h, --help
-
show this help message and exit
--name NAME
-
TLD Name
--description DESCRIPTION
-
Description
openstack tld delete
usage: openstack tld delete [-h] id
Delete tld
Positional arguments:
id
-
TLD ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack tld list
usage: openstack tld list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--name NAME] [--description DESCRIPTION]
List tlds
Optional arguments:
-h, --help
-
show this help message and exit
--name NAME
-
TLD NAME
--description DESCRIPTION
-
TLD Description
openstack tld set
usage: openstack tld set [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--name NAME]
[--description DESCRIPTION | --no-description]
id
Set tld properties
Positional arguments:
id
-
TLD ID
Optional arguments:
-h, --help
-
show this help message and exit
--name NAME
-
TLD Name
--description DESCRIPTION
-
Description
--no-description
openstack tld show
usage: openstack tld show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
id
Show tld details
Positional arguments:
id
-
TLD ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack token issue
usage: openstack token issue [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
Issue new token
Optional arguments:
-h, --help
-
show this help message and exit
openstack token revoke
usage: openstack token revoke [-h] <token>
Revoke existing token
Positional arguments:
<token>
-
Token to be deleted
Optional arguments:
-h, --help
-
show this help message and exit
openstack trust create
usage: openstack trust create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] --project <project> --role
<role> [--impersonate]
[--expiration <expiration>]
[--project-domain <project-domain>]
[--trustor-domain <trustor-domain>]
[--trustee-domain <trustee-domain>]
<trustor-user> <trustee-user>
Create new trust
Positional arguments:
<trustor-user>
-
User that is delegating authorization (name or ID)
<trustee-user>
-
User that is assuming authorization (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--project <project>
-
Project being delegated (name or ID) (required)
--role <role>
-
Roles to authorize (name or ID) (repeat option to set multiple values, required)
--impersonate
-
Tokens generated from the trust will represent <trustor> (defaults to False)
--expiration <expiration>
-
Sets an expiration date for the trust (format of YYYY-mm-ddTHH:MM:SS)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--trustor-domain <trustor-domain>
-
Domain that contains <trustor> (name or ID)
--trustee-domain <trustee-domain>
-
Domain that contains <trustee> (name or ID)
openstack trust delete
usage: openstack trust delete [-h] <trust> [<trust> ...]
Delete trust(s)
Positional arguments:
<trust>
-
Trust(s) to delete
Optional arguments:
-h, --help
-
show this help message and exit
openstack trust list
usage: openstack trust list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
List trusts
Optional arguments:
-h, --help
-
show this help message and exit
openstack trust show
usage: openstack trust show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<trust>
Display trust details
Positional arguments:
<trust>
-
Trust to display
Optional arguments:
-h, --help
-
show this help message and exit
openstack usage list
usage: openstack usage list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--start <start>] [--end <end>]
List resource usage per project
Optional arguments:
-h, --help
-
show this help message and exit
--start <start>
-
Usage range start date, ex 2012-01-20 (default: 4 weeks ago)
--end <end>
-
Usage range end date, ex 2012-01-20 (default: tomorrow)
openstack usage show
usage: openstack usage show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--project <project>]
[--start <start>] [--end <end>]
Show resource usage for a single project
Optional arguments:
-h, --help
-
show this help message and exit
--project <project>
-
Name or ID of project to show usage for
--start <start>
-
Usage range start date, ex 2012-01-20 (default: 4 weeks ago)
--end <end>
-
Usage range end date, ex 2012-01-20 (default: tomorrow)
openstack user create
usage: openstack user create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--domain <domain>]
[--project <project>]
[--project-domain <project-domain>]
[--password <password>] [--password-prompt]
[--email <email-address>]
[--description <description>]
[--enable | --disable] [--or-show]
<name>
Create new user
Positional arguments:
<name>
-
New user name
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Default domain (name or ID)
--project <project>
-
Default project (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--password <password>
-
Set user password
--password-prompt
-
Prompt interactively for password
--email <email-address>
-
Set user email address
--description <description>
-
User description
--enable
-
Enable user (default)
--disable
-
Disable user
--or-show
-
Return existing user
openstack user delete
usage: openstack user delete [-h] [--domain <domain>] <user> [<user> ...]
Delete user(s)
Positional arguments:
<user>
-
User(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Domain owning <user> (name or ID)
openstack user list
usage: openstack user list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--domain <domain>]
[--group <group> | --project <project>] [--long]
List users
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Filter users by <domain> (name or ID)
--group <group>
-
Filter users by <group> membership (name or ID)
--project <project>
-
Filter users by <project> (name or ID)
--long
-
List additional fields in output
openstack user password set
usage: openstack user password set [-h] [--password <new-password>]
[--original-password <original-password>]
Change current user password
Optional arguments:
-h, --help
-
show this help message and exit
--password <new-password>
-
New user password
--original-password <original-password>
-
Original user password
openstack user set
usage: openstack user set [-h] [--name <name>] [--project <project>]
[--project-domain <project-domain>]
[--password <password>] [--password-prompt]
[--email <email-address>]
[--description <description>] [--enable | --disable]
<user>
Set user properties
Positional arguments:
<user>
-
User to change (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Set user name
--project <project>
-
Set default project (name or ID)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--password <password>
-
Set user password
--password-prompt
-
Prompt interactively for password
--email <email-address>
-
Set user email address
--description <description>
-
Set user description
--enable
-
Enable user (default)
--disable
-
Disable user
openstack user show
usage: openstack user show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--domain <domain>]
<user>
Display user details
Positional arguments:
<user>
-
User to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--domain <domain>
-
Domain owning <user> (name or ID)
openstack volume create
usage: openstack volume create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX] --size <size>
[--type <volume-type>] [--image <image>]
[--snapshot <snapshot>] [--source <volume>]
[--description <description>] [--user <user>]
[--project <project>]
[--availability-zone <availability-zone>]
[--property <key=value>]
<name>
Create new volume
Positional arguments:
<name>
-
Volume name
Optional arguments:
-h, --help
-
show this help message and exit
--size <size>
-
Volume size in GB
--type <volume-type>
-
Set the type of volume
--image <image>
-
Use <image> as source of volume (name or ID)
--snapshot <snapshot>
-
Use <snapshot> as source of volume (name or ID)
--source <volume>
-
Volume to clone (name or ID)
--description <description>
-
Volume description
--user <user>
-
Specify an alternate user (name or ID)
--project <project>
-
Specify an alternate project (name or ID)
--availability-zone <availability-zone>
-
Create volume in <availability-zone>
--property <key=value>
-
Set a property to this volume (repeat option to set multiple properties)
openstack volume delete
usage: openstack volume delete [-h] [--force] <volume> [<volume> ...]
Delete volume(s)
Positional arguments:
<volume>
-
Volume(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--force
-
Attempt forced removal of volume(s), regardless of state (defaults to False)
openstack volume list
usage: openstack volume list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--project <project>]
[--project-domain <project-domain>]
[--user <user>] [--user-domain <user-domain>]
[--name <name>] [--status <status>]
[--all-projects] [--long]
List volumes
Optional arguments:
-h, --help
-
show this help message and exit
--project <project>
-
Filter results by project (name or ID) (admin only)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
--user <user>
-
Filter results by user (name or ID) (admin only)
--user-domain <user-domain>
-
Domain the user belongs to (name or ID). This can be used in case collisions between user names exist.
--name <name>
-
Filter results by volume name
--status <status>
-
Filter results by status
--all-projects
-
Include all projects (admin only)
--long
-
List additional fields in output
openstack volume qos associate
usage: openstack volume qos associate [-h] <qos-spec> <volume-type>
Associate a QoS specification to a volume type
Positional arguments:
<qos-spec>
-
QoS specification to modify (name or ID)
<volume-type>
-
Volume type to associate the QoS (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack volume qos create
usage: openstack volume qos create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--consumer <consumer>]
[--property <key=value>]
<name>
Create new QoS specification
Positional arguments:
<name>
-
New QoS specification name
Optional arguments:
-h, --help
-
show this help message and exit
--consumer <consumer>
-
Consumer of the QoS. Valid consumers: back-end, both, front-end (defaults to 'both')
--property <key=value>
-
Set a QoS specification property (repeat option to set multiple properties)
openstack volume qos delete
usage: openstack volume qos delete [-h] <qos-spec> [<qos-spec> ...]
Delete QoS specification
Positional arguments:
<qos-spec>
-
QoS specification(s) to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack volume qos disassociate
usage: openstack volume qos disassociate [-h]
[--volume-type <volume-type> | --all]
<qos-spec>
Disassociate a QoS specification from a volume type
Positional arguments:
<qos-spec>
-
QoS specification to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--volume-type <volume-type>
-
Volume type to disassociate the QoS from (name or ID)
--all
-
Disassociate the QoS from every volume type
openstack volume qos list
usage: openstack volume qos list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List QoS specifications
Optional arguments:
-h, --help
-
show this help message and exit
openstack volume qos set
usage: openstack volume qos set [-h] [--property <key=value>] <qos-spec>
Set QoS specification properties
Positional arguments:
<qos-spec>
-
QoS specification to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--property <key=value>
-
Property to add or modify for this QoS specification (repeat option to set multiple properties)
openstack volume qos show
usage: openstack volume qos show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<qos-spec>
Display QoS specification details
Positional arguments:
<qos-spec>
-
QoS specification to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack volume qos unset
usage: openstack volume qos unset [-h] [--property <key>] <qos-spec>
Unset QoS specification properties
Positional arguments:
<qos-spec>
-
QoS specification to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Property to remove from the QoS specification. (repeat option to unset multiple properties)
openstack volume service list
usage: openstack volume service list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--host <host>] [--service <service>]
[--long]
List service command
Optional arguments:
-h, --help
-
show this help message and exit
--host <host>
-
List services on specified host (name only)
--service <service>
-
List only specified service (name only)
--long
-
List additional fields in output
openstack volume set
usage: openstack volume set [-h] [--name <name>] [--size <size>]
[--description <description>]
[--property <key=value>]
[--image-property <key=value>]
<volume>
Set volume properties
Positional arguments:
<volume>
-
Volume to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
New volume name
--size <size>
-
Extend volume size in GB
--description <description>
-
New volume description
--property <key=value>
-
Set a property on this volume (repeat option to set multiple properties)
--image-property <key=value>
-
Set an image property on this volume (repeat option to set multiple image properties)
openstack volume show
usage: openstack volume show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
<volume-id>
Display volume details
Positional arguments:
<volume-id>
-
Volume to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack volume transfer request list
usage: openstack volume transfer request list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--all-projects]
Lists all volume transfer requests.
Optional arguments:
-h, --help
-
show this help message and exit
--all-projects
-
Shows detail for all projects. Admin only. (defaults to False)
openstack volume type create
usage: openstack volume type create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--description <description>]
[--public | --private]
[--property <key=value>]
<name>
Create new volume type
Positional arguments:
<name>
-
Volume type name
Optional arguments:
-h, --help
-
show this help message and exit
--description <description>
-
Volume type description
--public
-
Volume type is accessible to the public
--private
-
Volume type is not accessible to the public
--property <key=value>
-
Set a property on this volume type (repeat option to set multiple properties)
openstack volume type delete
usage: openstack volume type delete [-h] <volume-type>
Delete volume type
Positional arguments:
<volume-type>
-
Volume type to delete (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack volume type list
usage: openstack volume type list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--long]
List volume types
Optional arguments:
-h, --help
-
show this help message and exit
--long
-
List additional fields in output
openstack volume type set
usage: openstack volume type set [-h] [--name <name>] [--description <name>]
[--property <key=value>]
[--project <project>]
[--project-domain <project-domain>]
<volume-type>
Set volume type properties
Positional arguments:
<volume-type>
-
Volume type to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--name <name>
-
Set volume type name
--description <name>
-
Set volume type description
--property <key=value>
-
Set a property on this volume type (repeat option to set multiple properties)
--project <project>
-
Set volume type access to project (name or ID) (admin only)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack volume type show
usage: openstack volume type show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
<volume-type>
Display volume type details
Positional arguments:
<volume-type>
-
Volume type to display (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
openstack volume type unset
usage: openstack volume type unset [-h] [--property <key>]
[--project <project>]
[--project-domain <project-domain>]
<volume-type>
Unset volume type properties
Positional arguments:
<volume-type>
-
Volume type to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Remove a property from this volume type (repeat option to remove multiple properties)
--project <project>
-
Removes volume type access to project (name or ID) (admin only)
--project-domain <project-domain>
-
Domain the project belongs to (name or ID). This can be used in case collisions between project names exist.
openstack volume unset
usage: openstack volume unset [-h] [--property <key>] [--image-property <key>]
<volume>
Unset volume properties
Positional arguments:
<volume>
-
Volume to modify (name or ID)
Optional arguments:
-h, --help
-
show this help message and exit
--property <key>
-
Remove a property from volume (repeat option to remove multiple properties)
--image-property <key>
-
Remove an image property from volume (repeat option to remove multiple image properties)
openstack zone abandon
usage: openstack zone abandon [-h] id
Abandon a zone
Positional arguments:
id
-
Zone ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone axfr
usage: openstack zone axfr [-h] id
AXFR a zone
Positional arguments:
id
-
Zone ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone blacklist create
usage: openstack zone blacklist create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
--pattern PATTERN
[--description DESCRIPTION]
Create new blacklist
Optional arguments:
-h, --help
-
show this help message and exit
--pattern PATTERN
-
Blacklist pattern
--description DESCRIPTION
-
Description
openstack zone blacklist delete
usage: openstack zone blacklist delete [-h] id
Delete blacklist
Positional arguments:
id
-
Blacklist ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone blacklist list
usage: openstack zone blacklist list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List blacklists
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone blacklist set
usage: openstack zone blacklist set [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--pattern PATTERN]
[--description DESCRIPTION | --no-description]
id
Set blacklist properties
Positional arguments:
id
-
Blacklist ID
Optional arguments:
-h, --help
-
show this help message and exit
--pattern PATTERN
-
Blacklist pattern
--description DESCRIPTION
-
Description
--no-description
openstack zone blacklist show
usage: openstack zone blacklist show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
id
Show blacklist details
Positional arguments:
id
-
Blacklist ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone create
usage: openstack zone create [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--email EMAIL] [--type TYPE]
[--ttl TTL] [--description DESCRIPTION]
[--masters MASTERS [MASTERS ...]]
name
Create new zone
Positional arguments:
name
-
Zone Name
Optional arguments:
-h, --help
-
show this help message and exit
--email EMAIL
-
Zone Email
--type TYPE
-
Zone Type
--ttl TTL
-
Time To Live (Seconds)
--description DESCRIPTION
-
Description
--masters MASTERS [MASTERS ...]
-
Zone Masters
openstack zone delete
usage: openstack zone delete [-h] id
Delete zone
Positional arguments:
id
-
Zone ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone list
usage: openstack zone list [-h] [-f {csv,html,json,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--quote {all,minimal,none,nonnumeric}]
[--name NAME] [--email EMAIL] [--type TYPE]
[--ttl TTL] [--description DESCRIPTION]
[--status STATUS]
List zones
Optional arguments:
-h, --help
-
show this help message and exit
--name NAME
-
Zone Name
--email EMAIL
-
Zone Email
--type TYPE
-
Zone Type
--ttl TTL
-
Time To Live (Seconds)
--description DESCRIPTION
-
Description
--status STATUS
-
Zone Status
openstack zone set
usage: openstack zone set [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX] [--email EMAIL] [--ttl TTL]
[--description DESCRIPTION | --no-description]
[--masters MASTERS [MASTERS ...]]
id
Set zone properties
Positional arguments:
id
-
Zone ID
Optional arguments:
-h, --help
-
show this help message and exit
--email EMAIL
-
Zone Email
--ttl TTL
-
Time To Live (Seconds)
--description DESCRIPTION
-
Description
--no-description
--masters MASTERS [MASTERS ...]
-
Zone Masters
openstack zone show
usage: openstack zone show [-h] [-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>] [--noindent]
[--prefix PREFIX]
id
Show zone details
Positional arguments:
id
-
Zone ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone transfer accept request
usage: openstack zone transfer accept request [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
--transfer-id TRANSFER_ID --key
KEY
Accept a Zone Transfer Request
Optional arguments:
-h, --help
-
show this help message and exit
--transfer-id TRANSFER_ID
-
Transfer ID
--key KEY
-
Transfer Key
openstack zone transfer accept show
usage: openstack zone transfer accept show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
id
Show Zone Transfer Accept
Positional arguments:
id
-
Zone Tranfer Accept ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone transfer request create
usage: openstack zone transfer request create [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--target-project-id TARGET_PROJECT_ID]
[--description DESCRIPTION]
zone_id
Create new zone transfer request
Positional arguments:
zone_id
-
Zone ID to transfer.
Optional arguments:
-h, --help
-
show this help message and exit
--target-project-id TARGET_PROJECT_ID
-
Target Project ID to transfer to.
--description DESCRIPTION
-
Description
openstack zone transfer request delete
usage: openstack zone transfer request delete [-h] id
Delete a Zone Transfer Request
Positional arguments:
id
-
Zone Transfer Request ID
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone transfer request list
usage: openstack zone transfer request list [-h]
[-f {csv,html,json,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent]
[--quote {all,minimal,none,nonnumeric}]
List Zone Transfer Requests
Optional arguments:
-h, --help
-
show this help message and exit
openstack zone transfer request set
usage: openstack zone transfer request set [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN] [--max-width <integer>]
[--noindent] [--prefix PREFIX]
[--description DESCRIPTION | --no-description]
id
Set a Zone Transfer Request
Positional arguments:
id
-
Zone Transfer Request ID
Optional arguments:
-h, --help
-
show this help message and exit
--description DESCRIPTION
-
Description
--no-description
openstack zone transfer request show
usage: openstack zone transfer request show [-h]
[-f {html,json,shell,table,value,yaml}]
[-c COLUMN]
[--max-width <integer>]
[--noindent] [--prefix PREFIX]
id
Show Zone Transfer Request Details
Positional arguments:
id
-
Zone Tranfer Request ID
Optional arguments:
-h, --help
-
show this help message and exit