-
Language:
English
-
Language:
English
Red Hat Training
A Red Hat training course is available for Red Hat OpenStack Platform
Command-Line Interface Reference
Command-line clients for Red Hat OpenStack Platform
Abstract
Chapter 1. OpenStack Command-line Clients
1.1. Overview
Table 1.1. OpenStack services and clients
Service | Client | Package | Description |
---|---|---|---|
Bare Metal | ironic | python-ironicclient | Manage and provision physical machines. |
Block Storage | cinder | python-cinderclient | Create and manage volumes. |
Compute | nova | python-novaclient | Create and manage images, instances, and flavors. |
Director | tripleoclient | python-tripleoclient | Manage a director-based cloud. |
Identity | keystone | python-keystoneclient | Create and manage users, tenants, roles, endpoints, and credentials. |
Image Service | glance | python-glanceclient | Create and manage images. |
Hardware Introspection for Bare Metal | ironic-inspector | openstack-ironic-inspector | An auxiliary service for discovering hardware properties for the Bare Metal service. |
Hardware Introspection for Bare Metal | openstack baremetal introspection | python-ironic-inspector-client | A client for the bare metal hardware introspection. |
Networking | neutron | python-neutronclient | Configure networks for guest servers. This client was previously called quantum. |
Object Storage | swift | python-swiftclient | Gather statistics, list items, update metadata, and upload, download, and delete files stored by the Object Storage service. Gain access to an Object Storage installation for ad hoc processing. |
Orchestration | heat | python-heatclient | Launch stacks from templates, view details of running stacks including events and resources, and update and delete stacks. |
Telemetry | ceilometer | python-ceilometerclient | Create and collect measurements across OpenStack. |
1.2. Install the OpenStack Command-line Clients
1.2.1. Install the Prerequisite Software
Table 1.2. Prerequisite software
Prerequisite | Description |
---|---|
Python 2.6 or later
|
Currently, the clients do not support Python 3.
|
python-setuptools package
|
python-setuptools is a collection of tools to allow for building, distribution, and installation of Python packages.
|
1.2.2. Install the Clients
ceilometer
- Telemetry APIcinder
- Block Storage API and extensionsglance
- Image Service APIheat
- Orchestration APIkeystone
- Identity service API and extensionsneutron
- Networking APInova
- Compute API and extensionsswift
- Object Storage API
#
yum install python-novaclient
1.2.2.1. Installing from Packages
#
yum install python-PROJECTclient
1.2.3. Upgrade or Remove Clients
--upgrade
option to the yum install command:
#
yum install --upgrade python-PROJECTclient
#
yum erase python-PROJECTclient
1.2.4. What's Next
PROJECT-openrc.sh
file to set environment variables. See Section 1.4, “Set Environment Variables Using the OpenStack RC File”.
1.3. Discover the Version Number for a Client
$
PROJECT --version
$
nova --version
3.3.0
1.4. Set Environment Variables Using the OpenStack RC File
openrc.sh
file. If your OpenStack installation provides it, you can download the file from the OpenStack dashboard as an administrative user or any other user. This project-specific environment file contains the credentials that all OpenStack services use.
1.4.1. Download and Source the OpenStack RC File
- Log in to the OpenStack dashboard, choose the project for which you want to download the OpenStack RC file, and click Access & Security.
- On the API Access tab, click Download OpenStack RC File and save the file. The filename will be of the form
PROJECT-openrc.sh
where PROJECT is the name of the project for which you downloaded the file. - Copy the
PROJECT-openrc.sh
file to the computer from which you want to run OpenStack commands.For example, copy the file to the computer from which you want to upload an image with a glance client command. - On any shell from which you want to run OpenStack commands, source the
PROJECT-openrc.sh
file for the respective project.In the following example, thedemo-openrc.sh
file is sourced for the demo project:$
source demo-openrc.sh
- When you are prompted for an OpenStack password, enter the password for the user who downloaded the
PROJECT-openrc.sh
file.
1.4.2. Create and Source the OpenStack RC File
PROJECT-openrc.sh
file from scratch, if for some reason you cannot download the file from the dashboard.
- In a text editor, create a file named
PROJECT-openrc.sh
file and add the following authentication information:export OS_USERNAME=username export OS_PASSWORD=password export OS_PROJECT_NAME=projectName export OS_AUTH_URL=https://identityHost:portNumber/v2.0 # The following lines can be omitted export OS_TENANT_ID=tenantIDString export OS_REGION_NAME=regionName
The following example shows the information for a project calledadmin
, where the OS username is alsoadmin
, and the identity host is located atcontroller
.export OS_USERNAME=admin export OS_PASSWORD=ADMIN_PASS export OS_PROJECT_NAME=admin export OS_AUTH_URL=http://controller:35357/v2.0
- On any shell from which you want to run OpenStack commands, source the
PROJECT-openrc.sh
file for the respective project. In this example, you source theadmin-openrc.sh
file for the admin project:$
source admin-openrc.sh
PROJECT-openrc.sh
file. Restrict the permissions on this file to avoid security problems. You can also remove the OS_PASSWORD
variable from the file, and use the --password
parameter with OpenStack client commands instead.
1.4.3. Override Environment Variable Values
OS_PASSWORD
setting in the PROJECT-openrc.sh
file by specifying a password on a keystone command, as follows:
$
keystone --os-password PASSWORD service-list
Chapter 2. OpenStack Command-line Client
3.2.0
.
$
openstack
help
COMMAND
2.1. 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-object-api-version <object-api-version>] [--os-metrics-api-version <metrics-api-version>] [--os-data-processing-api-version <data-processing-api-version>] [--os-data-processing-url OS_DATA_PROCESSING_URL] [--os-orchestration-api-version <orchestration-api-version>] [--os-dns-api-version <dns-api-version>] [--os-alarming-api-version <alarming-api-version>] [--os-key-manager-api-version <key-manager-api-version>] [--os-application-catalog-api-version <application-catalog-api-version>] [--murano-url MURANO_URL] [--inspector-api-version INSPECTOR_API_VERSION] [--inspector-url INSPECTOR_URL] [--os-container-infra-api-version <container-infra-api-version>] [--os-queues-api-version <queues-api-version>] [--os-baremetal-api-version <baremetal-api-version>] [--os-workflow-api-version <workflow-api-version>] [--os-auth-type <auth-type>] [--os-authorization-code <auth-authorization-code>] [--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-consumer-key <auth-consumer-key>] [--os-domain-name <auth-domain-name>] [--os-access-secret <auth-access-secret>] [--os-user-domain-id <auth-user-domain-id>] [--os-access-token-type <auth-access-token-type>] [--os-identity-provider-url <auth-identity-provider-url>] [--os-default-domain-name <auth-default-domain-name>] [--os-access-token-endpoint <auth-access-token-endpoint>] [--os-access-token <auth-access-token>] [--os-domain-id <auth-domain-id>] [--os-user-domain-name <auth-user-domain-name>] [--os-openid-scope <auth-openid-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-default-domain-id <auth-default-domain-id>] [--os-discovery-endpoint <auth-discovery-endpoint>] [--os-client-id <auth-client-id>] [--os-project-domain-name <auth-project-domain-name>] [--os-access-key <auth-access-key>] [--os-password <auth-password>] [--os-redirect-uri <auth-redirect-uri>] [--os-endpoint <auth-endpoint>] [--os-aodh-endpoint <auth-aodh-endpoint>] [--os-roles <auth-roles>] [--os-url <auth-url>] [--os-consumer-secret <auth-consumer-secret>] [--os-token <auth-token>] [--os-passcode <auth-passcode>] [--os-project-id <auth-project-id>]
2.2. 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=2 (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-object-api-version <object-api-version>
Object API version, default=1 (Env:
OS_OBJECT_API_VERSION)
- --os-metrics-api-version <metrics-api-version>
Metrics API version, default=1 (Env:
OS_METRICS_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-orchestration-api-version <orchestration-api-version>
Orchestration API version, default=1 (Env:
OS_ORCHESTRATION_API_VERSION)
- --os-dns-api-version <dns-api-version>
DNS API version, default=2 (Env: OS_DNS_API_VERSION)
- --os-alarming-api-version <alarming-api-version>
Queues API version, default=2 (Env:
OS_ALARMING_API_VERSION)
- --os-key-manager-api-version <key-manager-api-version>
Barbican API version, default=1 (Env:
OS_KEY_MANAGER_API_VERSION)
- --os-application-catalog-api-version <application-catalog-api-version>
Application catalog API version,
default=1(Env:OS_APPLICATION_CATALOG_API_VERSION)
- --murano-url MURANO_URL
Defaults toenv[MURANO_URL]
.
- --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-container-infra-api-version <container-infra-api-version>
Container-Infra API version, default=1 (Env:
OS_CONTAINER_INFRA_API_VERSION)
- --os-queues-api-version <queues-api-version>
Queues API version, default=2 (Env:
OS_QUEUES_API_VERSION)
- --os-baremetal-api-version <baremetal-api-version>
Baremetal API version, default=1.6 (Env:
OS_BAREMETAL_API_VERSION)
- --os-workflow-api-version <workflow-api-version>
Workflow API version, default=2 (Env:
OS_WORKFLOW_API_VERSION)
- --os-auth-type <auth-type>
Select an authentication type. Available types:
v2token, password, admin_token, v3oidcauthcode,
v3oidcpassword, v2password, v3samlpassword,
v3password, v3oidcaccesstoken, token_endpoint,
v3kerberos, v3totp, token, v3oidcclientcredentials,
v3tokenlessauth, gnocchi-noauth, v3token, v3oauth1,
aodh-noauth, v3fedkerb. Default: selected based on
--os-username/--os-token (Env: OS_AUTH_TYPE)
- --os-authorization-code <auth-authorization-code>
With v3oidcauthcode: OAuth 2.0 Authorization Code
(Env: OS_AUTHORIZATION_CODE)
- --os-project-domain-id <auth-project-domain-id>
With password: Domain ID containing project With
v3oidcauthcode: Domain ID containing project With
v3oidcpassword: Domain ID containing project With
v3samlpassword: Domain ID containing project With
v3password: Domain ID containing project With
v3oidcaccesstoken: Domain ID containing project With
v3kerberos: Domain ID containing project With v3totp:
Domain ID containing project With token: Domain ID
containing project With v3oidcclientcredentials:
Domain ID containing project With v3tokenlessauth:
Domain ID containing project With v3token: Domain ID
containing project With v3fedkerb: Domain ID
containing project (Env: OS_PROJECT_DOMAIN_ID)
- --os-protocol <auth-protocol>
With v3oidcauthcode: Protocol for federated plugin
With v3oidcpassword: Protocol for federated plugin
With v3samlpassword: Protocol for federated plugin
With v3oidcaccesstoken: Protocol for federated plugin
With v3oidcclientcredentials: Protocol for federated
plugin (Env: OS_PROTOCOL)
- --os-project-name <auth-project-name>
With password: Project name to scope to With
v3oidcauthcode: Project name to scope to With
v3oidcpassword: Project name to scope to With
v3samlpassword: Project name to scope to With
v3password: Project name to scope to With
v3oidcaccesstoken: Project name to scope to With
v3kerberos: Project name to scope to With v3totp:
Project name to scope to With token: Project name to
scope to With v3oidcclientcredentials: Project name to
scope to With v3tokenlessauth: Project name to scope
to With v3token: Project name to scope to With
v3fedkerb: Project name to scope to (Env:
OS_PROJECT_NAME)
- --os-trust-id <auth-trust-id>
With v2token: Trust ID With password: Trust ID With
v3oidcauthcode: Trust ID With v3oidcpassword: Trust ID
With v2password: Trust ID With v3samlpassword: Trust
ID With v3password: Trust ID With v3oidcaccesstoken:
Trust ID With v3kerberos: Trust ID With v3totp: Trust
ID With token: Trust ID With v3oidcclientcredentials:
Trust ID With v3token: Trust ID With v3fedkerb: Trust
ID (Env: OS_TRUST_ID)
- --os-consumer-key <auth-consumer-key>
With v3oauth1: OAuth Consumer ID/Key (Env:
OS_CONSUMER_KEY)
- --os-domain-name <auth-domain-name>
With password: Domain name to scope to With
v3oidcauthcode: Domain name to scope to With
v3oidcpassword: Domain name to scope to With
v3samlpassword: Domain name to scope to With
v3password: Domain name to scope to With
v3oidcaccesstoken: Domain name to scope to With
v3kerberos: Domain name to scope to With v3totp:
Domain name to scope to With token: Domain name to
scope to With v3oidcclientcredentials: Domain name to
scope to With v3tokenlessauth: Domain name to scope to
With v3token: Domain name to scope to With v3fedkerb:
Domain name to scope to (Env: OS_DOMAIN_NAME)
- --os-access-secret <auth-access-secret>
With v3oauth1: OAuth Access Secret (Env:
OS_ACCESS_SECRET)
- --os-user-domain-id <auth-user-domain-id>
With password: User's domain id With v3password:
User's domain id With v3totp: User's domain id (Env:
OS_USER_DOMAIN_ID)
- --os-access-token-type <auth-access-token-type>
With v3oidcauthcode: OAuth 2.0 Authorization Server
Introspection token type, it is used to decide which
type of token will be used when processing token
introspection. Valid values are: "access_token" or
"id_token" With v3oidcpassword: OAuth 2.0
Authorization Server Introspection token type, it is
used to decide which type of token will be used when
processing token introspection. Valid values are:
"access_token" or "id_token" With
v3oidcclientcredentials: OAuth 2.0 Authorization
Server Introspection token type, it is used to decide
which type of token will be used when processing token
introspection. Valid values are: "access_token" or
"id_token" (Env: OS_ACCESS_TOKEN_TYPE)
- --os-identity-provider-url <auth-identity-provider-url>
With v3samlpassword: An Identity Provider URL, where
the SAML2 authentication request will be sent. (Env:
OS_IDENTITY_PROVIDER_URL)
- --os-default-domain-name <auth-default-domain-name>
With password: Optional domain name to use with v3 API
and v2 parameters. It will be used for both the user
and project domain in v3 and ignored in v2
authentication. With token: Optional domain name to
use with v3 API and v2 parameters. It will be used for
both the user and project domain in v3 and ignored in
v2 authentication. (Env: OS_DEFAULT_DOMAIN_NAME)
- --os-access-token-endpoint <auth-access-token-endpoint>
With v3oidcauthcode: OpenID Connect Provider Token
Endpoint. Note that if a discovery document is being
passed this option will override the endpoint provided
by the server in the discovery document. With
v3oidcpassword: OpenID Connect Provider Token
Endpoint. Note that if a discovery document is being
passed this option will override the endpoint provided
by the server in the discovery document. With
v3oidcclientcredentials: OpenID Connect Provider Token
Endpoint. Note that if a discovery document is being
passed this option will override the endpoint provided
by the server in the discovery document. (Env:
OS_ACCESS_TOKEN_ENDPOINT)
- --os-access-token <auth-access-token>
With v3oidcaccesstoken: OAuth 2.0 Access Token (Env:
OS_ACCESS_TOKEN)
- --os-domain-id <auth-domain-id>
With password: Domain ID to scope to With
v3oidcauthcode: Domain ID to scope to With
v3oidcpassword: Domain ID to scope to With
v3samlpassword: Domain ID to scope to With v3password:
Domain ID to scope to With v3oidcaccesstoken: Domain
ID to scope to With v3kerberos: Domain ID to scope to
With v3totp: Domain ID to scope to With token: Domain
ID to scope to With v3oidcclientcredentials: Domain ID
to scope to With v3tokenlessauth: Domain ID to scope
to With v3token: Domain ID to scope to With v3fedkerb:
Domain ID to scope to (Env: OS_DOMAIN_ID)
- --os-user-domain-name <auth-user-domain-name>
With password: User's domain name With v3password:
User's domain name With v3totp: User's domain name
(Env: OS_USER_DOMAIN_NAME)
- --os-openid-scope <auth-openid-scope>
With v3oidcauthcode: OpenID Connect scope that is
requested from authorization server. Note that the
OpenID Connect specification states that "openid" must
be always specified. With v3oidcpassword: OpenID
Connect scope that is requested from authorization
server. Note that the OpenID Connect specification
states that "openid" must be always specified. With
v3oidcclientcredentials: OpenID Connect scope that is
requested from authorization server. Note that the
OpenID Connect specification states that "openid" must
be always specified. (Env: OS_OPENID_SCOPE)
- --os-user-id <auth-user-id>
With password: User id With v2password: User ID to
login with With v3password: User ID With v3totp: User
ID With gnocchi-noauth: User ID With aodh-noauth: User
ID (Env: OS_USER_ID)
- --os-identity-provider <auth-identity-provider>
With v3oidcauthcode: Identity Provider's name With
v3oidcpassword: Identity Provider's name With
v3samlpassword: Identity Provider's name With
v3oidcaccesstoken: Identity Provider's name With
v3oidcclientcredentials: Identity Provider's name
(Env: OS_IDENTITY_PROVIDER)
- --os-username <auth-username>
With password: Username With v3oidcpassword: Username
With v2password: Username to login with With
v3samlpassword: Username With v3password: Username
With v3totp: Username (Env: OS_USERNAME)
- --os-auth-url <auth-auth-url>
With v2token: Authentication URL With password:
Authentication URL With v3oidcauthcode: Authentication
URL With v3oidcpassword: Authentication URL With
v2password: Authentication URL With v3samlpassword:
Authentication URL With v3password: Authentication URL
With v3oidcaccesstoken: Authentication URL With
v3kerberos: Authentication URL With v3totp:
Authentication URL With token: Authentication URL With
v3oidcclientcredentials: Authentication URL With
v3tokenlessauth: Authentication URL With v3token:
Authentication URL With v3oauth1: Authentication URL
With v3fedkerb: Authentication URL (Env: OS_AUTH_URL)
- --os-client-secret <auth-client-secret>
With v3oidcauthcode: OAuth 2.0 Client Secret With
v3oidcpassword: OAuth 2.0 Client Secret With
v3oidcclientcredentials: OAuth 2.0 Client Secret (Env:
OS_CLIENT_SECRET)
- --os-default-domain-id <auth-default-domain-id>
With password: Optional domain ID to use with v3 and
v2 parameters. It will be used for both the user and
project domain in v3 and ignored in v2 authentication.
With token: Optional domain ID to use with v3 and v2
parameters. It will be used for both the user and
project domain in v3 and ignored in v2 authentication.
(Env: OS_DEFAULT_DOMAIN_ID)
- --os-discovery-endpoint <auth-discovery-endpoint>
With v3oidcauthcode: OpenID Connect Discovery Document
URL. The discovery document will be used to obtain the
values of the access token endpoint and the
authentication endpoint. This URL should look like
https://idp.example.org/.well-known/openid-
configuration With v3oidcpassword: OpenID Connect
Discovery Document URL. The discovery document will be
used to obtain the values of the access token endpoint
and the authentication endpoint. This URL should look
like https://idp.example.org/.well-known/openid-
configuration With v3oidcclientcredentials: OpenID
Connect Discovery Document URL. The discovery document
will be used to obtain the values of the access token
endpoint and the authentication endpoint. This URL
should look like https://idp.example.org/.well-known
/openid-configuration (Env: OS_DISCOVERY_ENDPOINT)
- --os-client-id <auth-client-id>
With v3oidcauthcode: OAuth 2.0 Client ID With
v3oidcpassword: OAuth 2.0 Client ID With
v3oidcclientcredentials: OAuth 2.0 Client ID (Env:
OS_CLIENT_ID)
- --os-project-domain-name <auth-project-domain-name>
With password: Domain name containing project With
v3oidcauthcode: Domain name containing project With
v3oidcpassword: Domain name containing project With
v3samlpassword: Domain name containing project With
v3password: Domain name containing project With
v3oidcaccesstoken: Domain name containing project With
v3kerberos: Domain name containing project With
v3totp: Domain name containing project With token:
Domain name containing project With
v3oidcclientcredentials: Domain name containing
project With v3tokenlessauth: Domain name containing
project With v3token: Domain name containing project
With v3fedkerb: Domain name containing project (Env:
OS_PROJECT_DOMAIN_NAME)
- --os-access-key <auth-access-key>
With v3oauth1: OAuth Access Key (Env: OS_ACCESS_KEY)
- --os-password <auth-password>
With password: User's password With v3oidcpassword:
Password With v2password: Password to use With
v3samlpassword: Password With v3password: User's
password (Env: OS_PASSWORD)
- --os-redirect-uri <auth-redirect-uri>
With v3oidcauthcode: OpenID Connect Redirect URL (Env:
OS_REDIRECT_URI)
- --os-endpoint <auth-endpoint>
With admin_token: The endpoint that will always be
used With gnocchi-noauth: Gnocchi endpoint (Env:
OS_ENDPOINT)
- --os-aodh-endpoint <auth-aodh-endpoint>
With aodh-noauth: Aodh endpoint (Env:
OS_AODH_ENDPOINT)
- --os-roles <auth-roles>
With gnocchi-noauth: Roles With aodh-noauth: Roles
(Env: OS_ROLES)
- --os-url <auth-url>
With token_endpoint: Specific service endpoint to use
(Env: OS_URL)
- --os-consumer-secret <auth-consumer-secret>
With v3oauth1: OAuth Consumer Secret (Env:
OS_CONSUMER_SECRET)
- --os-token <auth-token>
With v2token: Token With admin_token: The token that
will always be used With token_endpoint:
Authentication token to use With token: Token to
authenticate with With v3token: Token to authenticate
with (Env: OS_TOKEN)
- --os-passcode <auth-passcode>
With v3totp: User's TOTP passcode (Env: OS_PASSCODE)
- --os-project-id <auth-project-id>
With password: Project ID to scope to With
v3oidcauthcode: Project ID to scope to With
v3oidcpassword: Project ID to scope to With
v3samlpassword: Project ID to scope to With
v3password: Project ID to scope to With
v3oidcaccesstoken: Project ID to scope to With
v3kerberos: Project ID to scope to With v3totp:
Project ID to scope to With token: Project ID to scope
to With v3oidcclientcredentials: Project ID to scope
to With v3tokenlessauth: Project ID to scope to With
gnocchi-noauth: Project ID With v3token: Project ID to
scope to With aodh-noauth: Project ID With v3fedkerb:
Project ID to scope to (Env: OS_PROJECT_ID)
2.3. openstack acl delete
usage: openstack acl delete [-h] URI
Positional arguments
- URI
The URI reference for the secret or container.
Optional arguments
- -h, --help
show this help message and exit
2.4. openstack acl get
usage: openstack acl get [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] URI
Positional arguments
- URI
The URI reference for the secret or container.
Optional arguments
- -h, --help
show this help message and exit
2.5. openstack acl submit
usage: openstack acl submit [-h] [-f {csv,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
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
2.6. openstack acl user add
usage: openstack acl user add [-h] [-f {csv,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
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
2.7. openstack acl user remove
usage: openstack acl user remove [-h] [-f {csv,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
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
2.8. openstack action definition create
usage: openstack action definition create [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--public] definition
Positional arguments
- definition
Action definition file
Optional arguments
- -h, --help
show this help message and exit
- --public
With this flag action will be marked as "public".
2.9. openstack action definition delete
usage: openstack action definition delete [-h] action [action ...]
Positional arguments
- action
Name or ID of action(s).
Optional arguments
- -h, --help
show this help message and exit
2.10. openstack action definition list
usage: openstack action definition list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.11. openstack action definition show
usage: openstack action definition show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] action
Positional arguments
- action
Action (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.12. openstack action definition update
usage: openstack action definition update [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--id ID] [--public] definition
Positional arguments
- definition
Action definition file
Optional arguments
- -h, --help
show this help message and exit
- --id ID
Action ID.
- --public
With this flag action will be marked as "public".
2.13. openstack action execution delete
usage: openstack action execution delete [-h] action_execution [action_execution ...]
Positional arguments
- action_execution
Id of action execution identifier(s).
Optional arguments
- -h, --help
show this help message and exit
2.14. openstack action execution list
usage: openstack action execution list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [task_execution_id]
Positional arguments
- task_execution_id
Task execution ID.
Optional arguments
- -h, --help
show this help message and exit
2.15. openstack action execution run
usage: openstack action execution run [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-s] [--run-sync] [-t TARGET] name [input]
Positional arguments
- name
Action name to execute.
- input
Action input.
Optional arguments
- -h, --help
show this help message and exit
- -s, --save-result
Save the result into DB.
- --run-sync
Run the action synchronously.
- -t TARGET, --target TARGET
Action will be executed on <target> executor.
2.16. openstack action execution show
usage: openstack action execution show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] action_execution
Positional arguments
- action_execution
Action execution ID.
Optional arguments
- -h, --help
show this help message and exit
2.17. openstack action execution update
usage: openstack action execution update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--state {IDLE,RUNNING,SUCCESS,ERROR}] [--output OUTPUT] id
Positional arguments
- id
Action execution ID.
Optional arguments
- -h, --help
show this help message and exit
- --state {IDLE,RUNNING,SUCCESS,ERROR}
Action execution state
- --output OUTPUT
Action execution output
2.18. openstack address scope create
usage: openstack address scope create [-h] [-f {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>
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)
2.19. openstack address scope delete
usage: openstack address scope delete [-h] <address-scope> [<address-scope> ...]
Positional arguments
- <address-scope>
Address scope(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.20. openstack address scope list
usage: openstack address scope list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.21. openstack address scope set
usage: openstack address scope set [-h] [--name <name>] [--share | --no-share] <address-scope>
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
2.22. openstack address scope show
usage: openstack address scope show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <address-scope>
Positional arguments
- <address-scope>
Address scope to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.23. openstack aggregate add host
usage: openstack aggregate add host [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <aggregate> <host>
Positional arguments
- <aggregate>
Aggregate (name or ID)
- <host>
Host to add to <aggregate>
Optional arguments
- -h, --help
show this help message and exit
2.24. openstack aggregate create
usage: openstack aggregate create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--zone <availability-zone>] [--property <key=value>] <name>
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)
2.25. openstack aggregate delete
usage: openstack aggregate delete [-h] <aggregate> [<aggregate> ...]
Positional arguments
- <aggregate>
Aggregate(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.26. openstack aggregate list
usage: openstack aggregate list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.27. openstack aggregate remove host
usage: openstack aggregate remove host [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <aggregate> <host>
Positional arguments
- <aggregate>
Aggregate (name or ID)
- <host>
Host to remove from <aggregate>
Optional arguments
- -h, --help
show this help message and exit
2.28. openstack aggregate set
usage: openstack aggregate set [-h] [--name <name>] [--zone <availability-zone>] [--property <key=value>] <aggregate>
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)
2.29. openstack aggregate show
usage: openstack aggregate show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <aggregate>
Positional arguments
- <aggregate>
Aggregate to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.30. openstack aggregate unset
usage: openstack aggregate unset [-h] --property <key> <aggregate>
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)
2.31. openstack alarm create
usage: openstack alarm create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --name <NAME> -t <TYPE> [--project-id <PROJECT_ID>] [--user-id <USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--query <QUERY>] [--comparison-operator <OPERATOR>] [--evaluation-periods <EVAL_PERIODS>] [--threshold <THRESHOLD>] [--metric <METRIC>] [-m <METER NAME>] [--period <PERIOD>] [--statistic <STATISTIC>] [--event-type <EVENT_TYPE>] [--granularity <GRANULARITY>] [--aggregation-method <AGGR_METHOD>] [--resource-type <RESOURCE_TYPE>] [--resource-id <RESOURCE_ID>] [--metrics <METRICS>] [--composite-rule <COMPOSITE_RULE>]
Optional arguments
- -h, --help
show this help message and exit
- --name <NAME>
Name of the alarm
- -t <TYPE>, --type <TYPE>
Type of alarm, should be one of: threshold, event,
composite, gnocchi_resources_threshold,
gnocchi_aggregation_by_metrics_threshold,
gnocchi_aggregation_by_resources_threshold.
- --project-id <PROJECT_ID>
Project to associate with alarm (configurable by admin
users only)
- --user-id <USER_ID>
User to associate with alarm (configurable by admin
users only)
- --description <DESCRIPTION>
Free text description of the alarm
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low', 'moderate',
'critical']
- --enabled {True|False}
True if alarm evaluation is enabled
- --alarm-action <Webhook URL>
URL to invoke when state transitions to alarm. May be
used multiple times
- --ok-action <Webhook URL>
URL to invoke when state transitions to OK. May be
used multiple times
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to insufficient
data. May be used multiple times
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at evaluation is
within this time constraint. Start point(s) of the
constraint are specified with a cron expression,
whereas its duration is given in seconds. Can be
specified multiple times for multiple time
constraints, format is: name=<CONSTRAINT_NAME>;start=<
CRON>;duration=<SECONDS>;[description=<DESCRIPTION>;[t
imezone=<IANA Timezone>]]
- --repeat-actions {True|False}
True if actions should be repeatedly notified while
alarm remains in target state
2.32. openstack alarm delete
usage: openstack alarm delete [-h] [--name <NAME>] [<ALARM ID or NAME>]
Positional arguments
- <ALARM ID or NAME>
ID or name of an alarm.
Optional arguments
- -h, --help
show this help message and exit
- --name <NAME>
Name of the alarm
2.33. openstack alarm list
usage: openstack alarm list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--query QUERY | --filter <KEY1=VALUE1;KEY2=VALUE2...>] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT_KEY:SORT_DIR>]
Optional arguments
- -h, --help
show this help message and exit
- --query QUERY
Rich query supported by aodh, e.g. project_id!=my-id
user_id=foo or user_id=bar
- --filter <KEY1=VALUE1;KEY2=VALUE2...>
Filter parameters to apply on returned alarms.
- --limit <LIMIT>
Number of resources to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value,the supported marker is
alarm_id.
- --sort <SORT_KEY:SORT_DIR>
Sort of resource attribute, e.g. name:asc
2.34. openstack alarm show
usage: openstack alarm show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <NAME>] [<ALARM ID or NAME>]
Positional arguments
- <ALARM ID or NAME>
ID or name of an alarm.
Optional arguments
- -h, --help
show this help message and exit
- --name <NAME>
Name of the alarm
2.35. openstack alarm state get
usage: openstack alarm state get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <NAME>] [<ALARM ID or NAME>]
Positional arguments
- <ALARM ID or NAME>
ID or name of an alarm.
Optional arguments
- -h, --help
show this help message and exit
- --name <NAME>
Name of the alarm
2.36. openstack alarm state set
usage: openstack alarm state set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <NAME>] --state <STATE> [<ALARM ID or NAME>]
Positional arguments
- <ALARM ID or NAME>
ID or name of an alarm.
Optional arguments
- -h, --help
show this help message and exit
- --name <NAME>
Name of the alarm
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
2.37. openstack alarm update
usage: openstack alarm update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <NAME>] [-t <TYPE>] [--project-id <PROJECT_ID>] [--user-id <USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--query <QUERY>] [--comparison-operator <OPERATOR>] [--evaluation-periods <EVAL_PERIODS>] [--threshold <THRESHOLD>] [--metric <METRIC>] [-m <METER NAME>] [--period <PERIOD>] [--statistic <STATISTIC>] [--event-type <EVENT_TYPE>] [--granularity <GRANULARITY>] [--aggregation-method <AGGR_METHOD>] [--resource-type <RESOURCE_TYPE>] [--resource-id <RESOURCE_ID>] [--metrics <METRICS>] [--composite-rule <COMPOSITE_RULE>] [<ALARM ID or NAME>]
Positional arguments
- <ALARM ID or NAME>
ID or name of an alarm.
Optional arguments
- -h, --help
show this help message and exit
- --name <NAME>
Name of the alarm
- -t <TYPE>, --type <TYPE>
Type of alarm, should be one of: threshold, event,
composite, gnocchi_resources_threshold,
gnocchi_aggregation_by_metrics_threshold,
gnocchi_aggregation_by_resources_threshold.
- --project-id <PROJECT_ID>
Project to associate with alarm (configurable by admin
users only)
- --user-id <USER_ID>
User to associate with alarm (configurable by admin
users only)
- --description <DESCRIPTION>
Free text description of the alarm
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low', 'moderate',
'critical']
- --enabled {True|False}
True if alarm evaluation is enabled
- --alarm-action <Webhook URL>
URL to invoke when state transitions to alarm. May be
used multiple times
- --ok-action <Webhook URL>
URL to invoke when state transitions to OK. May be
used multiple times
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to insufficient
data. May be used multiple times
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at evaluation is
within this time constraint. Start point(s) of the
constraint are specified with a cron expression,
whereas its duration is given in seconds. Can be
specified multiple times for multiple time
constraints, format is: name=<CONSTRAINT_NAME>;start=<
CRON>;duration=<SECONDS>;[description=<DESCRIPTION>;[t
imezone=<IANA Timezone>]]
- --repeat-actions {True|False}
True if actions should be repeatedly notified while
alarm remains in target state
2.38. openstack alarm-history search
usage: openstack alarm-history search [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--query QUERY]
Optional arguments
- -h, --help
show this help message and exit
- --query QUERY
Rich query supported by aodh, e.g. project_id!=my-id
user_id=foo or user_id=bar
2.39. openstack alarm-history show
usage: openstack alarm-history show [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT_KEY:SORT_DIR>] alarm_id
Positional arguments
- alarm_id
ID of an alarm
Optional arguments
- -h, --help
show this help message and exit
- --limit <LIMIT>
Number of resources to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value,the supported marker is
event_id.
- --sort <SORT_KEY:SORT_DIR>
Sort of resource attribute. e.g. timestamp:desc
2.40. openstack alarming capabilities list
usage: openstack alarming capabilities list [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
2.41. openstack availability zone list
usage: openstack availability zone list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--compute] [--network] [--volume] [--long]
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
2.42. openstack ca get
usage: openstack ca get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] URI
Positional arguments
- URI
The URI reference for the CA.
Optional arguments
- -h, --help
show this help message and exit
2.43. openstack ca list
usage: openstack ca list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit LIMIT] [--offset OFFSET] [--name NAME]
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)
2.44. openstack catalog list
usage: openstack catalog list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.45. openstack catalog show
usage: openstack catalog show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <service>
Positional arguments
- <service>
Service to display (type or name)
Optional arguments
- -h, --help
show this help message and exit
2.46. openstack command list
usage: openstack command list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.47. openstack compute agent create
usage: openstack compute agent create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <os> <architecture> <version> <url> <md5hash> <hypervisor>
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
2.48. openstack compute agent delete
usage: openstack compute agent delete [-h] <id> [<id> ...]
Positional arguments
- <id>
ID of agent(s) to delete
Optional arguments
- -h, --help
show this help message and exit
2.49. openstack compute agent list
usage: openstack compute agent list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--hypervisor <hypervisor>]
Optional arguments
- -h, --help
show this help message and exit
- --hypervisor <hypervisor>
Type of hypervisor
2.50. openstack compute agent set
usage: openstack compute agent set [-h] [--agent-version <version>] [--url <url>] [--md5hash <md5hash>] <id>
Positional arguments
- <id>
ID of the agent
Optional arguments
- -h, --help
show this help message and exit
- --agent-version <version>
Version of the agent
- --url <url> URL
of the agent
- --md5hash <md5hash>
MD5 hash of the agent
2.51. openstack compute service delete
usage: openstack compute service delete [-h] <service> [<service> ...]
Positional arguments
- <service>
Compute service(s) to delete (ID only)
Optional arguments
- -h, --help
show this help message and exit
2.52. openstack compute service list
usage: openstack compute service list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--host <host>] [--service <service>] [--long]
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
2.53. openstack compute service set
usage: openstack compute service set [-h] [--enable | --disable] [--disable-reason <reason>] [--up | --down] <host> <service>
Positional arguments
- <host>
Name of host
- <service>
Name of service (Binary name)
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.
- --up
Force up service
- --down
Force down service
2.54. openstack configuration show
usage: openstack configuration show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--mask | --unmask]
Optional arguments
- -h, --help
show this help message and exit
- --mask
Attempt to mask passwords (default)
- --unmask
Show password in clear text
2.55. openstack console log show
usage: openstack console log show [-h] [--lines <num-lines>] <server>
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)
2.56. openstack console url show
usage: openstack console url show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--novnc | --xvpvnc | --spice | --rdp | --serial | --mks] <server>
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 xvpvnc console URL
- --spice
Show SPICE console URL
- --rdp
Show RDP console URL
- --serial
Show serial console URL
- --mks
Show WebMKS console URL
2.57. openstack container create
usage: openstack container create [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] <container-name> [<container-name> ...]
Positional arguments
- <container-name>
New container name(s)
Optional arguments
- -h, --help
show this help message and exit
2.58. openstack container delete
usage: openstack container delete [-h] [--recursive] <container> [<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
2.59. openstack container list
usage: openstack container list [-h] [-f {csv,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]
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)
2.60. openstack container save
usage: openstack container save [-h] <container>
Positional arguments
- <container>
Container to save
Optional arguments
- -h, --help
show this help message and exit
2.61. openstack container set
usage: openstack container set [-h] --property <key=value> <container>
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)
2.62. openstack container show
usage: openstack container show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <container>
Positional arguments
- <container>
Container to display
Optional arguments
- -h, --help
show this help message and exit
2.63. openstack container unset
usage: openstack container unset [-h] --property <key> <container>
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)
2.64. openstack dataprocessing cluster create
usage: openstack dataprocessing cluster create [-h] [-f {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]
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
2.65. openstack dataprocessing cluster delete
usage: openstack dataprocessing cluster delete [-h] [--wait] <cluster> [<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
2.66. openstack dataprocessing cluster list
usage: openstack dataprocessing cluster list [-h] [-f {csv,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>]
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
2.67. openstack dataprocessing cluster scale
usage: openstack dataprocessing cluster scale [-h] [-f {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>
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
2.68. openstack dataprocessing cluster show
usage: openstack dataprocessing cluster show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--verification] [--show-progress] [--full-dump-events] <cluster>
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
- --show-progress
Provides ability to show brief details of event logs.
- --full-dump-events
Provides ability to make full dump with event log
details.
2.69. openstack dataprocessing cluster template create
usage: openstack dataprocessing cluster template create [-h] [-f {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>] [--domain-name <domain-name>]
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
- --domain-name <domain-name>
Domain name for instances of this cluster template.
This option is available if 'use_designate' config is
True
2.70. openstack dataprocessing cluster template delete
usage: openstack dataprocessing cluster template delete [-h] <cluster-template> [<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
2.71. openstack dataprocessing cluster template list
usage: openstack dataprocessing cluster template list [-h] [-f {csv,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>]
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
2.72. openstack dataprocessing cluster template show
usage: openstack dataprocessing cluster template show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <cluster-template>
Positional arguments
- <cluster-template>
Name or id of the cluster template to display
Optional arguments
- -h, --help
show this help message and exit
2.73. openstack dataprocessing cluster template update
usage: openstack dataprocessing cluster template update [-h] [-f {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>] [--domain-name <domain-name>] <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
- --domain-name <domain-name>
Domain name for instances of this cluster template.
This option is available if 'use_designate' config is
True
2.74. openstack dataprocessing cluster update
usage: openstack dataprocessing cluster update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <name>] [--description <description>] [--shares <filename>] [--public | --private] [--protected | --unprotected] <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
2.75. openstack dataprocessing cluster verification
usage: openstack dataprocessing cluster verification [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] (--start | --show) <cluster>
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
2.76. openstack dataprocessing data source create
usage: openstack dataprocessing data source create [-h] [-f {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>
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
2.77. openstack dataprocessing data source delete
usage: openstack dataprocessing data source delete [-h] <data-source> [<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
2.78. openstack dataprocessing data source list
usage: openstack dataprocessing data source list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long] [--type <type>]
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)
2.79. openstack dataprocessing data source show
usage: openstack dataprocessing data source show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <data-source>
Positional arguments
- <data-source>
Name or id of the data source to display
Optional arguments
- -h, --help
show this help message and exit
2.80. openstack dataprocessing data source update
usage: openstack dataprocessing data source update [-h] [-f {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>
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
2.81. openstack dataprocessing image list
usage: openstack dataprocessing image list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long] [--name <name-regex>] [--tags <tag> [<tag> ...]] [--username <username>]
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
2.82. openstack dataprocessing image register
usage: openstack dataprocessing image register [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --username <username> [--description <description>] <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
2.83. openstack dataprocessing image show
usage: openstack dataprocessing image show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <image>
Positional arguments
- <image>
Name or id of the image to display
Optional arguments
- -h, --help
show this help message and exit
2.84. openstack dataprocessing image tags add
usage: openstack dataprocessing image tags add [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --tags <tag> [<tag> ...] <image>
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]
2.85. openstack dataprocessing image tags remove
usage: openstack dataprocessing image tags remove [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--tags <tag> [<tag> ...] | --all] <image>
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
2.86. openstack dataprocessing image tags set
usage: openstack dataprocessing image tags set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --tags <tag> [<tag> ...] <image>
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]
2.87. openstack dataprocessing image unregister
usage: openstack dataprocessing image unregister [-h] <image> [<image> ...]
Positional arguments
- <image>
Name(s) or id(s) of the image(s) to unregister
Optional arguments
- -h, --help
show this help message and exit
2.88. openstack dataprocessing job binary create
usage: openstack dataprocessing job binary create [-h] [-f {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>]
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
2.89. openstack dataprocessing job binary delete
usage: openstack dataprocessing job binary delete [-h] <job-binary> [<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
2.90. openstack dataprocessing job binary download
usage: openstack dataprocessing job binary download [-h] [--file <file>] <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)
2.91. openstack dataprocessing job binary list
usage: openstack dataprocessing job binary list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long] [--name <name-substring>]
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
2.92. openstack dataprocessing job binary show
usage: openstack dataprocessing job binary show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <job-binary>
Positional arguments
- <job-binary>
Name or ID of the job binary to display
Optional arguments
- -h, --help
show this help message and exit
2.93. openstack dataprocessing job binary update
usage: openstack dataprocessing job binary update [-h] [-f {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>
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
2.94. openstack dataprocessing job delete
usage: openstack dataprocessing job delete [-h] [--wait] <job> [<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
2.95. openstack dataprocessing job execute
usage: openstack dataprocessing job execute [-h] [-f {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>]
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
2.96. openstack dataprocessing job list
usage: openstack dataprocessing job list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long] [--status <status>]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
- --status <status>
List jobs with specific status
2.97. openstack dataprocessing job show
usage: openstack dataprocessing job show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <job>
Positional arguments
- <job>
ID of the job to display
Optional arguments
- -h, --help
show this help message and exit
2.98. openstack dataprocessing job template create
usage: openstack dataprocessing job template create [-h] [-f {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>]
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,
Storm.Pyleus, 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
2.99. openstack dataprocessing job template delete
usage: openstack dataprocessing job template delete [-h] <job-template> [<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
2.100. openstack dataprocessing job template list
usage: openstack dataprocessing job template list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long] [--type <type>] [--name <name-substring>]
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
2.101. openstack dataprocessing job template show
usage: openstack dataprocessing job template show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <job-template>
Positional arguments
- <job-template>
Name or ID of the job template to display
Optional arguments
- -h, --help
show this help message and exit
2.102. openstack dataprocessing job template update
usage: openstack dataprocessing job template update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <name>] [--description <description>] [--public | --private] [--protected | --unprotected] <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
2.103. openstack dataprocessing job type configs get
usage: openstack dataprocessing job type configs get [-h] [--file <file>] <job-type>
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)
2.104. openstack dataprocessing job type list
usage: openstack dataprocessing job type list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--type <type>] [--plugin <plugin>] [--plugin-version <plugin_version>]
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
2.105. openstack dataprocessing job update
usage: openstack dataprocessing job update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--public | --private] [--protected | --unprotected] <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
2.106. openstack dataprocessing node group template create
usage: openstack dataprocessing node group template create [-h] [-f {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>]
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
2.107. openstack dataprocessing node group template delete
usage: openstack dataprocessing node group template delete [-h] <node-group-template> [<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
2.108. openstack dataprocessing node group template list
usage: openstack dataprocessing node group template list [-h] [-f {csv,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>]
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
2.109. openstack dataprocessing node group template show
usage: openstack dataprocessing node group template show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <node-group-template>
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
2.110. openstack dataprocessing node group template update
usage: openstack dataprocessing node group template update [-h] [-f {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>
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
2.111. openstack dataprocessing plugin configs get
usage: openstack dataprocessing plugin configs get [-h] [--file <file>] <plugin> <plugin_version>
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)
2.112. openstack dataprocessing plugin list
usage: openstack dataprocessing plugin list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.113. openstack dataprocessing plugin show
usage: openstack dataprocessing plugin show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--plugin-version <plugin_version>] <plugin>
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
2.114. openstack dataprocessing plugin update
usage: openstack dataprocessing plugin update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <plugin> <json>
Positional arguments
- <plugin>
Name of the plugin to provide config information about
- <json>
JSON representation of the plugin update dictionary
Optional arguments
- -h, --help
show this help message and exit
2.115. openstack dns quota list
usage: openstack dns quota list [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] [--project-id PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
- --project-id PROJECT_ID
Project ID Default: current project
2.116. openstack dns quota reset
usage: openstack dns quota reset [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] [--project-id PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
- --project-id PROJECT_ID
Project ID
2.117. openstack dns quota set
usage: openstack dns quota set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] [--project-id PROJECT_ID] [--api-export-size <api-export-size>] [--zones <zones>] [--recordset-records <recordset-records>] [--zone-records <zone-records>] [--zone-recordsets <zone-recordsets>]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
- --project-id PROJECT_ID
Project ID
- --api-export-size <api-export-size>
New value for the api-export-size quota
- --zones <zones>
New value for the zones quota
- --recordset-records <recordset-records>
New value for the recordset-records quota
- --zone-records <zone-records>
New value for the zone-records quota
- --zone-recordsets <zone-recordsets>
New value for the zone-recordsets quota
2.118. openstack dns service list
usage: openstack dns service list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--hostname HOSTNAME] [--service_name SERVICE_NAME] [--status STATUS] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --hostname HOSTNAME
Hostname
- --service_name SERVICE_NAME
Service Name
- --status STATUS
Status
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.119. openstack dns service show
usage: openstack dns service show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Service Status ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.120. openstack ec2 credentials create
usage: openstack ec2 credentials create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--project <project>] [--user <user>]
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)
2.121. openstack ec2 credentials delete
usage: openstack ec2 credentials delete [-h] [--user <user>] <access-key> [<access-key> ...]
Positional arguments
- <access-key>
Credentials access key(s)
Optional arguments
- -h, --help
show this help message and exit
- --user <user>
Delete credentials for user (name or ID)
2.122. openstack ec2 credentials list
usage: openstack ec2 credentials list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--user <user>]
Optional arguments
- -h, --help
show this help message and exit
- --user <user>
Filter list by user (name or ID)
2.123. openstack ec2 credentials show
usage: openstack ec2 credentials show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--user <user>] <access-key>
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)
2.124. openstack endpoint create
usage: openstack endpoint create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --publicurl <url> [--adminurl <url>] [--internalurl <url>] [--region <region-id>] <service>
Positional arguments
- <service>
Service to be associated with new endpoint (name or
ID)
Optional arguments
- -h, --help
show this help message and exit
- --publicurl <url>
New endpoint public URL (required)
- --adminurl <url>
New endpoint admin URL
- --internalurl <url>
New endpoint internal URL
- --region <region-id>
New endpoint region ID
2.125. openstack endpoint delete
usage: openstack endpoint delete [-h] <endpoint-id> [<endpoint-id> ...]
Positional arguments
- <endpoint-id>
Endpoint(s) to delete (ID only)
Optional arguments
- -h, --help
show this help message and exit
2.126. openstack endpoint list
usage: openstack endpoint list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.127. openstack endpoint show
usage: openstack endpoint show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <endpoint>
Positional arguments
- <endpoint>
Endpoint to display (endpoint ID, service ID, service
name, service type)
Optional arguments
- -h, --help
show this help message and exit
2.128. openstack extension list
usage: openstack extension list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--compute] [--identity] [--network] [--volume] [--long]
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
2.129. openstack flavor create
usage: openstack flavor create [-h] [-f {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] [--property <key=value>] [--project <project>] [--project-domain <project-domain>] <flavor-name>
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
- --property <key=value>
Property to add for this flavor (repeat option to set
multiple properties)
- --project <project>
Allow <project> to access private flavor (name or ID)
(Must be used with --private option)
- --project-domain <project-domain>
Domain the project belongs to (name or ID). This can
be used in case collisions between project names
exist.
2.130. openstack flavor delete
usage: openstack flavor delete [-h] <flavor> [<flavor> ...]
Positional arguments
- <flavor>
Flavor(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.131. openstack flavor list
usage: openstack flavor list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--public | --private | --all] [--long] [--marker <marker>] [--limit <limit>]
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
2.132. openstack flavor set
usage: openstack flavor set [-h] [--property <key=value>] [--project <project>] [--project-domain <project-domain>] <flavor>
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.
2.133. openstack flavor show
usage: openstack flavor show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <flavor>
Positional arguments
- <flavor>
Flavor to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.134. openstack flavor unset
usage: openstack flavor unset [-h] [--property <key>] [--project <project>] [--project-domain <project-domain>] <flavor>
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.
2.135. openstack floating ip create
usage: openstack floating ip create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--subnet <subnet>] [--port <port>] [--floating-ip-address <floating-ip-address>] [--fixed-ip-address <fixed-ip-address>] <network>
Positional arguments
- <network>
Network to allocate floating IP from (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --subnet <subnet>
Subnet on which you want to create the floating IP
(name or ID)
- --port <port>
Port to be associated with the floating IP (name or
ID)
- --floating-ip-address <floating-ip-address>
Floating IP address
- --fixed-ip-address <fixed-ip-address>
Fixed IP address mapped to the floating IP
2.136. openstack floating ip delete
usage: openstack floating ip delete [-h] <floating-ip> [<floating-ip> ...]
Positional arguments
- <floating-ip>
Floating IP(s) to delete (IP address or ID)
Optional arguments
- -h, --help
show this help message and exit
2.137. openstack floating ip list
usage: openstack floating ip list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.138. openstack floating ip pool
Command "floating ip pool" matches: floating ip pool list
2.139. openstack floating ip show
usage: openstack floating ip show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <floating-ip>
Positional arguments
- <floating-ip>
Floating IP to display (IP address or ID)
Optional arguments
- -h, --help
show this help message and exit
2.140. openstack host list
usage: openstack host list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--zone <zone>]
Optional arguments
- -h, --help
show this help message and exit
- --zone <zone>
Only return hosts in the availability zone
2.141. openstack host set
usage: openstack host set [-h] [--enable | --disable] [--enable-maintenance | --disable-maintenance] <host>
Positional arguments
- <host>
Host to modify (name only)
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
2.142. openstack host show
usage: openstack host show [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] <host>
Positional arguments
- <host>
Name of host
Optional arguments
- -h, --help
show this help message and exit
2.143. openstack hypervisor list
usage: openstack hypervisor list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--matching <hostname>]
Optional arguments
- -h, --help
show this help message and exit
- --matching <hostname>
Filter hypervisors using <hostname> substring
2.144. openstack hypervisor show
usage: openstack hypervisor show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <hypervisor>
Positional arguments
- <hypervisor>
Hypervisor to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.145. openstack hypervisor stats show
usage: openstack hypervisor stats show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
2.146. openstack image add project
usage: openstack image add project [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--project-domain <project-domain>] <image> <project>
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.
2.147. openstack image create
usage: openstack image create [-h] [-f {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>
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.
2.148. openstack image delete
usage: openstack image delete [-h] <image> [<image> ...]
Positional arguments
- <image>
Image(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.149. openstack image list
usage: openstack image list [-h] [-f {csv,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>]
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.
2.150. openstack image remove project
usage: openstack image remove project [-h] [--project-domain <project-domain>] <image> <project>
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.
2.151. openstack image save
usage: openstack image save [-h] [--file <filename>] <image>
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)
2.152. 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>
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.
2.153. openstack image show
usage: openstack image show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <image>
Positional arguments
- <image>
Image to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.154. openstack image unset
usage: openstack image unset [-h] [--tag <tag>] [--property <property_key>] <image>
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)
2.155. openstack ip availability list
usage: openstack ip availability list [-h] [-f {csv,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>]
Optional arguments
- -h, --help
show this help message and exit
- --ip-version <ip-version>
List IP availability of given IP version networks
(default is 4)
- --project <project>
List IP availability of given 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.
2.156. openstack ip availability show
usage: openstack ip availability show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <network>
Positional arguments
- <network>
Show IP availability for a specific network (name or
ID)
Optional arguments
- -h, --help
show this help message and exit
2.157. openstack keypair create
usage: openstack keypair create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--public-key <file>] <name>
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
2.158. openstack keypair delete
usage: openstack keypair delete [-h] <key> [<key> ...]
Positional arguments
- <key>
Public key(s) to delete (name only)
Optional arguments
- -h, --help
show this help message and exit
2.159. openstack keypair list
usage: openstack keypair list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.160. openstack keypair show
usage: openstack keypair show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--public-key] <key>
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 (name only)
2.161. openstack limits show
usage: openstack limits show [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] (--absolute | --rate) [--reserved] [--project <project>] [--domain <domain>]
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]
2.162. openstack metric archive-policy create
usage: openstack metric archive-policy create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] -d <DEFINITION> [-b BACK_WINDOW] [-m AGGREGATION_METHODS] name
Positional arguments
- name
name of the archive policy
Optional arguments
- -h, --help
show this help message and exit
- -d <DEFINITION>, --definition <DEFINITION>
two attributes (separated by ',') of an archive policy
definition with its name and value separated with a
':'
- -b BACK_WINDOW, --back-window BACK_WINDOW
back window of the archive policy
- -m AGGREGATION_METHODS, --aggregation-method AGGREGATION_METHODS
aggregation method of the archive policy
2.163. openstack metric archive-policy delete
usage: openstack metric archive-policy delete [-h] name
Positional arguments
- name
Name of the archive policy
Optional arguments
- -h, --help
show this help message and exit
2.164. openstack metric archive-policy list
usage: openstack metric archive-policy list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.165. openstack metric archive-policy show
usage: openstack metric archive-policy show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] name
Positional arguments
- name
Name of the archive policy
Optional arguments
- -h, --help
show this help message and exit
2.166. openstack metric archive-policy-rule create
usage: openstack metric archive-policy-rule create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] -a ARCHIVE_POLICY_NAME -m METRIC_PATTERN name
Positional arguments
- name
Rule name
Optional arguments
- -h, --help
show this help message and exit
- -a ARCHIVE_POLICY_NAME, --archive-policy-name ARCHIVE_POLICY_NAME
Archive policy name
- -m METRIC_PATTERN, --metric-pattern METRIC_PATTERN
Wildcard of metric name to match
2.167. openstack metric archive-policy-rule delete
usage: openstack metric archive-policy-rule delete [-h] name
Positional arguments
- name
Name of the archive policy rule
Optional arguments
- -h, --help
show this help message and exit
2.168. openstack metric archive-policy-rule list
usage: openstack metric archive-policy-rule list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.169. openstack metric archive-policy-rule show
usage: openstack metric archive-policy-rule show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] name
Positional arguments
- name
Name of the archive policy rule
Optional arguments
- -h, --help
show this help message and exit
2.170. openstack metric benchmark measures add
usage: openstack metric benchmark measures add [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--workers WORKERS] --count COUNT [--batch BATCH] [--timestamp-start TIMESTAMP_START] [--timestamp-end TIMESTAMP_END] [--wait] metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --workers WORKERS, -w WORKERS
Number of workers to use
- --count COUNT, -n COUNT
Number of total measures to send
- --batch BATCH, -b BATCH
Number of measures to send in each batch
- --timestamp-start TIMESTAMP_START, -s TIMESTAMP_START
First timestamp to use
- --timestamp-end TIMESTAMP_END, -e TIMESTAMP_END
Last timestamp to use
- --wait
Wait for all measures to be processed
2.171. openstack metric benchmark measures show
usage: openstack metric benchmark measures show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--resource-id RESOURCE_ID] [--aggregation AGGREGATION] [--start START] [--stop STOP] [--granularity GRANULARITY] [--refresh] [--workers WORKERS] --count COUNT metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --aggregation AGGREGATION
aggregation to retrieve
- --start START
beginning of the period
- --stop STOP
end of the period
- --granularity GRANULARITY
granularity to retrieve (in seconds)
- --refresh
force aggregation of all known measures
- --workers WORKERS, -w WORKERS
Number of workers to use
- --count COUNT, -n COUNT
Number of total measures to send
2.172. openstack metric benchmark metric create
usage: openstack metric benchmark metric create [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--archive-policy-name ARCHIVE_POLICY_NAME] [--workers WORKERS] --count COUNT [--keep]
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --archive-policy-name ARCHIVE_POLICY_NAME, -a ARCHIVE_POLICY_NAME
name of the archive policy
- --workers WORKERS, -w WORKERS
Number of workers to use
- --count COUNT, -n COUNT
Number of metrics to create
- --keep, -k
Keep created metrics
2.173. openstack metric benchmark metric show
usage: openstack metric benchmark metric show [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--workers WORKERS] --count COUNT metric [metric ...]
Positional arguments
- metric
ID or name of the metrics
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --workers WORKERS, -w WORKERS
Number of workers to use
- --count COUNT, -n COUNT
Number of metrics to get
2.174. openstack metric capabilities list
usage: openstack metric capabilities list [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
2.175. openstack metric measures add
usage: openstack metric measures add [-h] [--resource-id RESOURCE_ID] -m MEASURE metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- -m MEASURE, --measure MEASURE
timestamp and value of a measure separated with a '@'
2.176. openstack metric measures aggregation
usage: openstack metric measures aggregation [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] -m METRIC [METRIC ...] [--aggregation AGGREGATION] [--reaggregation REAGGREGATION] [--start START] [--stop STOP] [--granularity GRANULARITY] [--needed-overlap NEEDED_OVERLAP] [--query QUERY] [--resource-type RESOURCE_TYPE] [--groupby GROUPBY] [--refresh]
Optional arguments
- -h, --help
show this help message and exit
- -m METRIC [METRIC ...], --metric METRIC [METRIC ...]
metrics IDs or metric name
- --aggregation AGGREGATION
granularity aggregation function to retrieve
- --reaggregation REAGGREGATION
groupby aggregation function to retrieve
- --start START
beginning of the period
- --stop STOP
end of the period
- --granularity GRANULARITY
granularity to retrieve (in seconds)
- --needed-overlap NEEDED_OVERLAP
percent of datapoints in each metrics required
- --query QUERY A
query to filter resource. The syntax is a
combination of attribute, operator and value. For
example: id=90d58eea-70d7-4294-a49a-170dcdf44c3c would
filter resource with a certain id. More complex
queries can be built, e.g.: not (flavor_id!="1" and
memory>=24). Use "" to force data to be interpreted as
string. Supported operators are: not, and, ∧ or, ∨,
>=, <=, !=, >, <, =, ==, eq, ne, lt, gt, ge, le, in,
like, ≠, ≥, ≤, like, in.
- --resource-type RESOURCE_TYPE
Resource type to query
- --groupby GROUPBY
Attribute to use to group resources
- --refresh
force aggregation of all known measures
2.177. openstack metric measures batch-metrics
usage: openstack metric measures batch-metrics [-h] file
Positional arguments
- file
File containing measurements to batch or - for stdin (see
Gnocchi REST API docs for the format
Optional arguments
- -h, --help
show this help message and exit
2.178. openstack metric measures batch-resources-metrics
usage: openstack metric measures batch-resources-metrics [-h] file
Positional arguments
- file
File containing measurements to batch or - for stdin (see
Gnocchi REST API docs for the format
Optional arguments
- -h, --help
show this help message and exit
2.179. openstack metric measures show
usage: openstack metric measures show [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--resource-id RESOURCE_ID] [--aggregation AGGREGATION] [--start START] [--stop STOP] [--granularity GRANULARITY] [--refresh] metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --aggregation AGGREGATION
aggregation to retrieve
- --start START
beginning of the period
- --stop STOP
end of the period
- --granularity GRANULARITY
granularity to retrieve (in seconds)
- --refresh
force aggregation of all known measures
2.180. openstack metric metric create
usage: openstack metric metric create [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--archive-policy-name ARCHIVE_POLICY_NAME] [--unit UNIT] [METRIC_NAME]
Positional arguments
- METRIC_NAME
Name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --archive-policy-name ARCHIVE_POLICY_NAME, -a ARCHIVE_POLICY_NAME
name of the archive policy
- --unit UNIT, -u UNIT
unit of the metric
2.181. openstack metric metric delete
usage: openstack metric metric delete [-h] [--resource-id RESOURCE_ID] metric [metric ...]
Positional arguments
- metric
IDs or names of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
2.182. openstack metric metric list
usage: openstack metric metric list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>]
Optional arguments
- -h, --help
show this help message and exit
- --limit <LIMIT>
Number of metrics to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value
- --sort <SORT>
Sort of metric attribute (example: user_id:desc-
nullslast
2.183. openstack metric metric show
usage: openstack metric metric show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--resource-id RESOURCE_ID] metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
2.184. openstack metric resource create
usage: openstack metric resource create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--type RESOURCE_TYPE] [-a ATTRIBUTE] [-m ADD_METRIC] [-n CREATE_METRIC] resource_id
Positional arguments
- resource_id
ID of the resource
Optional arguments
- -h, --help
show this help message and exit
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
- -a ATTRIBUTE, --attribute ATTRIBUTE
name and value of an attribute separated with a ':'
- -m ADD_METRIC, --add-metric ADD_METRIC
name:id of a metric to add
- -n CREATE_METRIC, --create-metric CREATE_METRIC
name:archive_policy_name of a metric to create
2.185. openstack metric resource delete
usage: openstack metric resource delete [-h] resource_id
Positional arguments
- resource_id
ID of the resource
Optional arguments
- -h, --help
show this help message and exit
2.186. openstack metric resource history
usage: openstack metric resource history [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--details] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>] [--type RESOURCE_TYPE] resource_id
Positional arguments
- resource_id
ID of a resource
Optional arguments
- -h, --help
show this help message and exit
- --details
Show all attributes of generic resources
- --limit <LIMIT>
Number of resources to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value
- --sort <SORT>
Sort of resource attribute (example: user_id:desc-
nullslast
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
2.187. openstack metric resource list
usage: openstack metric resource list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--details] [--history] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>] [--type RESOURCE_TYPE]
Optional arguments
- -h, --help
show this help message and exit
- --details
Show all attributes of generic resources
- --history
Show history of the resources
- --limit <LIMIT>
Number of resources to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value
- --sort <SORT>
Sort of resource attribute (example: user_id:desc-
nullslast
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
2.188. openstack metric resource search
usage: openstack metric resource search [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--details] [--history] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>] [--type RESOURCE_TYPE] query
Positional arguments
- query
A query to filter resource. The syntax is a
combination of attribute, operator and value. For
example: id=90d58eea-70d7-4294-a49a-170dcdf44c3c would
filter resource with a certain id. More complex
queries can be built, e.g.: not (flavor_id!="1" and
memory>=24). Use "" to force data to be interpreted as
string. Supported operators are: not, and, ∧ or, ∨,
>=, <=, !=, >, <, =, ==, eq, ne, lt, gt, ge, le, in,
like, ≠, ≥, ≤, like, in.
Optional arguments
- -h, --help
show this help message and exit
- --details
Show all attributes of generic resources
- --history
Show history of the resources
- --limit <LIMIT>
Number of resources to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value
- --sort <SORT>
Sort of resource attribute (example: user_id:desc-
nullslast
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
2.189. openstack metric resource show
usage: openstack metric resource show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--type RESOURCE_TYPE] resource_id
Positional arguments
- resource_id
ID of a resource
Optional arguments
- -h, --help
show this help message and exit
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
2.190. openstack metric resource update
usage: openstack metric resource update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--type RESOURCE_TYPE] [-a ATTRIBUTE] [-m ADD_METRIC] [-n CREATE_METRIC] [-d DELETE_METRIC] resource_id
Positional arguments
- resource_id
ID of the resource
Optional arguments
- -h, --help
show this help message and exit
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
- -a ATTRIBUTE, --attribute ATTRIBUTE
name and value of an attribute separated with a ':'
- -m ADD_METRIC, --add-metric ADD_METRIC
name:id of a metric to add
- -n CREATE_METRIC, --create-metric CREATE_METRIC
name:archive_policy_name of a metric to create
- -d DELETE_METRIC, --delete-metric DELETE_METRIC
Name of a metric to delete
2.191. openstack metric resource-type create
usage: openstack metric resource-type create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-a ATTRIBUTE] name
Positional arguments
- name
name of the resource type
Optional arguments
- -h, --help
show this help message and exit
- -a ATTRIBUTE, --attribute ATTRIBUTE
attribute definition, attribute_name:attribute_type:at
tribute_is_required:attribute_type_option_name=attribu
te_type_option_value:… For example:
display_name:string:true:max_length=255
2.192. openstack metric resource-type delete
usage: openstack metric resource-type delete [-h] name
Positional arguments
- name
name of the resource type
Optional arguments
- -h, --help
show this help message and exit
2.193. openstack metric resource-type list
usage: openstack metric resource-type list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.194. openstack metric resource-type show
usage: openstack metric resource-type show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] name
Positional arguments
- name
name of the resource type
Optional arguments
- -h, --help
show this help message and exit
2.195. openstack metric status
usage: openstack metric status [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
2.196. openstack module list
usage: openstack module list [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all]
Optional arguments
- -h, --help
show this help message and exit
- --all
Show all modules that have version information
2.197. openstack network agent delete
usage: openstack network agent delete [-h] <network-agent> [<network-agent> ...]
Positional arguments
- <network-agent>
Network agent(s) to delete (ID only)
Optional arguments
- -h, --help
show this help message and exit
2.198. openstack network agent list
usage: openstack network agent list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.199. openstack network agent set
usage: openstack network agent set [-h] [--description <description>] [--enable | --disable] <network-agent>
Positional arguments
- <network-agent>
Network agent to modify (ID only)
Optional arguments
- -h, --help
show this help message and exit
- --description <description>
Set network agent description
- --enable
Enable network agent
- --disable
Disable network agent
2.200. openstack network agent show
usage: openstack network agent show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <network-agent>
Positional arguments
- <network-agent>
Network agent to display (ID only)
Optional arguments
- -h, --help
show this help message and exit
2.201. openstack network create
usage: openstack network create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--share | --no-share] [--enable | --disable] [--project <project>] [--project-domain <project-domain>] [--availability-zone-hint <availability-zone>] [--enable-port-security | --disable-port-security] [--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] <name>
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
- --enable
Enable network (default)
- --disable
Disable network
- --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 network
(Network Availability Zone extension required, repeat
option to set multiple availability zones)
- --enable-port-security
Enable port security by default for ports created on
this network (default)
- --disable-port-security
Disable port security by default for ports created on
this network
- --external
Set this network as an external network (external-net
extension required)
- --internal
Set this network as an internal network (default)
- --default
Specify if this network should be used as the default
external network
- --no-default
Do not use the network as the default external network
(default)
- --provider-network-type <provider-network-type>
The physical mechanism by which the virtual network is
implemented. The supported options are: flat, geneve,
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
GENEVE/GRE/VXLAN networks
- --transparent-vlan
Make the network VLAN transparent
- --no-transparent-vlan
Do not make the network VLAN transparent
2.202. openstack network delete
usage: openstack network delete [-h] <network> [<network> ...]
Positional arguments
- <network>
Network(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.203. openstack network list
usage: openstack network list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--external] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --external
List external networks
- --long
List additional fields in output
2.204. openstack network rbac create
usage: openstack network rbac create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --type <type> --action <action> --target-project <target-project> [--target-project-domain <target-project-domain>] [--project <project>] [--project-domain <project-domain>] <rbac-object>
Positional arguments
- <rbac-object>
The object to which this RBAC policy affects (name or
ID for network objects, ID only for QoS policy
objects)
Optional arguments
- -h, --help
show this help message and exit
- --type <type>
Type of the object that RBAC policy affects
("qos_policy" or "network")
- --action <action>
Action for the RBAC policy ("access_as_external" or
"access_as_shared")
- --target-project <target-project>
The project to which the RBAC policy will be enforced
(name or ID)
- --target-project-domain <target-project-domain>
Domain the target project belongs to (name or ID).
This can be used in case collisions between project
names exist.
- --project <project>
The owner 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.
2.205. openstack network rbac delete
usage: openstack network rbac delete [-h] <rbac-policy> [<rbac-policy> ...]
Positional arguments
- <rbac-policy>
RBAC policy(s) to delete (ID only)
Optional arguments
- -h, --help
show this help message and exit
2.206. openstack network rbac list
usage: openstack network rbac list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.207. openstack network rbac set
usage: openstack network rbac set [-h] [--target-project <target-project>] [--target-project-domain <target-project-domain>] <rbac-policy>
Positional arguments
- <rbac-policy>
RBAC policy to be modified (ID only)
Optional arguments
- -h, --help
show this help message and exit
- --target-project <target-project>
The project to which the RBAC policy will be enforced
(name or ID)
- --target-project-domain <target-project-domain>
Domain the target project belongs to (name or ID).
This can be used in case collisions between project
names exist.
2.208. openstack network rbac show
usage: openstack network rbac show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <rbac-policy>
Positional arguments
- <rbac-policy>
RBAC policy (ID only)
Optional arguments
- -h, --help
show this help message and exit
2.209. openstack network segment list
usage: openstack network segment list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long] [--network <network>]
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)
2.210. openstack network segment show
usage: openstack network segment show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <network-segment>
Positional arguments
- <network-segment>
Network segment to display (ID only)
Optional arguments
- -h, --help
show this help message and exit
2.211. openstack network set
usage: openstack network set [-h] [--name <name>] [--enable | --disable] [--share | --no-share] [--enable-port-security | --disable-port-security] [--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>
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
- --enable-port-security
Enable port security by default for ports created on
this network
- --disable-port-security
Disable port security by default for ports created on
this network
- --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, geneve,
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
GENEVE/GRE/VXLAN networks
- --transparent-vlan
Make the network VLAN transparent
- --no-transparent-vlan
Do not make the network VLAN transparent
2.212. openstack network show
usage: openstack network show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <network>
Positional arguments
- <network>
Network to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.213. openstack network subport list
usage: openstack network subport list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] --trunk <trunk>
Optional arguments
- -h, --help
show this help message and exit
- --trunk <trunk>
List subports belonging to this trunk (name or ID)
2.214. openstack network trunk create
usage: openstack network trunk create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--description <description>] --parent-port <parent-port> [--subport <port=,segmentation-type=,segmentation-id=>] [--enable | --disable] [--project <project>] [--project-domain <project-domain>] <name>
Positional arguments
- <name>
Name of the trunk to create
Optional arguments
- -h, --help
show this help message and exit
- --description <description>
A description of the trunk
- --parent-port <parent-port>
Parent port belonging to this trunk (name or ID)
- --subport <port=,segmentation-type=,segmentation-id=>
Subport to add. Subport is of form 'port=<name or ID
>,segmentation-type=,segmentation-ID=' (--subport)
option can be repeated
- --enable
Enable trunk (default)
- --disable
Disable trunk
- --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.
2.215. openstack network trunk delete
usage: openstack network trunk delete [-h] <trunk> [<trunk> ...]
Positional arguments
- <trunk>
Trunk(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.216. openstack network trunk list
usage: openstack network trunk list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.217. openstack network trunk set
usage: openstack network trunk set [-h] [--name <name>] [--description <description>] [--subport <port=,segmentation-type=,segmentation-id=>] [--enable | --disable] <trunk>
Positional arguments
- <trunk>
Trunk to modify (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --name <name>
Set trunk name
- --description <description>
A description of the trunk
- --subport <port=,segmentation-type=,segmentation-id=>
Subport to add. Subport is of form 'port=<name or ID
>,segmentation-type=,segmentation-ID='(--subport)
option can be repeated
- --enable
Enable trunk
- --disable
Disable trunk
2.218. openstack network trunk show
usage: openstack network trunk show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <trunk>
Positional arguments
- <trunk>
Trunk to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.219. openstack network trunk unset
usage: openstack network trunk unset [-h] --subport <subport> <trunk>
Positional arguments
- <trunk>
Unset subports from this trunk (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --subport <subport>
Subport to delete (name or ID of the port) (--subport)
option can be repeated
2.220. openstack object create
usage: openstack object create [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] <container> <filename> [<filename> ...]
Positional arguments
- <container>
Container for new object
- <filename>
Local filename(s) to upload
Optional arguments
- -h, --help
show this help message and exit
2.221. openstack object delete
usage: openstack object delete [-h] <container> <object> [<object> ...]
Positional arguments
- <container>
Delete object(s) from <container>
- <object>
Object(s) to delete
Optional arguments
- -h, --help
show this help message and exit
2.222. openstack object list
usage: openstack object list [-h] [-f {csv,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>
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)
2.223. openstack object save
usage: openstack object save [-h] [--file <filename>] <container> <object>
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)
2.224. openstack object set
usage: openstack object set [-h] --property <key=value> <container> <object>
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)
2.225. openstack object show
usage: openstack object show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <container> <object>
Positional arguments
- <container>
Display <object> from <container>
- <object>
Object to display
Optional arguments
- -h, --help
show this help message and exit
2.226. openstack object store account set
usage: openstack object store account set [-h] --property <key=value>
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)
2.227. openstack object store account show
usage: openstack object store account show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
2.228. openstack object store account unset
usage: openstack object store account unset [-h] --property <key>
Optional arguments
- -h, --help
show this help message and exit
- --property <key>
Property to remove from account (repeat option to remove
multiple properties)
2.229. openstack object unset
usage: openstack object unset [-h] --property <key> <container> <object>
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)
2.230. openstack orchestration build info
usage: openstack orchestration build info [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
2.231. openstack orchestration resource type list
usage: openstack orchestration resource type list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--filter <key=value>] [--long]
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
- --long
Show resource types with corresponding description of
each resource type.
2.232. openstack orchestration resource type show
usage: openstack orchestration resource type show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--template-type <template-type>] [--long] <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
- --long
Show resource type with corresponding description.
2.233. openstack orchestration service list
usage: openstack orchestration service list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.234. openstack orchestration template function list
usage: openstack orchestration template function list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] <template-version>
Positional arguments
- <template-version>
Template version to get the functions for
Optional arguments
- -h, --help
show this help message and exit
2.235. openstack orchestration template validate
usage: openstack orchestration template validate [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-e <environment>] [--show-nested] [--parameter <key=value>] [--ignore-errors <error1,error2,...>] -t <template>
Optional arguments
- -h, --help
show this help message and exit
- -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
- -t <template>, --template <template>
Path to the template
2.236. openstack orchestration template version list
usage: openstack orchestration template version list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.237. openstack port create
usage: openstack port create [-h] [-f {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>
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. This is the entity that
uses the port (for example, network:dhcp).
- --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. Data may
be passed as <key>=<value> or JSON. (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.
2.238. openstack port delete
usage: openstack port delete [-h] <port> [<port> ...]
Positional arguments
- <port>
Port(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.239. openstack port list
usage: openstack port list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--device-owner <device-owner>] [--router <router>]
Optional arguments
- -h, --help
show this help message and exit
- --device-owner <device-owner>
List only ports with the specified device owner. This
is the entity that uses the port (for example,
network:dhcp).
- --router <router>
List only ports attached to this router (name or ID)
2.240. 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>
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. This is the entity that
uses the port (for example, network:dhcp).
- --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. Data may
be passed as <key>=<value> or JSON. (repeat option to
set multiple binding:profile data)
- --no-binding-profile
Clear existing information of binding:profile
2.241. openstack port show
usage: openstack port show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <port>
Positional arguments
- <port>
Port to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.242. openstack port unset
usage: openstack port unset [-h] [--fixed-ip subnet=<subnet>,ip-address=<ip-address>] [--binding-profile <binding-profile-key>] <port>
Positional arguments
- <port>
Port to modify (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --fixed-ip
subnet=<subnet>,ip-address=<ip-address>
Desired IP and/or subnet (name or ID) which should be
removed from this port: subnet=<subnet>,ip-address
=<ip-address> (repeat option to unset multiple fixed
IP addresses)
- --binding-profile <binding-profile-key>
Desired key which should be removed from
binding:profile(repeat option to unset multiple
binding:profile data)
2.243. openstack project create
usage: openstack project create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--description <description>] [--enable | --disable] [--property <key=value>] [--or-show] <project-name>
Positional arguments
- <project-name>
New project name
Optional arguments
- -h, --help
show this help message and exit
- --description <description>
Project description
- --enable
Enable project (default)
- --disable
Disable project
- --property <key=value>
Add a property to <name> (repeat option to set
multiple properties)
- --or-show
Return existing project
2.244. openstack project delete
usage: openstack project delete [-h] <project> [<project> ...]
Positional arguments
- <project>
Project(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.245. openstack project list
usage: openstack project list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.246. openstack project set
usage: openstack project set [-h] [--name <name>] [--description <description>] [--enable | --disable] [--property <key=value>] <project>
Positional arguments
- <project>
Project to modify (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --name <name>
Set project name
- --description <description>
Set project description
- --enable
Enable project
- --disable
Disable project
- --property <key=value>
Set a project property (repeat option to set multiple
properties)
2.247. openstack project show
usage: openstack project show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <project>
Positional arguments
- <project>
Project to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.248. openstack project unset
usage: openstack project unset [-h] [--property <key>] <project>
Positional arguments
- <project>
Project to modify (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --property <key>
Unset a project property (repeat option to unset multiple
properties)
2.249. openstack ptr record list
usage: openstack ptr record list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.250. openstack ptr record set
usage: openstack ptr record set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--description DESCRIPTION | --no-description] [--ttl TTL | --no-ttl] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] floatingip_id ptrdname
Positional arguments
- floatingip_id
Floating IP ID in format region:floatingip_id
- ptrdname
PTRD Name
Optional arguments
- -h, --help
show this help message and exit
- --description DESCRIPTION
Description
- --no-description
- --ttl TTL TTL
- --no-ttl
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.251. openstack ptr record show
usage: openstack ptr record show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] floatingip_id
Positional arguments
- floatingip_id
Floating IP ID in format region:floatingip_id
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.252. openstack ptr record unset
usage: openstack ptr record unset [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] floatingip_id
Positional arguments
- floatingip_id
Floating IP ID in format region:floatingip_id
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.253. openstack quota set
usage: openstack quota set [-h] [--class] [--properties <properties>] [--server-groups <server-groups>] [--ram <ram>] [--key-pairs <key-pairs>] [--instances <instances>] [--fixed-ips <fixed-ips>] [--injected-file-size <injected-file-size>] [--server-group-members <server-group-members>] [--injected-files <injected-files>] [--cores <cores>] [--injected-path-size <injected-path-size>] [--gigabytes <gigabytes>] [--volumes <volumes>] [--snapshots <snapshots>] [--subnetpools <subnetpools>] [--vips <vips>] [--members <members>] [--ports <ports>] [--subnets <subnets>] [--networks <networks>] [--floating-ips <floating-ips>] [--health-monitors <health-monitors>] [--secgroup-rules <secgroup-rules>] [--secgroups <secgroups>] [--routers <routers>] [--rbac-policies <rbac-policies>] [--volume-type <volume-type>] <project/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>
- --properties <properties>
New value for the properties quota
- --server-groups <server-groups>
New value for the server-groups quota
- --ram <ram>
New value for the ram quota
- --key-pairs <key-pairs>
New value for the key-pairs quota
- --instances <instances>
New value for the instances quota
- --fixed-ips <fixed-ips>
New value for the fixed-ips quota
- --injected-file-size <injected-file-size>
New value for the injected-file-size quota
- --server-group-members <server-group-members>
New value for the server-group-members quota
- --injected-files <injected-files>
New value for the injected-files quota
- --cores <cores>
New value for the cores quota
- --injected-path-size <injected-path-size>
New value for the injected-path-size 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
- --subnetpools <subnetpools>
New value for the subnetpools quota
- --vips <vips>
New value for the vips quota
- --members <members>
New value for the members quota
- --ports <ports>
New value for the ports quota
- --subnets <subnets>
New value for the subnets quota
- --networks <networks>
New value for the networks quota
- --floating-ips <floating-ips>
New value for the floating-ips quota
- --health-monitors <health-monitors>
New value for the health-monitors quota
- --secgroup-rules <secgroup-rules>
New value for the secgroup-rules quota
- --secgroups <secgroups>
New value for the secgroups quota
- --routers <routers>
New value for the routers quota
- --rbac-policies <rbac-policies>
New value for the rbac-policies quota
- --volume-type <volume-type>
Set quotas for a specific <volume-type>
2.254. openstack quota show
usage: openstack quota show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--class | --default] [<project/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>
2.255. openstack recordset create
usage: openstack recordset create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --records RECORDS [RECORDS ...] --type TYPE [--ttl TTL] [--description DESCRIPTION] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_id name
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
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.256. openstack recordset delete
usage: openstack recordset delete [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_id id
Positional arguments
- zone_id
Zone ID
- id
RecordSet ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.257. openstack recordset list
usage: openstack recordset list [-h] [-f {csv,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] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_id
Positional arguments
- zone_id
Zone ID. To list all recordsets specify 'all'
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
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.258. openstack recordset set
usage: openstack recordset set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--records RECORDS [RECORDS ...]] [--description DESCRIPTION | --no-description] [--ttl TTL | --no-ttl] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_id id
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
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.259. openstack recordset show
usage: openstack recordset show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_id id
Positional arguments
- zone_id
Zone ID
- id
RecordSet ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.260. openstack resource member create
usage: openstack resource member create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] resource_id resource_type member_id
Positional arguments
- resource_id
Resource ID to be shared.
- resource_type
Resource type.
- member_id
Project ID to whom the resource is shared to.
Optional arguments
- -h, --help
show this help message and exit
2.261. openstack resource member delete
usage: openstack resource member delete [-h] resource resource_type member_id
Positional arguments
- resource
Resource ID to be shared.
- resource_type
Resource type.
- member_id
Project ID to whom the resource is shared to.
Optional arguments
- -h, --help
show this help message and exit
2.262. openstack resource member list
usage: openstack resource member list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] resource_id resource_type
Positional arguments
- resource_id
Resource id to be shared.
- resource_type
Resource type.
Optional arguments
- -h, --help
show this help message and exit
2.263. openstack resource member show
usage: openstack resource member show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-m MEMBER_ID] resource resource_type
Positional arguments
- resource
Resource ID to be shared.
- resource_type
Resource type.
Optional arguments
- -h, --help
show this help message and exit
- -m MEMBER_ID, --member-id MEMBER_ID
Project ID to whom the resource is shared to. No need
to provide this param if you are the resource member.
2.264. openstack resource member update
usage: openstack resource member update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-m MEMBER_ID] [-s {pending,accepted,rejected}] resource_id resource_type
Positional arguments
- resource_id
Resource ID to be shared.
- resource_type
Resource type.
Optional arguments
- -h, --help
show this help message and exit
- -m MEMBER_ID, --member-id MEMBER_ID
Project ID to whom the resource is shared to. No need
to provide this param if you are the resource member.
- -s {pending,accepted,rejected}, --status {pending,accepted,rejected}
status of the sharing.
2.265. openstack role add
usage: openstack role add [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --project <project> --user <user> <role>
Positional arguments
- <role>
Role to add to <project>:<user> (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --project <project>
Include <project> (name or ID)
- --user <user>
Include <user> (name or ID)
2.266. openstack role assignment list
usage: openstack role assignment list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--user <user>] [--project <project>] [--names] [--auth-user] [--auth-project]
Optional arguments
- -h, --help
show this help message and exit
- --user <user>
User to filter (name or ID)
- --project <project>
Project to filter (name or ID)
- --names
Display names instead of IDs
- --auth-user
Only list assignments for the authenticated user
- --auth-project
Only list assignments for the project to which the
authenticated user's token is scoped
2.267. openstack role create
usage: openstack role create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--or-show] <name>
Positional arguments
- <name>
New role name
Optional arguments
- -h, --help
show this help message and exit
- --or-show
Return existing role
2.268. openstack role delete
usage: openstack role delete [-h] <role> [<role> ...]
Positional arguments
- <role>
Role(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.269. openstack role list
usage: openstack role list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--project <project>] [--user <user>]
Optional arguments
- -h, --help
show this help message and exit
- --project <project>
Filter roles by <project> (name or ID)
- --user <user>
Filter roles by <user> (name or ID)
2.270. openstack role remove
usage: openstack role remove [-h] --project <project> --user <user> <role>
Positional arguments
- <role>
Role to remove (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --project <project>
Include <project> (name or ID)
- --user <user>
Include <user> (name or ID)
2.271. openstack role show
usage: openstack role show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <role>
Positional arguments
- <role>
Role to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.272. openstack router add port
usage: openstack router add port [-h] <router> <port>
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
2.273. openstack router add subnet
usage: openstack router add subnet [-h] <router> <subnet>
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
2.274. openstack router create
usage: openstack router create [-h] [-f {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>
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)
2.275. openstack router delete
usage: openstack router delete [-h] <router> [<router> ...]
Positional arguments
- <router>
Router(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.276. openstack router list
usage: openstack router list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.277. openstack router remove port
usage: openstack router remove port [-h] <router> <port>
Positional arguments
- <router>
Router from which port will be removed (name or ID)
- <port>
Port to be removed and deleted (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.278. openstack router remove subnet
usage: openstack router remove subnet [-h] <router> <subnet>
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
2.279. openstack router set
usage: openstack router set [-h] [--name <name>] [--enable | --disable] [--distributed | --centralized] [--route destination=<subnet>,gateway=<ip-address> | --no-route] <router>
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
2.280. openstack router show
usage: openstack router show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <router>
Positional arguments
- <router>
Router to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.281. openstack router unset
usage: openstack router unset [-h] [--route destination=<subnet>,gateway=<ip-address>] <router>
Positional arguments
- <router>
Router to modify (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --route
destination=<subnet>,gateway=<ip-address>
Routes to be removed from the router destination:
destination subnet (in CIDR notation) gateway: nexthop
IP address (repeat option to unset multiple routes)
2.282. openstack secret container create
usage: openstack secret container create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name NAME] [--type TYPE] [--secret SECRET]
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"
2.283. openstack secret container delete
usage: openstack secret container delete [-h] URI
Positional arguments
- URI
The URI reference for the container
Optional arguments
- -h, --help
show this help message and exit
2.284. openstack secret container get
usage: openstack secret container get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] URI
Positional arguments
- URI
The URI reference for the container.
Optional arguments
- -h, --help
show this help message and exit
2.285. openstack secret container list
usage: openstack secret container list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit LIMIT] [--offset OFFSET] [--name NAME] [--type TYPE]
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).
2.286. openstack secret delete
usage: openstack secret delete [-h] URI
Positional arguments
- URI
The URI reference for the secret
Optional arguments
- -h, --help
show this help message and exit
2.287. openstack secret get
usage: openstack secret get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--decrypt] [--payload] [--payload_content_type PAYLOAD_CONTENT_TYPE] 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.
2.288. openstack secret list
usage: openstack secret list [-h] [-f {csv,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]
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).
2.289. openstack secret order create
usage: openstack secret order create [-h] [-f {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
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.
2.290. openstack secret order delete
usage: openstack secret order delete [-h] URI
Positional arguments
- URI
The URI reference for the order
Optional arguments
- -h, --help
show this help message and exit
2.291. openstack secret order get
usage: openstack secret order get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] URI
Positional arguments
- URI
The URI reference order.
Optional arguments
- -h, --help
show this help message and exit
2.292. openstack secret order list
usage: openstack secret order list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit LIMIT] [--offset OFFSET]
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)
2.293. openstack secret store
usage: openstack secret store [-h] [-f {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]
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.
2.294. openstack secret update
usage: openstack secret update [-h] URI payload
Positional arguments
- URI
The URI reference for the secret.
- payload
the unencrypted secret
Optional arguments
- -h, --help
show this help message and exit
2.295. openstack security group create
usage: openstack security group create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--description <description>] [--project <project>] [--project-domain <project-domain>] <name>
Positional arguments
- <name>
New security group name
Optional arguments
- -h, --help
show this help message and exit
- --description <description>
Security group description
- --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.
2.296. openstack security group delete
usage: openstack security group delete [-h] <group> [<group> ...]
Positional arguments
- <group>
Security group(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.297. openstack security group list
usage: openstack security group list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.298. openstack security group rule create
usage: openstack security group rule create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--src-ip <ip-address> | --src-group <group>] [--dst-port <port-range>] [--icmp-type <icmp-type>] [--icmp-code <icmp-code>] [--protocol <protocol>] [--ingress | --egress] [--ethertype <ethertype>] [--project <project>] [--project-domain <project-domain>] <group>
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.
- --icmp-type <icmp-type>
ICMP type for ICMP IP protocols
- --icmp-code <icmp-code>
ICMP code for ICMP IP protocols
- --protocol <protocol>
IP protocol (ah, dccp, egp, esp, gre, icmp, igmp,
ipv6-encap, ipv6-frag, ipv6-icmp, ipv6-nonxt,
ipv6-opts, ipv6-route, ospf, pgm, rsvp, sctp, tcp,
udp, udplite, vrrp and integer representations
[0-255]; default: tcp)
- --ingress
Rule applies to incoming network traffic (default)
- --egress
Rule applies to outgoing network traffic
- --ethertype <ethertype>
Ethertype of network traffic (IPv4, IPv6; default:
based on IP protocol)
- --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.
2.299. openstack security group rule delete
usage: openstack security group rule delete [-h] <rule> [<rule> ...]
Positional arguments
- <rule>
Security group rule(s) to delete (ID only)
Optional arguments
- -h, --help
show this help message and exit
2.300. openstack security group rule list
usage: openstack security group rule list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long] [<group>]
Positional arguments
- <group>
List all rules in this security group (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.301. openstack security group rule show
usage: openstack security group rule show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <rule>
Positional arguments
- <rule>
Security group rule to display (ID only)
Optional arguments
- -h, --help
show this help message and exit
2.302. openstack security group set
usage: openstack security group set [-h] [--name <new-name>] [--description <description>] <group>
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
2.303. openstack security group show
usage: openstack security group show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <group>
Positional arguments
- <group>
Security group to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.304. openstack server add fixed ip
usage: openstack server add fixed ip [-h] <server> <network>
Positional arguments
- <server>
Server (name or ID) to receive the fixed IP address
- <network>
Network (name or ID) to allocate the fixed IP address from
Optional arguments
- -h, --help
show this help message and exit
2.305. openstack server add floating ip
usage: openstack server add floating ip [-h] <server> <ip-address>
Positional arguments
- <server>
Server (name or ID) to receive the floating IP address
- <ip-address>
Floating IP address (IP address only) to assign to server
Optional arguments
- -h, --help
show this help message and exit
2.306. openstack server add security group
usage: openstack server add security group [-h] <server> <group>
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
2.307. openstack server add volume
usage: openstack server add volume [-h] [--device <device>] <server> <volume>
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
2.308. openstack server backup create
usage: openstack server backup create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <image-name>] [--type <backup-type>] [--rotate <count>] [--wait] <server>
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
2.309. openstack server create
usage: openstack server create [-h] [-f {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>
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
2.310. openstack server delete
usage: openstack server delete [-h] [--wait] <server> [<server> ...]
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
2.311. openstack server dump create
usage: openstack server dump create [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to create dump file (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.312. openstack server group create
usage: openstack server group create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --policy <policy> <name>
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)
2.313. openstack server group delete
usage: openstack server group delete [-h] <server-group> [<server-group> ...]
Positional arguments
- <server-group>
server group(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.314. openstack server group list
usage: openstack server group list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--all-projects] [--long]
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
2.315. openstack server group show
usage: openstack server group show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <server-group>
Positional arguments
- <server-group>
server group to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.316. openstack server image create
usage: openstack server image create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <image-name>] [--wait] <server>
Positional arguments
- <server>
Server to create image (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --name <image-name>
Name of new disk image (default: server name)
- --wait
Wait for operation to complete
2.317. openstack server list
usage: openstack server list [-h] [-f {csv,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>]
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.
2.318. openstack server lock
usage: openstack server lock [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to lock (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.319. openstack server migrate
usage: openstack server migrate [-h] [--live <hostname>] [--shared-migration | --block-migration] [--disk-overcommit | --no-disk-overcommit] [--wait] <server>
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
2.320. openstack server pause
usage: openstack server pause [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to pause (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.321. openstack server reboot
usage: openstack server reboot [-h] [--hard | --soft] [--wait] <server>
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
2.322. openstack server rebuild
usage: openstack server rebuild [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--image <image>] [--password <password>] [--wait] <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
2.323. openstack server remove fixed ip
usage: openstack server remove fixed ip [-h] <server> <ip-address>
Positional arguments
- <server>
Server (name or ID) to remove the fixed IP address from
- <ip-address>
Fixed IP address (IP address only) to remove from the server
Optional arguments
- -h, --help
show this help message and exit
2.324. openstack server remove floating ip
usage: openstack server remove floating ip [-h] <server> <ip-address>
Positional arguments
- <server>
Server (name or ID) to remove the floating IP address from
- <ip-address>
Floating IP address (IP address only) to remove from server
Optional arguments
- -h, --help
show this help message and exit
2.325. openstack server remove security group
usage: openstack server remove security group [-h] <server> <group>
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
2.326. openstack server remove volume
usage: openstack server remove volume [-h] <server> <volume>
Positional arguments
- <server>
Server (name or ID)
- <volume>
Volume to remove (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.327. openstack server rescue
usage: openstack server rescue [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <server>
Positional arguments
- <server>
Server (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.328. openstack server resize
usage: openstack server resize [-h] [--flavor <flavor> | --confirm | --revert] [--wait] <server>
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
2.329. openstack server restore
usage: openstack server restore [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to restore (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.330. openstack server resume
usage: openstack server resume [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to resume (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.331. openstack server set
usage: openstack server set [-h] [--name <new-name>] [--root-password] [--property <key=value>] [--state <state>] <server>
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)
2.332. openstack server shelve
usage: openstack server shelve [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to shelve (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.333. openstack server show
usage: openstack server show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--diagnostics] <server>
Positional arguments
- <server>
Server (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --diagnostics
Display server diagnostics information
2.334. 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>
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)
2.335. openstack server start
usage: openstack server start [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to start (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.336. openstack server stop
usage: openstack server stop [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to stop (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.337. openstack server suspend
usage: openstack server suspend [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to suspend (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.338. openstack server unlock
usage: openstack server unlock [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to unlock (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.339. openstack server unpause
usage: openstack server unpause [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to unpause (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.340. openstack server unrescue
usage: openstack server unrescue [-h] <server>
Positional arguments
- <server>
Server (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.341. openstack server unset
usage: openstack server unset [-h] [--property <key>] <server>
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)
2.342. openstack server unshelve
usage: openstack server unshelve [-h] <server> [<server> ...]
Positional arguments
- <server>
Server(s) to unshelve (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.343. openstack service create
usage: openstack service create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <name>] [--description <description>] <type>
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
2.344. openstack service delete
usage: openstack service delete [-h] <service> [<service> ...]
Positional arguments
- <service>
Service(s) to delete (type, name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.345. openstack service list
usage: openstack service list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.346. openstack service show
usage: openstack service show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--catalog] <service>
Positional arguments
- <service>
Service to display (type, name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --catalog
Show service catalog information
2.347. openstack snapshot create
usage: openstack snapshot create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <name>] [--description <description>] [--force] [--property <key=value>] <volume>
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
- --property <key=value>
Set a property to this snapshot (repeat option to set
multiple properties)
2.348. openstack snapshot delete
usage: openstack snapshot delete [-h] <snapshot> [<snapshot> ...]
Positional arguments
- <snapshot>
Snapshot(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.349. openstack snapshot list
usage: openstack snapshot list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--all-projects] [--long] [--marker <marker>] [--limit <limit>]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Include all projects (admin only)
- --long
List additional fields in output
- --marker <marker>
The last snapshot ID of the previous page
- --limit <limit>
Maximum number of snapshots to display
2.350. openstack snapshot set
usage: openstack snapshot set [-h] [--name <name>] [--description <description>] [--property <key=value>] [--state <state>] <snapshot>
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.
2.351. openstack snapshot show
usage: openstack snapshot show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <snapshot>
Positional arguments
- <snapshot>
Snapshot to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.352. openstack snapshot unset
usage: openstack snapshot unset [-h] [--property <key>] <snapshot>
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)
2.353. openstack software config create
usage: openstack software config create [-h] [-f {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>
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
2.354. openstack software config delete
usage: openstack software config delete [-h] <config> [<config> ...]
Positional arguments
- <config>
IDs of the software configs to delete
Optional arguments
- -h, --help
show this help message and exit
2.355. openstack software config list
usage: openstack software config list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit <limit>] [--marker <id>]
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
2.356. openstack software config show
usage: openstack software config show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--config-only] <config>
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.
2.357. openstack software deployment create
usage: openstack software deployment create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--input-value <key=value>] [--action <action>] [--config <config>] [--signal-transport <signal-transport>] [--container <container>] [--timeout <timeout>] --server <server> <deployment-name>
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
- --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
- --server <server> ID
of the server being deployed to
2.358. openstack software deployment delete
usage: openstack software deployment delete [-h] <deployment> [<deployment> ...]
Positional arguments
- <deployment>
ID of the deployment(s) to delete.
Optional arguments
- -h, --help
show this help message and exit
2.359. openstack software deployment list
usage: openstack software deployment list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--server <server>] [--long]
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
2.360. openstack software deployment metadata show
usage: openstack software deployment metadata show [-h] <server>
Positional arguments
- <server>
ID of the server to fetch deployments for
Optional arguments
- -h, --help
show this help message and exit
2.361. openstack software deployment output show
usage: openstack software deployment output show [-h] [--all] [--long] <deployment> [<output-name>]
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
2.362. openstack software deployment show
usage: openstack software deployment show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--long] <deployment>
Positional arguments
- <deployment>
ID of the deployment
Optional arguments
- -h, --help
show this help message and exit
- --long
Show more fields in output
2.363. openstack stack abandon
usage: openstack stack abandon [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--output-file <output-file>] <stack>
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
2.364. openstack stack adopt
usage: openstack stack adopt [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-e <environment>] [--timeout <timeout>] [--enable-rollback] [--parameter <key=value>] [--wait] --adopt-file <adopt-file> <stack-name>
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
- --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
- --adopt-file <adopt-file>
Path to adopt stack data file
2.365. openstack stack cancel
usage: openstack stack cancel [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--wait] <stack> [<stack> ...]
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
2.366. openstack stack check
usage: openstack stack check [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--wait] <stack> [<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
2.367. openstack stack create
usage: openstack stack create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-e <environment>] [--timeout <timeout>] [--pre-create <resource>] [--enable-rollback] [--parameter <key=value>] [--parameter-file <key=file>] [--wait] [--tags <tag1,tag2...>] [--dry-run] -t <template> <stack-name>
Positional arguments
- <stack-name>
Name of the stack to create
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 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
- -t <template>, --template <template>
Path to the template
2.368. openstack stack delete
usage: openstack stack delete [-h] [--yes] [--wait] <stack> [<stack> ...]
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
2.369. openstack stack environment show
usage: openstack stack environment show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to query
Optional arguments
- -h, --help
show this help message and exit
2.370. openstack stack event list
usage: openstack stack event list [-h] [-f {csv,json,log,table,value,yaml}] [-c COLUMN] [--noindent] [--max-width <integer>] [--quote {all,minimal,none,nonnumeric}] [--resource <resource>] [--filter <key=value>] [--limit <limit>] [--marker <id>] [--nested-depth <depth>] [--sort <key>[:<direction>]] [--follow] <stack>
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
2.371. openstack stack event show
usage: openstack stack event show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <stack> <resource> <event>
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
2.372. openstack stack failures list
usage: openstack stack failures list [-h] [--long] <stack>
Positional arguments
- <stack>
Stack to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --long
Show full deployment logs in output
2.373. openstack stack file list
usage: openstack stack file list [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to query
Optional arguments
- -h, --help
show this help message and exit
2.374. openstack stack hook clear
usage: openstack stack hook clear [-h] [--pre-create] [--pre-update] [--pre-delete] <stack> <resource> [<resource> ...]
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
- --pre-delete
Clear the pre-delete hooks
2.375. openstack stack hook poll
usage: openstack stack hook poll [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--nested-depth <nested-depth>] <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
2.376. openstack stack list
usage: openstack stack list [-h] [-f {csv,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]
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
2.377. openstack stack output list
usage: openstack stack output list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] <stack>
Positional arguments
- <stack>
Name or ID of stack to query
Optional arguments
- -h, --help
show this help message and exit
2.378. openstack stack output show
usage: openstack stack output show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all] <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
2.379. openstack stack resource list
usage: openstack stack resource list [-h] [-f {csv,dot,json,table,value,yaml}] [-c COLUMN] [--noindent] [--max-width <integer>] [--quote {all,minimal,none,nonnumeric}] [--long] [-n <nested-depth>] [--filter <key=value>] <stack>
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
physical_resource_id
2.380. openstack stack resource mark unhealthy
usage: openstack stack resource mark unhealthy [-h] [--reset] <stack> <resource> [reason]
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
2.381. openstack stack resource metadata
usage: openstack stack resource metadata [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <stack> <resource>
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
2.382. openstack stack resource show
usage: openstack stack resource show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--with-attr <attribute>] <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
2.383. openstack stack resource signal
usage: openstack stack resource signal [-h] [--data <data>] [--data-file <data-file>] <stack> <resource>
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
2.384. openstack stack resume
usage: openstack stack resume [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--wait] <stack> [<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
2.385. openstack stack show
usage: openstack stack show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <stack>
Positional arguments
- <stack>
Stack to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.386. openstack stack snapshot create
usage: openstack stack snapshot create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <name>] <stack>
Positional arguments
- <stack>
Name or ID of stack
Optional arguments
- -h, --help
show this help message and exit
- --name <name>
Name of snapshot
2.387. openstack stack snapshot delete
usage: openstack stack snapshot delete [-h] <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
2.388. openstack stack snapshot list
usage: openstack stack snapshot list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] <stack>
Positional arguments
- <stack>
Name or ID of stack containing the snapshots
Optional arguments
- -h, --help
show this help message and exit
2.389. openstack stack snapshot restore
usage: openstack stack snapshot restore [-h] <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
2.390. openstack stack snapshot show
usage: openstack stack snapshot show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <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
2.391. openstack stack suspend
usage: openstack stack suspend [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--wait] <stack> [<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
2.392. openstack stack template show
usage: openstack stack template show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <stack>
Positional arguments
- <stack>
Name or ID of stack to query
Optional arguments
- -h, --help
show this help message and exit
2.393. openstack stack update
usage: openstack stack update [-h] [-f {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>
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
2.394. openstack subnet create
usage: openstack subnet create [-h] [-f {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
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)
2.395. openstack subnet delete
usage: openstack subnet delete [-h] <subnet> [<subnet> ...]
Positional arguments
- <subnet>
Subnet(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.396. openstack subnet list
usage: openstack subnet list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long] [--ip-version <ip-version>] [--dhcp | --no-dhcp]
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
output.Allowed values for IP version are 4 and 6.
- --dhcp
List subnets which have DHCP enabled
- --no-dhcp
List subnets which have DHCP disabled
2.397. openstack subnet pool create
usage: openstack subnet pool create [-h] [-f {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>
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
2.398. openstack subnet pool delete
usage: openstack subnet pool delete [-h] <subnet-pool> [<subnet-pool> ...]
Positional arguments
- <subnet-pool>
Subnet pool(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.399. openstack subnet pool list
usage: openstack subnet pool list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.400. 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>
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
2.401. openstack subnet pool show
usage: openstack subnet pool show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <subnet-pool>
Positional arguments
- <subnet-pool>
Subnet pool to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.402. openstack subnet pool unset
usage: openstack subnet pool unset [-h] [--pool-prefix <pool-prefix>] <subnet-pool>
Positional arguments
- <subnet-pool>
Subnet pool to modify (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --pool-prefix <pool-prefix>
Remove subnet pool prefixes (in CIDR notation).
(repeat option to unset multiple prefixes).
2.403. 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>
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)
2.404. openstack subnet show
usage: openstack subnet show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <subnet>
Positional arguments
- <subnet>
Subnet to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.405. openstack subnet unset
usage: openstack subnet unset [-h] [--allocation-pool start=<ip-address>,end=<ip-address>] [--dns-nameserver <dns-nameserver>] [--host-route destination=<subnet>,gateway=<ip-address>] <subnet>
Positional arguments
- <subnet>
Subnet to modify (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --allocation-pool
start=<ip-address>,end=<ip-address>
Allocation pool to be removed from this subnet e.g.:
start=192.168.199.2,end=192.168.199.254 (repeat option
to unset multiple Allocation pools)
- --dns-nameserver <dns-nameserver>
DNS server to be removed from this subnet (repeat
option to set multiple DNS servers)
- --host-route
destination=<subnet>,gateway=<ip-address>
Route to be removed from 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 unset
multiple host routes)
2.406. openstack task execution list
usage: openstack task execution list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [workflow_execution]
Positional arguments
- workflow_execution
Workflow execution ID associated with list of Tasks.
Optional arguments
- -h, --help
show this help message and exit
2.407. openstack task execution rerun
usage: openstack task execution rerun [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--resume] [-e ENV] id
Positional arguments
- id
Task identifier
Optional arguments
- -h, --help
show this help message and exit
- --resume
rerun only failed or unstarted action executions for
with-items task
- -e ENV, --env ENV
Environment variables
2.408. openstack task execution show
usage: openstack task execution show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] task
Positional arguments
- task
Task identifier
Optional arguments
- -h, --help
show this help message and exit
2.409. openstack tld create
usage: openstack tld create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --name NAME [--description DESCRIPTION] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --name NAME TLD
Name
- --description DESCRIPTION
Description
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.410. openstack tld delete
usage: openstack tld delete [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
TLD ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.411. openstack tld list
usage: openstack tld list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--name NAME] [--description DESCRIPTION] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --name NAME TLD NAME
- --description DESCRIPTION
TLD Description
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.412. openstack tld set
usage: openstack tld set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name NAME] [--description DESCRIPTION | --no-description] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
TLD ID
Optional arguments
- -h, --help
show this help message and exit
- --name NAME TLD
Name
- --description DESCRIPTION
Description
- --no-description
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.413. openstack tld show
usage: openstack tld show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
TLD ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.414. openstack token issue
usage: openstack token issue [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
2.415. openstack token revoke
usage: openstack token revoke [-h] <token>
Positional arguments
- <token>
Token to be deleted
Optional arguments
- -h, --help
show this help message and exit
2.416. openstack usage list
usage: openstack usage list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--start <start>] [--end <end>]
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)
2.417. openstack usage show
usage: openstack usage show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--project <project>] [--start <start>] [--end <end>]
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)
2.418. openstack user create
usage: openstack user create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--project <project>] [--password <password>] [--password-prompt] [--email <email-address>] [--enable | --disable] [--or-show] <name>
Positional arguments
- <name>
New user name
Optional arguments
- -h, --help
show this help message and exit
- --project <project>
Default project (name or ID)
- --password <password>
Set user password
- --password-prompt
Prompt interactively for password
- --email <email-address>
Set user email address
- --enable
Enable user (default)
- --disable
Disable user
- --or-show
Return existing user
2.419. openstack user delete
usage: openstack user delete [-h] <user> [<user> ...]
Positional arguments
- <user>
User(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.420. openstack user list
usage: openstack user list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--project <project>] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --project <project>
Filter users by project (name or ID)
- --long
List additional fields in output
2.421. openstack user role list
usage: openstack user role list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--project <project>] [<user>]
Positional arguments
- <user>
User to list (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --project <project>
Filter users by <project> (name or ID)
2.422. openstack user set
usage: openstack user set [-h] [--name <name>] [--project <project>] [--password <user-password>] [--password-prompt] [--email <email-address>] [--enable | --disable] <user>
Positional arguments
- <user>
User to modify (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)
- --password <user-password>
Set user password
- --password-prompt
Prompt interactively for password
- --email <email-address>
Set user email address
- --enable
Enable user (default)
- --disable
Disable user
2.423. openstack user show
usage: openstack user show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <user>
Positional arguments
- <user>
User to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.424. openstack volume backup create
usage: openstack volume backup create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name <name>] [--description <description>] [--container <container>] [--snapshot <snapshot>] [--force] [--incremental] <volume>
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
- --snapshot <snapshot>
Snapshot to backup (name or ID)
- --force
Allow to back up an in-use volume
- --incremental
Perform an incremental backup
2.425. openstack volume backup delete
usage: openstack volume backup delete [-h] [--force] <backup> [<backup> ...]
Positional arguments
- <backup>
Backup(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --force
Allow delete in state other than error or available
2.426. openstack volume backup list
usage: openstack volume backup list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
2.427. openstack volume backup restore
usage: openstack volume backup restore [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <backup> <volume>
Positional arguments
- <backup>
Backup to restore (name or ID)
- <volume>
Volume to restore to (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.428. openstack volume backup show
usage: openstack volume backup show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <backup>
Positional arguments
- <backup>
Backup to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.429. openstack volume create
usage: openstack volume create [-h] [-f {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>
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)
2.430. openstack volume delete
usage: openstack volume delete [-h] [--force | --purge] <volume> [<volume> ...]
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)
- --purge
Remove any snapshots along with volume(s) (defaults to False)
2.431. openstack volume list
usage: openstack volume list [-h] [-f {csv,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]
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
2.432. openstack volume qos associate
usage: openstack volume qos associate [-h] <qos-spec> <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
2.433. openstack volume qos create
usage: openstack volume qos create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--consumer <consumer>] [--property <key=value>] <name>
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)
2.434. openstack volume qos delete
usage: openstack volume qos delete [-h] [--force] <qos-spec> [<qos-spec> ...]
Positional arguments
- <qos-spec>
QoS specification(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
- --force
Allow to delete in-use QoS specification(s)
2.435. openstack volume qos disassociate
usage: openstack volume qos disassociate [-h] [--volume-type <volume-type> | --all] <qos-spec>
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
2.436. openstack volume qos list
usage: openstack volume qos list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.437. openstack volume qos set
usage: openstack volume qos set [-h] [--property <key=value>] <qos-spec>
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)
2.438. openstack volume qos show
usage: openstack volume qos show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <qos-spec>
Positional arguments
- <qos-spec>
QoS specification to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.439. openstack volume qos unset
usage: openstack volume qos unset [-h] [--property <key>] <qos-spec>
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)
2.440. openstack volume service list
usage: openstack volume service list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--host <host>] [--service <service>] [--long]
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
2.441. openstack volume set
usage: openstack volume set [-h] [--name <name>] [--size <size>] [--description <description>] [--property <key=value>] [--image-property <key=value>] [--state <state>] <volume>
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)
- --state <state>
New volume state ("available", "error", "creating",
"deleting", "in-use", "attaching", "detaching",
"error_deleting" or "maintenance")
2.442. openstack volume show
usage: openstack volume show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <volume-id>
Positional arguments
- <volume-id>
Volume to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.443. openstack volume transfer request list
usage: openstack volume transfer request list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--all-projects]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Shows detail for all projects. Admin only. (defaults
to False)
2.444. openstack volume type create
usage: openstack volume type create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--description <description>] [--public | --private] [--property <key=value>] [--project <project>] [--project-domain <project-domain>] <name>
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)
- --project <project>
Allow <project> to access private type (name or ID)
(Must be used with --private option)
- --project-domain <project-domain>
Domain the project belongs to (name or ID). This can
be used in case collisions between project names
exist.
2.445. openstack volume type delete
usage: openstack volume type delete [-h] <volume-type> [<volume-type> ...]
Positional arguments
- <volume-type>
Volume type(s) to delete (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.446. openstack volume type list
usage: openstack volume type list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--long] [--public | --private]
Optional arguments
- -h, --help
show this help message and exit
- --long
List additional fields in output
- --public
List only public types
- --private
List only private types (admin only)
2.447. 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>
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.
2.448. openstack volume type show
usage: openstack volume type show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] <volume-type>
Positional arguments
- <volume-type>
Volume type to display (name or ID)
Optional arguments
- -h, --help
show this help message and exit
2.449. openstack volume type unset
usage: openstack volume type unset [-h] [--property <key>] [--project <project>] [--project-domain <project-domain>] <volume-type>
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.
2.450. openstack volume unset
usage: openstack volume unset [-h] [--property <key>] [--image-property <key>] <volume>
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)
2.451. openstack workbook create
usage: openstack workbook create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] definition
Positional arguments
- definition
Workbook definition file
Optional arguments
- -h, --help
show this help message and exit
2.452. openstack workbook delete
usage: openstack workbook delete [-h] workbook [workbook ...]
Positional arguments
- workbook
Name of workbook(s).
Optional arguments
- -h, --help
show this help message and exit
2.453. openstack workbook list
usage: openstack workbook list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.454. openstack workbook show
usage: openstack workbook show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] workbook
Positional arguments
- workbook
Workbook name
Optional arguments
- -h, --help
show this help message and exit
2.455. openstack workbook update
usage: openstack workbook update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] definition
Positional arguments
- definition
Workbook definition file
Optional arguments
- -h, --help
show this help message and exit
2.456. openstack workbook validate
usage: openstack workbook validate [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] definition
Positional arguments
- definition
Workbook definition file
Optional arguments
- -h, --help
show this help message and exit
2.457. openstack workflow create
usage: openstack workflow create [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--public] definition
Positional arguments
- definition
Workflow definition file.
Optional arguments
- -h, --help
show this help message and exit
- --public
With this flag workflow will be marked as "public".
2.458. openstack workflow delete
usage: openstack workflow delete [-h] workflow [workflow ...]
Positional arguments
- workflow
Name or ID of workflow(s).
Optional arguments
- -h, --help
show this help message and exit
2.459. openstack workflow engine service list
usage: openstack workflow engine service list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.460. openstack workflow env create
usage: openstack workflow env create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] file
Positional arguments
- file
Environment configuration file in JSON or YAML
Optional arguments
- -h, --help
show this help message and exit
2.461. openstack workflow env delete
usage: openstack workflow env delete [-h] environment [environment ...]
Positional arguments
- environment
Name of environment(s).
Optional arguments
- -h, --help
show this help message and exit
2.462. openstack workflow env list
usage: openstack workflow env list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.463. openstack workflow env show
usage: openstack workflow env show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] environment
Positional arguments
- environment
Environment name
Optional arguments
- -h, --help
show this help message and exit
2.464. openstack workflow env update
usage: openstack workflow env update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] file
Positional arguments
- file
Environment configuration file in JSON or YAML
Optional arguments
- -h, --help
show this help message and exit
2.465. openstack workflow execution create
usage: openstack workflow execution create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-d DESCRIPTION] workflow_identifier [workflow_input] [params]
Positional arguments
- workflow_identifier
Workflow ID or name. Workflow name will be deprecated
sinceMitaka.
- workflow_input
Workflow input
- params
Workflow additional parameters
Optional arguments
- -h, --help
show this help message and exit
- -d DESCRIPTION, --description DESCRIPTION
Execution description
2.466. openstack workflow execution delete
usage: openstack workflow execution delete [-h] execution [execution ...]
Positional arguments
- execution
Id of execution identifier(s).
Optional arguments
- -h, --help
show this help message and exit
2.467. openstack workflow execution list
usage: openstack workflow execution list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--marker [MARKER]] [--limit [LIMIT]] [--sort_keys [SORT_KEYS]] [--sort_dirs [SORT_DIRS]]
Optional arguments
- -h, --help
show this help message and exit
- --marker [MARKER]
The last execution uuid of the previous page, displays
list of executions after "marker".
- --limit [LIMIT]
Maximum number of executions to return in a single
result.
- --sort_keys [SORT_KEYS]
Comma-separated list of sort keys to sort results by.
Default: created_at. Example: mistral execution-list
--sort_keys=id,description
- --sort_dirs [SORT_DIRS]
Comma-separated list of sort directions. Default: asc.
Example: mistral execution-list
--sort_keys=id,description --sort_dirs=asc,desc
2.468. openstack workflow execution show
usage: openstack workflow execution show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] execution
Positional arguments
- execution
Execution identifier
Optional arguments
- -h, --help
show this help message and exit
2.469. openstack workflow execution update
usage: openstack workflow execution update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-s {RUNNING,PAUSED,SUCCESS,ERROR,CANCELLED}] [-e ENV] [-d DESCRIPTION] id
Positional arguments
- id
Execution identifier
Optional arguments
- -h, --help
show this help message and exit
- -s {RUNNING,PAUSED,SUCCESS,ERROR,CANCELLED}, --state {RUNNING,PAUSED,SUCCESS,ERROR,CANCELLED}
Execution state
- -e ENV, --env ENV
Environment variables
- -d DESCRIPTION, --description DESCRIPTION
Execution description
2.470. openstack workflow list
usage: openstack workflow list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
2.471. openstack workflow show
usage: openstack workflow show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] workflow
Positional arguments
- workflow
Workflow ID or name.
Optional arguments
- -h, --help
show this help message and exit
2.472. openstack workflow update
usage: openstack workflow update [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--id ID] [--public] definition
Positional arguments
- definition
Workflow definition
Optional arguments
- -h, --help
show this help message and exit
- --id ID
Workflow ID.
- --public
With this flag workflow will be marked as "public".
2.473. openstack workflow validate
usage: openstack workflow validate [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] definition
Positional arguments
- definition
Workflow definition file
Optional arguments
- -h, --help
show this help message and exit
2.474. openstack zone abandon
usage: openstack zone abandon [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Zone ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.475. openstack zone axfr
usage: openstack zone axfr [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Zone ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.476. openstack zone blacklist create
usage: openstack zone blacklist create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --pattern PATTERN [--description DESCRIPTION] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --pattern PATTERN
Blacklist pattern
- --description DESCRIPTION
Description
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.477. openstack zone blacklist delete
usage: openstack zone blacklist delete [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Blacklist ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.478. openstack zone blacklist list
usage: openstack zone blacklist list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.479. openstack zone blacklist set
usage: openstack zone blacklist set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--pattern PATTERN] [--description DESCRIPTION | --no-description] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Blacklist ID
Optional arguments
- -h, --help
show this help message and exit
- --pattern PATTERN
Blacklist pattern
- --description DESCRIPTION
Description
- --no-description
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.480. openstack zone blacklist show
usage: openstack zone blacklist show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Blacklist ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.481. openstack zone create
usage: openstack zone create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--email EMAIL] [--type TYPE] [--ttl TTL] [--description DESCRIPTION] [--masters MASTERS [MASTERS ...]] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] name
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
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.482. openstack zone delete
usage: openstack zone delete [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Zone ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.483. openstack zone export create
usage: openstack zone export create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_id
Positional arguments
- zone_id
Zone ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.484. openstack zone export delete
usage: openstack zone export delete [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_export_id
Positional arguments
- zone_export_id
Zone Export ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.485. openstack zone export list
usage: openstack zone export list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.486. openstack zone export show
usage: openstack zone export show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_export_id
Positional arguments
- zone_export_id
Zone Export ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.487. openstack zone export showfile
usage: openstack zone export showfile [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_export_id
Positional arguments
- zone_export_id
Zone Export ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.488. openstack zone import create
usage: openstack zone import create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_file_path
Positional arguments
- zone_file_path
Path to a zone file
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.489. openstack zone import delete
usage: openstack zone import delete [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_import_id
Positional arguments
- zone_import_id
Zone Import ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.490. openstack zone import list
usage: openstack zone import list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.491. openstack zone import show
usage: openstack zone import show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_import_id
Positional arguments
- zone_import_id
Zone Import ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.492. openstack zone list
usage: openstack zone list [-h] [-f {csv,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] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
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
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.493. openstack zone set
usage: openstack zone set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--email EMAIL] [--ttl TTL] [--description DESCRIPTION | --no-description] [--masters MASTERS [MASTERS ...]] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
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
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.494. openstack zone show
usage: openstack zone show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Zone ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.495. openstack zone transfer accept list
usage: openstack zone transfer accept list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.496. openstack zone transfer accept request
usage: openstack zone transfer accept request [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --transfer-id TRANSFER_ID --key KEY [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --transfer-id TRANSFER_ID
Transfer ID
- --key KEY
Transfer Key
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.497. openstack zone transfer accept show
usage: openstack zone transfer accept show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Zone Tranfer Accept ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.498. openstack zone transfer request create
usage: openstack zone transfer request create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--target-project-id TARGET_PROJECT_ID] [--description DESCRIPTION] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] zone_id
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
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.499. openstack zone transfer request delete
usage: openstack zone transfer request delete [-h] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Zone Transfer Request ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.500. openstack zone transfer request list
usage: openstack zone transfer request list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.501. openstack zone transfer request set
usage: openstack zone transfer request set [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--description DESCRIPTION | --no-description] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Zone Transfer Request ID
Optional arguments
- -h, --help
show this help message and exit
- --description DESCRIPTION
Description
- --no-description
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
2.502. openstack zone transfer request show
usage: openstack zone transfer request show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--all-projects] [--edit-managed] [--sudo-project-id SUDO_PROJECT_ID] id
Positional arguments
- id
Zone Tranfer Request ID
Optional arguments
- -h, --help
show this help message and exit
- --all-projects
Show results from all projects. Default: False
- --edit-managed
Edit resources marked as managed. Default: False
- --sudo-project-id SUDO_PROJECT_ID
Project ID to impersonate for this command. Default:
None
Chapter 3. Configuration File Editor
0.7
.
3.1. openstack-config Usage
Usage: crudini --set [OPTION]... config_file section [param] [value] crudini --get [OPTION]... config_file [section] [param] crudini --del [OPTION]... config_file section [param] [list value] crudini --merge [OPTION]... config_file [section]
3.2. openstack-config Optional Arguments
- --existing[=WHAT]
For --set, --del and --merge, fail if item is missing,
where WHAT is 'file', 'section', or 'param', or if
not specified; all specifed items.
- --format=FMT
For --get, select the output FMT.
Formats are sh,ini,lines
- --inplace
Lock and write files in place.
This is not atomic but has less restrictions
than the default replacement method.
- --list
For --set and --del, update a list (set) of values
- --list-sep=STR
Delimit list values with "STR" instead of " ,"
- --output=FILE
Write output to FILE instead. '-' means stdout
- --verbose
Indicate on stderr if changes were made
Chapter 4. Block Storage Service Command-line Client
1.9.0
.
$
cinder
help
COMMAND
4.1. cinder Usage
usage: cinder [--version] [-d] [--os-auth-system <auth-system>] [--service-type <service-type>] [--service-name <service-name>] [--volume-service-name <volume-service-name>] [--os-endpoint-type <os-endpoint-type>] [--endpoint-type <endpoint-type>] [--os-volume-api-version <volume-api-ver>] [--bypass-url <bypass-url>] [--retries <retries>] [--profile HMAC_KEY] [--os-auth-strategy <auth-strategy>] [--os-username <auth-user-name>] [--os-password <auth-password>] [--os-tenant-name <auth-tenant-name>] [--os-tenant-id <auth-tenant-id>] [--os-auth-url <auth-url>] [--os-user-id <auth-user-id>] [--os-user-domain-id <auth-user-domain-id>] [--os-user-domain-name <auth-user-domain-name>] [--os-project-id <auth-project-id>] [--os-project-name <auth-project-name>] [--os-project-domain-id <auth-project-domain-id>] [--os-project-domain-name <auth-project-domain-name>] [--os-region-name <region-name>] [--os-token <token>] [--os-url <url>] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] <subcommand> ...
Subcommands
- absolute-limits
Lists absolute limits for a user.
- availability-zone-list
Lists all availability zones.
- backup-create
Creates a volume backup.
- backup-delete
Removes one or more backups.
- backup-export
Export backup metadata record.
- backup-import
Import backup metadata record.
- backup-list
Lists all backups.
- backup-reset-state
Explicitly updates the backup state.
- backup-restore
Restores a backup.
- backup-show
Shows backup details.
- cgsnapshot-create
Creates a cgsnapshot.
- cgsnapshot-delete
Removes one or more cgsnapshots.
- cgsnapshot-list
Lists all cgsnapshots.
- cgsnapshot-show
Shows cgsnapshot details.
- consisgroup-create
Creates a consistency group.
- consisgroup-create-from-src
Creates a consistency group from a cgsnapshot or a
source CG.
- consisgroup-delete
Removes one or more consistency groups.
- consisgroup-list
Lists all consistencygroups.
- consisgroup-show
Shows details of a consistency group.
- consisgroup-update
Updates a consistencygroup.
- create
Creates a volume.
- credentials
Shows user credentials returned from auth.
- delete
Removes one or more volumes.
- encryption-type-create
Creates encryption type for a volume type. Admin only.
- encryption-type-delete
Deletes encryption type for a volume type. Admin only.
- encryption-type-list
Shows encryption type details for volume types. Admin
only.
- encryption-type-show
Shows encryption type details for a volume type. Admin
only.
- encryption-type-update
Update encryption type information for a volume type
(Admin Only).
- endpoints
Discovers endpoints registered by authentication
service.
- extend
Attempts to extend size of an existing volume.
- extra-specs-list
Lists current volume types and extra specs.
- failover-host
Failover a replicating cinder-volume host.
- force-delete
Attempts force-delete of volume, regardless of state.
- freeze-host
Freeze and disable the specified cinder-volume host.
- get-capabilities
Show backend volume stats and properties. Admin only.
- get-pools
Show pool information for backends. Admin only.
- group-show
Shows details of a group.
- image-metadata
Sets or deletes volume image metadata.
- image-metadata-show
Shows volume image metadata.
- list
Lists all volumes.
- manage
Manage an existing volume.
- manageable-list
Lists all manageable volumes.
- metadata
Sets or deletes volume metadata.
- metadata-show
Shows volume metadata.
- metadata-update-all
Updates volume metadata.
- migrate
Migrates volume to a new host.
- qos-associate
Associates qos specs with specified volume type.
- qos-create
Creates a qos specs.
- qos-delete
Deletes a specified qos specs.
- qos-disassociate
Disassociates qos specs from specified volume type.
- qos-disassociate-all
Disassociates qos specs from all its associations.
- qos-get-association
Lists all associations for specified qos specs.
- qos-key
Sets or unsets specifications for a qos spec.
- qos-list
Lists qos specs.
- qos-show
Shows qos specs details.
- quota-class-show
Lists quotas for a quota class.
- quota-class-update
Updates quotas for a quota class.
- quota-defaults
Lists default quotas for a tenant.
- quota-delete
Delete the quotas for a tenant.
- quota-show
Lists quotas for a tenant.
- quota-update
Updates quotas for a tenant.
- quota-usage
Lists quota usage for a tenant.
- rate-limits
Lists rate limits for a user.
- readonly-mode-update
Updates volume read-only access-mode flag.
- rename
Renames a volume.
- replication-promote
Promote a secondary volume to primary for a
relationship.
- replication-reenable
Sync the secondary volume with primary for a
relationship.
- reset-state
Explicitly updates the volume state in the Cinder
database.
- retype
Changes the volume type for a volume.
- service-disable
Disables the service.
- service-enable
Enables the service.
- service-list
Lists all services. Filter by host and service binary.
- set-bootable
Update bootable status of a volume.
- show
Shows volume details.
- snapshot-create
Creates a snapshot.
- snapshot-delete
Removes one or more snapshots.
- snapshot-list
Lists all snapshots.
- snapshot-manage
Manage an existing snapshot.
- snapshot-manageable-list
Lists all manageable snapshots.
- snapshot-metadata
Sets or deletes snapshot metadata.
- snapshot-metadata-show
Shows snapshot metadata.
- snapshot-metadata-update-all
Updates snapshot metadata.
- snapshot-rename
Renames a snapshot.
- snapshot-reset-state
Explicitly updates the snapshot state.
- snapshot-show
Shows snapshot details.
- snapshot-unmanage
Stop managing a snapshot.
- thaw-host
Thaw and enable the specified cinder-volume host.
- transfer-accept
Accepts a volume transfer.
- transfer-create
Creates a volume transfer.
- transfer-delete
Undoes a transfer.
- transfer-list
Lists all transfers.
- transfer-show
Shows transfer details.
- type-access-add
Adds volume type access for the given project.
- type-access-list
Print access information about the given volume type.
- type-access-remove
Removes volume type access for the given project.
- type-create
Creates a volume type.
- type-default
List the default volume type.
- type-delete
Deletes volume type or types.
- type-key
Sets or unsets extra_spec for a volume type.
- type-list
Lists available 'volume types'. (Admin only will see
private types)
- type-show
Show volume type details.
- type-update
Updates volume type name, description, and/or
is_public.
- unmanage
Stop managing a volume.
- upload-to-image
Uploads volume to Image Service as an image.
- bash-completion
Prints arguments for bash_completion.
- help
Shows help about this program or one of its
subcommands.
- list-extensions
Lists all available os-api extensions.
4.2. cinder Optional Arguments
- --version
show program's version number and exit
- -d, --debug
Shows debugging output.
- --os-auth-system <auth-system>
Defaults toenv[OS_AUTH_SYSTEM]
.
- --service-type <service-type>
Service type. For most actions, default is volume.
- --service-name <service-name>
Service name. Default=env[CINDER_SERVICE_NAME]
.
- --volume-service-name <volume-service-name>
Volume service name.
Default=env[CINDER_VOLUME_SERVICE_NAME]
.
- --os-endpoint-type <os-endpoint-type>
Endpoint type, which is publicURL or internalURL.
Default=env[OS_ENDPOINT_TYPE]
or nova
env[CINDER_ENDPOINT_TYPE]
or publicURL.
- --endpoint-type <endpoint-type>
DEPRECATED! Use --os-endpoint-type.
- --os-volume-api-version <volume-api-ver>
Block Storage API version. Accepts X, X.Y (where X is
major and Y is minor
part).Default=env[OS_VOLUME_API_VERSION]
.
- --bypass-url <bypass-url>
Use this API endpoint instead of the Service Catalog.
Defaults toenv[CINDERCLIENT_BYPASS_URL]
.
- --retries <retries>
Number of retries.
- --profile HMAC_KEY HMAC
key to use for encrypting context data for
performance profiling of operation. This key needs to
match the one configured on the cinder api server.
Without key the profiling will not be triggered even
if osprofiler is enabled on server side.
- --os-auth-strategy <auth-strategy>
Authentication strategy (Env: OS_AUTH_STRATEGY,
default keystone). For now, any other value will
disable the authentication.
- --os-username <auth-user-name>
OpenStack user name. Default=env[OS_USERNAME]
.
- --os-password <auth-password>
Password for OpenStack user. Default=env[OS_PASSWORD]
.
- --os-tenant-name <auth-tenant-name>
Tenant name. Default=env[OS_TENANT_NAME]
.
- --os-tenant-id <auth-tenant-id>
ID for the tenant. Default=env[OS_TENANT_ID]
.
- --os-auth-url <auth-url>
URL for the authentication service.
Default=env[OS_AUTH_URL]
.
- --os-user-id <auth-user-id>
Authentication user ID (Env: OS_USER_ID).
- --os-user-domain-id <auth-user-domain-id>
OpenStack user domain ID. Defaults to
env[OS_USER_DOMAIN_ID]
.
- --os-user-domain-name <auth-user-domain-name>
OpenStack user domain name. Defaults to
env[OS_USER_DOMAIN_NAME]
.
- --os-project-id <auth-project-id>
Another way to specify tenant ID. This option is
mutually exclusive with --os-tenant-id. Defaults to
env[OS_PROJECT_ID]
.
- --os-project-name <auth-project-name>
Another way to specify tenant name. This option is
mutually exclusive with --os-tenant-name. Defaults to
env[OS_PROJECT_NAME]
.
- --os-project-domain-id <auth-project-domain-id>
Defaults toenv[OS_PROJECT_DOMAIN_ID]
.
- --os-project-domain-name <auth-project-domain-name>
Defaults toenv[OS_PROJECT_DOMAIN_NAME]
.
- --os-region-name <region-name>
Region name. Default=env[OS_REGION_NAME]
.
- --os-token <token>
Defaults toenv[OS_TOKEN]
.
- --os-url <url>
Defaults toenv[OS_URL]
.
4.3. Block Storage API v1 Commands
4.3.1. cinder absolute-limits
usage: cinder absolute-limits [<tenant_id>]
Positional arguments
- <tenant_id>
Display information for a single tenant (Admin only).
4.3.2. cinder availability-zone-list
usage: cinder availability-zone-list
4.3.3. cinder backup-create
usage: cinder backup-create [--container <container>] [--name <name>] [--description <description>] [--incremental] [--force] [--snapshot-id <snapshot-id>] <volume>
Positional arguments
- <volume>
Name or ID of volume to backup.
Optional arguments
- --container <container>
Backup container name. Default=None.
- --name <name>
Backup name. Default=None.
- --description <description>
Backup description. Default=None.
- --incremental
Incremental backup. Default=False.
- --force
Allows or disallows backup of a volume when the volume
is attached to an instance. If set to True, backs up
the volume whether its status is "available" or "in-
use". The backup of an "in-use" volume means your data
is crash consistent. Default=False.
- --snapshot-id <snapshot-id>
ID of snapshot to backup. Default=None.
4.3.4. cinder backup-delete
usage: cinder backup-delete [--force] <backup> [<backup> ...]
Positional arguments
- <backup>
Name or ID of backup(s) to delete.
Optional arguments
- --force
Allows deleting backup of a volume when its status is other than
"available" or "error". Default=False.
4.3.5. cinder backup-export
usage: cinder backup-export <backup>
Positional arguments
- <backup>
ID of the backup to export.
4.3.6. cinder backup-import
usage: cinder backup-import <backup_service> <backup_url>
Positional arguments
- <backup_service>
Backup service to use for importing the backup.
- <backup_url>
Backup URL for importing the backup metadata.
4.3.7. cinder backup-list
usage: cinder backup-list [--all-tenants [<all_tenants>]] [--name <name>] [--status <status>] [--volume-id <volume-id>] [--marker <marker>] [--limit <limit>] [--sort <key>[:<direction>]]
Optional arguments
- --all-tenants [<all_tenants>]
Shows details for all tenants. Admin only.
- --name <name>
Filters results by a name. Default=None.
- --status <status>
Filters results by a status. Default=None.
- --volume-id <volume-id>
Filters results by a volume ID. Default=None.
- --marker <marker>
Begin returning backups that appear later in the
backup list than that represented by this id.
Default=None.
- --limit <limit>
Maximum number of backups to return. Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
4.3.8. cinder backup-reset-state
usage: cinder backup-reset-state [--state <state>] <backup> [<backup> ...]
Positional arguments
- <backup>
Name or ID of the backup to modify.
Optional arguments
- --state <state>
The state to assign to the backup. Valid values are
"available", "error". Default=available.
4.3.9. cinder backup-restore
usage: cinder backup-restore [--volume <volume>] [--name <name>] <backup>
Positional arguments
- <backup>
Name or ID of backup to restore.
Optional arguments
- --volume <volume>
Name or ID of existing volume to which to restore. This
is mutually exclusive with --name and takes priority.
Default=None.
- --name <name>
Use the name for new volume creation to restore. This is
mutually exclusive with --volume (or the deprecated
--volume-id) and --volume (or --volume-id) takes
priority. Default=None.
4.3.10. cinder backup-show
usage: cinder backup-show <backup>
Positional arguments
- <backup>
Name or ID of backup.
4.3.11. cinder cgsnapshot-create
usage: cinder cgsnapshot-create [--name <name>] [--description <description>] <consistencygroup>
Positional arguments
- <consistencygroup>
Name or ID of a consistency group.
Optional arguments
- --name <name>
Cgsnapshot name. Default=None.
- --description <description>
Cgsnapshot description. Default=None.
4.3.12. cinder cgsnapshot-delete
usage: cinder cgsnapshot-delete <cgsnapshot> [<cgsnapshot> ...]
Positional arguments
- <cgsnapshot>
Name or ID of one or more cgsnapshots to be deleted.
4.3.13. cinder cgsnapshot-list
usage: cinder cgsnapshot-list [--all-tenants [<0|1>]] [--status <status>] [--consistencygroup-id <consistencygroup_id>]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
- --status <status>
Filters results by a status. Default=None.
- --consistencygroup-id <consistencygroup_id>
Filters results by a consistency group ID.
Default=None.
4.3.14. cinder cgsnapshot-show
usage: cinder cgsnapshot-show <cgsnapshot>
Positional arguments
- <cgsnapshot>
Name or ID of cgsnapshot.
4.3.15. cinder consisgroup-create
usage: cinder consisgroup-create [--name <name>] [--description <description>] [--availability-zone <availability-zone>] <volume-types>
Positional arguments
- <volume-types>
Volume types.
Optional arguments
- --name <name>
Name of a consistency group.
- --description <description>
Description of a consistency group. Default=None.
- --availability-zone <availability-zone>
Availability zone for volume. Default=None.
4.3.16. cinder consisgroup-create-from-src
usage: cinder consisgroup-create-from-src [--cgsnapshot <cgsnapshot>] [--source-cg <source-cg>] [--name <name>] [--description <description>]
Optional arguments
- --cgsnapshot <cgsnapshot>
Name or ID of a cgsnapshot. Default=None.
- --source-cg <source-cg>
Name or ID of a source CG. Default=None.
- --name <name>
Name of a consistency group. Default=None.
- --description <description>
Description of a consistency group. Default=None.
4.3.17. cinder consisgroup-delete
usage: cinder consisgroup-delete [--force] <consistencygroup> [<consistencygroup> ...]
Positional arguments
- <consistencygroup>
Name or ID of one or more consistency groups to be
deleted.
Optional arguments
- --force
Allows or disallows consistency groups to be deleted. If
the consistency group is empty, it can be deleted
without the force flag. If the consistency group is not
empty, the force flag is required for it to be deleted.
4.3.18. cinder consisgroup-list
usage: cinder consisgroup-list [--all-tenants [<0|1>]]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
4.3.19. cinder consisgroup-show
usage: cinder consisgroup-show <consistencygroup>
Positional arguments
- <consistencygroup>
Name or ID of a consistency group.
4.3.20. cinder consisgroup-update
usage: cinder consisgroup-update [--name <name>] [--description <description>] [--add-volumes <uuid1,uuid2,......>] [--remove-volumes <uuid3,uuid4,......>] <consistencygroup>
Positional arguments
- <consistencygroup>
Name or ID of a consistency group.
Optional arguments
- --name <name>
New name for consistency group. Default=None.
- --description <description>
New description for consistency group. Default=None.
- --add-volumes <uuid1,uuid2,......>
UUID of one or more volumes to be added to the
consistency group, separated by commas. Default=None.
- --remove-volumes <uuid3,uuid4,......>
UUID of one or more volumes to be removed from the
consistency group, separated by commas. Default=None.
4.3.21. cinder create
usage: cinder create [--consisgroup-id <consistencygroup-id>] [--snapshot-id <snapshot-id>] [--source-volid <source-volid>] [--source-replica <source-replica>] [--image-id <image-id>] [--image <image>] [--name <name>] [--description <description>] [--volume-type <volume-type>] [--availability-zone <availability-zone>] [--metadata [<key=value> [<key=value> ...]]] [--hint <key=value>] [--allow-multiattach] [<size>]
Positional arguments
- <size>
Size of volume, in GiBs. (Required unless snapshot-id
/source-volid is specified).
Optional arguments
- --consisgroup-id <consistencygroup-id>
ID of a consistency group where the new volume belongs
to. Default=None.
- --snapshot-id <snapshot-id>
Creates volume from snapshot ID. Default=None.
- --source-volid <source-volid>
Creates volume from volume ID. Default=None.
- --source-replica <source-replica>
Creates volume from replicated volume ID.
Default=None.
- --image-id <image-id>
Creates volume from image ID. Default=None.
- --image <image>
Creates a volume from image (ID or name).
Default=None.
- --name <name>
Volume name. Default=None.
- --description <description>
Volume description. Default=None.
- --volume-type <volume-type>
Volume type. Default=None.
- --availability-zone <availability-zone>
Availability zone for volume. Default=None.
- --metadata [<key=value> [<key=value> ...]]
Metadata key and value pairs. Default=None.
- --hint <key=value>
Scheduler hint, like in nova.
- --allow-multiattach
Allow volume to be attached more than once.
Default=False
4.3.22. cinder credentials
usage: cinder credentials
4.3.23. cinder delete
usage: cinder delete [--cascade] <volume> [<volume> ...]
Positional arguments
- <volume>
Name or ID of volume or volumes to delete.
Optional arguments
- --cascade
Remove any snapshots along with volume. Default=False.
4.3.24. cinder encryption-type-create
usage: cinder encryption-type-create [--cipher <cipher>] [--key_size <key_size>] [--control_location <control_location>] <volume_type> <provider>
Positional arguments
- <volume_type>
Name or ID of volume type.
- <provider>
The class that provides encryption support. For
example, LuksEncryptor.
Optional arguments
- --cipher <cipher>
The encryption algorithm or mode. For example, aes-
xts-plain64. Default=None.
- --key_size <key_size>
Size of encryption key, in bits. For example, 128 or
256. Default=None.
- --control_location <control_location>
Notional service where encryption is performed. Valid
values are "front-end" or "back-end." For example,
front-end=Nova. Default is "front-end."
4.3.25. cinder encryption-type-delete
usage: cinder encryption-type-delete <volume_type>
Positional arguments
- <volume_type>
Name or ID of volume type.
4.3.26. cinder encryption-type-list
usage: cinder encryption-type-list
4.3.27. cinder encryption-type-show
usage: cinder encryption-type-show <volume_type>
Positional arguments
- <volume_type>
Name or ID of volume type.
4.3.28. cinder encryption-type-update
usage: cinder encryption-type-update [--provider <provider>] [--cipher [<cipher>]] [--key-size [<key-size>]] [--control-location <control-location>] <volume-type>
Positional arguments
- <volume-type>
Name or ID of the volume type
Optional arguments
- --provider <provider>
Class providing encryption support (e.g.
LuksEncryptor) (Optional)
- --cipher [<cipher>]
Encryption algorithm/mode to use (e.g., aes-xts-
plain64). Provide parameter without value to set to
provider default. (Optional)
- --key-size [<key-size>]
Size of the encryption key, in bits (e.g., 128, 256).
Provide parameter without value to set to provider
default. (Optional)
- --control-location <control-location>
Notional service where encryption is performed (e.g.,
front-end=Nova). Values: 'front-end', 'back-end'
(Optional)
4.3.29. cinder endpoints
usage: cinder endpoints
4.3.30. cinder extend
usage: cinder extend <volume> <new_size>
Positional arguments
- <volume>
Name or ID of volume to extend.
- <new_size>
New size of volume, in GiBs.
4.3.31. cinder extra-specs-list
usage: cinder extra-specs-list
4.3.32. cinder failover-host
usage: cinder failover-host [--backend_id <backend-id>] <hostname>
Positional arguments
- <hostname>
Host name.
Optional arguments
- --backend_id <backend-id>
ID of backend to failover to (Default=None)
4.3.33. cinder force-delete
usage: cinder force-delete <volume> [<volume> ...]
Positional arguments
- <volume>
Name or ID of volume or volumes to delete.
4.3.34. cinder freeze-host
usage: cinder freeze-host <hostname>
Positional arguments
- <hostname>
Host name.
4.3.35. cinder get-capabilities
usage: cinder get-capabilities <host>
Positional arguments
- <host>
Cinder host to show backend volume stats and properties; takes the
form: host@backend-name
4.3.36. cinder get-pools
usage: cinder get-pools [--detail]
Optional arguments
- --detail
Show detailed information about pools.
4.3.37. cinder group-show
usage: cinder group-show <group>
Positional arguments
- <group>
Name or ID of a group.
4.3.38. cinder image-metadata
usage: cinder image-metadata <volume> <action> <key=value> [<key=value> ...]
Positional arguments
- <volume>
Name or ID of volume for which to update metadata.
- <action>
The action. Valid values are 'set' or 'unset.'
- <key=value>
Metadata key and value pair to set or unset. For unset, specify
only the key.
4.3.39. cinder image-metadata-show
usage: cinder image-metadata-show <volume>
Positional arguments
- <volume>
ID of volume.
4.3.40. cinder list
usage: cinder list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--bootable [<True|true|False|false>]] [--migration_status <migration_status>] [--metadata [<key=value> [<key=value> ...]]] [--marker <marker>] [--limit <limit>] [--fields <fields>] [--sort <key>[:<direction>]] [--tenant [<tenant>]]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
- --name <name>
Filters results by a name. Default=None.
- --status <status>
Filters results by a status. Default=None.
- --bootable [<True|true|False|false>]
Filters results by bootable status. Default=None.
- --migration_status <migration_status>
Filters results by a migration status. Default=None.
Admin only.
- --metadata [<key=value> [<key=value> ...]]
Filters results by a metadata key and value pair.
Default=None.
- --marker <marker>
Begin returning volumes that appear later in the
volume list than that represented by this volume id.
Default=None.
- --limit <limit>
Maximum number of volumes to return. Default=None.
- --fields <fields>
Comma-separated list of fields to display. Use the
show command to see which fields are available.
Unavailable/non-existent fields will be ignored.
Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
- --tenant [<tenant>]
Display information from single tenant (Admin only).
4.3.41. cinder list-extensions
usage: cinder list-extensions
4.3.42. cinder manage
usage: cinder manage [--id-type <id-type>] [--name <name>] [--description <description>] [--volume-type <volume-type>] [--availability-zone <availability-zone>] [--metadata [<key=value> [<key=value> ...]]] [--bootable] <host> <identifier>
Positional arguments
- <host>
Cinder host on which the existing volume resides;
takes the form: host@backend-name#pool
- <identifier>
Name or other Identifier for existing volume
Optional arguments
- --id-type <id-type>
Type of backend device identifier provided, typically
source-name or source-id (Default=source-name)
- --name <name>
Volume name (Default=None)
- --description <description>
Volume description (Default=None)
- --volume-type <volume-type>
Volume type (Default=None)
- --availability-zone <availability-zone>
Availability zone for volume (Default=None)
- --metadata [<key=value> [<key=value> ...]]
Metadata key=value pairs (Default=None)
- --bootable
Specifies that the newly created volume should be
marked as bootable
4.3.43. cinder manageable-list
usage: cinder manageable-list [--detailed <detailed>] [--marker <marker>] [--limit <limit>] [--offset <offset>] [--sort <key>[:<direction>]] <host>
Positional arguments
- <host>
Cinder host on which to list manageable volumes; takes
the form: host@backend-name#pool
Optional arguments
- --detailed <detailed>
Returned detailed information (default true).
- --marker <marker>
Begin returning volumes that appear later in the
volume list than that represented by this volume id.
Default=None.
- --limit <limit>
Maximum number of volumes to return. Default=None.
- --offset <offset>
Number of volumes to skip after marker. Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
4.3.44. cinder metadata
usage: cinder metadata <volume> <action> <key=value> [<key=value> ...]
Positional arguments
- <volume>
Name or ID of volume for which to update metadata.
- <action>
The action. Valid values are "set" or "unset."
- <key=value>
Metadata key and value pair to set or unset. For unset, specify
only the key. Supported until API version 3.14)
4.3.45. cinder metadata-show
usage: cinder metadata-show <volume>
Positional arguments
- <volume>
ID of volume.
4.3.46. cinder metadata-update-all
usage: cinder metadata-update-all <volume> <key=value> [<key=value> ...]
Positional arguments
- <volume>
ID of volume for which to update metadata.
- <key=value>
Metadata key and value pair or pairs to update.
4.3.47. cinder migrate
usage: cinder migrate [--force-host-copy [<True|False>]] [--lock-volume [<True|False>]] <volume> <host>
Positional arguments
- <volume>
ID of volume to migrate.
- <host>
Destination host. Takes the form: host@backend-
name#pool
Optional arguments
- --force-host-copy [<True|False>]
Enables or disables generic host-based force-
migration, which bypasses driver optimizations.
Default=False.
- --lock-volume [<True|False>]
Enables or disables the termination of volume
migration caused by other commands. This option
applies to the available volume. True means it locks
the volume state and does not allow the migration to
be aborted. The volume status will be in maintenance
during the migration. False means it allows the volume
migration to be aborted. The volume status is still in
the original status. Default=False.
4.3.48. cinder qos-associate
usage: cinder qos-associate <qos_specs> <volume_type_id>
Positional arguments
- <qos_specs>
ID of QoS specifications.
- <volume_type_id>
ID of volume type with which to associate QoS
specifications.
4.3.49. cinder qos-create
usage: cinder qos-create <name> <key=value> [<key=value> ...]
Positional arguments
- <name>
Name of new QoS specifications.
- <key=value>
QoS specifications.
4.3.50. cinder qos-delete
usage: cinder qos-delete [--force [<True|False>]] <qos_specs>
Positional arguments
- <qos_specs>
ID of QoS specifications to delete.
Optional arguments
- --force [<True|False>]
Enables or disables deletion of in-use QoS
specifications. Default=False.
4.3.51. cinder qos-disassociate
usage: cinder qos-disassociate <qos_specs> <volume_type_id>
Positional arguments
- <qos_specs>
ID of QoS specifications.
- <volume_type_id>
ID of volume type with which to associate QoS
specifications.
4.3.52. cinder qos-disassociate-all
usage: cinder qos-disassociate-all <qos_specs>
Positional arguments
- <qos_specs>
ID of QoS specifications on which to operate.
4.3.53. cinder qos-get-association
usage: cinder qos-get-association <qos_specs>
Positional arguments
- <qos_specs>
ID of QoS specifications.
4.3.54. cinder qos-key
usage: cinder qos-key <qos_specs> <action> key=value [key=value ...]
Positional arguments
- <qos_specs>
ID of QoS specifications.
- <action>
The action. Valid values are "set" or "unset."
- key=value
Metadata key and value pair to set or unset. For unset, specify
only the key.
4.3.55. cinder qos-list
usage: cinder qos-list
4.3.56. cinder qos-show
usage: cinder qos-show <qos_specs>
Positional arguments
- <qos_specs>
ID of QoS specifications to show.
4.3.57. cinder quota-class-show
usage: cinder quota-class-show <class>
Positional arguments
- <class>
Name of quota class for which to list quotas.
4.3.58. cinder quota-class-update
usage: cinder quota-class-update [--volumes <volumes>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--volume-type <volume_type_name>] <class_name>
Positional arguments
- <class_name>
Name of quota class for which to set quotas.
Optional arguments
- --volumes <volumes>
The new "volumes" quota value. Default=None.
- --snapshots <snapshots>
The new "snapshots" quota value. Default=None.
- --gigabytes <gigabytes>
The new "gigabytes" quota value. Default=None.
- --volume-type <volume_type_name>
Volume type. Default=None.
4.3.59. cinder quota-defaults
usage: cinder quota-defaults <tenant_id>
Positional arguments
- <tenant_id>
ID of tenant for which to list quota defaults.
4.3.60. cinder quota-delete
usage: cinder quota-delete <tenant_id>
Positional arguments
- <tenant_id>
UUID of tenant to delete the quotas for.
4.3.61. cinder quota-show
usage: cinder quota-show <tenant_id>
Positional arguments
- <tenant_id>
ID of tenant for which to list quotas.
4.3.62. cinder quota-update
usage: cinder quota-update [--volumes <volumes>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--backups <backups>] [--backup-gigabytes <backup_gigabytes>] [--consistencygroups <consistencygroups>] [--volume-type <volume_type_name>] [--per-volume-gigabytes <per_volume_gigabytes>] <tenant_id>
Positional arguments
- <tenant_id>
ID of tenant for which to set quotas.
Optional arguments
- --volumes <volumes>
The new "volumes" quota value. Default=None.
- --snapshots <snapshots>
The new "snapshots" quota value. Default=None.
- --gigabytes <gigabytes>
The new "gigabytes" quota value. Default=None.
- --backups <backups>
The new "backups" quota value. Default=None.
- --backup-gigabytes <backup_gigabytes>
The new "backup_gigabytes" quota value. Default=None.
- --consistencygroups <consistencygroups>
The new "consistencygroups" quota value. Default=None.
- --volume-type <volume_type_name>
Volume type. Default=None.
- --per-volume-gigabytes <per_volume_gigabytes>
Set max volume size limit. Default=None.
4.3.63. cinder quota-usage
usage: cinder quota-usage <tenant_id>
Positional arguments
- <tenant_id>
ID of tenant for which to list quota usage.
4.3.64. cinder rate-limits
usage: cinder rate-limits [<tenant_id>]
Positional arguments
- <tenant_id>
Display information for a single tenant (Admin only).
4.3.65. cinder readonly-mode-update
usage: cinder readonly-mode-update <volume> <True|true|False|false>
Positional arguments
- <volume>
ID of volume to update.
- <True|true|False|false>
Enables or disables update of volume to read-only
access mode.
4.3.66. cinder rename
usage: cinder rename [--description <description>] <volume> [<name>]
Positional arguments
- <volume>
Name or ID of volume to rename.
- <name>
New name for volume.
Optional arguments
- --description <description>
Volume description. Default=None.
4.3.67. cinder replication-promote
usage: cinder replication-promote <volume>
Positional arguments
- <volume>
Name or ID of the volume to promote. The volume should have the
replica volume created with source-replica argument.
4.3.68. cinder replication-reenable
usage: cinder replication-reenable <volume>
Positional arguments
- <volume>
Name or ID of the volume to reenable replication. The replication-
status of the volume should be inactive.
4.3.69. cinder reset-state
usage: cinder reset-state [--state <state>] [--attach-status <attach-status>] [--reset-migration-status] <volume> [<volume> ...]
Positional arguments
- <volume>
Name or ID of volume to modify.
Optional arguments
- --state <state>
The state to assign to the volume. Valid values are
"available", "error", "creating", "deleting", "in-
use", "attaching", "detaching", "error_deleting" and
"maintenance". NOTE: This command simply changes the
state of the Volume in the DataBase with no regard to
actual status, exercise caution when using.
Default=None, that means the state is unchanged.
- --attach-status <attach-status>
The attach status to assign to the volume in the
DataBase, with no regard to the actual status. Valid
values are "attached" and "detached". Default=None,
that means the status is unchanged.
- --reset-migration-status
Clears the migration status of the volume in the
DataBase that indicates the volume is source or
destination of volume migration, with no regard to the
actual status.
4.3.70. cinder retype
usage: cinder retype [--migration-policy <never|on-demand>] <volume> <volume-type>
Positional arguments
- <volume>
Name or ID of volume for which to modify type.
- <volume-type>
New volume type.
Optional arguments
- --migration-policy <never|on-demand>
Migration policy during retype of volume.
4.3.71. cinder service-disable
usage: cinder service-disable [--reason <reason>] <hostname> <binary>
Positional arguments
- <hostname>
Host name.
- <binary>
Service binary.
Optional arguments
- --reason <reason>
Reason for disabling service.
4.3.72. cinder service-enable
usage: cinder service-enable <hostname> <binary>
Positional arguments
- <hostname>
Host name.
- <binary>
Service binary.
4.3.73. cinder service-list
usage: cinder service-list [--host <hostname>] [--binary <binary>] [--withreplication [<True|False>]]
Optional arguments
- --host <hostname>
Host name. Default=None.
- --binary <binary>
Service binary. Default=None.
- --withreplication [<True|False>]
Enables or disables display of Replication info for
c-vol services. Default=False.
4.3.74. cinder set-bootable
usage: cinder set-bootable <volume> <True|true|False|false>
Positional arguments
- <volume>
ID of the volume to update.
- <True|true|False|false>
Flag to indicate whether volume is bootable.
4.3.75. cinder show
usage: cinder show <volume>
Positional arguments
- <volume>
Name or ID of volume.
4.3.76. cinder snapshot-create
usage: cinder snapshot-create [--force [<True|False>]] [--name <name>] [--description <description>] [--metadata [<key=value> [<key=value> ...]]] <volume>
Positional arguments
- <volume>
Name or ID of volume to snapshot.
Optional arguments
- --force [<True|False>]
Allows or disallows snapshot of a volume when the
volume is attached to an instance. If set to True,
ignores the current status of the volume when
attempting to snapshot it rather than forcing it to be
available. Default=False.
- --name <name>
Snapshot name. Default=None.
- --description <description>
Snapshot description. Default=None.
- --metadata [<key=value> [<key=value> ...]]
Snapshot metadata key and value pairs. Default=None.
4.3.77. cinder snapshot-delete
usage: cinder snapshot-delete [--force] <snapshot> [<snapshot> ...]
Positional arguments
- <snapshot>
Name or ID of the snapshot(s) to delete.
Optional arguments
- --force
Allows deleting snapshot of a volume when its status is other
than "available" or "error". Default=False.
4.3.78. cinder snapshot-list
usage: cinder snapshot-list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--volume-id <volume-id>] [--marker <marker>] [--limit <limit>] [--sort <key>[:<direction>]] [--tenant [<tenant>]]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
- --name <name>
Filters results by a name. Default=None.
- --status <status>
Filters results by a status. Default=None.
- --volume-id <volume-id>
Filters results by a volume ID. Default=None.
- --marker <marker>
Begin returning snapshots that appear later in the
snapshot list than that represented by this id.
Default=None.
- --limit <limit>
Maximum number of snapshots to return. Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
- --tenant [<tenant>]
Display information from single tenant (Admin only).
4.3.79. cinder snapshot-manage
usage: cinder snapshot-manage [--id-type <id-type>] [--name <name>] [--description <description>] [--metadata [<key=value> [<key=value> ...]]] <volume> <identifier>
Positional arguments
- <volume>
Cinder volume already exists in volume backend
- <identifier>
Name or other Identifier for existing snapshot
Optional arguments
- --id-type <id-type>
Type of backend device identifier provided, typically
source-name or source-id (Default=source-name)
- --name <name>
Snapshot name (Default=None)
- --description <description>
Snapshot description (Default=None)
- --metadata [<key=value> [<key=value> ...]]
Metadata key=value pairs (Default=None)
4.3.80. cinder snapshot-manageable-list
usage: cinder snapshot-manageable-list [--detailed <detailed>] [--marker <marker>] [--limit <limit>] [--offset <offset>] [--sort <key>[:<direction>]] <host>
Positional arguments
- <host>
Cinder host on which to list manageable snapshots;
takes the form: host@backend-name#pool
Optional arguments
- --detailed <detailed>
Returned detailed information (default true).
- --marker <marker>
Begin returning volumes that appear later in the
volume list than that represented by this volume id.
Default=None.
- --limit <limit>
Maximum number of volumes to return. Default=None.
- --offset <offset>
Number of volumes to skip after marker. Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
4.3.81. cinder snapshot-metadata
usage: cinder snapshot-metadata <snapshot> <action> <key=value> [<key=value> ...]
Positional arguments
- <snapshot>
ID of snapshot for which to update metadata.
- <action>
The action. Valid values are "set" or "unset."
- <key=value>
Metadata key and value pair to set or unset. For unset, specify
only the key.
4.3.82. cinder snapshot-metadata-show
usage: cinder snapshot-metadata-show <snapshot>
Positional arguments
- <snapshot>
ID of snapshot.
4.3.83. cinder snapshot-metadata-update-all
usage: cinder snapshot-metadata-update-all <snapshot> <key=value> [<key=value> ...]
Positional arguments
- <snapshot>
ID of snapshot for which to update metadata.
- <key=value>
Metadata key and value pair to update.
4.3.84. cinder snapshot-rename
usage: cinder snapshot-rename [--description <description>] <snapshot> [<name>]
Positional arguments
- <snapshot>
Name or ID of snapshot.
- <name>
New name for snapshot.
Optional arguments
- --description <description>
Snapshot description. Default=None.
4.3.85. cinder snapshot-reset-state
usage: cinder snapshot-reset-state [--state <state>] <snapshot> [<snapshot> ...]
Positional arguments
- <snapshot>
Name or ID of snapshot to modify.
Optional arguments
- --state <state>
The state to assign to the snapshot. Valid values are
"available", "error", "creating", "deleting", and
"error_deleting". NOTE: This command simply changes the
state of the Snapshot in the DataBase with no regard to
actual status, exercise caution when using.
Default=available.
4.3.86. cinder snapshot-show
usage: cinder snapshot-show <snapshot>
Positional arguments
- <snapshot>
Name or ID of snapshot.
4.3.87. cinder snapshot-unmanage
usage: cinder snapshot-unmanage <snapshot>
Positional arguments
- <snapshot>
Name or ID of the snapshot to unmanage.
4.3.88. cinder thaw-host
usage: cinder thaw-host <hostname>
Positional arguments
- <hostname>
Host name.
4.3.89. cinder transfer-accept
usage: cinder transfer-accept <transfer> <auth_key>
Positional arguments
- <transfer>
ID of transfer to accept.
- <auth_key>
Authentication key of transfer to accept.
4.3.90. cinder transfer-create
usage: cinder transfer-create [--name <name>] <volume>
Positional arguments
- <volume>
Name or ID of volume to transfer.
Optional arguments
- --name <name>
Transfer name. Default=None.
4.3.91. cinder transfer-delete
usage: cinder transfer-delete <transfer>
Positional arguments
- <transfer>
Name or ID of transfer to delete.
4.3.92. cinder transfer-list
usage: cinder transfer-list [--all-tenants [<0|1>]]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
4.3.93. cinder transfer-show
usage: cinder transfer-show <transfer>
Positional arguments
- <transfer>
Name or ID of transfer to accept.
4.3.94. cinder type-access-add
usage: cinder type-access-add --volume-type <volume_type> --project-id <project_id>
Optional arguments
- --volume-type <volume_type>
Volume type name or ID to add access for the given
project.
- --project-id <project_id>
Project ID to add volume type access for.
4.3.95. cinder type-access-list
usage: cinder type-access-list --volume-type <volume_type>
Optional arguments
- --volume-type <volume_type>
Filter results by volume type name or ID.
4.3.96. cinder type-access-remove
usage: cinder type-access-remove --volume-type <volume_type> --project-id <project_id>
Optional arguments
- --volume-type <volume_type>
Volume type name or ID to remove access for the given
project.
- --project-id <project_id>
Project ID to remove volume type access for.
4.3.97. cinder type-create
usage: cinder type-create [--description <description>] [--is-public <is-public>] <name>
Positional arguments
- <name>
Name of new volume type.
Optional arguments
- --description <description>
Description of new volume type.
- --is-public <is-public>
Make type accessible to the public (default true).
4.3.98. cinder type-default
usage: cinder type-default
4.3.99. cinder type-delete
usage: cinder type-delete <vol_type> [<vol_type> ...]
Positional arguments
- <vol_type>
Name or ID of volume type or types to delete.
4.3.100. cinder type-key
usage: cinder type-key <vtype> <action> <key=value> [<key=value> ...]
Positional arguments
- <vtype>
Name or ID of volume type.
- <action>
The action. Valid values are "set" or "unset."
- <key=value>
The extra specs key and value pair to set or unset. For unset,
specify only the key.
4.3.101. cinder type-list
usage: cinder type-list
4.3.102. cinder type-show
usage: cinder type-show <volume_type>
Positional arguments
- <volume_type>
Name or ID of the volume type.
4.3.103. cinder type-update
usage: cinder type-update [--name <name>] [--description <description>] [--is-public <is-public>] <id>
Positional arguments
- <id>
ID of the volume type.
Optional arguments
- --name <name>
Name of the volume type.
- --description <description>
Description of the volume type.
- --is-public <is-public>
Make type accessible to the public or not.
4.3.104. cinder unmanage
usage: cinder unmanage <volume>
Positional arguments
- <volume>
Name or ID of the volume to unmanage.
4.3.105. cinder upload-to-image
usage: cinder upload-to-image [--force [<True|False>]] [--container-format <container-format>] [--disk-format <disk-format>] <volume> <image-name>
Positional arguments
- <volume>
Name or ID of volume to snapshot.
- <image-name>
The new image name.
Optional arguments
- --force [<True|False>]
Enables or disables upload of a volume that is
attached to an instance. Default=False. This option
may not be supported by your cloud.
- --container-format <container-format>
Container format type. Default is bare.
- --disk-format <disk-format>
Disk format type. Default is raw.
4.4. Block Storage API v2 Commands
--os-volume-api-version
option or by setting the corresponding environment variable:
$
export OS_VOLUME_API_VERSION=2
4.4.1. cinder absolute-limits (v2)
usage: cinder --os-volume-api-version 2 absolute-limits [<tenant_id>]
Positional arguments
- <tenant_id>
Display information for a single tenant (Admin only).
4.4.2. cinder availability-zone-list (v2)
usage: cinder --os-volume-api-version 2 availability-zone-list
4.4.3. cinder backup-create (v2)
usage: cinder --os-volume-api-version 2 backup-create [--container <container>] [--name <name>] [--description <description>] [--incremental] [--force] [--snapshot-id <snapshot-id>] <volume>
Positional arguments
- <volume>
Name or ID of volume to backup.
Optional arguments
- --container <container>
Backup container name. Default=None.
- --name <name>
Backup name. Default=None.
- --description <description>
Backup description. Default=None.
- --incremental
Incremental backup. Default=False.
- --force
Allows or disallows backup of a volume when the volume
is attached to an instance. If set to True, backs up
the volume whether its status is "available" or "in-
use". The backup of an "in-use" volume means your data
is crash consistent. Default=False.
- --snapshot-id <snapshot-id>
ID of snapshot to backup. Default=None.
4.4.4. cinder backup-delete (v2)
usage: cinder --os-volume-api-version 2 backup-delete [--force] <backup> [<backup> ...]
Positional arguments
- <backup>
Name or ID of backup(s) to delete.
Optional arguments
- --force
Allows deleting backup of a volume when its status is other than
"available" or "error". Default=False.
4.4.5. cinder backup-export (v2)
usage: cinder --os-volume-api-version 2 backup-export <backup>
Positional arguments
- <backup>
ID of the backup to export.
4.4.6. cinder backup-import (v2)
usage: cinder --os-volume-api-version 2 backup-import <backup_service> <backup_url>
Positional arguments
- <backup_service>
Backup service to use for importing the backup.
- <backup_url>
Backup URL for importing the backup metadata.
4.4.7. cinder backup-list (v2)
usage: cinder --os-volume-api-version 2 backup-list [--all-tenants [<all_tenants>]] [--name <name>] [--status <status>] [--volume-id <volume-id>] [--marker <marker>] [--limit <limit>] [--sort <key>[:<direction>]]
Optional arguments
- --all-tenants [<all_tenants>]
Shows details for all tenants. Admin only.
- --name <name>
Filters results by a name. Default=None.
- --status <status>
Filters results by a status. Default=None.
- --volume-id <volume-id>
Filters results by a volume ID. Default=None.
- --marker <marker>
Begin returning backups that appear later in the
backup list than that represented by this id.
Default=None.
- --limit <limit>
Maximum number of backups to return. Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
4.4.8. cinder backup-reset-state (v2)
usage: cinder --os-volume-api-version 2 backup-reset-state [--state <state>] <backup> [<backup> ...]
Positional arguments
- <backup>
Name or ID of the backup to modify.
Optional arguments
- --state <state>
The state to assign to the backup. Valid values are
"available", "error". Default=available.
4.4.9. cinder backup-restore (v2)
usage: cinder --os-volume-api-version 2 backup-restore [--volume <volume>] [--name <name>] <backup>
Positional arguments
- <backup>
Name or ID of backup to restore.
Optional arguments
- --volume <volume>
Name or ID of existing volume to which to restore. This
is mutually exclusive with --name and takes priority.
Default=None.
- --name <name>
Use the name for new volume creation to restore. This is
mutually exclusive with --volume (or the deprecated
--volume-id) and --volume (or --volume-id) takes
priority. Default=None.
4.4.10. cinder backup-show (v2)
usage: cinder --os-volume-api-version 2 backup-show <backup>
Positional arguments
- <backup>
Name or ID of backup.
4.4.11. cinder cgsnapshot-create (v2)
usage: cinder --os-volume-api-version 2 cgsnapshot-create [--name <name>] [--description <description>] <consistencygroup>
Positional arguments
- <consistencygroup>
Name or ID of a consistency group.
Optional arguments
- --name <name>
Cgsnapshot name. Default=None.
- --description <description>
Cgsnapshot description. Default=None.
4.4.12. cinder cgsnapshot-delete (v2)
usage: cinder --os-volume-api-version 2 cgsnapshot-delete <cgsnapshot> [<cgsnapshot> ...]
Positional arguments
- <cgsnapshot>
Name or ID of one or more cgsnapshots to be deleted.
4.4.13. cinder cgsnapshot-list (v2)
usage: cinder --os-volume-api-version 2 cgsnapshot-list [--all-tenants [<0|1>]] [--status <status>] [--consistencygroup-id <consistencygroup_id>]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
- --status <status>
Filters results by a status. Default=None.
- --consistencygroup-id <consistencygroup_id>
Filters results by a consistency group ID.
Default=None.
4.4.14. cinder cgsnapshot-show (v2)
usage: cinder --os-volume-api-version 2 cgsnapshot-show <cgsnapshot>
Positional arguments
- <cgsnapshot>
Name or ID of cgsnapshot.
4.4.15. cinder consisgroup-create (v2)
usage: cinder --os-volume-api-version 2 consisgroup-create [--name <name>] [--description <description>] [--availability-zone <availability-zone>] <volume-types>
Positional arguments
- <volume-types>
Volume types.
Optional arguments
- --name <name>
Name of a consistency group.
- --description <description>
Description of a consistency group. Default=None.
- --availability-zone <availability-zone>
Availability zone for volume. Default=None.
4.4.16. cinder consisgroup-create-from-src (v2)
usage: cinder --os-volume-api-version 2 consisgroup-create-from-src [--cgsnapshot <cgsnapshot>] [--source-cg <source-cg>] [--name <name>] [--description <description>]
Optional arguments
- --cgsnapshot <cgsnapshot>
Name or ID of a cgsnapshot. Default=None.
- --source-cg <source-cg>
Name or ID of a source CG. Default=None.
- --name <name>
Name of a consistency group. Default=None.
- --description <description>
Description of a consistency group. Default=None.
4.4.17. cinder consisgroup-delete (v2)
usage: cinder --os-volume-api-version 2 consisgroup-delete [--force] <consistencygroup> [<consistencygroup> ...]
Positional arguments
- <consistencygroup>
Name or ID of one or more consistency groups to be
deleted.
Optional arguments
- --force
Allows or disallows consistency groups to be deleted. If
the consistency group is empty, it can be deleted
without the force flag. If the consistency group is not
empty, the force flag is required for it to be deleted.
4.4.18. cinder consisgroup-list (v2)
usage: cinder --os-volume-api-version 2 consisgroup-list [--all-tenants [<0|1>]]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
4.4.19. cinder consisgroup-show (v2)
usage: cinder --os-volume-api-version 2 consisgroup-show <consistencygroup>
Positional arguments
- <consistencygroup>
Name or ID of a consistency group.
4.4.20. cinder consisgroup-update (v2)
usage: cinder --os-volume-api-version 2 consisgroup-update [--name <name>] [--description <description>] [--add-volumes <uuid1,uuid2,......>] [--remove-volumes <uuid3,uuid4,......>] <consistencygroup>
Positional arguments
- <consistencygroup>
Name or ID of a consistency group.
Optional arguments
- --name <name>
New name for consistency group. Default=None.
- --description <description>
New description for consistency group. Default=None.
- --add-volumes <uuid1,uuid2,......>
UUID of one or more volumes to be added to the
consistency group, separated by commas. Default=None.
- --remove-volumes <uuid3,uuid4,......>
UUID of one or more volumes to be removed from the
consistency group, separated by commas. Default=None.
4.4.21. cinder create (v2)
usage: cinder --os-volume-api-version 2 create [--consisgroup-id <consistencygroup-id>] [--snapshot-id <snapshot-id>] [--source-volid <source-volid>] [--source-replica <source-replica>] [--image-id <image-id>] [--image <image>] [--name <name>] [--description <description>] [--volume-type <volume-type>] [--availability-zone <availability-zone>] [--metadata [<key=value> [<key=value> ...]]] [--hint <key=value>] [--allow-multiattach] [<size>]
Positional arguments
- <size>
Size of volume, in GiBs. (Required unless snapshot-id
/source-volid is specified).
Optional arguments
- --consisgroup-id <consistencygroup-id>
ID of a consistency group where the new volume belongs
to. Default=None.
- --snapshot-id <snapshot-id>
Creates volume from snapshot ID. Default=None.
- --source-volid <source-volid>
Creates volume from volume ID. Default=None.
- --source-replica <source-replica>
Creates volume from replicated volume ID.
Default=None.
- --image-id <image-id>
Creates volume from image ID. Default=None.
- --image <image>
Creates a volume from image (ID or name).
Default=None.
- --name <name>
Volume name. Default=None.
- --description <description>
Volume description. Default=None.
- --volume-type <volume-type>
Volume type. Default=None.
- --availability-zone <availability-zone>
Availability zone for volume. Default=None.
- --metadata [<key=value> [<key=value> ...]]
Metadata key and value pairs. Default=None.
- --hint <key=value>
Scheduler hint, like in nova.
- --allow-multiattach
Allow volume to be attached more than once.
Default=False
4.4.22. cinder credentials (v2)
usage: cinder --os-volume-api-version 2 credentials
4.4.23. cinder delete (v2)
usage: cinder --os-volume-api-version 2 delete [--cascade] <volume> [<volume> ...]
Positional arguments
- <volume>
Name or ID of volume or volumes to delete.
Optional arguments
- --cascade
Remove any snapshots along with volume. Default=False.
4.4.24. cinder encryption-type-create (v2)
usage: cinder --os-volume-api-version 2 encryption-type-create [--cipher <cipher>] [--key_size <key_size>] [--control_location <control_location>] <volume_type> <provider>
Positional arguments
- <volume_type>
Name or ID of volume type.
- <provider>
The class that provides encryption support. For
example, LuksEncryptor.
Optional arguments
- --cipher <cipher>
The encryption algorithm or mode. For example, aes-
xts-plain64. Default=None.
- --key_size <key_size>
Size of encryption key, in bits. For example, 128 or
256. Default=None.
- --control_location <control_location>
Notional service where encryption is performed. Valid
values are "front-end" or "back-end." For example,
front-end=Nova. Default is "front-end."
4.4.25. cinder encryption-type-delete (v2)
usage: cinder --os-volume-api-version 2 encryption-type-delete <volume_type>
Positional arguments
- <volume_type>
Name or ID of volume type.
4.4.26. cinder encryption-type-list (v2)
usage: cinder --os-volume-api-version 2 encryption-type-list
4.4.27. cinder encryption-type-show (v2)
usage: cinder --os-volume-api-version 2 encryption-type-show <volume_type>
Positional arguments
- <volume_type>
Name or ID of volume type.
4.4.28. cinder encryption-type-update (v2)
usage: cinder --os-volume-api-version 2 encryption-type-update [--provider <provider>] [--cipher [<cipher>]] [--key-size [<key-size>]] [--control-location <control-location>] <volume-type>
Positional arguments
- <volume-type>
Name or ID of the volume type
Optional arguments
- --provider <provider>
Class providing encryption support (e.g.
LuksEncryptor) (Optional)
- --cipher [<cipher>]
Encryption algorithm/mode to use (e.g., aes-xts-
plain64). Provide parameter without value to set to
provider default. (Optional)
- --key-size [<key-size>]
Size of the encryption key, in bits (e.g., 128, 256).
Provide parameter without value to set to provider
default. (Optional)
- --control-location <control-location>
Notional service where encryption is performed (e.g.,
front-end=Nova). Values: 'front-end', 'back-end'
(Optional)
4.4.29. cinder endpoints (v2)
usage: cinder --os-volume-api-version 2 endpoints
4.4.30. cinder extend (v2)
usage: cinder --os-volume-api-version 2 extend <volume> <new_size>
Positional arguments
- <volume>
Name or ID of volume to extend.
- <new_size>
New size of volume, in GiBs.
4.4.31. cinder extra-specs-list (v2)
usage: cinder --os-volume-api-version 2 extra-specs-list
4.4.32. cinder failover-host (v2)
usage: cinder --os-volume-api-version 2 failover-host [--backend_id <backend-id>] <hostname>
Positional arguments
- <hostname>
Host name.
Optional arguments
- --backend_id <backend-id>
ID of backend to failover to (Default=None)
4.4.33. cinder force-delete (v2)
usage: cinder --os-volume-api-version 2 force-delete <volume> [<volume> ...]
Positional arguments
- <volume>
Name or ID of volume or volumes to delete.
4.4.34. cinder freeze-host (v2)
usage: cinder --os-volume-api-version 2 freeze-host <hostname>
Positional arguments
- <hostname>
Host name.
4.4.35. cinder get-capabilities (v2)
usage: cinder --os-volume-api-version 2 get-capabilities <host>
Positional arguments
- <host>
Cinder host to show backend volume stats and properties; takes the
form: host@backend-name
4.4.36. cinder get-pools (v2)
usage: cinder --os-volume-api-version 2 get-pools [--detail]
Optional arguments
- --detail
Show detailed information about pools.
4.4.37. cinder group-show (v2)
usage: cinder --os-volume-api-version 2 group-show <group>
Positional arguments
- <group>
Name or ID of a group.
4.4.38. cinder image-metadata (v2)
usage: cinder --os-volume-api-version 2 image-metadata <volume> <action> <key=value> [<key=value> ...]
Positional arguments
- <volume>
Name or ID of volume for which to update metadata.
- <action>
The action. Valid values are 'set' or 'unset.'
- <key=value>
Metadata key and value pair to set or unset. For unset, specify
only the key.
4.4.39. cinder image-metadata-show (v2)
usage: cinder --os-volume-api-version 2 image-metadata-show <volume>
Positional arguments
- <volume>
ID of volume.
4.4.40. cinder list (v2)
usage: cinder --os-volume-api-version 2 list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--bootable [<True|true|False|false>]] [--migration_status <migration_status>] [--metadata [<key=value> [<key=value> ...]]] [--marker <marker>] [--limit <limit>] [--fields <fields>] [--sort <key>[:<direction>]] [--tenant [<tenant>]]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
- --name <name>
Filters results by a name. Default=None.
- --status <status>
Filters results by a status. Default=None.
- --bootable [<True|true|False|false>]
Filters results by bootable status. Default=None.
- --migration_status <migration_status>
Filters results by a migration status. Default=None.
Admin only.
- --metadata [<key=value> [<key=value> ...]]
Filters results by a metadata key and value pair.
Default=None.
- --marker <marker>
Begin returning volumes that appear later in the
volume list than that represented by this volume id.
Default=None.
- --limit <limit>
Maximum number of volumes to return. Default=None.
- --fields <fields>
Comma-separated list of fields to display. Use the
show command to see which fields are available.
Unavailable/non-existent fields will be ignored.
Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
- --tenant [<tenant>]
Display information from single tenant (Admin only).
4.4.41. cinder list-extensions (v2)
usage: cinder --os-volume-api-version 2 list-extensions
4.4.42. cinder manage (v2)
usage: cinder --os-volume-api-version 2 manage [--id-type <id-type>] [--name <name>] [--description <description>] [--volume-type <volume-type>] [--availability-zone <availability-zone>] [--metadata [<key=value> [<key=value> ...]]] [--bootable] <host> <identifier>
Positional arguments
- <host>
Cinder host on which the existing volume resides;
takes the form: host@backend-name#pool
- <identifier>
Name or other Identifier for existing volume
Optional arguments
- --id-type <id-type>
Type of backend device identifier provided, typically
source-name or source-id (Default=source-name)
- --name <name>
Volume name (Default=None)
- --description <description>
Volume description (Default=None)
- --volume-type <volume-type>
Volume type (Default=None)
- --availability-zone <availability-zone>
Availability zone for volume (Default=None)
- --metadata [<key=value> [<key=value> ...]]
Metadata key=value pairs (Default=None)
- --bootable
Specifies that the newly created volume should be
marked as bootable
4.4.43. cinder manageable-list (v2)
usage: cinder --os-volume-api-version 2 manageable-list [--detailed <detailed>] [--marker <marker>] [--limit <limit>] [--offset <offset>] [--sort <key>[:<direction>]] <host>
Positional arguments
- <host>
Cinder host on which to list manageable volumes; takes
the form: host@backend-name#pool
Optional arguments
- --detailed <detailed>
Returned detailed information (default true).
- --marker <marker>
Begin returning volumes that appear later in the
volume list than that represented by this volume id.
Default=None.
- --limit <limit>
Maximum number of volumes to return. Default=None.
- --offset <offset>
Number of volumes to skip after marker. Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
4.4.44. cinder metadata (v2)
usage: cinder --os-volume-api-version 2 metadata <volume> <action> <key=value> [<key=value> ...]
Positional arguments
- <volume>
Name or ID of volume for which to update metadata.
- <action>
The action. Valid values are "set" or "unset."
- <key=value>
Metadata key and value pair to set or unset. For unset, specify
only the key. Supported until API version 3.14)
4.4.45. cinder metadata-show (v2)
usage: cinder --os-volume-api-version 2 metadata-show <volume>
Positional arguments
- <volume>
ID of volume.
4.4.46. cinder metadata-update-all (v2)
usage: cinder --os-volume-api-version 2 metadata-update-all <volume> <key=value> [<key=value> ...]
Positional arguments
- <volume>
ID of volume for which to update metadata.
- <key=value>
Metadata key and value pair or pairs to update.
4.4.47. cinder migrate (v2)
usage: cinder --os-volume-api-version 2 migrate [--force-host-copy [<True|False>]] [--lock-volume [<True|False>]] <volume> <host>
Positional arguments
- <volume>
ID of volume to migrate.
- <host>
Destination host. Takes the form: host@backend-
name#pool
Optional arguments
- --force-host-copy [<True|False>]
Enables or disables generic host-based force-
migration, which bypasses driver optimizations.
Default=False.
- --lock-volume [<True|False>]
Enables or disables the termination of volume
migration caused by other commands. This option
applies to the available volume. True means it locks
the volume state and does not allow the migration to
be aborted. The volume status will be in maintenance
during the migration. False means it allows the volume
migration to be aborted. The volume status is still in
the original status. Default=False.
4.4.48. cinder qos-associate (v2)
usage: cinder --os-volume-api-version 2 qos-associate <qos_specs> <volume_type_id>
Positional arguments
- <qos_specs>
ID of QoS specifications.
- <volume_type_id>
ID of volume type with which to associate QoS
specifications.
4.4.49. cinder qos-create (v2)
usage: cinder --os-volume-api-version 2 qos-create <name> <key=value> [<key=value> ...]
Positional arguments
- <name>
Name of new QoS specifications.
- <key=value>
QoS specifications.
4.4.50. cinder qos-delete (v2)
usage: cinder --os-volume-api-version 2 qos-delete [--force [<True|False>]] <qos_specs>
Positional arguments
- <qos_specs>
ID of QoS specifications to delete.
Optional arguments
- --force [<True|False>]
Enables or disables deletion of in-use QoS
specifications. Default=False.
4.4.51. cinder qos-disassociate (v2)
usage: cinder --os-volume-api-version 2 qos-disassociate <qos_specs> <volume_type_id>
Positional arguments
- <qos_specs>
ID of QoS specifications.
- <volume_type_id>
ID of volume type with which to associate QoS
specifications.
4.4.52. cinder qos-disassociate-all (v2)
usage: cinder --os-volume-api-version 2 qos-disassociate-all <qos_specs>
Positional arguments
- <qos_specs>
ID of QoS specifications on which to operate.
4.4.53. cinder qos-get-association (v2)
usage: cinder --os-volume-api-version 2 qos-get-association <qos_specs>
Positional arguments
- <qos_specs>
ID of QoS specifications.
4.4.54. cinder qos-key (v2)
usage: cinder --os-volume-api-version 2 qos-key <qos_specs> <action> key=value [key=value ...]
Positional arguments
- <qos_specs>
ID of QoS specifications.
- <action>
The action. Valid values are "set" or "unset."
- key=value
Metadata key and value pair to set or unset. For unset, specify
only the key.
4.4.55. cinder qos-list (v2)
usage: cinder --os-volume-api-version 2 qos-list
4.4.56. cinder qos-show (v2)
usage: cinder --os-volume-api-version 2 qos-show <qos_specs>
Positional arguments
- <qos_specs>
ID of QoS specifications to show.
4.4.57. cinder quota-class-show (v2)
usage: cinder --os-volume-api-version 2 quota-class-show <class>
Positional arguments
- <class>
Name of quota class for which to list quotas.
4.4.58. cinder quota-class-update (v2)
usage: cinder --os-volume-api-version 2 quota-class-update [--volumes <volumes>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--volume-type <volume_type_name>] <class_name>
Positional arguments
- <class_name>
Name of quota class for which to set quotas.
Optional arguments
- --volumes <volumes>
The new "volumes" quota value. Default=None.
- --snapshots <snapshots>
The new "snapshots" quota value. Default=None.
- --gigabytes <gigabytes>
The new "gigabytes" quota value. Default=None.
- --volume-type <volume_type_name>
Volume type. Default=None.
4.4.59. cinder quota-defaults (v2)
usage: cinder --os-volume-api-version 2 quota-defaults <tenant_id>
Positional arguments
- <tenant_id>
ID of tenant for which to list quota defaults.
4.4.60. cinder quota-delete (v2)
usage: cinder --os-volume-api-version 2 quota-delete <tenant_id>
Positional arguments
- <tenant_id>
UUID of tenant to delete the quotas for.
4.4.61. cinder quota-show (v2)
usage: cinder --os-volume-api-version 2 quota-show <tenant_id>
Positional arguments
- <tenant_id>
ID of tenant for which to list quotas.
4.4.62. cinder quota-update (v2)
usage: cinder --os-volume-api-version 2 quota-update [--volumes <volumes>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--backups <backups>] [--backup-gigabytes <backup_gigabytes>] [--consistencygroups <consistencygroups>] [--volume-type <volume_type_name>] [--per-volume-gigabytes <per_volume_gigabytes>] <tenant_id>
Positional arguments
- <tenant_id>
ID of tenant for which to set quotas.
Optional arguments
- --volumes <volumes>
The new "volumes" quota value. Default=None.
- --snapshots <snapshots>
The new "snapshots" quota value. Default=None.
- --gigabytes <gigabytes>
The new "gigabytes" quota value. Default=None.
- --backups <backups>
The new "backups" quota value. Default=None.
- --backup-gigabytes <backup_gigabytes>
The new "backup_gigabytes" quota value. Default=None.
- --consistencygroups <consistencygroups>
The new "consistencygroups" quota value. Default=None.
- --volume-type <volume_type_name>
Volume type. Default=None.
- --per-volume-gigabytes <per_volume_gigabytes>
Set max volume size limit. Default=None.
4.4.63. cinder quota-usage (v2)
usage: cinder --os-volume-api-version 2 quota-usage <tenant_id>
Positional arguments
- <tenant_id>
ID of tenant for which to list quota usage.
4.4.64. cinder rate-limits (v2)
usage: cinder --os-volume-api-version 2 rate-limits [<tenant_id>]
Positional arguments
- <tenant_id>
Display information for a single tenant (Admin only).
4.4.65. cinder readonly-mode-update (v2)
usage: cinder --os-volume-api-version 2 readonly-mode-update <volume> <True|true|False|false>
Positional arguments
- <volume>
ID of volume to update.
- <True|true|False|false>
Enables or disables update of volume to read-only
access mode.
4.4.66. cinder rename (v2)
usage: cinder --os-volume-api-version 2 rename [--description <description>] <volume> [<name>]
Positional arguments
- <volume>
Name or ID of volume to rename.
- <name>
New name for volume.
Optional arguments
- --description <description>
Volume description. Default=None.
4.4.67. cinder replication-promote (v2)
usage: cinder --os-volume-api-version 2 replication-promote <volume>
Positional arguments
- <volume>
Name or ID of the volume to promote. The volume should have the
replica volume created with source-replica argument.
4.4.68. cinder replication-reenable (v2)
usage: cinder --os-volume-api-version 2 replication-reenable <volume>
Positional arguments
- <volume>
Name or ID of the volume to reenable replication. The replication-
status of the volume should be inactive.
4.4.69. cinder reset-state (v2)
usage: cinder --os-volume-api-version 2 reset-state [--state <state>] [--attach-status <attach-status>] [--reset-migration-status] <volume> [<volume> ...]
Positional arguments
- <volume>
Name or ID of volume to modify.
Optional arguments
- --state <state>
The state to assign to the volume. Valid values are
"available", "error", "creating", "deleting", "in-
use", "attaching", "detaching", "error_deleting" and
"maintenance". NOTE: This command simply changes the
state of the Volume in the DataBase with no regard to
actual status, exercise caution when using.
Default=None, that means the state is unchanged.
- --attach-status <attach-status>
The attach status to assign to the volume in the
DataBase, with no regard to the actual status. Valid
values are "attached" and "detached". Default=None,
that means the status is unchanged.
- --reset-migration-status
Clears the migration status of the volume in the
DataBase that indicates the volume is source or
destination of volume migration, with no regard to the
actual status.
4.4.70. cinder retype (v2)
usage: cinder --os-volume-api-version 2 retype [--migration-policy <never|on-demand>] <volume> <volume-type>
Positional arguments
- <volume>
Name or ID of volume for which to modify type.
- <volume-type>
New volume type.
Optional arguments
- --migration-policy <never|on-demand>
Migration policy during retype of volume.
4.4.71. cinder service-disable (v2)
usage: cinder --os-volume-api-version 2 service-disable [--reason <reason>] <hostname> <binary>
Positional arguments
- <hostname>
Host name.
- <binary>
Service binary.
Optional arguments
- --reason <reason>
Reason for disabling service.
4.4.72. cinder service-enable (v2)
usage: cinder --os-volume-api-version 2 service-enable <hostname> <binary>
Positional arguments
- <hostname>
Host name.
- <binary>
Service binary.
4.4.73. cinder service-list (v2)
usage: cinder --os-volume-api-version 2 service-list [--host <hostname>] [--binary <binary>] [--withreplication [<True|False>]]
Optional arguments
- --host <hostname>
Host name. Default=None.
- --binary <binary>
Service binary. Default=None.
- --withreplication [<True|False>]
Enables or disables display of Replication info for
c-vol services. Default=False.
4.4.74. cinder set-bootable (v2)
usage: cinder --os-volume-api-version 2 set-bootable <volume> <True|true|False|false>
Positional arguments
- <volume>
ID of the volume to update.
- <True|true|False|false>
Flag to indicate whether volume is bootable.
4.4.75. cinder show (v2)
usage: cinder --os-volume-api-version 2 show <volume>
Positional arguments
- <volume>
Name or ID of volume.
4.4.76. cinder snapshot-create (v2)
usage: cinder --os-volume-api-version 2 snapshot-create [--force [<True|False>]] [--name <name>] [--description <description>] [--metadata [<key=value> [<key=value> ...]]] <volume>
Positional arguments
- <volume>
Name or ID of volume to snapshot.
Optional arguments
- --force [<True|False>]
Allows or disallows snapshot of a volume when the
volume is attached to an instance. If set to True,
ignores the current status of the volume when
attempting to snapshot it rather than forcing it to be
available. Default=False.
- --name <name>
Snapshot name. Default=None.
- --description <description>
Snapshot description. Default=None.
- --metadata [<key=value> [<key=value> ...]]
Snapshot metadata key and value pairs. Default=None.
4.4.77. cinder snapshot-delete (v2)
usage: cinder --os-volume-api-version 2 snapshot-delete [--force] <snapshot> [<snapshot> ...]
Positional arguments
- <snapshot>
Name or ID of the snapshot(s) to delete.
Optional arguments
- --force
Allows deleting snapshot of a volume when its status is other
than "available" or "error". Default=False.
4.4.78. cinder snapshot-list (v2)
usage: cinder --os-volume-api-version 2 snapshot-list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--volume-id <volume-id>] [--marker <marker>] [--limit <limit>] [--sort <key>[:<direction>]] [--tenant [<tenant>]]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
- --name <name>
Filters results by a name. Default=None.
- --status <status>
Filters results by a status. Default=None.
- --volume-id <volume-id>
Filters results by a volume ID. Default=None.
- --marker <marker>
Begin returning snapshots that appear later in the
snapshot list than that represented by this id.
Default=None.
- --limit <limit>
Maximum number of snapshots to return. Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
- --tenant [<tenant>]
Display information from single tenant (Admin only).
4.4.79. cinder snapshot-manage (v2)
usage: cinder --os-volume-api-version 2 snapshot-manage [--id-type <id-type>] [--name <name>] [--description <description>] [--metadata [<key=value> [<key=value> ...]]] <volume> <identifier>
Positional arguments
- <volume>
Cinder volume already exists in volume backend
- <identifier>
Name or other Identifier for existing snapshot
Optional arguments
- --id-type <id-type>
Type of backend device identifier provided, typically
source-name or source-id (Default=source-name)
- --name <name>
Snapshot name (Default=None)
- --description <description>
Snapshot description (Default=None)
- --metadata [<key=value> [<key=value> ...]]
Metadata key=value pairs (Default=None)
4.4.80. cinder snapshot-manageable-list (v2)
usage: cinder --os-volume-api-version 2 snapshot-manageable-list [--detailed <detailed>] [--marker <marker>] [--limit <limit>] [--offset <offset>] [--sort <key>[:<direction>]] <host>
Positional arguments
- <host>
Cinder host on which to list manageable snapshots;
takes the form: host@backend-name#pool
Optional arguments
- --detailed <detailed>
Returned detailed information (default true).
- --marker <marker>
Begin returning volumes that appear later in the
volume list than that represented by this volume id.
Default=None.
- --limit <limit>
Maximum number of volumes to return. Default=None.
- --offset <offset>
Number of volumes to skip after marker. Default=None.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: id,
status, size, availability_zone, name, bootable,
created_at, reference. Default=None.
4.4.81. cinder snapshot-metadata (v2)
usage: cinder --os-volume-api-version 2 snapshot-metadata <snapshot> <action> <key=value> [<key=value> ...]
Positional arguments
- <snapshot>
ID of snapshot for which to update metadata.
- <action>
The action. Valid values are "set" or "unset."
- <key=value>
Metadata key and value pair to set or unset. For unset, specify
only the key.
4.4.82. cinder snapshot-metadata-show (v2)
usage: cinder --os-volume-api-version 2 snapshot-metadata-show <snapshot>
Positional arguments
- <snapshot>
ID of snapshot.
4.4.83. cinder snapshot-metadata-update-all (v2)
usage: cinder --os-volume-api-version 2 snapshot-metadata-update-all <snapshot> <key=value> [<key=value> ...]
Positional arguments
- <snapshot>
ID of snapshot for which to update metadata.
- <key=value>
Metadata key and value pair to update.
4.4.84. cinder snapshot-rename (v2)
usage: cinder --os-volume-api-version 2 snapshot-rename [--description <description>] <snapshot> [<name>]
Positional arguments
- <snapshot>
Name or ID of snapshot.
- <name>
New name for snapshot.
Optional arguments
- --description <description>
Snapshot description. Default=None.
4.4.85. cinder snapshot-reset-state (v2)
usage: cinder --os-volume-api-version 2 snapshot-reset-state [--state <state>] <snapshot> [<snapshot> ...]
Positional arguments
- <snapshot>
Name or ID of snapshot to modify.
Optional arguments
- --state <state>
The state to assign to the snapshot. Valid values are
"available", "error", "creating", "deleting", and
"error_deleting". NOTE: This command simply changes the
state of the Snapshot in the DataBase with no regard to
actual status, exercise caution when using.
Default=available.
4.4.86. cinder snapshot-show (v2)
usage: cinder --os-volume-api-version 2 snapshot-show <snapshot>
Positional arguments
- <snapshot>
Name or ID of snapshot.
4.4.87. cinder snapshot-unmanage (v2)
usage: cinder --os-volume-api-version 2 snapshot-unmanage <snapshot>
Positional arguments
- <snapshot>
Name or ID of the snapshot to unmanage.
4.4.88. cinder thaw-host (v2)
usage: cinder --os-volume-api-version 2 thaw-host <hostname>
Positional arguments
- <hostname>
Host name.
4.4.89. cinder transfer-accept (v2)
usage: cinder --os-volume-api-version 2 transfer-accept <transfer> <auth_key>
Positional arguments
- <transfer>
ID of transfer to accept.
- <auth_key>
Authentication key of transfer to accept.
4.4.90. cinder transfer-create (v2)
usage: cinder --os-volume-api-version 2 transfer-create [--name <name>] <volume>
Positional arguments
- <volume>
Name or ID of volume to transfer.
Optional arguments
- --name <name>
Transfer name. Default=None.
4.4.91. cinder transfer-delete (v2)
usage: cinder --os-volume-api-version 2 transfer-delete <transfer>
Positional arguments
- <transfer>
Name or ID of transfer to delete.
4.4.92. cinder transfer-list (v2)
usage: cinder --os-volume-api-version 2 transfer-list [--all-tenants [<0|1>]]
Optional arguments
- --all-tenants [<0|1>]
Shows details for all tenants. Admin only.
4.4.93. cinder transfer-show (v2)
usage: cinder --os-volume-api-version 2 transfer-show <transfer>
Positional arguments
- <transfer>
Name or ID of transfer to accept.
4.4.94. cinder type-access-add (v2)
usage: cinder --os-volume-api-version 2 type-access-add --volume-type <volume_type> --project-id <project_id>
Optional arguments
- --volume-type <volume_type>
Volume type name or ID to add access for the given
project.
- --project-id <project_id>
Project ID to add volume type access for.
4.4.95. cinder type-access-list (v2)
usage: cinder --os-volume-api-version 2 type-access-list --volume-type <volume_type>
Optional arguments
- --volume-type <volume_type>
Filter results by volume type name or ID.
4.4.96. cinder type-access-remove (v2)
usage: cinder --os-volume-api-version 2 type-access-remove --volume-type <volume_type> --project-id <project_id>
Optional arguments
- --volume-type <volume_type>
Volume type name or ID to remove access for the given
project.
- --project-id <project_id>
Project ID to remove volume type access for.
4.4.97. cinder type-create (v2)
usage: cinder --os-volume-api-version 2 type-create [--description <description>] [--is-public <is-public>] <name>
Positional arguments
- <name>
Name of new volume type.
Optional arguments
- --description <description>
Description of new volume type.
- --is-public <is-public>
Make type accessible to the public (default true).
4.4.98. cinder type-default (v2)
usage: cinder --os-volume-api-version 2 type-default
4.4.99. cinder type-delete (v2)
usage: cinder --os-volume-api-version 2 type-delete <vol_type> [<vol_type> ...]
Positional arguments
- <vol_type>
Name or ID of volume type or types to delete.
4.4.100. cinder type-key (v2)
usage: cinder --os-volume-api-version 2 type-key <vtype> <action> <key=value> [<key=value> ...]
Positional arguments
- <vtype>
Name or ID of volume type.
- <action>
The action. Valid values are "set" or "unset."
- <key=value>
The extra specs key and value pair to set or unset. For unset,
specify only the key.
4.4.101. cinder type-list (v2)
usage: cinder --os-volume-api-version 2 type-list
4.4.102. cinder type-show (v2)
usage: cinder --os-volume-api-version 2 type-show <volume_type>
Positional arguments
- <volume_type>
Name or ID of the volume type.
4.4.103. cinder type-update (v2)
usage: cinder --os-volume-api-version 2 type-update [--name <name>] [--description <description>] [--is-public <is-public>] <id>
Positional arguments
- <id>
ID of the volume type.
Optional arguments
- --name <name>
Name of the volume type.
- --description <description>
Description of the volume type.
- --is-public <is-public>
Make type accessible to the public or not.
4.4.104. cinder unmanage (v2)
usage: cinder --os-volume-api-version 2 unmanage <volume>
Positional arguments
- <volume>
Name or ID of the volume to unmanage.
4.4.105. cinder upload-to-image (v2)
usage: cinder --os-volume-api-version 2 upload-to-image [--force [<True|False>]] [--container-format <container-format>] [--disk-format <disk-format>] <volume> <image-name>
Positional arguments
- <volume>
Name or ID of volume to snapshot.
- <image-name>
The new image name.
Optional arguments
- --force [<True|False>]
Enables or disables upload of a volume that is
attached to an instance. Default=False. This option
may not be supported by your cloud.
- --container-format <container-format>
Container format type. Default is bare.
- --disk-format <disk-format>
Disk format type. Default is raw.
Chapter 5. Compute Service Command-line Client
6.0.0
.
$
nova
help
COMMAND
5.1. nova Usage
usage: nova [--version] [--debug] [--os-cache] [--timings] [--os-region-name <region-name>] [--service-type <service-type>] [--service-name <service-name>] [--os-endpoint-type <endpoint-type>] [--os-compute-api-version <compute-api-ver>] [--bypass-url <bypass-url>] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] [--os-auth-type <name>] [--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-trust-id OS_TRUST_ID] [--os-default-domain-id OS_DEFAULT_DOMAIN_ID] [--os-default-domain-name OS_DEFAULT_DOMAIN_NAME] [--os-user-id OS_USER_ID] [--os-username OS_USERNAME] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] <subcommand> ...
Subcommands
- absolute-limits
DEPRECATED, use limits instead.
- add-fixed-ip
Add new IP address on a network to server.
- add-floating-ip
DEPRECATED, use floating-ip-associate instead.
- add-secgroup
Add a Security Group to a server.
- agent-create
Create new agent build.
- agent-delete
Delete existing agent build.
- agent-list
List all builds.
- agent-modify
Modify existing agent build.
- aggregate-add-host
Add the host to the specified aggregate.
- aggregate-create
Create a new aggregate with the specified
details.
- aggregate-delete
Delete the aggregate.
- aggregate-details
DEPRECATED, use aggregate-show instead.
- aggregate-list
Print a list of all aggregates.
- aggregate-remove-host
Remove the specified host from the specified
aggregate.
- aggregate-set-metadata
Update the metadata associated with the
aggregate.
- aggregate-show
Show details of the specified aggregate.
- aggregate-update
Update the aggregate's name and optionally
availability zone.
- availability-zone-list
List all the availability zones.
- backup
Backup a server by creating a 'backup' type
snapshot.
- boot
Boot a new server.
- clear-password
Clear the admin password for a server from the
metadata server. This action does not actually
change the instance server password.
- cloudpipe-configure
Update the VPN IP/port of a cloudpipe
instance.
- cloudpipe-create
Create a cloudpipe instance for the given
project.
- cloudpipe-list
Print a list of all cloudpipe instances.
- console-log
Get console log output of a server.
- credentials
Show user credentials returned from auth.
- delete
Immediately shut down and delete specified
server(s).
- diagnostics
Retrieve server diagnostics.
- dns-create
DEPRECATED: Create a DNS entry for domain,
name, and IP.
- dns-create-private-domain
DEPRECATED: Create the specified DNS domain.
- dns-create-public-domain
DEPRECATED: Create the specified DNS domain.
- dns-delete
DEPRECATED: Delete the specified DNS entry.
- dns-delete-domain
DEPRECATED: Delete the specified DNS domain.
- dns-domains
DEPRECATED: Print a list of available dns
domains.
- dns-list
DEPRECATED: List current DNS entries for
domain and IP or domain and name.
- endpoints
Discover endpoints that get returned from the
authenticate services.
- evacuate
Evacuate server from failed host.
- fixed-ip-get
DEPRECATED: Retrieve info on a fixed IP.
- fixed-ip-reserve
DEPRECATED: Reserve a fixed IP.
- fixed-ip-unreserve
DEPRECATED: Unreserve a fixed IP.
- flavor-access-add
Add flavor access for the given tenant.
- flavor-access-list
Print access information about the given
flavor.
- flavor-access-remove
Remove flavor access for the given tenant.
- flavor-create
Create a new flavor.
- flavor-delete
Delete a specific flavor
- flavor-key
Set or unset extra_spec for a flavor.
- flavor-list
Print a list of available 'flavors' (sizes of
servers).
- flavor-show
Show details about the given flavor.
- floating-ip-associate
Associate a floating IP address to a server.
- floating-ip-bulk-create
DEPRECATED: Bulk create floating IPs by range
(nova-network only).
- floating-ip-bulk-delete
DEPRECATED: Bulk delete floating IPs by range
(nova-network only).
- floating-ip-bulk-list
DEPRECATED: List all floating IPs (nova-
network only).
- floating-ip-create
DEPRECATED: Allocate a floating IP for the
current tenant.
- floating-ip-delete
DEPRECATED: De-allocate a floating IP.
- floating-ip-disassociate
Disassociate a floating IP address from a
server.
- floating-ip-list
DEPRECATED: List floating IPs.
- floating-ip-pool-list
DEPRECATED: List all floating IP pools.
- get-mks-console
Get an MKS console to a server. (Supported by
API versions '2.8' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
- get-password
Get the admin password for a server. This
operation calls the metadata service to query
metadata information and does not read
password information from the server itself.
- get-rdp-console
Get a rdp console to a server.
- get-serial-console
Get a serial console to a server.
- get-spice-console
Get a spice console to a server.
- get-vnc-console
Get a vnc console to a server.
- host-action
Perform a power action on a host.
- host-describe
Describe a specific host.
- host-list
List all hosts by service.
- host-update
Update host settings.
- hypervisor-list
List hypervisors. (Supported by API versions
'2.0' - '2.latest') [hint: use '--os-compute-
api-version' flag to show help message for
proper version]
- hypervisor-servers
List servers belonging to specific
hypervisors.
- hypervisor-show
Display the details of the specified
hypervisor.
- hypervisor-stats
Get hypervisor statistics over all compute
nodes.
- hypervisor-uptime
Display the uptime of the specified
hypervisor.
- image-create
Create a new image by taking a snapshot of a
running server.
- image-delete
DEPRECATED: Delete specified image(s).
- image-list
DEPRECATED: Print a list of available images
to boot from.
- image-meta
DEPRECATED: Set or delete metadata on an
image.
- image-show
DEPRECATED: Show details about the given
image.
- interface-attach
Attach a network interface to a server.
- interface-detach
Detach a network interface from a server.
- interface-list
List interfaces attached to a server.
- keypair-add
Create a new key pair for use with servers.
- keypair-delete
Delete keypair given by its name. (Supported
by API versions '2.0' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
- keypair-list
Print a list of keypairs for a user (Supported
by API versions '2.0' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
- keypair-show
Show details about the given keypair.
(Supported by API versions '2.0' - '2.latest')
[hint: use '--os-compute-api-version' flag to
show help message for proper version]
- limits
Print rate and absolute limits.
- list
List active servers.
- list-secgroup
List Security Group(s) of a server.
- live-migration
Migrate running server to a new machine.
- live-migration-abort
Abort an on-going live migration. (Supported
by API versions '2.24' - '2.latest') [hint:
use '--os-compute-api-version' flag to show
help message for proper version]
- live-migration-force-complete
Force on-going live migration to complete.
(Supported by API versions '2.22' -
'2.latest') [hint: use '--os-compute-api-
version' flag to show help message for proper
version]
- lock
Lock a server. A normal (non-admin) user will
not be able to execute actions on a locked
server.
- meta
Set or delete metadata on a server.
- migrate
Migrate a server. The new host will be
selected by the scheduler.
- network-associate-host
DEPRECATED: Associate host with network.
- network-associate-project
DEPRECATED: Associate project with network.
- network-create
DEPRECATED: Create a network.
- network-delete
DEPRECATED: Delete network by label or id.
- network-disassociate
DEPRECATED: Disassociate host and/or project
from the given network.
- network-list
DEPRECATED: Print a list of available
networks.
- network-show
DEPRECATED: Show details about the given
network.
- pause
Pause a server.
- quota-class-show
List the quotas for a quota class.
- quota-class-update
Update the quotas for a quota class.
(Supported by API versions '2.0' - '2.latest')
[hint: use '--os-compute-api-version' flag to
show help message for proper version]
- quota-defaults
List the default quotas for a tenant.
- quota-delete
Delete quota for a tenant/user so their quota
will Revert back to default.
- quota-show
List the quotas for a tenant/user.
- quota-update
Update the quotas for a tenant/user.
(Supported by API versions '2.0' - '2.latest')
[hint: use '--os-compute-api-version' flag to
show help message for proper version]
- rate-limits
DEPRECATED, use limits instead.
- reboot
Reboot a server.
- rebuild
Shutdown, re-image, and re-boot a server.
- refresh-network
Refresh server network information.
- remove-fixed-ip
Remove an IP address from a server.
- remove-floating-ip
DEPRECATED, use floating-ip-disassociate
instead.
- remove-secgroup
Remove a Security Group from a server.
- rename
DEPRECATED, use update instead.
- rescue
Reboots a server into rescue mode, which
starts the machine from either the initial
image or a specified image, attaching the
current boot disk as secondary.
- reset-network
Reset network of a server.
- reset-state
Reset the state of a server.
- resize
Resize a server.
- resize-confirm
Confirm a previous resize.
- resize-revert
Revert a previous resize (and return to the
previous VM).
- resume
Resume a server.
- root-password
DEPRECATED, use set-password instead.
- scrub
DEPRECATED: Delete networks and security
groups associated with a project.
- secgroup-add-default-rule
DEPRECATED: Add a rule to the set of rules
that will be added to the 'default' security
group for new tenants (nova-network only).
- secgroup-add-group-rule
DEPRECATED: Add a source group rule to a
security group.
- secgroup-add-rule
DEPRECATED: Add a rule to a security group.
- secgroup-create
DEPRECATED: Create a security group.
- secgroup-delete
DEPRECATED: Delete a security group.
- secgroup-delete-default-rule
DEPRECATED: Delete a rule from the set of
rules that will be added to the 'default'
security group for new tenants (nova-network
only).
- secgroup-delete-group-rule
DEPRECATED: Delete a source group rule from a
security group.
- secgroup-delete-rule
DEPRECATED: Delete a rule from a security
group.
- secgroup-list
DEPRECATED: List security groups for the
current tenant.
- secgroup-list-default-rules
DEPRECATED: List rules that will be added to
the 'default' security group for new tenants.
- secgroup-list-rules
DEPRECATED: List rules for a security group.
- secgroup-update
DEPRECATED: Update a security group.
- server-group-create
Create a new server group with the specified
details.
- server-group-delete
Delete specific server group(s).
- server-group-get
Get a specific server group.
- server-group-list
Print a list of all server groups.
- server-migration-list
Get the migrations list of specified server.
(Supported by API versions '2.23' -
'2.latest') [hint: use '--os-compute-api-
version' flag to show help message for proper
version]
- server-migration-show
Get the migration of specified server.
(Supported by API versions '2.23' -
'2.latest') [hint: use '--os-compute-api-
version' flag to show help message for proper
version]
- server-tag-add
Add single tag to a server. (Supported by API
versions '2.26' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
- server-tag-delete
Delete single tag from a server. (Supported by
API versions '2.26' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
- server-tag-delete-all
Delete all tags from a server. (Supported by
API versions '2.26' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
- server-tag-list
Get list of tags from a server. (Supported by
API versions '2.26' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
- server-tag-set
Set list of tags to a server. (Supported by
API versions '2.26' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
- service-delete
Delete the service.
- service-disable
Disable the service.
- service-enable
Enable the service.
- service-force-down
Force service to down. (Supported by API
versions '2.11' - '2.latest') [hint: use
'--os-compute-api-version' flag to show help
message for proper version]
- service-list
Show a list of all running services. Filter by
host & binary.
- set-password
Change the admin password for a server.
- shelve
Shelve a server.
- shelve-offload
Remove a shelved server from the compute node.
- show
Show details about the given server.
- ssh
SSH into a server.
- start
Start the server(s).
- stop
Stop the server(s).
- suspend
Suspend a server.
- trigger-crash-dump
Trigger crash dump in an instance. (Supported
by API versions '2.17' - '2.latest') [hint:
use '--os-compute-api-version' flag to show
help message for proper version]
- unlock
Unlock a server.
- unpause
Unpause a server.
- unrescue
Restart the server from normal boot disk
again.
- unshelve
Unshelve a server.
- update
Update the name or the description for a
server.
- usage
Show usage data for a single tenant.
- usage-list
List usage data for all tenants.
- version-list
List all API versions.
- virtual-interface-list
Show virtual interface info about the given
server.
- volume-attach
Attach a volume to a server.
- volume-attachments
List all the volumes attached to a server.
- volume-detach
Detach a volume from a server.
- volume-update
Update volume attachment.
- x509-create-cert
Create x509 cert for a user in tenant.
- x509-get-root-cert
Fetch the x509 root cert.
- bash-completion
Prints all of the commands and options to
stdout so that the nova.bash_completion script
doesn't have to hard code them.
- help
Display help about this program or one of its
subcommands.
- baremetal-interface-list
DEPRECATED: List network interfaces associated
with a baremetal node.
- baremetal-node-list
DEPRECATED: Print list of available baremetal
nodes.
- baremetal-node-show
DEPRECATED: Show information about a baremetal
node.
- cell-capacities
Get cell capacities for all cells or a given
cell.
- cell-show
Show details of a given cell.
- force-delete
Force delete a server.
- restore
Restore a soft-deleted server.
- host-evacuate
Evacuate all instances from failed host.
- host-evacuate-live
Live migrate all instances of the specified
host to other available hosts.
- host-servers-migrate
Cold migrate all instances off the specified
host to other available hosts.
- instance-action
Show an action.
- instance-action-list
List actions on a server.
- list-extensions
List all the os-api extensions that are
available.
- host-meta
Set or Delete metadata on all instances of a
host.
- migration-list
Print a list of migrations.
- net
DEPRECATED, use tenant-network-show instead.
- net-create
DEPRECATED, use tenant-network-create instead.
- net-delete
DEPRECATED, use tenant-network-delete instead.
- net-list
DEPRECATED, use tenant-network-list instead.
- tenant-network-create
DEPRECATED: Create a tenant network.
- tenant-network-delete
DEPRECATED: Delete a tenant network.
- tenant-network-list
DEPRECATED: List tenant networks.
- tenant-network-show
DEPRECATED: Show a tenant network.
5.2. nova Optional Arguments
- --version
show program's version number and exit
- --debug
Print debugging output.
- --os-cache
Use the auth token cache. Defaults to False if
env[OS_CACHE]
is not set.
- --timings
Print call timing info.
- --os-region-name <region-name>
Defaults toenv[OS_REGION_NAME]
.
- --service-type <service-type>
Defaults to compute for most actions.
- --service-name <service-name>
Defaults toenv[NOVA_SERVICE_NAME]
.
- --os-endpoint-type <endpoint-type>
Defaults toenv[NOVA_ENDPOINT_TYPE]
,
env[OS_ENDPOINT_TYPE]
or publicURL.
- --os-compute-api-version <compute-api-ver>
Accepts X, X.Y (where X is major and Y is
minor part) or "X.latest", defaults to
env[OS_COMPUTE_API_VERSION]
.
- --bypass-url <bypass-url>
Use this API endpoint instead of the Service
Catalog. Defaults to
env[NOVACLIENT_BYPASS_URL]
.
- --os-auth-type <name>, --os-auth-plugin <name>
Authentication type to use
5.3. nova absolute-limits
usage: nova absolute-limits [--tenant [<tenant>]] [--reserved]
Optional arguments
- --tenant [<tenant>]
Display information from single tenant (Admin only).
- --reserved
Include reservations count.
5.4. nova add-fixed-ip
usage: nova add-fixed-ip <server> <network-id>
Positional arguments
- <server>
Name or ID of server.
- <network-id>
Network ID.
5.5. nova add-secgroup
usage: nova add-secgroup <server> <secgroup>
Positional arguments
- <server>
Name or ID of server.
- <secgroup>
Name or ID of Security Group.
5.6. nova agent-create
usage: nova agent-create <os> <architecture> <version> <url> <md5hash> <hypervisor>
Positional arguments
- <os>
Type of OS.
- <architecture>
Type of architecture.
- <version>
Version.
- <url>
URL.
- <md5hash>
MD5 hash.
- <hypervisor>
Type of hypervisor.
5.7. nova agent-delete
usage: nova agent-delete <id>
Positional arguments
- <id>
ID of the agent-build.
5.8. nova agent-list
usage: nova agent-list [--hypervisor <hypervisor>]
Optional arguments
- --hypervisor <hypervisor>
Type of hypervisor.
5.9. nova agent-modify
usage: nova agent-modify <id> <version> <url> <md5hash>
Positional arguments
- <id>
ID of the agent-build.
- <version>
Version.
- <url>
URL
- <md5hash>
MD5 hash.
5.10. nova aggregate-add-host
usage: nova aggregate-add-host <aggregate> <host>
Positional arguments
- <aggregate>
Name or ID of aggregate.
- <host>
The host to add to the aggregate.
5.11. nova aggregate-create
usage: nova aggregate-create <name> [<availability-zone>]
Positional arguments
- <name>
Name of aggregate.
- <availability-zone>
The availability zone of the aggregate (optional).
5.12. nova aggregate-delete
usage: nova aggregate-delete <aggregate>
Positional arguments
- <aggregate>
Name or ID of aggregate to delete.
5.13. nova aggregate-details
usage: nova aggregate-details <aggregate>
Positional arguments
- <aggregate>
Name or ID of aggregate.
5.14. nova aggregate-list
usage: nova aggregate-list
5.15. nova aggregate-remove-host
usage: nova aggregate-remove-host <aggregate> <host>
Positional arguments
- <aggregate>
Name or ID of aggregate.
- <host>
The host to remove from the aggregate.
5.16. nova aggregate-set-metadata
usage: nova aggregate-set-metadata <aggregate> <key=value> [<key=value> ...]
Positional arguments
- <aggregate>
Name or ID of aggregate to update.
- <key=value>
Metadata to add/update to aggregate. Specify only the key to
delete a metadata item.
5.17. nova aggregate-show
usage: nova aggregate-show <aggregate>
Positional arguments
- <aggregate>
Name or ID of aggregate.
5.18. nova aggregate-update
usage: nova aggregate-update [--name NAME] [--availability-zone <availability-zone>] <aggregate>
Positional arguments
- <aggregate>
Name or ID of aggregate to update.
Optional arguments
- --name NAME
Name of aggregate.
- --availability-zone <availability-zone>
The availability zone of the aggregate.
5.19. nova availability-zone-list
usage: nova availability-zone-list
5.20. nova backup
usage: nova backup <server> <name> <backup-type> <rotation>
Positional arguments
- <server>
Name or ID of server.
- <name>
Name of the backup image.
- <backup-type>
The backup type, like "daily" or "weekly".
- <rotation>
Int parameter representing how many backups to keep around.
5.21. nova baremetal-interface-list
usage: nova baremetal-interface-list <node>
Positional arguments
- <node>
ID of node
5.22. nova baremetal-node-list
usage: nova baremetal-node-list
5.23. nova baremetal-node-show
usage: nova baremetal-node-show <node>
Positional arguments
- <node>
ID of node
5.24. nova boot
usage: nova boot [--flavor <flavor>] [--image <image>] [--image-with <key=value>] [--boot-volume <volume_id>] [--snapshot <snapshot_id>] [--min-count <number>] [--max-count <number>] [--meta <key=value>] [--file <dst-path=src-path>] [--key-name <key-name>] [--user-data <user-data>] [--availability-zone <availability-zone>] [--security-groups <security-groups>] [--block-device-mapping <dev-name=mapping>] [--block-device key1=value1[,key2=value2...]] [--swap <swap_size>] [--ephemeral size=<size>[,format=<format>]] [--hint <key=value>] [--nic <auto,none,net-id=net-uuid,net-name=network-name,port-id=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,tag=tag>] [--config-drive <value>] [--poll] [--admin-pass <value>] [--access-ip-v4 <value>] [--access-ip-v6 <value>] [--description <description>] <name>
Positional arguments
- <name>
Name for the new server.
Optional arguments
- --flavor <flavor>
Name or ID of flavor (see 'nova flavor-list').
- --image <image>
Name or ID of image (see 'glance image-list').
- --image-with <key=value>
Image metadata property (see 'glance image-
show').
- --boot-volume <volume_id>
Volume ID to boot from.
- --snapshot <snapshot_id>
Snapshot ID to boot from (will create a
volume).
- --min-count <number>
Boot at least <number> servers (limited by
quota).
- --max-count <number>
Boot up to <number> servers (limited by
quota).
- --meta <key=value>
Record arbitrary key/value metadata to
/meta_data.json on the metadata server. Can be
specified multiple times.
- --file <dst-path=src-path>
Store arbitrary files from <src-path> locally
to <dst-path> on the new server. Limited by
the injected_files quota value.
- --key-name <key-name>
Key name of keypair that should be created
earlier with the command keypair-add.
- --user-data <user-data>
user data file to pass to be exposed by the
metadata server.
- --availability-zone <availability-zone>
The availability zone for server placement.
- --security-groups <security-groups>
Comma separated list of security group names.
- --block-device-mapping <dev-name=mapping>
Block device mapping in the format <dev-
name>=<id>:<type>:<size(GB)>:<delete-on-
terminate>.
- --block-device
key1=value1[,key2=value2...]
Block device mapping with the keys: id=UUID
(image_id, snapshot_id or volume_id only if
using source image, snapshot or volume)
source=source type (image, snapshot, volume or
blank), dest=destination type of the block
device (volume or local), bus=device's bus
(e.g. uml, lxc, virtio, ...; if omitted,
hypervisor driver chooses a suitable default,
honoured only if device type is supplied)
type=device type (e.g. disk, cdrom, ...;
defaults to 'disk') device=name of the device
(e.g. vda, xda, ...; tag=device metadata tag
(optional) if omitted, hypervisor driver
chooses suitable device depending on selected
bus; note the libvirt driver always uses
default device names), size=size of the block
device in MB(for swap) and in GB(for other
formats) (if omitted, hypervisor driver
calculates size), format=device will be
formatted (e.g. swap, ntfs, ...; optional),
bootindex=integer used for ordering the boot
disks (for image backed instances it is equal
to 0, for others need to be specified) and
shutdown=shutdown behaviour (either preserve
or remove, for local destination set to
remove). (Supported by API versions '2.32' -
'2.latest')
- --swap <swap_size>
Create and attach a local swap block device of
<swap_size> MB.
- --ephemeral
size=<size>[,format=<format>]
Create and attach a local ephemeral block
device of <size> GB and format it to <format>.
- --hint <key=value>
Send arbitrary key/value pairs to the
scheduler for custom use.
- --nic <auto,none,net-id=net-uuid,net-name=network-name,port-id=port-uuid,v4-fixed-ip=ip-addr,v6-fixed-ip=ip-addr,tag=tag>
Create a NIC on the server. Specify option
multiple times to create multiple nics unless
using the special 'auto' or 'none' values.
auto: automatically allocate network resources
if none are available. This cannot be
specified with any other nic value and cannot
be specified multiple times. none: do not
attach a NIC at all. This cannot be specified
with any other nic value and cannot be
specified multiple times. net-id: attach NIC
to network with a specific UUID. net-name:
attach NIC to network with this name (either
port-id or net-id or net-name must be
provided), v4-fixed-ip: IPv4 fixed address for
NIC (optional), v6-fixed-ip: IPv6 fixed
address for NIC (optional), port-id: attach
NIC to port with this UUID tag: interface
metadata tag (optional) (either port-id or
net-id must be provided). (Supported by API
versions '2.37' - '2.latest')
- --config-drive <value>
Enable config drive.
- --poll
Report the new server boot progress until it
completes.
- --admin-pass <value>
Admin password for the instance.
- --access-ip-v4 <value>
Alternative access IPv4 of the instance.
- --access-ip-v6 <value>
Alternative access IPv6 of the instance.
- --description <description>
Description for the server. (Supported by API
versions '2.19' - '2.latest')
5.25. nova cell-capacities
usage: nova cell-capacities [--cell <cell-name>]
Optional arguments
- --cell <cell-name>
Name of the cell to get the capacities.
5.26. nova cell-show
usage: nova cell-show <cell-name>
Positional arguments
- <cell-name>
Name of the cell.
5.27. nova clear-password
usage: nova clear-password <server>
Positional arguments
- <server>
Name or ID of server.
5.28. nova cloudpipe-configure
usage: nova cloudpipe-configure <ip address> <port>
Positional arguments
- <ip address>
New IP Address.
- <port>
New Port.
5.29. nova cloudpipe-create
usage: nova cloudpipe-create <project_id>
Positional arguments
- <project_id>
UUID of the project to create the cloudpipe for.
5.30. nova cloudpipe-list
usage: nova cloudpipe-list
5.31. nova console-log
usage: nova console-log [--length <length>] <server>
Positional arguments
- <server>
Name or ID of server.
Optional arguments
- --length <length>
Length in lines to tail.
5.32. nova credentials
usage: nova credentials [--wrap <integer>]
Optional arguments
- --wrap <integer>
Wrap PKI tokens to a specified length, or 0 to disable.
5.33. nova delete
usage: nova delete [--all-tenants] <server> [<server> ...]
Positional arguments
- <server>
Name or ID of server(s).
Optional arguments
- --all-tenants
Delete server(s) in another tenant by name (Admin only).
5.34. nova diagnostics
usage: nova diagnostics <server>
Positional arguments
- <server>
Name or ID of server.
5.35. nova dns-create
usage: nova dns-create [--type <type>] <ip> <name> <domain>
Positional arguments
- <ip>
IP address.
- <name>
DNS name.
- <domain>
DNS domain.
Optional arguments
- --type <type> DNS
type (e.g. "A")
5.36. nova dns-create-private-domain
usage: nova dns-create-private-domain [--availability-zone <availability-zone>] <domain>
Positional arguments
- <domain>
DNS domain.
Optional arguments
- --availability-zone <availability-zone>
Limit access to this domain to servers in the
specified availability zone.
5.37. nova dns-create-public-domain
usage: nova dns-create-public-domain [--project <project>] <domain>
Positional arguments
- <domain>
DNS domain.
Optional arguments
- --project <project>
Limit access to this domain to users of the specified
project.
5.38. nova dns-delete
usage: nova dns-delete <domain> <name>
Positional arguments
- <domain>
DNS domain.
- <name>
DNS name.
5.39. nova dns-delete-domain
usage: nova dns-delete-domain <domain>
Positional arguments
- <domain>
DNS domain.
5.40. nova dns-domains
usage: nova dns-domains
5.41. nova dns-list
usage: nova dns-list [--ip <ip>] [--name <name>] <domain>
Positional arguments
- <domain>
DNS domain.
Optional arguments
- --ip <ip> IP
address.
- --name <name> DNS
name.
5.42. nova endpoints
usage: nova endpoints
5.43. nova evacuate
usage: nova evacuate [--password <password>] [--force] <server> [<host>]
Positional arguments
- <server>
Name or ID of server.
- <host>
Name or ID of the target host. If no host is
specified, the scheduler will choose one.
Optional arguments
- --password <password>
Set the provided admin password on the evacuated
server. Not applicable if the server is on shared
storage.
- --force
Force to not verify the scheduler if a host is
provided. (Supported by API versions '2.29' -
'2.latest')
5.44. nova fixed-ip-get
usage: nova fixed-ip-get <fixed_ip>
Positional arguments
- <fixed_ip>
Fixed IP Address.
5.45. nova fixed-ip-reserve
usage: nova fixed-ip-reserve <fixed_ip>
Positional arguments
- <fixed_ip>
Fixed IP Address.
5.46. nova fixed-ip-unreserve
usage: nova fixed-ip-unreserve <fixed_ip>
Positional arguments
- <fixed_ip>
Fixed IP Address.
5.47. nova flavor-access-add
usage: nova flavor-access-add <flavor> <tenant_id>
Positional arguments
- <flavor>
Flavor name or ID to add access for the given tenant.
- <tenant_id>
Tenant ID to add flavor access for.
5.48. nova flavor-access-list
usage: nova flavor-access-list [--flavor <flavor>] [--tenant <tenant_id>]
Optional arguments
- --flavor <flavor>
Filter results by flavor name or ID.
- --tenant <tenant_id>
Filter results by tenant ID. (Deprecated; this option
is not supported, and will be removed in version
5.0.0.)
5.49. nova flavor-access-remove
usage: nova flavor-access-remove <flavor> <tenant_id>
Positional arguments
- <flavor>
Flavor name or ID to remove access for the given tenant.
- <tenant_id>
Tenant ID to remove flavor access for.
5.50. nova flavor-create
usage: nova flavor-create [--ephemeral <ephemeral>] [--swap <swap>] [--rxtx-factor <factor>] [--is-public <is-public>] <name> <id> <ram> <disk> <vcpus>
Positional arguments
- <name>
Unique name of the new flavor.
- <id>
Unique ID of the new flavor. Specifying 'auto' will
generated a UUID for the ID.
- <ram>
Memory size in MB.
- <disk>
Disk size in GB.
- <vcpus>
Number of vcpus
Optional arguments
- --ephemeral <ephemeral>
Ephemeral space size in GB (default 0).
- --swap <swap>
Swap space size in MB (default 0).
- --rxtx-factor <factor>
RX/TX factor (default 1).
- --is-public <is-public>
Make flavor accessible to the public (default
true).
5.51. nova flavor-delete
usage: nova flavor-delete <flavor>
Positional arguments
- <flavor>
Name or ID of the flavor to delete.
5.52. nova flavor-key
usage: nova flavor-key <flavor> <action> <key=value> [<key=value> ...]
Positional arguments
- <flavor>
Name or ID of flavor.
- <action>
Actions: 'set' or 'unset'.
- <key=value>
Extra_specs to set/unset (only key is necessary on unset).
5.53. nova flavor-list
usage: nova flavor-list [--extra-specs] [--all] [--marker <marker>] [--limit <limit>]
Optional arguments
- --extra-specs
Get extra-specs of each flavor.
- --all
Display all flavors (Admin only).
- --marker <marker>
The last flavor ID of the previous page; displays list of
flavors after "marker".
- --limit <limit>
Maximum number of flavors to display. If limit == -1, all
flavors will be displayed. If limit is bigger than
'osapi_max_limit' option of Nova API, limit
'osapi_max_limit' will be used instead.
5.54. nova flavor-show
usage: nova flavor-show <flavor>
Positional arguments
- <flavor>
Name or ID of flavor.
5.55. nova floating-ip-associate
usage: nova floating-ip-associate [--fixed-address <fixed_address>] <server> <address>
Positional arguments
- <server>
Name or ID of server.
- <address>
IP Address.
Optional arguments
- --fixed-address <fixed_address>
Fixed IP Address to associate with.
5.56. nova floating-ip-bulk-create
usage: nova floating-ip-bulk-create [--pool <pool>] [--interface <interface>] <range>
Positional arguments
- <range>
Address range to create.
Optional arguments
- --pool <pool>
Pool for new Floating IPs.
- --interface <interface>
Interface for new Floating IPs.
5.57. nova floating-ip-bulk-delete
usage: nova floating-ip-bulk-delete <range>
Positional arguments
- <range>
Address range to delete.
5.58. nova floating-ip-bulk-list
usage: nova floating-ip-bulk-list [--host <host>]
Optional arguments
- --host <host>
Filter by host.
5.59. nova floating-ip-create
usage: nova floating-ip-create [<floating-ip-pool>]
Positional arguments
- <floating-ip-pool>
Name of Floating IP Pool. (Optional)
5.60. nova floating-ip-delete
usage: nova floating-ip-delete <address>
Positional arguments
- <address>
IP of Floating IP.
5.61. nova floating-ip-disassociate
usage: nova floating-ip-disassociate <server> <address>
Positional arguments
- <server>
Name or ID of server.
- <address>
IP Address.
5.62. nova floating-ip-list
usage: nova floating-ip-list
5.63. nova floating-ip-pool-list
usage: nova floating-ip-pool-list
5.64. nova force-delete
usage: nova force-delete <server>
Positional arguments
- <server>
Name or ID of server.
5.65. nova get-mks-console
usage: nova get-mks-console <server>
Positional arguments
- <server>
Name or ID of server.
5.66. nova get-password
usage: nova get-password <server> [<private-key>]
Positional arguments
- <server>
Name or ID of server.
- <private-key>
Private key (used locally to decrypt password) (Optional).
When specified, the command displays the clear (decrypted) VM
password. When not specified, the ciphered VM password is
displayed.
5.67. nova get-rdp-console
usage: nova get-rdp-console <server> <console-type>
Positional arguments
- <server>
Name or ID of server.
- <console-type>
Type of rdp console ("rdp-html5").
5.68. nova get-serial-console
usage: nova get-serial-console [--console-type CONSOLE_TYPE] <server>
Positional arguments
- <server>
Name or ID of server.
Optional arguments
- --console-type CONSOLE_TYPE
Type of serial console, default="serial".
5.69. nova get-spice-console
usage: nova get-spice-console <server> <console-type>
Positional arguments
- <server>
Name or ID of server.
- <console-type>
Type of spice console ("spice-html5").
5.70. nova get-vnc-console
usage: nova get-vnc-console <server> <console-type>
Positional arguments
- <server>
Name or ID of server.
- <console-type>
Type of vnc console ("novnc" or "xvpvnc").
5.71. nova host-action
usage: nova host-action [--action <action>] <hostname>
Positional arguments
- <hostname>
Name of host.
Optional arguments
- --action <action> A
power action: startup, reboot, or shutdown.
5.72. nova host-describe
usage: nova host-describe <hostname>
Positional arguments
- <hostname>
Name of host.
5.73. nova host-evacuate
usage: nova host-evacuate [--target_host <target_host>] [--force] <host>
Positional arguments
- <host>
Name of host.
Optional arguments
- --target_host <target_host>
Name of target host. If no host is specified
the scheduler will select a target.
- --force
Force to not verify the scheduler if a host is
provided. (Supported by API versions '2.29' -
'2.latest')
5.74. nova host-evacuate-live
usage: nova host-evacuate-live [--target-host <target_host>] [--block-migrate] [--max-servers <max_servers>] [--force] <host>
Positional arguments
- <host>
Name of host.
Optional arguments
- --target-host <target_host>
Name of target host.
- --block-migrate
Enable block migration. (Default=auto)
(Supported by API versions '2.25' - '2.latest')
- --max-servers <max_servers>
Maximum number of servers to live migrate
simultaneously
- --force
Force to not verify the scheduler if a host is
provided. (Supported by API versions '2.30' -
'2.latest')
5.75. nova host-list
usage: nova host-list [--zone <zone>]
Optional arguments
- --zone <zone>
Filters the list, returning only those hosts in the
availability zone <zone>.
5.76. nova host-meta
usage: nova host-meta <host> <action> <key=value> [<key=value> ...]
Positional arguments
- <host>
Name of host.
- <action>
Actions: 'set' or 'delete'
- <key=value>
Metadata to set or delete (only key is necessary on delete)
5.77. nova host-servers-migrate
usage: nova host-servers-migrate <host>
Positional arguments
- <host>
Name of host.
5.78. nova host-update
usage: nova host-update [--status <enable|disable>] [--maintenance <enable|disable>] <hostname>
Positional arguments
- <hostname>
Name of host.
Optional arguments
- --status <enable|disable>
Either enable or disable a host.
- --maintenance <enable|disable>
Either put or resume host to/from maintenance.
5.79. nova hypervisor-list
usage: nova hypervisor-list [--matching <hostname>] [--marker <marker>] [--limit <limit>]
Optional arguments
- --matching <hostname>
List hypervisors matching the given <hostname>. If
matching is used limit and marker options will be
ignored.
- --marker <marker>
The last hypervisor of the previous page; displays
list of hypervisors after "marker".
- --limit <limit>
Maximum number of hypervisors to display. If limit ==
-1, all hypervisors will be displayed. If limit is
bigger than 'osapi_max_limit' option of Nova API,
limit 'osapi_max_limit' will be used instead.
5.80. nova hypervisor-servers
usage: nova hypervisor-servers <hostname>
Positional arguments
- <hostname>
The hypervisor hostname (or pattern) to search for.
5.81. nova hypervisor-show
usage: nova hypervisor-show [--wrap <integer>] <hypervisor>
Positional arguments
- <hypervisor>
Name or ID of the hypervisor to show the details of.
Optional arguments
- --wrap <integer>
Wrap the output to a specified length. Default is 40 or 0
to disable
5.82. nova hypervisor-stats
usage: nova hypervisor-stats
5.83. nova hypervisor-uptime
usage: nova hypervisor-uptime <hypervisor>
Positional arguments
- <hypervisor>
Name or ID of the hypervisor to show the uptime of.
5.84. nova image-create
usage: nova image-create [--metadata <key=value>] [--show] [--poll] <server> <name>
nova image-create
are only usable by nova (and not glance).
Positional arguments
- <server>
Name or ID of server.
- <name>
Name of snapshot.
Optional arguments
- --metadata <key=value>
Record arbitrary key/value metadata to
/meta_data.json on the metadata server. Can be
specified multiple times.
- --show
Print image info.
- --poll
Report the snapshot progress and poll until image
creation is complete.
5.85. nova image-delete
usage: nova image-delete <image> [<image> ...]
Positional arguments
- <image>
Name or ID of image(s).
5.86. nova image-list
usage: nova image-list [--limit <limit>]
Optional arguments
- --limit <limit>
Number of images to return per request.
5.87. nova image-meta
usage: nova image-meta <image> <action> <key=value> [<key=value> ...]
Positional arguments
- <image>
Name or ID of image.
- <action>
Actions: 'set' or 'delete'.
- <key=value>
Metadata to add/update or delete (only key is necessary on
delete).
5.88. nova image-show
usage: nova image-show <image>
Positional arguments
- <image>
Name or ID of image.
5.89. nova instance-action
usage: nova instance-action <server> <request_id>
Positional arguments
- <server>
Name or UUID of the server to show actions for. Only UUID can
be used to show actions for a deleted server. (Supported by
API versions '2.21' - '2.latest')
- <request_id>
Request ID of the action to get.
5.90. nova instance-action-list
usage: nova instance-action-list <server>
Positional arguments
- <server>
Name or UUID of the server to list actions for. Only UUID can be
used to list actions on a deleted server. (Supported by API
versions '2.21' - '2.latest')
5.91. nova interface-attach
usage: nova interface-attach [--port-id <port_id>] [--net-id <net_id>] [--fixed-ip <fixed_ip>] <server>
Positional arguments
- <server>
Name or ID of server.
Optional arguments
- --port-id <port_id>
Port ID.
- --net-id <net_id>
Network ID
- --fixed-ip <fixed_ip>
Requested fixed IP.
5.92. nova interface-detach
usage: nova interface-detach <server> <port_id>
Positional arguments
- <server>
Name or ID of server.
- <port_id>
Port ID.
5.93. nova interface-list
usage: nova interface-list <server>
Positional arguments
- <server>
Name or ID of server.
5.94. nova keypair-add
usage: nova keypair-add [--pub-key <pub-key>] [--key-type <key-type>] [--user <user-id>] <name>
Positional arguments
- <name>
Name of key.
Optional arguments
- --pub-key <pub-key>
Path to a public ssh key.
- --key-type <key-type>
Keypair type. Can be ssh or x509. (Supported by API
versions '2.2' - '2.latest')
- --user <user-id> ID
of user to whom to add key-pair (Admin only).
(Supported by API versions '2.10' - '2.latest')
5.95. nova keypair-delete
usage: nova keypair-delete [--user <user-id>] <name>
Positional arguments
- <name>
Keypair name to delete.
Optional arguments
- --user <user-id> ID
of key-pair owner (Admin only).
5.96. nova keypair-list
usage: nova keypair-list [--user <user-id>] [--marker <marker>] [--limit <limit>]
Optional arguments
- --user <user-id>
List key-pairs of specified user ID (Admin only).
- --marker <marker>
The last keypair of the previous page; displays list of
keypairs after "marker".
- --limit <limit>
Maximum number of keypairs to display. If limit == -1,
all keypairs will be displayed. If limit is bigger than
'osapi_max_limit' option of Nova API, limit
'osapi_max_limit' will be used instead.
5.97. nova keypair-show
usage: nova keypair-show [--user <user-id>] <keypair>
Positional arguments
- <keypair>
Name of keypair.
Optional arguments
- --user <user-id> ID
of key-pair owner (Admin only).
5.98. nova limits
usage: nova limits [--tenant [<tenant>]] [--reserved]
Optional arguments
- --tenant [<tenant>]
Display information from single tenant (Admin only).
- --reserved
Include reservations count.
5.99. nova list
usage: nova list [--reservation-id <reservation-id>] [--ip <ip-regexp>] [--ip6 <ip6-regexp>] [--name <name-regexp>] [--instance-name <name-regexp>] [--status <status>] [--flavor <flavor>] [--image <image>] [--host <hostname>] [--all-tenants [<0|1>]] [--tenant [<tenant>]] [--user [<user>]] [--deleted] [--fields <fields>] [--minimal] [--sort <key>[:<direction>]] [--marker <marker>] [--limit <limit>] [--changes-since <changes_since>] [--tags <tags>] [--tags-any <tags-any>] [--not-tags <not-tags>] [--not-tags-any <not-tags-any>]
Optional arguments
- --reservation-id <reservation-id>
Only return servers that match reservation-id.
- --ip <ip-regexp>
Search with regular expression match by IP
address.
- --ip6 <ip6-regexp>
Search with regular expression match by IPv6
address.
- --name <name-regexp>
Search with regular expression match by name.
- --instance-name <name-regexp>
Search with regular expression match by server
name.
- --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 servers by hostname to which they are
assigned (Admin only).
- --all-tenants [<0|1>]
Display information from all tenants (Admin
only).
- --tenant [<tenant>]
Display information from single tenant (Admin
only).
- --user [<user>]
Display information from single user (Admin
only).
- --deleted
Only display deleted servers (Admin only).
- --fields <fields>
Comma-separated list of fields to display. Use
the show command to see which fields are
available.
- --minimal
Get only UUID and name.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and
directions in the form of <key>[:<asc|desc>].
The direction defaults to descending if not
specified.
- --marker <marker>
The last server UUID of the previous page;
displays list of servers after "marker".
- --limit <limit>
Maximum number of servers to display. If limit
== -1, all servers will be displayed. If limit
is bigger than 'osapi_max_limit' option of
Nova API, limit 'osapi_max_limit' will be used
instead.
- --changes-since <changes_since>
List only servers changed after a certain
point of time.The provided time should be an
ISO 8061 formatted time.ex
2016-03-04T06:27:59Z .
- --tags <tags>
The given tags must all be present for a
server to be included in the list result.
Boolean expression in this case is 't1 AND
t2'. Tags must be separated by commas: --tags
<tag1,tag2> (Supported by API versions '2.26'
- '2.latest')
- --tags-any <tags-any>
If one of the given tags is present the server
will be included in the list result. Boolean
expression in this case is 't1 OR t2'. Tags
must be separated by commas: --tags-any
<tag1,tag2> (Supported by API versions '2.26'
- '2.latest')
- --not-tags <not-tags>
Only the servers that do not have any of the
given tags willbe included in the list
results. Boolean expression in this case is
'NOT(t1 AND t2)'. Tags must be separated by
commas: --not-tags <tag1,tag2> (Supported by
API versions '2.26' - '2.latest')
- --not-tags-any <not-tags-any>
Only the servers that do not have at least one
of the given tagswill be included in the list
result. Boolean expression in this case is
'NOT(t1 OR t2)'. Tags must be separated by
commas: --not-tags-any <tag1,tag2> (Supported
by API versions '2.26' - '2.latest')
5.100. nova list-extensions
usage: nova list-extensions
5.101. nova list-secgroup
usage: nova list-secgroup <server>
Positional arguments
- <server>
Name or ID of server.
5.102. nova live-migration
usage: nova live-migration [--block-migrate] [--force] <server> [<host>]
Positional arguments
- <server>
Name or ID of server.
- <host>
Destination host name.
Optional arguments
- --block-migrate
True in case of block_migration.
(Default=auto:live_migration) (Supported by API versions
'2.25' - '2.latest')
- --force
Force to not verify the scheduler if a host is provided.
(Supported by API versions '2.30' - '2.latest')
5.103. nova live-migration-abort
usage: nova live-migration-abort <server> <migration>
Positional arguments
- <server>
Name or ID of server.
- <migration>
ID of migration.
5.104. nova live-migration-force-complete
usage: nova live-migration-force-complete <server> <migration>
Positional arguments
- <server>
Name or ID of server.
- <migration>
ID of migration.
5.105. nova lock
usage: nova lock <server>
Positional arguments
- <server>
Name or ID of server.
5.106. nova meta
usage: nova meta <server> <action> <key=value> [<key=value> ...]
Positional arguments
- <server>
Name or ID of server.
- <action>
Actions: 'set' or 'delete'.
- <key=value>
Metadata to set or delete (only key is necessary on delete).
5.107. nova migrate
usage: nova migrate [--poll] <server>
Positional arguments
- <server>
Name or ID of server.
Optional arguments
- --poll
Report the server migration progress until it completes.
5.108. nova migration-list
usage: nova migration-list [--host <host>] [--status <status>] [--cell_name <cell_name>]
Optional arguments
- --host <host>
Fetch migrations for the given host.
- --status <status>
Fetch migrations for the given status.
- --cell_name <cell_name>
Fetch migrations for the given cell_name.
5.109. nova net
usage: nova net <network_id>
Positional arguments
- <network_id>
ID of network
5.110. nova net-create
usage: nova net-create <network_label> <cidr>
Positional arguments
- <network_label>
Network label (ex. my_new_network)
- <cidr>
IP block to allocate from (ex. 172.16.0.0/24 or
2001:DB8::/64)
5.111. nova net-delete
usage: nova net-delete <network_id>
Positional arguments
- <network_id>
ID of network
5.112. nova net-list
usage: nova net-list
5.113. nova network-associate-host
usage: nova network-associate-host <network> <host>
Positional arguments
- <network>
UUID of network.
- <host>
Name of host
5.114. nova network-associate-project
usage: nova network-associate-project <network>
Positional arguments
- <network>
UUID of network.
5.115. nova network-create
usage: nova network-create [--fixed-range-v4 <x.x.x.x/yy>] [--fixed-range-v6 CIDR_V6] [--vlan <vlan id>] [--vlan-start <vlan start>] [--vpn <vpn start>] [--gateway GATEWAY] [--gateway-v6 GATEWAY_V6] [--bridge <bridge>] [--bridge-interface <bridge interface>] [--multi-host <'T'|'F'>] [--dns1 <DNS Address>] [--dns2 <DNS Address>] [--uuid <network uuid>] [--fixed-cidr <x.x.x.x/yy>] [--project-id <project id>] [--priority <number>] [--mtu MTU] [--enable-dhcp <'T'|'F'>] [--dhcp-server DHCP_SERVER] [--share-address <'T'|'F'>] [--allowed-start ALLOWED_START] [--allowed-end ALLOWED_END] <network_label>
Positional arguments
- <network_label>
Label for network
Optional arguments
- --fixed-range-v4 <x.x.x.x/yy>
IPv4 subnet (ex: 10.0.0.0/8)
- --fixed-range-v6
CIDR_V6 IPv6 subnet (ex: fe80::/64
- --vlan <vlan id>
The vlan ID to be assigned to the project.
- --vlan-start <vlan start>
First vlan ID to be assigned to the project.
Subsequent vlan IDs will be assigned
incrementally.
- --vpn <vpn start>
vpn start
- --gateway GATEWAY
gateway
- --gateway-v6
GATEWAY_V6 IPv6 gateway
- --bridge <bridge>
VIFs on this network are connected to this
bridge.
- --bridge-interface <bridge interface>
The bridge is connected to this interface.
- --multi-host <'T'|'F'>
Multi host
- --dns1 <DNS Address>
First DNS.
- --dns2 <DNS Address>
Second DNS.
- --uuid <network uuid>
Network UUID.
- --fixed-cidr <x.x.x.x/yy>
IPv4 subnet for fixed IPs (ex: 10.20.0.0/16).
- --project-id <project id>
Project ID.
- --priority <number>
Network interface priority.
- --mtu MTU MTU
for network.
- --enable-dhcp <'T'|'F'>
Enable DHCP.
- --dhcp-server DHCP_SERVER
DHCP-server address (defaults to gateway
address)
- --share-address <'T'|'F'>
Share address
- --allowed-start ALLOWED_START
Start of allowed addresses for instances.
- --allowed-end ALLOWED_END
End of allowed addresses for instances.
5.116. nova network-delete
usage: nova network-delete <network>
Positional arguments
- <network>
UUID or label of network.
5.117. nova network-disassociate
usage: nova network-disassociate [--host-only [<0|1>]] [--project-only [<0|1>]] <network>
Positional arguments
- <network>
UUID of network.
Optional arguments
- --host-only [<0|1>]
- --project-only [<0|1>]
5.118. nova network-list
usage: nova network-list [--fields <fields>]
Optional arguments
- --fields <fields>
Comma-separated list of fields to display. Use the show
command to see which fields are available.
5.119. nova network-show
usage: nova network-show <network>
Positional arguments
- <network>
UUID or label of network.
5.120. nova pause
usage: nova pause <server>
Positional arguments
- <server>
Name or ID of server.
5.121. nova quota-class-show
usage: nova quota-class-show <class>
Positional arguments
- <class>
Name of quota class to list the quotas for.
5.122. nova quota-class-update
usage: nova quota-class-update [--instances <instances>] [--cores <cores>] [--ram <ram>] [--metadata-items <metadata-items>] [--injected-files <injected-files>] [--injected-file-content-bytes <injected-file-content-bytes>] [--injected-file-path-bytes <injected-file-path-bytes>] [--key-pairs <key-pairs>] [--server-groups <server-groups>] [--server-group-members <server-group-members>] <class>
Positional arguments
- <class>
Name of quota class to set the quotas for.
Optional arguments
- --instances <instances>
New value for the "instances" quota.
- --cores <cores>
New value for the "cores" quota.
- --ram <ram>
New value for the "ram" quota.
- --metadata-items <metadata-items>
New value for the "metadata-items" quota.
- --injected-files <injected-files>
New value for the "injected-files" quota.
- --injected-file-content-bytes <injected-file-content-bytes>
New value for the "injected-file-content-
bytes" quota.
- --injected-file-path-bytes <injected-file-path-bytes>
New value for the "injected-file-path-bytes"
quota.
- --key-pairs <key-pairs>
New value for the "key-pairs" quota.
- --server-groups <server-groups>
New value for the "server-groups" quota.
- --server-group-members <server-group-members>
New value for the "server-group-members"
quota.
5.123. nova quota-defaults
usage: nova quota-defaults [--tenant <tenant-id>]
Optional arguments
- --tenant <tenant-id> ID
of tenant to list the default quotas for.
5.124. nova quota-delete
usage: nova quota-delete --tenant <tenant-id> [--user <user-id>]
Optional arguments
- --tenant <tenant-id> ID
of tenant to delete quota for.
- --user <user-id> ID
of user to delete quota for.
5.125. nova quota-show
usage: nova quota-show [--tenant <tenant-id>] [--user <user-id>] [--detail]
Optional arguments
- --tenant <tenant-id> ID
of tenant to list the quotas for.
- --user <user-id> ID
of user to list the quotas for.
- --detail
Show detailed info (limit, reserved, in-use).
5.126. nova quota-update
usage: nova quota-update [--user <user-id>] [--instances <instances>] [--cores <cores>] [--ram <ram>] [--metadata-items <metadata-items>] [--injected-files <injected-files>] [--injected-file-content-bytes <injected-file-content-bytes>] [--injected-file-path-bytes <injected-file-path-bytes>] [--key-pairs <key-pairs>] [--server-groups <server-groups>] [--server-group-members <server-group-members>] [--force] <tenant-id>
Positional arguments
- <tenant-id>
ID of tenant to set the quotas for.
Optional arguments
- --user <user-id> ID
of user to set the quotas for.
- --instances <instances>
New value for the "instances" quota.
- --cores <cores>
New value for the "cores" quota.
- --ram <ram>
New value for the "ram" quota.
- --metadata-items <metadata-items>
New value for the "metadata-items" quota.
- --injected-files <injected-files>
New value for the "injected-files" quota.
- --injected-file-content-bytes <injected-file-content-bytes>
New value for the "injected-file-content-
bytes" quota.
- --injected-file-path-bytes <injected-file-path-bytes>
New value for the "injected-file-path-bytes"
quota.
- --key-pairs <key-pairs>
New value for the "key-pairs" quota.
- --server-groups <server-groups>
New value for the "server-groups" quota.
- --server-group-members <server-group-members>
New value for the "server-group-members"
quota.
- --force
Whether force update the quota even if the
already used and reserved exceeds the new
quota.
5.127. nova rate-limits
usage: nova rate-limits
5.128. nova reboot
usage: nova reboot [--hard] [--poll] <server> [<server> ...]
Positional arguments
- <server>
Name or ID of server(s).
Optional arguments
- --hard
Perform a hard reboot (instead of a soft one). Note: Ironic does
not currently support soft reboot; consequently, bare metal nodes
will always do a hard reboot, regardless of the use of this
option.
- --poll
Poll until reboot is complete.
5.129. nova rebuild
usage: nova rebuild [--rebuild-password <rebuild-password>] [--poll] [--minimal] [--preserve-ephemeral] [--name <name>] [--description <description>] [--meta <key=value>] [--file <dst-path=src-path>] <server> <image>
Positional arguments
- <server>
Name or ID of server.
- <image>
Name or ID of new image.
Optional arguments
- --rebuild-password <rebuild-password>
Set the provided admin password on the rebuilt
server.
- --poll
Report the server rebuild progress until it
completes.
- --minimal
Skips flavor/image lookups when showing
servers.
- --preserve-ephemeral
Preserve the default ephemeral storage
partition on rebuild.
- --name <name>
Name for the new server.
- --description <description>
New description for the server. (Supported by
API versions '2.19' - '2.latest')
- --meta <key=value>
Record arbitrary key/value metadata to
/meta_data.json on the metadata server. Can be
specified multiple times.
- --file <dst-path=src-path>
Store arbitrary files from <src-path> locally
to <dst-path> on the new server. You may store
up to 5 files.
5.130. nova refresh-network
usage: nova refresh-network <server>
Positional arguments
- <server>
Name or ID of a server for which the network cache should be
refreshed from neutron (Admin only).
5.131. nova remove-fixed-ip
usage: nova remove-fixed-ip <server> <address>
Positional arguments
- <server>
Name or ID of server.
- <address>
IP Address.
5.132. nova remove-secgroup
usage: nova remove-secgroup <server> <secgroup>
Positional arguments
- <server>
Name or ID of server.
- <secgroup>
Name of Security Group.
5.133. nova rename
usage: nova rename <server> <name>
Positional arguments
- <server>
Name (old name) or ID of server.
- <name>
New name for the server.
5.134. nova rescue
usage: nova rescue [--password <password>] [--image <image>] <server>
Positional arguments
- <server>
Name or ID of server.
Optional arguments
- --password <password>
The admin password to be set in the rescue
environment.
- --image <image>
The image to rescue with.
5.135. nova reset-network
usage: nova reset-network <server>
Positional arguments
- <server>
Name or ID of server.
5.136. nova reset-state
usage: nova reset-state [--all-tenants] [--active] <server> [<server> ...]
Positional arguments
- <server>
Name or ID of server(s).
Optional arguments
- --all-tenants
Reset state server(s) in another tenant by name (Admin only).
- --active
Request the server be reset to "active" state instead of
"error" state (the default).
5.137. nova resize
usage: nova resize [--poll] <server> <flavor>
Positional arguments
- <server>
Name or ID of server.
- <flavor>
Name or ID of new flavor.
Optional arguments
- --poll
Report the server resize progress until it completes.
5.138. nova resize-confirm
usage: nova resize-confirm <server>
Positional arguments
- <server>
Name or ID of server.
5.139. nova resize-revert
usage: nova resize-revert <server>
Positional arguments
- <server>
Name or ID of server.
5.140. nova restore
usage: nova restore <server>
Positional arguments
- <server>
Name or ID of server.
5.141. nova resume
usage: nova resume <server>
Positional arguments
- <server>
Name or ID of server.
5.142. nova root-password
usage: nova root-password <server>
Positional arguments
- <server>
Name or ID of server.
5.143. nova scrub
usage: nova scrub <project_id>
Positional arguments
- <project_id>
The ID of the project.
5.144. nova secgroup-add-default-rule
usage: nova secgroup-add-default-rule <ip-proto> <from-port> <to-port> <cidr>
Positional arguments
- <ip-proto>
IP protocol (icmp, tcp, udp).
- <from-port>
Port at start of range.
- <to-port>
Port at end of range.
- <cidr>
CIDR for address range.
5.145. nova secgroup-add-group-rule
usage: nova secgroup-add-group-rule <secgroup> <source-group> <ip-proto> <from-port> <to-port>
Positional arguments
- <secgroup>
ID or name of security group.
- <source-group>
ID or name of source group.
- <ip-proto>
IP protocol (icmp, tcp, udp).
- <from-port>
Port at start of range.
- <to-port>
Port at end of range.
5.146. nova secgroup-add-rule
usage: nova secgroup-add-rule <secgroup> <ip-proto> <from-port> <to-port> <cidr>
Positional arguments
- <secgroup>
ID or name of security group.
- <ip-proto>
IP protocol (icmp, tcp, udp).
- <from-port>
Port at start of range.
- <to-port>
Port at end of range.
- <cidr>
CIDR for address range.
5.147. nova secgroup-create
usage: nova secgroup-create <name> <description>
Positional arguments
- <name>
Name of security group.
- <description>
Description of security group.
5.148. nova secgroup-delete
usage: nova secgroup-delete <secgroup>
Positional arguments
- <secgroup>
ID or name of security group.
5.149. nova secgroup-delete-default-rule
usage: nova secgroup-delete-default-rule <ip-proto> <from-port> <to-port> <cidr>
Positional arguments
- <ip-proto>
IP protocol (icmp, tcp, udp).
- <from-port>
Port at start of range.
- <to-port>
Port at end of range.
- <cidr>
CIDR for address range.
5.150. nova secgroup-delete-group-rule
usage: nova secgroup-delete-group-rule <secgroup> <source-group> <ip-proto> <from-port> <to-port>
Positional arguments
- <secgroup>
ID or name of security group.
- <source-group>
ID or name of source group.
- <ip-proto>
IP protocol (icmp, tcp, udp).
- <from-port>
Port at start of range.
- <to-port>
Port at end of range.
5.151. nova secgroup-delete-rule
usage: nova secgroup-delete-rule <secgroup> <ip-proto> <from-port> <to-port> <cidr>
Positional arguments
- <secgroup>
ID or name of security group.
- <ip-proto>
IP protocol (icmp, tcp, udp).
- <from-port>
Port at start of range.
- <to-port>
Port at end of range.
- <cidr>
CIDR for address range.
5.152. nova secgroup-list
usage: nova secgroup-list [--all-tenants [<0|1>]]
Optional arguments
- --all-tenants [<0|1>]
Display information from all tenants (Admin only).
5.153. nova secgroup-list-default-rules
usage: nova secgroup-list-default-rules
5.154. nova secgroup-list-rules
usage: nova secgroup-list-rules <secgroup>
Positional arguments
- <secgroup>
ID or name of security group.
5.155. nova secgroup-update
usage: nova secgroup-update <secgroup> <name> <description>
Positional arguments
- <secgroup>
ID or name of security group.
- <name>
Name of security group.
- <description>
Description of security group.
5.156. nova server-group-create
usage: nova server-group-create <name> [<policy> [<policy> ...]]
Positional arguments
- <name>
Server group name.
- <policy>
Policies for the server groups.
5.157. nova server-group-delete
usage: nova server-group-delete <id> [<id> ...]
Positional arguments
- <id>
Unique ID(s) of the server group to delete.
5.158. nova server-group-get
usage: nova server-group-get <id>
Positional arguments
- <id>
Unique ID of the server group to get.
5.159. nova server-group-list
usage: nova server-group-list [--all-projects]
Optional arguments
- --all-projects
Display server groups from all projects (Admin only).
5.160. nova server-migration-list
usage: nova server-migration-list <server>
Positional arguments
- <server>
Name or ID of server.
5.161. nova server-migration-show
usage: nova server-migration-show <server> <migration>
Positional arguments
- <server>
Name or ID of server.
- <migration>
ID of migration.
5.162. nova server-tag-add
usage: nova server-tag-add <server> <tag>
Positional arguments
- <server>
Name or ID of server.
- <tag>
Tag to add.
5.163. nova server-tag-delete
usage: nova server-tag-delete <server> <tag>
Positional arguments
- <server>
Name or ID of server.
- <tag>
Tag to delete.
5.164. nova server-tag-delete-all
usage: nova server-tag-delete-all <server>
Positional arguments
- <server>
Name or ID of server.
5.165. nova server-tag-list
usage: nova server-tag-list <server>
Positional arguments
- <server>
Name or ID of server.
5.166. nova server-tag-set
usage: nova server-tag-set <server> <tags> [<tags> ...]
Positional arguments
- <server>
Name or ID of server.
- <tags>
Tag(s) to set.
5.167. nova service-delete
usage: nova service-delete <id>
Positional arguments
- <id>
ID of service.
5.168. nova service-disable
usage: nova service-disable [--reason <reason>] <hostname> <binary>
Positional arguments
- <hostname>
Name of host.
- <binary>
Service binary.
Optional arguments
- --reason <reason>
Reason for disabling service.
5.169. nova service-enable
usage: nova service-enable <hostname> <binary>
Positional arguments
- <hostname>
Name of host.
- <binary>
Service binary.
5.170. nova service-force-down
usage: nova service-force-down [--unset] <hostname> <binary>
Positional arguments
- <hostname>
Name of host.
- <binary>
Service binary.
Optional arguments
- --unset
Unset the force state down of service.
5.171. nova service-list
usage: nova service-list [--host <hostname>] [--binary <binary>]
Optional arguments
- --host <hostname>
Name of host.
- --binary <binary>
Service binary.
5.172. nova set-password
usage: nova set-password <server>
Positional arguments
- <server>
Name or ID of server.
5.173. nova shelve
usage: nova shelve <server>
Positional arguments
- <server>
Name or ID of server.
5.174. nova shelve-offload
usage: nova shelve-offload <server>
Positional arguments
- <server>
Name or ID of server.
5.175. nova show
usage: nova show [--minimal] <server>
Positional arguments
- <server>
Name or ID of server.
Optional arguments
- --minimal
Skips flavor/image lookups when showing servers.
5.176. nova ssh
usage: nova ssh [--port PORT] [--address-type ADDRESS_TYPE] [--network <network>] [--ipv6] [--login <login>] [-i IDENTITY] [--extra-opts EXTRA] <server>
Positional arguments
- <server>
Name or ID of server.
Optional arguments
- --port PORT
Optional flag to indicate which port to use
for ssh. (Default=22)
- --address-type ADDRESS_TYPE
Optional flag to indicate which IP type to
use. Possible values includes fixed and
floating (the Default).
- --network <network>
Network to use for the ssh.
- --ipv6
Optional flag to indicate whether to use an
IPv6 address attached to a server. (Defaults
to IPv4 address)
- --login <login>
Login to use.
- -i IDENTITY, --identity IDENTITY
Private key file, same as the -i option to the
ssh command.
- --extra-opts EXTRA
Extra options to pass to ssh. see: man ssh.
5.177. nova start
usage: nova start [--all-tenants] <server> [<server> ...]
Positional arguments
- <server>
Name or ID of server(s).
Optional arguments
- --all-tenants
Start server(s) in another tenant by name (Admin only).
5.178. nova stop
usage: nova stop [--all-tenants] <server> [<server> ...]
Positional arguments
- <server>
Name or ID of server(s).
Optional arguments
- --all-tenants
Stop server(s) in another tenant by name (Admin only).
5.179. nova suspend
usage: nova suspend <server>
Positional arguments
- <server>
Name or ID of server.
5.180. nova tenant-network-create
usage: nova tenant-network-create <network_label> <cidr>
Positional arguments
- <network_label>
Network label (ex. my_new_network)
- <cidr>
IP block to allocate from (ex. 172.16.0.0/24 or
2001:DB8::/64)
5.181. nova tenant-network-delete
usage: nova tenant-network-delete <network_id>
Positional arguments
- <network_id>
ID of network
5.182. nova tenant-network-list
usage: nova tenant-network-list
5.183. nova tenant-network-show
usage: nova tenant-network-show <network_id>
Positional arguments
- <network_id>
ID of network
5.184. nova trigger-crash-dump
usage: nova trigger-crash-dump <server>
Positional arguments
- <server>
Name or ID of server.
5.185. nova unlock
usage: nova unlock <server>
Positional arguments
- <server>
Name or ID of server.
5.186. nova unpause
usage: nova unpause <server>
Positional arguments
- <server>
Name or ID of server.
5.187. nova unrescue
usage: nova unrescue <server>
Positional arguments
- <server>
Name or ID of server.
5.188. nova unshelve
usage: nova unshelve <server>
Positional arguments
- <server>
Name or ID of server.
5.189. nova update
usage: nova update [--name <name>] [--description <description>] <server>
Positional arguments
- <server>
Name (old name) or ID of server.
Optional arguments
- --name <name>
New name for the server.
- --description <description>
New description for the server. If it equals to
empty string (i.g. ""), the server description
will be removed. (Supported by API versions
'2.19' - '2.latest')
5.190. nova usage
usage: nova usage [--start <start>] [--end <end>] [--tenant <tenant-id>]
Optional arguments
- --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)
- --tenant <tenant-id> UUID
of tenant to get usage for.
5.191. nova usage-list
usage: nova usage-list [--start <start>] [--end <end>]
Optional arguments
- --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)
5.192. nova version-list
usage: nova version-list
5.193. nova virtual-interface-list
usage: nova virtual-interface-list <server>
Positional arguments
- <server>
ID of server.
5.194. nova volume-attach
usage: nova volume-attach <server> <volume> [<device>]
Positional arguments
- <server>
Name or ID of server.
- <volume>
ID of the volume to attach.
- <device>
Name of the device e.g. /dev/vdb. Use "auto" for autoassign (if
supported). Libvirt driver will use default device name.
5.195. nova volume-attachments
usage: nova volume-attachments <server>
Positional arguments
- <server>
Name or ID of server.
5.196. nova volume-detach
usage: nova volume-detach <server> <volume>
Positional arguments
- <server>
Name or ID of server.
- <volume>
ID of the volume to detach.
5.197. nova volume-update
usage: nova volume-update <server> <attachment> <volume>
Positional arguments
- <server>
Name or ID of server.
- <attachment>
Attachment ID of the volume.
- <volume>
ID of the volume to attach.
5.198. nova x509-create-cert
usage: nova x509-create-cert [<private-key-filename>] [<x509-cert-filename>]
Positional arguments
- <private-key-filename>
Filename for the private key. [Default: pk.pem]
- <x509-cert-filename>
Filename for the X.509 certificate. [Default:
cert.pem]
5.199. nova x509-get-root-cert
usage: nova x509-get-root-cert [<filename>]
Positional arguments
- <filename>
Filename to write the x509 root cert.
Chapter 6. Identity Service Command-line Client
10.0.0
.
$
keystone-manage COMMAND
--help
6.1. keystone-manage Usage
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush]
6.2. keystone-manage Optional Arguments
- -h, --help
show this help message and exit
- --config-dir DIR
Path to a config directory to pull *.conf files from.
This file set is sorted, so as to provide a
predictable parse order if individual options are
over-ridden. The set is parsed after the file(s)
specified via previous --config-file, arguments hence
over-ridden options in the directory take precedence.
- --config-file PATH
Path to a config file to use. Multiple config files
can be specified, with values in later files taking
precedence. Defaults to None.
- --debug, -d
If set to true, the logging level will be set to DEBUG
instead of the default INFO level.
- --log-config-append PATH, --log_config PATH
The name of a logging configuration file. This file is
appended to any existing logging configuration files.
For details about logging configuration files, see the
Python logging module documentation. Note that when
logging configuration files are used then all logging
configuration is set in the configuration file and
other logging configuration options are ignored (for
example, logging_context_format_string).
- --log-date-format DATE_FORMAT
Defines the format string for %(asctime)s in log
records. Default: None . This option is ignored if
log_config_append is set.
- --log-dir LOG_DIR, --logdir LOG_DIR
(Optional) The base directory used for relative
log_file paths. This option is ignored if
log_config_append is set.
- --log-file PATH, --logfile PATH
(Optional) Name of log file to send logging output to.
If no default is set, logging will go to stderr as
defined by use_stderr. This option is ignored if
log_config_append is set.
- --nodebug
The inverse of --debug
- --nostandard-threads
The inverse of --standard-threads
- --nouse-syslog
The inverse of --use-syslog
- --noverbose
The inverse of --verbose
- --nowatch-log-file
The inverse of --watch-log-file
- --pydev-debug-host PYDEV_DEBUG_HOST
Host to connect to for remote debugger.
- --pydev-debug-port PYDEV_DEBUG_PORT
Port to connect to for remote debugger.
- --standard-threads
Do not monkey-patch threading system modules.
- --syslog-log-facility SYSLOG_LOG_FACILITY
Syslog facility to receive log lines. This option is
ignored if log_config_append is set.
- --use-syslog
Use syslog for logging. Existing syslog format is
DEPRECATED and will be changed later to honor RFC5424.
This option is ignored if log_config_append is set.
- --verbose, -v
If set to false, the logging level will be set to
WARNING instead of the default INFO level.
- --version
show program's version number and exit
- --watch-log-file
Uses logging handler designed to watch file system.
When log file is moved or removed this handler will
open a new log file with specified path
instantaneously. It makes sense only if log_file
option is specified and Linux platform is used. This
option is ignored if log_config_append is set.
6.3. keystone-manage bootstrap
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] bootstrap [-h] [--bootstrap-username OS_BOOTSTRAP_USERNAME] [--bootstrap-password OS_BOOTSTRAP_PASSWORD] [--bootstrap-project-name OS_BOOTSTRAP_PROJECT_NAME] [--bootstrap-role-name OS_BOOTSTRAP_ROLE_NAME] [--bootstrap-service-name OS_BOOTSTRAP_SERVICE_NAME] [--bootstrap-admin-url OS_BOOTSTRAP_ADMIN_URL] [--bootstrap-public-url OS_BOOTSTRAP_PUBLIC_URL] [--bootstrap-internal-url OS_BOOTSTRAP_INTERNAL_URL] [--bootstrap-region-id OS_BOOTSTRAP_REGION_ID]
Optional arguments
- -h, --help
show this help message and exit
- --bootstrap-username OS_BOOTSTRAP_USERNAME
The username of the initial keystone user during
bootstrap process.
- --bootstrap-password OS_BOOTSTRAP_PASSWORD
The bootstrap user password
- --bootstrap-project-name OS_BOOTSTRAP_PROJECT_NAME
The initial project created during the keystone
bootstrap process.
- --bootstrap-role-name OS_BOOTSTRAP_ROLE_NAME
The initial role-name created during the keystone
bootstrap process.
- --bootstrap-service-name OS_BOOTSTRAP_SERVICE_NAME
The initial name for the initial identity service
created during the keystone bootstrap process.
- --bootstrap-admin-url OS_BOOTSTRAP_ADMIN_URL
The initial identity admin url created during the
keystone bootstrap process. e.g.
http://127.0.0.1:35357/v2.0
- --bootstrap-public-url OS_BOOTSTRAP_PUBLIC_URL
The initial identity public url created during the
keystone bootstrap process. e.g.
http://127.0.0.1:5000/v2.0
- --bootstrap-internal-url OS_BOOTSTRAP_INTERNAL_URL
The initial identity internal url created during the
keystone bootstrap process. e.g.
http://127.0.0.1:5000/v2.0
- --bootstrap-region-id OS_BOOTSTRAP_REGION_ID
The initial region_id endpoints will be placed in
during the keystone bootstrap process.
6.4. keystone-manage credential_migrate
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] credential_migrate [-h] [--keystone-user KEYSTONE_USER] [--keystone-group KEYSTONE_GROUP]
Optional arguments
- -h, --help
show this help message and exit
- --keystone-user KEYSTONE_USER
- --keystone-group KEYSTONE_GROUP
6.5. keystone-manage credential_rotate
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] credential_rotate [-h] [--keystone-user KEYSTONE_USER] [--keystone-group KEYSTONE_GROUP]
Optional arguments
- -h, --help
show this help message and exit
- --keystone-user KEYSTONE_USER
- --keystone-group KEYSTONE_GROUP
6.6. keystone-manage credential_setup
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] credential_setup [-h] [--keystone-user KEYSTONE_USER] [--keystone-group KEYSTONE_GROUP]
Optional arguments
- -h, --help
show this help message and exit
- --keystone-user KEYSTONE_USER
- --keystone-group KEYSTONE_GROUP
6.7. keystone-manage db_sync
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] db_sync [-h] [--extension EXTENSION] [--expand | --migrate | --contract] [version]
Positional arguments
- version
Migrate the database up to a specified version. If not
provided, db_sync will migrate the database to the
latest known version. Schema downgrades are not
supported.
Optional arguments
- -h, --help
show this help message and exit
- --extension EXTENSION
This is a deprecated option to migrate a specified
extension. Since extensions are now part of the main
repository, specifying db_sync without this option
will cause all extensions to be migrated.
- --expand
Expand the database schema in preparation for data
migration.
- --migrate
Copy all data that needs to be migrated within the
database ahead of starting the first keystone node
upgraded to the new release. This command should be
run after the --expand command. Once the --migrate
command has completed, you can upgrade all your
keystone nodes to the new release and restart them.
- --contract
Remove any database tables and columns that are no
longer required. This command should be run after all
keystone nodes are running the new release.
6.8. keystone-manage db_version
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] db_version [-h] [--extension EXTENSION]
Optional arguments
- -h, --help
show this help message and exit
- --extension EXTENSION
This is a deprecated option to print the version of a
specified extension. Since extensions are now part of
the main repository, the version of an extension is
implicit in the version of the main repository.
6.9. keystone-manage doctor
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] doctor [-h]
Optional arguments
- -h, --help
show this help message and exit
6.10. keystone-manage domain_config_upload
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] domain_config_upload [-h] [--all] [--domain-name DOMAIN_NAME]
Optional arguments
- -h, --help
show this help message and exit
- --all
Upload contents of all domain specific configuration
files. Either use this option or use the --domain-name
option to choose a specific domain.
- --domain-name DOMAIN_NAME
Upload contents of the specific configuration file for
the given domain. Either use this option or use the
--all option to upload contents for all domains.
6.11. keystone-manage fernet_rotate
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] fernet_rotate [-h] [--keystone-user KEYSTONE_USER] [--keystone-group KEYSTONE_GROUP]
Optional arguments
- -h, --help
show this help message and exit
- --keystone-user KEYSTONE_USER
- --keystone-group KEYSTONE_GROUP
6.12. keystone-manage fernet_setup
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] fernet_setup [-h] [--keystone-user KEYSTONE_USER] [--keystone-group KEYSTONE_GROUP]
Optional arguments
- -h, --help
show this help message and exit
- --keystone-user KEYSTONE_USER
- --keystone-group KEYSTONE_GROUP
6.13. keystone-manage mapping_engine
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] mapping_engine [-h] --rules RULES --input INPUT [--prefix PREFIX] [--engine-debug]
Optional arguments
- -h, --help
show this help message and exit
- --rules RULES
Path to the file with rules to be executed. Content must be
a proper JSON structure, with a top-level key 'rules' and
corresponding value being a list.
- --input INPUT
Path to the file with input attributes. The content
consists of ':' separated parameter names and their values.
There is only one key-value pair per line. A ';' in the
value is a separator and then a value is treated as a list.
Example: EMAIL: me@example.com LOGIN: me GROUPS:
group1;group2;group3
- --prefix PREFIX A
prefix used for each environment variable in the
assertion. For example, all environment variables may have
the prefix ASDF_.
- --engine-debug
Enable debug messages from the mapping engine.
6.14. keystone-manage mapping_populate
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] mapping_populate [-h] --domain-name DOMAIN_NAME
Optional arguments
- -h, --help
show this help message and exit
- --domain-name DOMAIN_NAME
Name of the domain configured to use domain-specific
backend
6.15. keystone-manage mapping_purge
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] mapping_purge [-h] [--all] [--domain-name DOMAIN_NAME] [--public-id PUBLIC_ID] [--local-id LOCAL_ID] [--type {user,group}]
Optional arguments
- -h, --help
show this help message and exit
- --all
Purge all mappings.
- --domain-name DOMAIN_NAME
Purge any mappings for the domain specified.
- --public-id PUBLIC_ID
Purge the mapping for the Public ID specified.
- --local-id LOCAL_ID
Purge the mappings for the Local ID specified.
- --type {user,group}
Purge any mappings for the type specified.
6.16. keystone-manage pki_setup
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] pki_setup [-h] [--keystone-user KEYSTONE_USER] [--keystone-group KEYSTONE_GROUP] [--rebuild]
Optional arguments
- -h, --help
show this help message and exit
- --keystone-user KEYSTONE_USER
- --keystone-group KEYSTONE_GROUP
- --rebuild
Rebuild certificate files: erase previous files and
regenerate them.
6.17. keystone-manage saml_idp_metadata
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] saml_idp_metadata [-h]
Optional arguments
- -h, --help
show this help message and exit
6.18. keystone-manage token_flush
usage: keystone-manage [bootstrap|credential_migrate|credential_rotate|credential_setup|db_sync|db_version|doctor|domain_config_upload|fernet_rotate|fernet_setup|mapping_populate|mapping_purge|mapping_engine|pki_setup|saml_idp_metadata|token_flush] token_flush [-h]
Optional arguments
- -h, --help
show this help message and exit
Chapter 7. Image Service Command-line Client
2.5.0
.
$
glance
help
COMMAND
7.1. glance Usage
usage: glance [--version] [-d] [-v] [--get-schema] [--no-ssl-compression] [-f] [--os-image-url OS_IMAGE_URL] [--os-image-api-version OS_IMAGE_API_VERSION] [--profile HMAC_KEY] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] [--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-trust-id OS_TRUST_ID] [--os-user-id OS_USER_ID] [--os-username OS_USERNAME] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] [--key-file OS_KEY] [--ca-file OS_CACERT] [--cert-file OS_CERT] [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME] [--os-region-name OS_REGION_NAME] [--os-auth-token OS_AUTH_TOKEN] [--os-service-type OS_SERVICE_TYPE] [--os-endpoint-type OS_ENDPOINT_TYPE] <subcommand> ...
Subcommands
- explain
Describe a specific model.
- image-create
Create a new image.
- image-deactivate
Deactivate specified image.
- image-delete
Delete specified image.
- image-download
Download a specific image.
- image-list
List images you can access.
- image-reactivate
Reactivate specified image.
- image-show
Describe a specific image.
- image-tag-delete
Delete the tag associated with the given image.
- image-tag-update
Update an image with the given tag.
- image-update
Update an existing image.
- image-upload
Upload data for a specific image.
- location-add
Add a location (and related metadata) to an image.
- location-delete
Remove locations (and related metadata) from an image.
- location-update
Update metadata of an image's location.
- md-namespace-create
Create a new metadata definitions namespace.
- md-namespace-delete
Delete specified metadata definitions namespace with
its contents.
- md-namespace-import
Import a metadata definitions namespace from file or
standard input.
- md-namespace-list
List metadata definitions namespaces.
- md-namespace-objects-delete
Delete all metadata definitions objects inside a
specific namespace.
- md-namespace-properties-delete
Delete all metadata definitions property inside a
specific namespace.
- md-namespace-resource-type-list
List resource types associated to specific namespace.
- md-namespace-show
Describe a specific metadata definitions namespace.
- md-namespace-tags-delete
Delete all metadata definitions tags inside a specific
namespace.
- md-namespace-update
Update an existing metadata definitions namespace.
- md-object-create
Create a new metadata definitions object inside a
namespace.
- md-object-delete
Delete a specific metadata definitions object inside a
namespace.
- md-object-list
List metadata definitions objects inside a specific
namespace.
- md-object-property-show
Describe a specific metadata definitions property
inside an object.
- md-object-show
Describe a specific metadata definitions object inside
a namespace.
- md-object-update
Update metadata definitions object inside a namespace.
- md-property-create
Create a new metadata definitions property inside a
namespace.
- md-property-delete
Delete a specific metadata definitions property inside
a namespace.
- md-property-list
List metadata definitions properties inside a specific
namespace.
- md-property-show
Describe a specific metadata definitions property
inside a namespace.
- md-property-update
Update metadata definitions property inside a
namespace.
- md-resource-type-associate
Associate resource type with a metadata definitions
namespace.
- md-resource-type-deassociate
Deassociate resource type with a metadata definitions
namespace.
- md-resource-type-list
List available resource type names.
- md-tag-create
Add a new metadata definitions tag inside a namespace.
- md-tag-create-multiple
Create new metadata definitions tags inside a
namespace.
- md-tag-delete
Delete a specific metadata definitions tag inside a
namespace.
- md-tag-list
List metadata definitions tags inside a specific
namespace.
- md-tag-show
Describe a specific metadata definitions tag inside a
namespace.
- md-tag-update
Rename a metadata definitions tag inside a namespace.
- member-create
Create member for a given image.
- member-delete
Delete image member.
- member-list
Describe sharing permissions by image.
- member-update
Update the status of a member for a given image.
- task-create
Create a new task.
- task-list
List tasks you can access.
- task-show
Describe a specific task.
- bash-completion
Prints arguments for bash_completion.
- help
Display help about this program or one of its
subcommands.
7.2. glance Optional Arguments
- --version
show program's version number and exit
- -d, --debug
Defaults toenv[GLANCECLIENT_DEBUG]
.
- -v, --verbose
Print more verbose output.
- --get-schema
Ignores cached copy and forces retrieval of schema
that generates portions of the help text. Ignored with
API version 1.
- --no-ssl-compression
DEPRECATED! This option is deprecated and not used
anymore. SSL compression should be disabled by default
by the system SSL library.
- -f, --force
Prevent select actions from requesting user
confirmation.
- --os-image-url OS_IMAGE_URL
Defaults toenv[OS_IMAGE_URL]
. If the provided image
url contains a version number and `--os-image-api-
version` is omitted the version of the URL will be
picked as the image api version to use.
- --os-image-api-version OS_IMAGE_API_VERSION
Defaults toenv[OS_IMAGE_API_VERSION]
or 2.
- --profile HMAC_KEY HMAC
key to use for encrypting context data for
performance profiling of operation. This key should be
the value of HMAC key configured in osprofiler
middleware in glance, it is specified in paste
configuration file at /etc/glance/api-paste.ini and
/etc/glance/registry-paste.ini. Without key the
profiling will not be triggered even if osprofiler is
enabled on server side.
- --insecure
Explicitly allow client to perform "insecure" TLS
(https) requests. The server's certificate will not be
verified against any certificate authorities. This
option should be used with caution.
- --os-cacert <ca-certificate>
Specify a CA bundle file to use in verifying a TLS
(https) server certificate. Defaults to
env[OS_CACERT]
.
- --os-cert <certificate>
Defaults toenv[OS_CERT]
.
- --os-key <key>
Defaults toenv[OS_KEY]
.
- --timeout <seconds>
Set request timeout (in seconds).
- --os-auth-url OS_AUTH_URL
Authentication URL
- --os-domain-id OS_DOMAIN_ID
Domain ID to scope to
- --os-domain-name OS_DOMAIN_NAME
Domain name to scope to
- --os-project-id OS_PROJECT_ID
Project ID to scope to
- --os-project-name OS_PROJECT_NAME
Project name to scope to
- --os-project-domain-id OS_PROJECT_DOMAIN_ID
Domain ID containing project
- --os-project-domain-name OS_PROJECT_DOMAIN_NAME
Domain name containing project
- --os-trust-id OS_TRUST_ID
Trust ID
- --os-user-id OS_USER_ID
User ID
- --os-username OS_USERNAME, --os-user_name OS_USERNAME
Username
- --os-user-domain-id OS_USER_DOMAIN_ID
User's domain id
- --os-user-domain-name OS_USER_DOMAIN_NAME
User's domain name
- --os-password OS_PASSWORD
User's password
- --key-file OS_KEY
DEPRECATED! Use --os-key.
- --ca-file OS_CACERT
DEPRECATED! Use --os-cacert.
- --cert-file OS_CERT
DEPRECATED! Use --os-cert.
- --os-tenant-id OS_TENANT_ID
Defaults toenv[OS_TENANT_ID]
.
- --os-tenant-name OS_TENANT_NAME
Defaults toenv[OS_TENANT_NAME]
.
- --os-region-name OS_REGION_NAME
Defaults toenv[OS_REGION_NAME]
.
- --os-auth-token OS_AUTH_TOKEN
Defaults toenv[OS_AUTH_TOKEN]
.
- --os-service-type OS_SERVICE_TYPE
Defaults toenv[OS_SERVICE_TYPE]
.
- --os-endpoint-type OS_ENDPOINT_TYPE
Defaults toenv[OS_ENDPOINT_TYPE]
.
7.3. Image Service API v1 Commands
--os-image-api-version 1
option or set the corresponding environment variable:
$
export OS_IMAGE_API_VERSION=1
7.3.1. glance image-create
usage: glance --os-image-api-version 1 image-create [--architecture <ARCHITECTURE>] [--protected [True|False]] [--name <NAME>] [--instance-uuid <INSTANCE_UUID>] [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>] [--kernel-id <KERNEL_ID>] [--tags <TAGS> [<TAGS> ...]] [--os-version <OS_VERSION>] [--disk-format <DISK_FORMAT>] [--os-distro <OS_DISTRO>] [--id <ID>] [--owner <OWNER>] [--ramdisk-id <RAMDISK_ID>] [--min-ram <MIN_RAM>] [--container-format <CONTAINER_FORMAT>] [--property <key=value>] [--file <FILE>] [--progress]
Optional arguments
- --architecture <ARCHITECTURE>
Operating system architecture as specified in
http://docs.openstack.org/user-guide/common/cli-
manage-images.html
- --protected [True|False]
If true, image will not be deletable.
- --name <NAME>
Descriptive name for the image
- --instance-uuid <INSTANCE_UUID>
Metadata which can be used to record which instance
this image is associated with. (Informational only,
does not create an instance snapshot.)
- --min-disk <MIN_DISK>
Amount of disk space (in GB) required to boot image.
- --visibility <VISIBILITY>
Scope of image accessibility Valid values: public,
private
- --kernel-id <KERNEL_ID>
ID of image stored in Glance that should be used as
the kernel when booting an AMI-style image.
- --tags <TAGS> [<TAGS> ...]
List of strings related to the image
- --os-version <OS_VERSION>
Operating system version as specified by the
distributor
- --disk-format <DISK_FORMAT>
Format of the disk Valid values: None, ami, ari, aki,
vhd, vmdk, raw, qcow2, vdi, iso
- --os-distro <OS_DISTRO>
Common name of operating system distribution as
specified in http://docs.openstack.org/user-
guide/common/cli-manage-images.html
- --id <ID>
An identifier for the image
- --owner <OWNER>
Owner of the image
- --ramdisk-id <RAMDISK_ID>
ID of image stored in Glance that should be used as
the ramdisk when booting an AMI-style image.
- --min-ram <MIN_RAM>
Amount of ram (in MB) required to boot image.
- --container-format <CONTAINER_FORMAT>
Format of the container Valid values: None, ami, ari,
aki, bare, ovf, ova, docker
- --property <key=value>
Arbitrary property to associate with image. May be
used multiple times.
- --file <FILE>
Local file that contains disk image to be uploaded
during creation. Alternatively, the image data can be
passed to the client via stdin.
- --progress
Show upload progress bar.
7.3.2. glance image-delete
usage: glance --os-image-api-version 1 image-delete <IMAGE_ID> [<IMAGE_ID> ...]
Positional arguments
- <IMAGE_ID>
ID of image(s) to delete.
7.3.3. glance image-list
usage: glance --os-image-api-version 1 image-list [--limit <LIMIT>] [--page-size <SIZE>] [--visibility <VISIBILITY>] [--member-status <MEMBER_STATUS>] [--owner <OWNER>] [--property-filter <KEY=VALUE>] [--checksum <CHECKSUM>] [--tag <TAG>] [--sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}] [--sort-dir {asc,desc}] [--sort <key>[:<direction>]]
Optional arguments
- --limit <LIMIT>
Maximum number of images to get.
- --page-size <SIZE>
Number of images to request in each paginated request.
- --visibility <VISIBILITY>
The visibility of the images to display.
- --member-status <MEMBER_STATUS>
The status of images to display.
- --owner <OWNER>
Display images owned by <OWNER>.
- --property-filter <KEY=VALUE>
Filter images by a user-defined image property.
- --checksum <CHECKSUM>
Displays images that match the checksum.
- --tag <TAG>
Filter images by a user-defined tag.
- --sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}
Sort image list by specified fields. May be used
multiple times.
- --sort-dir {asc,desc}
Sort image list in specified directions.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: name,
status, container_format, disk_format, size, id,
created_at, updated_at. OPTIONAL.
7.3.4. glance image-show
usage: glance --os-image-api-version 1 image-show [--human-readable] [--max-column-width <integer>] <IMAGE_ID>
Positional arguments
- <IMAGE_ID>
ID of image to describe.
Optional arguments
- --human-readable
Print image size in a human-friendly format.
- --max-column-width <integer>
The max column width of the printed table.
7.3.5. glance image-update
usage: glance --os-image-api-version 1 image-update [--architecture <ARCHITECTURE>] [--protected [True|False]] [--name <NAME>] [--instance-uuid <INSTANCE_UUID>] [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>] [--kernel-id <KERNEL_ID>] [--os-version <OS_VERSION>] [--disk-format <DISK_FORMAT>] [--os-distro <OS_DISTRO>] [--owner <OWNER>] [--ramdisk-id <RAMDISK_ID>] [--min-ram <MIN_RAM>] [--container-format <CONTAINER_FORMAT>] [--property <key=value>] [--remove-property key] <IMAGE_ID>
Positional arguments
- <IMAGE_ID>
ID of image to update.
Optional arguments
- --architecture <ARCHITECTURE>
Operating system architecture as specified in
http://docs.openstack.org/user-guide/common/cli-
manage-images.html
- --protected [True|False]
If true, image will not be deletable.
- --name <NAME>
Descriptive name for the image
- --instance-uuid <INSTANCE_UUID>
Metadata which can be used to record which instance
this image is associated with. (Informational only,
does not create an instance snapshot.)
- --min-disk <MIN_DISK>
Amount of disk space (in GB) required to boot image.
- --visibility <VISIBILITY>
Scope of image accessibility Valid values: public,
private
- --kernel-id <KERNEL_ID>
ID of image stored in Glance that should be used as
the kernel when booting an AMI-style image.
- --os-version <OS_VERSION>
Operating system version as specified by the
distributor
- --disk-format <DISK_FORMAT>
Format of the disk Valid values: None, ami, ari, aki,
vhd, vmdk, raw, qcow2, vdi, iso
- --os-distro <OS_DISTRO>
Common name of operating system distribution as
specified in http://docs.openstack.org/user-
guide/common/cli-manage-images.html
- --owner <OWNER>
Owner of the image
- --ramdisk-id <RAMDISK_ID>
ID of image stored in Glance that should be used as
the ramdisk when booting an AMI-style image.
- --min-ram <MIN_RAM>
Amount of ram (in MB) required to boot image.
- --container-format <CONTAINER_FORMAT>
Format of the container Valid values: None, ami, ari,
aki, bare, ovf, ova, docker
- --property <key=value>
Arbitrary property to associate with image. May be
used multiple times.
- --remove-property
key
Name of arbitrary property to remove from the image.
7.3.6. glance member-create
usage: glance --os-image-api-version 1 member-create <IMAGE_ID> <MEMBER_ID>
Positional arguments
- <IMAGE_ID>
Image with which to create member.
- <MEMBER_ID>
Tenant to add as member.
7.3.7. glance member-delete
usage: glance --os-image-api-version 1 member-delete <IMAGE_ID> <MEMBER_ID>
Positional arguments
- <IMAGE_ID>
Image from which to remove member.
- <MEMBER_ID>
Tenant to remove as member.
7.3.8. glance member-list
usage: glance --os-image-api-version 1 member-list --image-id <IMAGE_ID>
Optional arguments
- --image-id <IMAGE_ID>
Image to display members of.
7.4. Image Service API v2 Commands
--os-image-api-version
to specify v2.
7.4.1. glance explain (v2)
usage: glance explain <MODEL>
Positional arguments
- <MODEL>
Name of model to describe.
7.4.2. glance image-create (v2)
usage: glance image-create [--architecture <ARCHITECTURE>] [--protected [True|False]] [--name <NAME>] [--instance-uuid <INSTANCE_UUID>] [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>] [--kernel-id <KERNEL_ID>] [--tags <TAGS> [<TAGS> ...]] [--os-version <OS_VERSION>] [--disk-format <DISK_FORMAT>] [--os-distro <OS_DISTRO>] [--id <ID>] [--owner <OWNER>] [--ramdisk-id <RAMDISK_ID>] [--min-ram <MIN_RAM>] [--container-format <CONTAINER_FORMAT>] [--property <key=value>] [--file <FILE>] [--progress]
Optional arguments
- --architecture <ARCHITECTURE>
Operating system architecture as specified in
http://docs.openstack.org/user-guide/common/cli-
manage-images.html
- --protected [True|False]
If true, image will not be deletable.
- --name <NAME>
Descriptive name for the image
- --instance-uuid <INSTANCE_UUID>
Metadata which can be used to record which instance
this image is associated with. (Informational only,
does not create an instance snapshot.)
- --min-disk <MIN_DISK>
Amount of disk space (in GB) required to boot image.
- --visibility <VISIBILITY>
Scope of image accessibility Valid values: public,
private
- --kernel-id <KERNEL_ID>
ID of image stored in Glance that should be used as
the kernel when booting an AMI-style image.
- --tags <TAGS> [<TAGS> ...]
List of strings related to the image
- --os-version <OS_VERSION>
Operating system version as specified by the
distributor
- --disk-format <DISK_FORMAT>
Format of the disk Valid values: None, ami, ari, aki,
vhd, vmdk, raw, qcow2, vdi, iso
- --os-distro <OS_DISTRO>
Common name of operating system distribution as
specified in http://docs.openstack.org/user-
guide/common/cli-manage-images.html
- --id <ID>
An identifier for the image
- --owner <OWNER>
Owner of the image
- --ramdisk-id <RAMDISK_ID>
ID of image stored in Glance that should be used as
the ramdisk when booting an AMI-style image.
- --min-ram <MIN_RAM>
Amount of ram (in MB) required to boot image.
- --container-format <CONTAINER_FORMAT>
Format of the container Valid values: None, ami, ari,
aki, bare, ovf, ova, docker
- --property <key=value>
Arbitrary property to associate with image. May be
used multiple times.
- --file <FILE>
Local file that contains disk image to be uploaded
during creation. Alternatively, the image data can be
passed to the client via stdin.
- --progress
Show upload progress bar.
7.4.3. glance image-delete (v2)
usage: glance image-delete <IMAGE_ID> [<IMAGE_ID> ...]
Positional arguments
- <IMAGE_ID>
ID of image(s) to delete.
7.4.4. glance image-download (v2)
usage: glance image-download [--file <FILE>] [--progress] <IMAGE_ID>
Positional arguments
- <IMAGE_ID>
ID of image to download.
Optional arguments
- --file <FILE>
Local file to save downloaded image data to. If this is not
specified and there is no redirection the image data will not
be saved.
- --progress
Show download progress bar.
7.4.5. glance image-list (v2)
usage: glance image-list [--limit <LIMIT>] [--page-size <SIZE>] [--visibility <VISIBILITY>] [--member-status <MEMBER_STATUS>] [--owner <OWNER>] [--property-filter <KEY=VALUE>] [--checksum <CHECKSUM>] [--tag <TAG>] [--sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}] [--sort-dir {asc,desc}] [--sort <key>[:<direction>]]
Optional arguments
- --limit <LIMIT>
Maximum number of images to get.
- --page-size <SIZE>
Number of images to request in each paginated request.
- --visibility <VISIBILITY>
The visibility of the images to display.
- --member-status <MEMBER_STATUS>
The status of images to display.
- --owner <OWNER>
Display images owned by <OWNER>.
- --property-filter <KEY=VALUE>
Filter images by a user-defined image property.
- --checksum <CHECKSUM>
Displays images that match the checksum.
- --tag <TAG>
Filter images by a user-defined tag.
- --sort-key {name,status,container_format,disk_format,size,id,created_at,updated_at}
Sort image list by specified fields. May be used
multiple times.
- --sort-dir {asc,desc}
Sort image list in specified directions.
- --sort <key>[:<direction>]
Comma-separated list of sort keys and directions in
the form of <key>[:<asc|desc>]. Valid keys: name,
status, container_format, disk_format, size, id,
created_at, updated_at. OPTIONAL.
7.4.6. glance image-show (v2)
usage: glance image-show [--human-readable] [--max-column-width <integer>] <IMAGE_ID>
Positional arguments
- <IMAGE_ID>
ID of image to describe.
Optional arguments
- --human-readable
Print image size in a human-friendly format.
- --max-column-width <integer>
The max column width of the printed table.
7.4.7. glance image-tag-delete (v2)
usage: glance image-tag-delete <IMAGE_ID> <TAG_VALUE>
Positional arguments
- <IMAGE_ID>
ID of the image from which to delete tag.
- <TAG_VALUE>
Value of the tag.
7.4.8. glance image-tag-update (v2)
usage: glance image-tag-update <IMAGE_ID> <TAG_VALUE>
Positional arguments
- <IMAGE_ID>
Image to be updated with the given tag.
- <TAG_VALUE>
Value of the tag.
7.4.9. glance image-update (v2)
usage: glance image-update [--architecture <ARCHITECTURE>] [--protected [True|False]] [--name <NAME>] [--instance-uuid <INSTANCE_UUID>] [--min-disk <MIN_DISK>] [--visibility <VISIBILITY>] [--kernel-id <KERNEL_ID>] [--os-version <OS_VERSION>] [--disk-format <DISK_FORMAT>] [--os-distro <OS_DISTRO>] [--owner <OWNER>] [--ramdisk-id <RAMDISK_ID>] [--min-ram <MIN_RAM>] [--container-format <CONTAINER_FORMAT>] [--property <key=value>] [--remove-property key] <IMAGE_ID>
Positional arguments
- <IMAGE_ID>
ID of image to update.
Optional arguments
- --architecture <ARCHITECTURE>
Operating system architecture as specified in
http://docs.openstack.org/user-guide/common/cli-
manage-images.html
- --protected [True|False]
If true, image will not be deletable.
- --name <NAME>
Descriptive name for the image
- --instance-uuid <INSTANCE_UUID>
Metadata which can be used to record which instance
this image is associated with. (Informational only,
does not create an instance snapshot.)
- --min-disk <MIN_DISK>
Amount of disk space (in GB) required to boot image.
- --visibility <VISIBILITY>
Scope of image accessibility Valid values: public,
private
- --kernel-id <KERNEL_ID>
ID of image stored in Glance that should be used as
the kernel when booting an AMI-style image.
- --os-version <OS_VERSION>
Operating system version as specified by the
distributor
- --disk-format <DISK_FORMAT>
Format of the disk Valid values: None, ami, ari, aki,
vhd, vmdk, raw, qcow2, vdi, iso
- --os-distro <OS_DISTRO>
Common name of operating system distribution as
specified in http://docs.openstack.org/user-
guide/common/cli-manage-images.html
- --owner <OWNER>
Owner of the image
- --ramdisk-id <RAMDISK_ID>
ID of image stored in Glance that should be used as
the ramdisk when booting an AMI-style image.
- --min-ram <MIN_RAM>
Amount of ram (in MB) required to boot image.
- --container-format <CONTAINER_FORMAT>
Format of the container Valid values: None, ami, ari,
aki, bare, ovf, ova, docker
- --property <key=value>
Arbitrary property to associate with image. May be
used multiple times.
- --remove-property
key
Name of arbitrary property to remove from the image.
7.4.10. glance image-upload (v2)
usage: glance image-upload [--file <FILE>] [--size <IMAGE_SIZE>] [--progress] <IMAGE_ID>
Positional arguments
- <IMAGE_ID>
ID of image to upload data to.
Optional arguments
- --file <FILE>
Local file that contains disk image to be uploaded.
Alternatively, images can be passed to the client via
stdin.
- --size <IMAGE_SIZE>
Size in bytes of image to be uploaded. Default is to
get size from provided data object but this is
supported in case where size cannot be inferred.
- --progress
Show upload progress bar.
7.4.11. glance member-create (v2)
usage: glance member-create <IMAGE_ID> <MEMBER_ID>
Positional arguments
- <IMAGE_ID>
Image with which to create member.
- <MEMBER_ID>
Tenant to add as member.
7.4.12. glance member-delete (v2)
usage: glance member-delete <IMAGE_ID> <MEMBER_ID>
Positional arguments
- <IMAGE_ID>
Image from which to remove member.
- <MEMBER_ID>
Tenant to remove as member.
7.4.13. glance member-list (v2)
usage: glance member-list --image-id <IMAGE_ID>
Optional arguments
- --image-id <IMAGE_ID>
Image to display members of.
7.4.14. glance member-update (v2)
usage: glance member-update <IMAGE_ID> <MEMBER_ID> <MEMBER_STATUS>
Positional arguments
- <IMAGE_ID>
Image from which to update member.
- <MEMBER_ID>
Tenant to update.
- <MEMBER_STATUS>
Updated status of member. Valid Values: accepted, rejected,
pending
Chapter 8. Networking Service Command-line Client
6.0.0
.
$
neutron
help
COMMAND
8.1. neutron Usage
usage: neutron [--version] [-v] [-q] [-h] [-r NUM] [--os-service-type <os-service-type>] [--os-endpoint-type <os-endpoint-type>] [--service-type <service-type>] [--endpoint-type <endpoint-type>] [--os-auth-strategy <auth-strategy>] [--os-cloud <cloud>] [--os-auth-url <auth-url>] [--os-tenant-name <auth-tenant-name> | --os-project-name <auth-project-name>] [--os-tenant-id <auth-tenant-id> | --os-project-id <auth-project-id>] [--os-username <auth-username>] [--os-user-id <auth-user-id>] [--os-user-domain-id <auth-user-domain-id>] [--os-user-domain-name <auth-user-domain-name>] [--os-project-domain-id <auth-project-domain-id>] [--os-project-domain-name <auth-project-domain-name>] [--os-cert <certificate>] [--os-cacert <ca-certificate>] [--os-key <key>] [--os-password <auth-password>] [--os-region-name <auth-region-name>] [--os-token <token>] [--http-timeout <seconds>] [--os-url <url>] [--insecure]
8.2. neutron Optional Arguments
- --version
show program's version number and exit
- -v, --verbose, --debug
Increase verbosity of output and show tracebacks on
errors. You can repeat this option.
- -q, --quiet
Suppress output except warnings and errors.
- -h, --help
Show this help message and exit.
- -r NUM, --retries NUM
How many times the request to the Neutron server
should be retried if it fails.
- --os-service-type <os-service-type>
Defaults toenv[OS_NETWORK_SERVICE_TYPE]
or network.
- --os-endpoint-type <os-endpoint-type>
Defaults toenv[OS_ENDPOINT_TYPE]
or public.
- --service-type <service-type>
DEPRECATED! Use --os-service-type.
- --endpoint-type <endpoint-type>
DEPRECATED! Use --os-endpoint-type.
- --os-auth-strategy <auth-strategy>
DEPRECATED! Only keystone is supported.
- --os-cloud <cloud>
Defaults toenv[OS_CLOUD]
.
- --os-auth-url <auth-url>
Authentication URL, defaults toenv[OS_AUTH_URL]
.
- --os-tenant-name <auth-tenant-name>
Authentication tenant name, defaults to
env[OS_TENANT_NAME]
.
- --os-project-name <auth-project-name>
Another way to specify tenant name. This option is
mutually exclusive with --os-tenant-name. Defaults to
env[OS_PROJECT_NAME]
.
- --os-tenant-id <auth-tenant-id>
Authentication tenant ID, defaults to
env[OS_TENANT_ID]
.
- --os-project-id <auth-project-id>
Another way to specify tenant ID. This option is
mutually exclusive with --os-tenant-id. Defaults to
env[OS_PROJECT_ID]
.
- --os-username <auth-username>
Authentication username, defaults toenv[OS_USERNAME]
.
- --os-user-id <auth-user-id>
Authentication user ID (Env: OS_USER_ID)
- --os-user-domain-id <auth-user-domain-id>
OpenStack user domain ID. Defaults to
env[OS_USER_DOMAIN_ID]
.
- --os-user-domain-name <auth-user-domain-name>
OpenStack user domain name. Defaults to
env[OS_USER_DOMAIN_NAME]
.
- --os-project-domain-id <auth-project-domain-id>
Defaults toenv[OS_PROJECT_DOMAIN_ID]
.
- --os-project-domain-name <auth-project-domain-name>
Defaults toenv[OS_PROJECT_DOMAIN_NAME]
.
- --os-cert <certificate>
Path of certificate file to use in SSL connection.
This file can optionally be prepended with the private
key. Defaults toenv[OS_CERT]
.
- --os-cacert <ca-certificate>
Specify a CA bundle file to use in verifying a TLS
(https) server certificate. Defaults to
env[OS_CACERT]
.
- --os-key <key>
Path of client key to use in SSL connection. This
option is not necessary if your key is prepended to
your certificate file. Defaults toenv[OS_KEY]
.
- --os-password <auth-password>
Authentication password, defaults toenv[OS_PASSWORD]
.
- --os-region-name <auth-region-name>
Authentication region name, defaults to
env[OS_REGION_NAME]
.
- --os-token <token>
Authentication token, defaults toenv[OS_TOKEN]
.
- --http-timeout <seconds>
Timeout in seconds to wait for an HTTP response.
Defaults toenv[OS_NETWORK_TIMEOUT]
or None if not
specified.
- --os-url <url>
Defaults toenv[OS_URL]
.
- --insecure
Explicitly allow neutronclient to perform "insecure"
SSL (https) requests. The server's certificate will
not be verified against any certificate authorities.
This option should be used with caution.
8.3. neutron API v2.0 Commands
- address-scope-create
Create an address scope for a given tenant.
- address-scope-delete
Delete an address scope.
- address-scope-list
List address scopes that belong to a given tenant.
- address-scope-show
Show information about an address scope.
- address-scope-update
Update an address scope.
- agent-delete
Delete a given agent.
- agent-list
List agents.
- agent-show
Show information of a given agent.
- agent-update
Updates the admin status and description for a specified agent.
- auto-allocated-topology-delete
Delete the auto-allocated topology of a given tenant.
- auto-allocated-topology-show
Show the auto-allocated topology of a given tenant.
- availability-zone-list
List availability zones.
- bash-completion
Prints all of the commands and options for bash-completion.
- bgp-dragent-list-hosting-speaker
List Dynamic Routing agents hosting a BGP speaker.
- bgp-dragent-speaker-add
Add a BGP speaker to a Dynamic Routing agent.
- bgp-dragent-speaker-remove
Removes a BGP speaker from a Dynamic Routing agent.
- bgp-peer-create
Create a BGP Peer.
- bgp-peer-delete
Delete a BGP peer.
- bgp-peer-list
List BGP peers.
- bgp-peer-show
Show information of a given BGP peer.
- bgp-peer-update
Update BGP Peer's information.
- bgp-speaker-advertiseroute-list
List routes advertised by a given BGP speaker.
- bgp-speaker-create
Create a BGP Speaker.
- bgp-speaker-delete
Delete a BGP speaker.
- bgp-speaker-list
List BGP speakers.
- bgp-speaker-list-on-dragent
List BGP speakers hosted by a Dynamic Routing agent.
- bgp-speaker-network-add
Add a network to the BGP speaker.
- bgp-speaker-network-remove
Remove a network from the BGP speaker.
- bgp-speaker-peer-add
Add a peer to the BGP speaker.
- bgp-speaker-peer-remove
Remove a peer from the BGP speaker.
- bgp-speaker-show
Show information of a given BGP speaker.
- bgp-speaker-update
Update BGP Speaker's information.
- dhcp-agent-list-hosting-net
List DHCP agents hosting a network.
- dhcp-agent-network-add
Add a network to a DHCP agent.
- dhcp-agent-network-remove
Remove a network from a DHCP agent.
- ext-list
List all extensions.
- ext-show
Show information of a given resource.
- firewall-create
Create a firewall.
- firewall-delete
Delete a given firewall.
- firewall-list
List firewalls that belong to a given tenant.
- firewall-policy-create
Create a firewall policy.
- firewall-policy-delete
Delete a given firewall policy.
- firewall-policy-insert-rule
Insert a rule into a given firewall policy.
- firewall-policy-list
List firewall policies that belong to a given tenant.
- firewall-policy-remove-rule
Remove a rule from a given firewall policy.
- firewall-policy-show
Show information of a given firewall policy.
- firewall-policy-update
Update a given firewall policy.
- firewall-rule-create
Create a firewall rule.
- firewall-rule-delete
Delete a given firewall rule.
- firewall-rule-list
List firewall rules that belong to a given tenant.
- firewall-rule-show
Show information of a given firewall rule.
- firewall-rule-update
Update a given firewall rule.
- firewall-show
Show information of a given firewall.
- firewall-update
Update a given firewall.
- flavor-associate
Associate a Neutron service flavor with a flavor profile.
- flavor-create
Create a Neutron service flavor.
- flavor-delete
Delete a given Neutron service flavor.
- flavor-disassociate
Disassociate a Neutron service flavor from a flavor profile.
- flavor-list
List Neutron service flavors.
- flavor-profile-create
Create a Neutron service flavor profile.
- flavor-profile-delete
Delete a given Neutron service flavor profile.
- flavor-profile-list
List Neutron service flavor profiles.
- flavor-profile-show
Show information about a given Neutron service flavor profile.
- flavor-profile-update
Update a given Neutron service flavor profile.
- flavor-show
Show information about a given Neutron service flavor.
- flavor-update
Update a Neutron service flavor.
- floatingip-associate
Create a mapping between a floating IP and a fixed IP.
- floatingip-create
Create a floating IP for a given tenant.
- floatingip-delete
Delete a given floating IP.
- floatingip-disassociate
Remove a mapping from a floating IP to a fixed IP.
- floatingip-list
List floating IPs that belong to a given tenant.
- floatingip-show
Show information of a given floating IP.
- help
print detailed help for another command
- ipsec-site-connection-create
Create an IPsec site connection.
- ipsec-site-connection-delete
Delete a given IPsec site connection.
- ipsec-site-connection-list
List IPsec site connections that belong to a given tenant.
- ipsec-site-connection-show
Show information of a given IPsec site connection.
- ipsec-site-connection-update
Update a given IPsec site connection.
- l3-agent-list-hosting-router
List L3 agents hosting a router.
- l3-agent-router-add
Add a router to a L3 agent.
- l3-agent-router-remove
Remove a router from a L3 agent.
- lb-agent-hosting-pool
Get loadbalancer agent hosting a pool.
- lb-healthmonitor-associate
Create a mapping between a health monitor and a pool.
- lb-healthmonitor-create
Create a health monitor.
- lb-healthmonitor-delete
Delete a given health monitor.
- lb-healthmonitor-disassociate
Remove a mapping from a health monitor to a pool.
- lb-healthmonitor-list
List health monitors that belong to a given tenant.
- lb-healthmonitor-show
Show information of a given health monitor.
- lb-healthmonitor-update
Update a given health monitor.
- lb-member-create
Create a member.
- lb-member-delete
Delete a given member.
- lb-member-list
List members that belong to a given tenant.
- lb-member-show
Show information of a given member.
- lb-member-update
Update a given member.
- lb-pool-create
Create a pool.
- lb-pool-delete
Delete a given pool.
- lb-pool-list
List pools that belong to a given tenant.
- lb-pool-list-on-agent
List the pools on a loadbalancer agent.
- lb-pool-show
Show information of a given pool.
- lb-pool-stats
Retrieve stats for a given pool.
- lb-pool-update
Update a given pool.
- lb-vip-create
Create a vip.
- lb-vip-delete
Delete a given vip.
- lb-vip-list
List vips that belong to a given tenant.
- lb-vip-show
Show information of a given vip.
- lb-vip-update
Update a given vip.
- lbaas-agent-hosting-loadbalancer
Get lbaas v2 agent hosting a loadbalancer.
- lbaas-healthmonitor-create
LBaaS v2 Create a healthmonitor.
- lbaas-healthmonitor-delete
LBaaS v2 Delete a given healthmonitor.
- lbaas-healthmonitor-list
LBaaS v2 List healthmonitors that belong to a given tenant.
- lbaas-healthmonitor-show
LBaaS v2 Show information of a given healthmonitor.
- lbaas-healthmonitor-update
LBaaS v2 Update a given healthmonitor.
- lbaas-l7policy-create
LBaaS v2 Create L7 policy.
- lbaas-l7policy-delete
LBaaS v2 Delete a given L7 policy.
- lbaas-l7policy-list
LBaaS v2 List L7 policies that belong to a given listener.
- lbaas-l7policy-show
LBaaS v2 Show information of a given L7 policy.
- lbaas-l7policy-update
LBaaS v2 Update a given L7 policy.
- lbaas-l7rule-create
LBaaS v2 Create L7 rule.
- lbaas-l7rule-delete
LBaaS v2 Delete a given L7 rule.
- lbaas-l7rule-list
LBaaS v2 List L7 rules that belong to a given L7 policy.
- lbaas-l7rule-show
LBaaS v2 Show information of a given rule.
- lbaas-l7rule-update
LBaaS v2 Update a given L7 rule.
- lbaas-listener-create
LBaaS v2 Create a listener.
- lbaas-listener-delete
LBaaS v2 Delete a given listener.
- lbaas-listener-list
LBaaS v2 List listeners that belong to a given tenant.
- lbaas-listener-show
LBaaS v2 Show information of a given listener.
- lbaas-listener-update
LBaaS v2 Update a given listener.
- lbaas-loadbalancer-create
LBaaS v2 Create a loadbalancer.
- lbaas-loadbalancer-delete
LBaaS v2 Delete a given loadbalancer.
- lbaas-loadbalancer-list
LBaaS v2 List loadbalancers that belong to a given tenant.
- lbaas-loadbalancer-list-on-agent
List the loadbalancers on a loadbalancer v2 agent.
- lbaas-loadbalancer-show
LBaaS v2 Show information of a given loadbalancer.
- lbaas-loadbalancer-stats
Retrieve stats for a given loadbalancer.
- lbaas-loadbalancer-status
Retrieve status for a given loadbalancer.
- lbaas-loadbalancer-update
LBaaS v2 Update a given loadbalancer.
- lbaas-member-create
LBaaS v2 Create a member.
- lbaas-member-delete
LBaaS v2 Delete a given member.
- lbaas-member-list
LBaaS v2 List members that belong to a given pool.
- lbaas-member-show
LBaaS v2 Show information of a given member.
- lbaas-member-update
LBaaS v2 Update a given member.
- lbaas-pool-create
LBaaS v2 Create a pool.
- lbaas-pool-delete
LBaaS v2 Delete a given pool.
- lbaas-pool-list
LBaaS v2 List pools that belong to a given tenant.
- lbaas-pool-show
LBaaS v2 Show information of a given pool.
- lbaas-pool-update
LBaaS v2 Update a given pool.
- meter-label-create
Create a metering label for a given tenant.
- meter-label-delete
Delete a given metering label.
- meter-label-list
List metering labels that belong to a given tenant.
- meter-label-rule-create
Create a metering label rule for a given label.
- meter-label-rule-delete
Delete a given metering label.
- meter-label-rule-list
List metering labels that belong to a given label.
- meter-label-rule-show
Show information of a given metering label rule.
- meter-label-show
Show information of a given metering label.
- net-create
Create a network for a given tenant.
- net-delete
Delete a given network.
- net-external-list
List external networks that belong to a given tenant.
- net-ip-availability-list
List IP usage of networks
- net-ip-availability-show
Show IP usage of specific network
- net-list
List networks that belong to a given tenant.
- net-list-on-dhcp-agent
List the networks on a DHCP agent.
- net-show
Show information of a given network.
- net-update
Update network's information.
- port-create
Create a port for a given tenant.
- port-delete
Delete a given port.
- port-list
List ports that belong to a given tenant.
- port-show
Show information of a given port.
- port-update
Update port's information.
- purge
Delete all resources that belong to a given tenant.
- qos-available-rule-types
List available qos rule types.
- qos-bandwidth-limit-rule-create
Create a qos bandwidth limit rule.
- qos-bandwidth-limit-rule-delete
Delete a given qos bandwidth limit rule.
- qos-bandwidth-limit-rule-list
List all qos bandwidth limit rules belonging to the specified policy.
- qos-bandwidth-limit-rule-show
Show information about the given qos bandwidth limit rule.
- qos-bandwidth-limit-rule-update
Update the given qos bandwidth limit rule.
- qos-dscp-marking-rule-create
Create a QoS DSCP marking rule.
- qos-dscp-marking-rule-delete
Delete a given qos dscp marking rule.
- qos-dscp-marking-rule-list
List all QoS DSCP marking rules belonging to the specified policy.
- qos-dscp-marking-rule-show
Show information about the given qos dscp marking rule.
- qos-dscp-marking-rule-update
Update the given QoS DSCP marking rule.
- qos-minimum-bandwidth-rule-create
Create a qos minimum bandwidth rule.
- qos-minimum-bandwidth-rule-delete
Delete a given qos minimum bandwidth rule.
- qos-minimum-bandwidth-rule-list
List all qos minimum bandwidth rules belonging to the specified policy.
- qos-minimum-bandwidth-rule-show
Show information about the given qos minimum bandwidth rule.
- qos-minimum-bandwidth-rule-update
Update the given qos minimum bandwidth rule.
- qos-policy-create
Create a qos policy.
- qos-policy-delete
Delete a given qos policy.
- qos-policy-list
List QoS policies that belong to a given tenant connection.
- qos-policy-show
Show information of a given qos policy.
- qos-policy-update
Update a given qos policy.
- quota-default-show
Show default quotas for a given tenant.
- quota-delete
Delete defined quotas of a given tenant.
- quota-list
List quotas of all tenants who have non-default quota values.
- quota-show
Show quotas for a given tenant.
- quota-update
Define tenant's quotas not to use defaults.
- rbac-create
Create a RBAC policy for a given tenant.
- rbac-delete
Delete a RBAC policy.
- rbac-list
List RBAC policies that belong to a given tenant.
- rbac-show
Show information of a given RBAC policy.
- rbac-update
Update RBAC policy for given tenant.
- router-create
Create a router for a given tenant.
- router-delete
Delete a given router.
- router-gateway-clear
Remove an external network gateway from a router.
- router-gateway-set
Set the external network gateway for a router.
- router-interface-add
Add an internal network interface to a router.
- router-interface-delete
Remove an internal network interface from a router.
- router-list
List routers that belong to a given tenant.
- router-list-on-l3-agent
List the routers on a L3 agent.
- router-port-list
List ports that belong to a given tenant, with specified router.
- router-show
Show information of a given router.
- router-update
Update router's information.
- security-group-create
Create a security group.
- security-group-delete
Delete a given security group.
- security-group-list
List security groups that belong to a given tenant.
- security-group-rule-create
Create a security group rule.
- security-group-rule-delete
Delete a given security group rule.
- security-group-rule-list
List security group rules that belong to a given tenant.
- security-group-rule-show
Show information of a given security group rule.
- security-group-show
Show information of a given security group.
- security-group-update
Update a given security group.
- service-provider-list
List service providers.
- subnet-create
Create a subnet for a given tenant.
- subnet-delete
Delete a given subnet.
- subnet-list
List subnets that belong to a given tenant.
- subnet-show
Show information of a given subnet.
- subnet-update
Update subnet's information.
- subnetpool-create
Create a subnetpool for a given tenant.
- subnetpool-delete
Delete a given subnetpool.
- subnetpool-list
List subnetpools that belong to a given tenant.
- subnetpool-show
Show information of a given subnetpool.
- subnetpool-update
Update subnetpool's information.
- tag-add
Add a tag into the resource.
- tag-remove
Remove a tag on the resource.
- tag-replace
Replace all tags on the resource.
- vpn-endpoint-group-create
Create a VPN endpoint group.
- vpn-endpoint-group-delete
Delete a given VPN endpoint group.
- vpn-endpoint-group-list
List VPN endpoint groups that belong to a given tenant.
- vpn-endpoint-group-show
Show a specific VPN endpoint group.
- vpn-endpoint-group-update
Update a given VPN endpoint group.
- vpn-ikepolicy-create
Create an IKE policy.
- vpn-ikepolicy-delete
Delete a given IKE policy.
- vpn-ikepolicy-list
List IKE policies that belong to a tenant.
- vpn-ikepolicy-show
Show information of a given IKE policy.
- vpn-ikepolicy-update
Update a given IKE policy.
- vpn-ipsecpolicy-create
Create an IPsec policy.
- vpn-ipsecpolicy-delete
Delete a given IPsec policy.
- vpn-ipsecpolicy-list
List IPsec policies that belong to a given tenant connection.
- vpn-ipsecpolicy-show
Show information of a given IPsec policy.
- vpn-ipsecpolicy-update
Update a given IPsec policy.
- vpn-service-create
Create a VPN service.
- vpn-service-delete
Delete a given VPN service.
- vpn-service-list
List VPN service configurations that belong to a given tenant.
- vpn-service-show
Show information of a given VPN service.
- vpn-service-update
Update a given VPN service.
8.4. neutron address-scope-create
usage: neutron address-scope-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--shared] NAME IP_VERSION
Positional arguments
- NAME
Specify the name of the address scope.
- IP_VERSION
Specify the address family of the address scope.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --shared
Set the address scope as shared.
8.5. neutron address-scope-delete
usage: neutron address-scope-delete [-h] [--request-format {json}] ADDRESS_SCOPE [ADDRESS_SCOPE ...]
Positional arguments
- ADDRESS_SCOPE
ID(s) or name(s) of address_scope to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.6. neutron address-scope-list
usage: neutron address-scope-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.7. neutron address-scope-show
usage: neutron address-scope-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] ADDRESS_SCOPE
Positional arguments
- ADDRESS_SCOPE
ID or name of address_scope to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.8. neutron address-scope-update
usage: neutron address-scope-update [-h] [--request-format {json}] [--name NAME] [--shared {True,False}] ADDRESS_SCOPE
Positional arguments
- ADDRESS_SCOPE
ID or name of address_scope to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Updated name of the address scope.
- --shared {True,False}
Set sharing of address scope. (True means shared)
8.9. neutron agent-delete
usage: neutron agent-delete [-h] [--request-format {json}] AGENT [AGENT ...]
Positional arguments
- AGENT
ID(s) of agent to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.10. neutron agent-list
usage: neutron agent-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.11. neutron agent-show
usage: neutron agent-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] AGENT
Positional arguments
- AGENT
ID of agent to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.12. neutron agent-update
usage: neutron agent-update [-h] [--request-format {json}] [--admin-state-down] [--description DESCRIPTION] AGENT
Positional arguments
- AGENT
ID of agent to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --admin-state-down
Set admin state up of the agent to false.
- --description DESCRIPTION
Description for the agent.
8.13. neutron auto-allocated-topology-delete
usage: neutron auto-allocated-topology-delete [-h] [--request-format {json}] [--tenant-id tenant-id]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id
tenant-id
The owner tenant ID.
8.14. neutron auto-allocated-topology-show
usage: neutron auto-allocated-topology-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--dry-run] [--tenant-id tenant-id]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --dry-run
Validate the requirements for auto-allocated-topology.
(Does not return a topology.)
- --tenant-id
tenant-id
The owner tenant ID.
8.15. neutron availability-zone-list
usage: neutron availability-zone-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.16. neutron bgp-dragent-list-hosting-speaker
usage: neutron bgp-dragent-list-hosting-speaker [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] BGP_SPEAKER
Positional arguments
- BGP_SPEAKER
ID or name of the BGP speaker.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.17. neutron bgp-dragent-speaker-add
usage: neutron bgp-dragent-speaker-add [-h] [--request-format {json}] BGP_DRAGENT_ID BGP_SPEAKER
Positional arguments
- BGP_DRAGENT_ID
ID of the Dynamic Routing agent.
- BGP_SPEAKER
ID or name of the BGP speaker.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.18. neutron bgp-dragent-speaker-remove
usage: neutron bgp-dragent-speaker-remove [-h] [--request-format {json}] BGP_DRAGENT_ID BGP_SPEAKER
Positional arguments
- BGP_DRAGENT_ID
ID of the Dynamic Routing agent.
- BGP_SPEAKER
ID or name of the BGP speaker.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.19. neutron bgp-peer-create
usage: neutron bgp-peer-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] --peer-ip PEER_IP_ADDRESS --remote-as PEER_REMOTE_AS [--auth-type PEER_AUTH_TYPE] [--password AUTH_PASSWORD] NAME
Positional arguments
- NAME
Name of the BGP peer to create.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --peer-ip PEER_IP_ADDRESS
Peer IP address.
- --remote-as PEER_REMOTE_AS
Peer AS number. (Integer in [1, 65535] is allowed.)
- --auth-type PEER_AUTH_TYPE
Authentication algorithm. Supported algorithms:
none(default), md5
- --password AUTH_PASSWORD
Authentication password.
8.20. neutron bgp-peer-delete
usage: neutron bgp-peer-delete [-h] [--request-format {json}] BGP_PEER [BGP_PEER ...]
Positional arguments
- BGP_PEER
ID(s) or name(s) of bgp_peer to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.21. neutron bgp-peer-list
usage: neutron bgp-peer-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.22. neutron bgp-peer-show
usage: neutron bgp-peer-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] BGP_PEER
Positional arguments
- BGP_PEER
ID or name of bgp_peer to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.23. neutron bgp-peer-update
usage: neutron bgp-peer-update [-h] [--request-format {json}] [--name NAME] [--password AUTH_PASSWORD] BGP_PEER
Positional arguments
- BGP_PEER
ID or name of bgp_peer to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Updated name of the BGP peer.
- --password AUTH_PASSWORD
Updated authentication password.
8.24. neutron bgp-speaker-advertiseroute-list
usage: neutron bgp-speaker-advertiseroute-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] BGP_SPEAKER
Positional arguments
- BGP_SPEAKER
ID or name of the BGP speaker.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.25. neutron bgp-speaker-create
usage: neutron bgp-speaker-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] --local-as LOCAL_AS [--ip-version {4,6}] [--advertise-floating-ip-host-routes {True,False}] [--advertise-tenant-networks {True,False}] NAME
Positional arguments
- NAME
Name of the BGP speaker to create.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --local-as LOCAL_AS
Local AS number. (Integer in [1, 65535] is allowed.)
- --ip-version {4,6} IP
version for the BGP speaker (default is 4).
- --advertise-floating-ip-host-routes {True,False}
Whether to enable or disable the advertisement of
floating-ip host routes by the BGP speaker. By default
floating ip host routes will be advertised by the BGP
speaker.
- --advertise-tenant-networks {True,False}
Whether to enable or disable the advertisement of
tenant network routes by the BGP speaker. By default
tenant network routes will be advertised by the BGP
speaker.
8.26. neutron bgp-speaker-delete
usage: neutron bgp-speaker-delete [-h] [--request-format {json}] BGP_SPEAKER [BGP_SPEAKER ...]
Positional arguments
- BGP_SPEAKER
ID(s) or name(s) of bgp_speaker to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.27. neutron bgp-speaker-list
usage: neutron bgp-speaker-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.28. neutron bgp-speaker-list-on-dragent
usage: neutron bgp-speaker-list-on-dragent [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] BGP_DRAGENT_ID
Positional arguments
- BGP_DRAGENT_ID
ID of the Dynamic Routing agent.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.29. neutron bgp-speaker-network-add
usage: neutron bgp-speaker-network-add [-h] [--request-format {json}] BGP_SPEAKER NETWORK
Positional arguments
- BGP_SPEAKER
ID or name of the BGP speaker.
- NETWORK
ID or name of the network to add.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.30. neutron bgp-speaker-network-remove
usage: neutron bgp-speaker-network-remove [-h] [--request-format {json}] BGP_SPEAKER NETWORK
Positional arguments
- BGP_SPEAKER
ID or name of the BGP speaker.
- NETWORK
ID or name of the network to remove.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.31. neutron bgp-speaker-peer-add
usage: neutron bgp-speaker-peer-add [-h] [--request-format {json}] BGP_SPEAKER BGP_PEER
Positional arguments
- BGP_SPEAKER
ID or name of the BGP speaker.
- BGP_PEER
ID or name of the BGP peer to add.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.32. neutron bgp-speaker-peer-remove
usage: neutron bgp-speaker-peer-remove [-h] [--request-format {json}] BGP_SPEAKER BGP_PEER
Positional arguments
- BGP_SPEAKER
ID or name of the BGP speaker.
- BGP_PEER
ID or name of the BGP peer to remove.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.33. neutron bgp-speaker-show
usage: neutron bgp-speaker-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] BGP_SPEAKER
Positional arguments
- BGP_SPEAKER
ID or name of bgp_speaker to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.34. neutron bgp-speaker-update
usage: neutron bgp-speaker-update [-h] [--request-format {json}] [--name NAME] [--advertise-floating-ip-host-routes {True,False}] [--advertise-tenant-networks {True,False}] BGP_SPEAKER
Positional arguments
- BGP_SPEAKER
ID or name of bgp_speaker to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Name of the BGP speaker to update.
- --advertise-floating-ip-host-routes {True,False}
Whether to enable or disable the advertisement of
floating-ip host routes by the BGP speaker. By default
floating ip host routes will be advertised by the BGP
speaker.
- --advertise-tenant-networks {True,False}
Whether to enable or disable the advertisement of
tenant network routes by the BGP speaker. By default
tenant network routes will be advertised by the BGP
speaker.
8.35. neutron dhcp-agent-list-hosting-net
usage: neutron dhcp-agent-list-hosting-net [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] NETWORK
Positional arguments
- NETWORK
Network to query.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.36. neutron dhcp-agent-network-add
usage: neutron dhcp-agent-network-add [-h] [--request-format {json}] DHCP_AGENT NETWORK
Positional arguments
- DHCP_AGENT
ID of the DHCP agent.
- NETWORK
Network to add.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.37. neutron dhcp-agent-network-remove
usage: neutron dhcp-agent-network-remove [-h] [--request-format {json}] DHCP_AGENT NETWORK
Positional arguments
- DHCP_AGENT
ID of the DHCP agent.
- NETWORK
Network to remove.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.38. neutron ext-list
usage: neutron ext-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.39. neutron ext-show
usage: neutron ext-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] EXTENSION
Positional arguments
- EXTENSION
ID of extension to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.40. neutron firewall-create
usage: neutron firewall-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--name NAME] [--description DESCRIPTION] [--router ROUTER | --no-routers] [--admin-state-down] POLICY
Positional arguments
- POLICY
ID or name of the firewall policy associated to this
firewall.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --name NAME
Name for the firewall.
- --description DESCRIPTION
Description for the firewall.
- --router ROUTER ID
or name of the router associated with the firewall
(requires FWaaS router insertion extension to be
enabled). This option can be repeated.
- --no-routers
Associate no routers with the firewall (requires FWaaS
router insertion extension).
- --admin-state-down
Set admin state up to false.
8.41. neutron firewall-delete
usage: neutron firewall-delete [-h] [--request-format {json}] FIREWALL [FIREWALL ...]
Positional arguments
- FIREWALL
ID(s) or name(s) of firewall to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.42. neutron firewall-list
usage: neutron firewall-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.43. neutron firewall-policy-create
usage: neutron firewall-policy-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--shared] [--audited] [--description DESCRIPTION] [--firewall-rules FIREWALL_RULES] NAME
Positional arguments
- NAME
Name for the firewall policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --shared
Create a shared policy.
- --audited
Sets audited to True.
- --description DESCRIPTION
Description for the firewall policy.
- --firewall-rules FIREWALL_RULES
Ordered list of whitespace-delimited firewall rule
names or IDs; e.g., --firewall-rules "rule1 rule2"
8.44. neutron firewall-policy-delete
usage: neutron firewall-policy-delete [-h] [--request-format {json}] FIREWALL_POLICY [FIREWALL_POLICY ...]
Positional arguments
- FIREWALL_POLICY
ID(s) or name(s) of firewall_policy to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.45. neutron firewall-policy-insert-rule
usage: neutron firewall-policy-insert-rule [-h] [--request-format {json}] [--insert-before FIREWALL_RULE] [--insert-after FIREWALL_RULE] FIREWALL_POLICY FIREWALL_RULE
Positional arguments
- FIREWALL_POLICY
ID or name of firewall_policy to update.
- FIREWALL_RULE
New rule to insert.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --insert-before FIREWALL_RULE
Insert before this rule.
- --insert-after FIREWALL_RULE
Insert after this rule.
8.46. neutron firewall-policy-list
usage: neutron firewall-policy-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.47. neutron firewall-policy-remove-rule
usage: neutron firewall-policy-remove-rule [-h] [--request-format {json}] FIREWALL_POLICY FIREWALL_RULE
Positional arguments
- FIREWALL_POLICY
ID or name of firewall_policy to update.
- FIREWALL_RULE
ID or name of the firewall rule to be removed from the
policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.48. neutron firewall-policy-show
usage: neutron firewall-policy-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] FIREWALL_POLICY
Positional arguments
- FIREWALL_POLICY
ID or name of firewall_policy to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.49. neutron firewall-policy-update
usage: neutron firewall-policy-update [-h] [--request-format {json}] [--description DESCRIPTION] [--firewall-rules FIREWALL_RULES] [--name NAME] [--shared {True,False}] [--audited {True,False}] FIREWALL_POLICY
Positional arguments
- FIREWALL_POLICY
ID or name of firewall_policy to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --description DESCRIPTION
Description for the firewall policy.
- --firewall-rules FIREWALL_RULES
Ordered list of whitespace-delimited firewall rule
names or IDs; e.g., --firewall-rules "rule1 rule2"
- --name NAME
Name for the firewall policy.
- --shared {True,False}
Update the sharing status of the policy. (True means
shared).
- --audited {True,False}
Update the audit status of the policy. (True means
auditing is enabled).
8.50. neutron firewall-rule-create
usage: neutron firewall-rule-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--shared] [--name NAME] [--description DESCRIPTION] [--source-ip-address SOURCE_IP_ADDRESS] [--destination-ip-address DESTINATION_IP_ADDRESS] [--source-port SOURCE_PORT] [--destination-port DESTINATION_PORT] [--enabled {True,False}] --protocol {tcp,udp,icmp,any} --action {allow,deny,reject} [--ip-version {4,6}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --shared
Set shared flag for the firewall rule.
- --name NAME
Name for the firewall rule.
- --description DESCRIPTION
Description for the firewall rule.
- --source-ip-address SOURCE_IP_ADDRESS
Source IP address or subnet.
- --destination-ip-address DESTINATION_IP_ADDRESS
Destination IP address or subnet.
- --source-port SOURCE_PORT
Source port (integer in [1, 65535] or range in a:b).
- --destination-port DESTINATION_PORT
Destination port (integer in [1, 65535] or range in
a:b).
- --enabled {True,False}
Whether to enable or disable this rule.
- --protocol {tcp,udp,icmp,any}
Protocol for the firewall rule.
- --action {allow,deny,reject}
Action for the firewall rule.
- --ip-version {4,6} IP
version for the firewall rule (default is 4).
8.51. neutron firewall-rule-delete
usage: neutron firewall-rule-delete [-h] [--request-format {json}] FIREWALL_RULE [FIREWALL_RULE ...]
Positional arguments
- FIREWALL_RULE
ID(s) or name(s) of firewall_rule to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.52. neutron firewall-rule-list
usage: neutron firewall-rule-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.53. neutron firewall-rule-show
usage: neutron firewall-rule-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] FIREWALL_RULE
Positional arguments
- FIREWALL_RULE
ID or name of firewall_rule to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.54. neutron firewall-rule-update
usage: neutron firewall-rule-update [-h] [--request-format {json}] [--shared {True,False}] [--ip-version {4,6}] [--name NAME] [--description DESCRIPTION] [--source-ip-address SOURCE_IP_ADDRESS] [--destination-ip-address DESTINATION_IP_ADDRESS] [--source-port SOURCE_PORT] [--destination-port DESTINATION_PORT] [--enabled {True,False}] [--protocol {tcp,udp,icmp,any}] [--action {allow,deny,reject}] FIREWALL_RULE
Positional arguments
- FIREWALL_RULE
ID or name of firewall_rule to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --shared {True,False}
Update the shared flag for the firewall rule.
- --ip-version {4,6}
Update IP version for the firewall rule.
- --name NAME
Name for the firewall rule.
- --description DESCRIPTION
Description for the firewall rule.
- --source-ip-address SOURCE_IP_ADDRESS
Source IP address or subnet.
- --destination-ip-address DESTINATION_IP_ADDRESS
Destination IP address or subnet.
- --source-port SOURCE_PORT
Source port (integer in [1, 65535] or range in a:b).
- --destination-port DESTINATION_PORT
Destination port (integer in [1, 65535] or range in
a:b).
- --enabled {True,False}
Whether to enable or disable this rule.
- --protocol {tcp,udp,icmp,any}
Protocol for the firewall rule.
- --action {allow,deny,reject}
Action for the firewall rule.
8.55. neutron firewall-show
usage: neutron firewall-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] FIREWALL
Positional arguments
- FIREWALL
ID or name of firewall to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.56. neutron firewall-update
usage: neutron firewall-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--router ROUTER | --no-routers] [--policy POLICY] [--admin-state-up {True,False}] FIREWALL
Positional arguments
- FIREWALL
ID or name of firewall to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Name for the firewall.
- --description DESCRIPTION
Description for the firewall.
- --router ROUTER ID
or name of the router associated with the firewall
(requires FWaaS router insertion extension to be
enabled). This option can be repeated.
- --no-routers
Associate no routers with the firewall (requires FWaaS
router insertion extension).
- --policy POLICY ID
or name of the firewall policy associated to this
firewall.
- --admin-state-up {True,False}
Update the admin state for the firewall (True means
UP).
8.57. neutron flavor-associate
usage: neutron flavor-associate [-h] [--request-format {json}] FLAVOR FLAVOR_PROFILE
Positional arguments
- FLAVOR
ID or name of the flavor to associate.
- FLAVOR_PROFILE
ID of the flavor profile to be associated with the
flavor.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.58. neutron flavor-create
usage: neutron flavor-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--enabled {True,False}] NAME SERVICE_TYPE
Positional arguments
- NAME
Name for the flavor.
- SERVICE_TYPE
Service type to which the flavor applies to: e.g. VPN.
(See service-provider-list for loaded examples.)
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description for the flavor.
- --enabled {True,False}
Sets enabled flag.
8.59. neutron flavor-delete
usage: neutron flavor-delete [-h] [--request-format {json}] FLAVOR [FLAVOR ...]
Positional arguments
- FLAVOR
ID(s) or name(s) of flavor to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.60. neutron flavor-disassociate
usage: neutron flavor-disassociate [-h] [--request-format {json}] FLAVOR FLAVOR_PROFILE
Positional arguments
- FLAVOR
ID or name of the flavor to be disassociated.
- FLAVOR_PROFILE
ID of the flavor profile to be disassociated from the
flavor.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.61. neutron flavor-list
usage: neutron flavor-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.62. neutron flavor-profile-create
usage: neutron flavor-profile-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--driver DRIVER] [--metainfo METAINFO] [--enabled {True,False}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description for the flavor profile.
- --driver DRIVER
Python module path to driver.
- --metainfo METAINFO
Metainfo for the flavor profile.
- --enabled {True,False}
Sets enabled flag.
8.63. neutron flavor-profile-delete
usage: neutron flavor-profile-delete [-h] [--request-format {json}] SERVICE_PROFILE [SERVICE_PROFILE ...]
Positional arguments
- SERVICE_PROFILE
ID(s) or name(s) of service_profile to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.64. neutron flavor-profile-list
usage: neutron flavor-profile-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.65. neutron flavor-profile-show
usage: neutron flavor-profile-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] SERVICE_PROFILE
Positional arguments
- SERVICE_PROFILE
ID or name of service_profile to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.66. neutron flavor-profile-update
usage: neutron flavor-profile-update [-h] [--request-format {json}] [--description DESCRIPTION] [--driver DRIVER] [--metainfo METAINFO] [--enabled {True,False}] SERVICE_PROFILE
Positional arguments
- SERVICE_PROFILE
ID or name of service_profile to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --description DESCRIPTION
Description for the flavor profile.
- --driver DRIVER
Python module path to driver.
- --metainfo METAINFO
Metainfo for the flavor profile.
- --enabled {True,False}
Sets enabled flag.
8.67. neutron flavor-show
usage: neutron flavor-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] FLAVOR
Positional arguments
- FLAVOR
ID or name of flavor to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.68. neutron flavor-update
usage: neutron flavor-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--enabled {True,False}] FLAVOR
Positional arguments
- FLAVOR
ID or name of flavor to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Name for the flavor.
- --description DESCRIPTION
Description for the flavor.
- --enabled {True,False}
Sets enabled flag.
8.69. neutron floatingip-associate
usage: neutron floatingip-associate [-h] [--request-format {json}] [--fixed-ip-address FIXED_IP_ADDRESS] FLOATINGIP_ID PORT
Positional arguments
- FLOATINGIP_ID
ID of the floating IP to associate.
- PORT
ID or name of the port to be associated with the
floating IP.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --fixed-ip-address FIXED_IP_ADDRESS
IP address on the port (only required if port has
multiple IPs).
8.70. neutron floatingip-create
usage: neutron floatingip-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--port-id PORT_ID] [--fixed-ip-address FIXED_IP_ADDRESS] [--floating-ip-address FLOATING_IP_ADDRESS] [--subnet SUBNET_ID] [--dns-domain DNS_DOMAIN] [--dns-name DNS_NAME] FLOATING_NETWORK
Positional arguments
- FLOATING_NETWORK
ID or name of the network from which the floating IP
is allocated.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of the floating IP.
- --port-id PORT_ID ID
of the port to be associated with the floating IP.
- --fixed-ip-address FIXED_IP_ADDRESS
IP address on the port (only required if port has
multiple IPs).
- --floating-ip-address FLOATING_IP_ADDRESS
IP address of the floating IP
- --subnet SUBNET_ID
Subnet ID on which you want to create the floating IP.
- --dns-domain DNS_DOMAIN
Assign DNS domain to the floatingip (requires DNS
integration extension)
- --dns-name DNS_NAME
Assign DNS name to the floatingip (requires DNS
integration extension)
8.71. neutron floatingip-delete
usage: neutron floatingip-delete [-h] [--request-format {json}] FLOATINGIP [FLOATINGIP ...]
Positional arguments
- FLOATINGIP
ID(s) of floatingip to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.72. neutron floatingip-disassociate
usage: neutron floatingip-disassociate [-h] [--request-format {json}] FLOATINGIP_ID
Positional arguments
- FLOATINGIP_ID
ID of the floating IP to disassociate.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.73. neutron floatingip-list
usage: neutron floatingip-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.74. neutron floatingip-show
usage: neutron floatingip-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] FLOATINGIP
Positional arguments
- FLOATINGIP
ID of floatingip to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.75. neutron ipsec-site-connection-create
usage: neutron ipsec-site-connection-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--admin-state-down] --vpnservice-id VPNSERVICE --ikepolicy-id IKEPOLICY --ipsecpolicy-id IPSECPOLICY [--name NAME] [--description DESCRIPTION] [--dpd action=ACTION,interval=INTERVAL,timeout=TIMEOUT] [--local-ep-group LOCAL_EP_GROUP] [--peer-ep-group PEER_EP_GROUP] [--peer-cidr PEER_CIDRS] --peer-id PEER_ID --peer-address PEER_ADDRESS --psk PSK [--mtu MTU] [--initiator {bi-directional,response-only}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --admin-state-down
Set admin state up to false.
- --vpnservice-id VPNSERVICE
VPN service instance ID associated with this
connection.
- --ikepolicy-id IKEPOLICY
IKE policy ID associated with this connection.
- --ipsecpolicy-id IPSECPOLICY
IPsec policy ID associated with this connection.
- --name NAME
Set friendly name for the connection.
- --description DESCRIPTION
Set a description for the connection.
- --dpd
action=ACTION,interval=INTERVAL,timeout=TIMEOUT
Ipsec connection. Dead Peer Detection attributes.
'action'-hold,clear,disabled,restart,restart-by-peer.
'interval' and 'timeout' are non negative integers.
'interval' should be less than 'timeout' value.
'action', default:hold 'interval', default:30,
'timeout', default:120.
- --local-ep-group LOCAL_EP_GROUP
Local endpoint group ID/name with subnet(s) for IPSec
connection.
- --peer-ep-group PEER_EP_GROUP
Peer endpoint group ID/name with CIDR(s) for IPSec
connection.
- --peer-cidr PEER_CIDRS
[DEPRECATED in Mitaka] Remote subnet(s) in CIDR
format. Cannot be specified when using endpoint
groups. Only applicable, if subnet provided for VPN
service.
- --peer-id PEER_ID
Peer router identity for authentication. Can be
IPv4/IPv6 address, e-mail address, key id, or FQDN.
- --peer-address PEER_ADDRESS
Peer gateway public IPv4/IPv6 address or FQDN.
- --psk PSK
Pre-shared key string.
- --mtu MTU MTU
size for the connection, default:1500.
- --initiator {bi-directional,response-only}
Initiator state in lowercase, default:bi-directional
8.76. neutron ipsec-site-connection-delete
usage: neutron ipsec-site-connection-delete [-h] [--request-format {json}] IPSEC_SITE_CONNECTION [IPSEC_SITE_CONNECTION ...]
Positional arguments
- IPSEC_SITE_CONNECTION
ID(s) or name(s) of IPsec site connection to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.77. neutron ipsec-site-connection-list
usage: neutron ipsec-site-connection-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.78. neutron ipsec-site-connection-show
usage: neutron ipsec-site-connection-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] IPSEC_SITE_CONNECTION
Positional arguments
- IPSEC_SITE_CONNECTION
ID or name of IPsec site connection to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.79. neutron ipsec-site-connection-update
usage: neutron ipsec-site-connection-update [-h] [--request-format {json}] [--admin-state-up {True,False}] [--name NAME] [--description DESCRIPTION] [--dpd action=ACTION,interval=INTERVAL,timeout=TIMEOUT] [--local-ep-group LOCAL_EP_GROUP] [--peer-ep-group PEER_EP_GROUP] [--peer-cidr PEER_CIDRS] [--peer-id PEER_ID] [--peer-address PEER_ADDRESS] [--psk PSK] [--mtu MTU] [--initiator {bi-directional,response-only}] IPSEC_SITE_CONNECTION
Positional arguments
- IPSEC_SITE_CONNECTION
ID or name of IPsec site connection to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --admin-state-up {True,False}
Update the administrative state. (True meaning "Up")
- --name NAME
Set friendly name for the connection.
- --description DESCRIPTION
Set a description for the connection.
- --dpd
action=ACTION,interval=INTERVAL,timeout=TIMEOUT
Ipsec connection. Dead Peer Detection attributes.
'action'-hold,clear,disabled,restart,restart-by-peer.
'interval' and 'timeout' are non negative integers.
'interval' should be less than 'timeout' value.
'action', default:hold 'interval', default:30,
'timeout', default:120.
- --local-ep-group LOCAL_EP_GROUP
Local endpoint group ID/name with subnet(s) for IPSec
connection.
- --peer-ep-group PEER_EP_GROUP
Peer endpoint group ID/name with CIDR(s) for IPSec
connection.
- --peer-cidr PEER_CIDRS
[DEPRECATED in Mitaka] Remote subnet(s) in CIDR
format. Cannot be specified when using endpoint
groups. Only applicable, if subnet provided for VPN
service.
- --peer-id PEER_ID
Peer router identity for authentication. Can be
IPv4/IPv6 address, e-mail address, key id, or FQDN.
- --peer-address PEER_ADDRESS
Peer gateway public IPv4/IPv6 address or FQDN.
- --psk PSK
Pre-shared key string.
- --mtu MTU MTU
size for the connection, default:1500.
- --initiator {bi-directional,response-only}
Initiator state in lowercase, default:bi-directional
8.80. neutron l3-agent-list-hosting-router
usage: neutron l3-agent-list-hosting-router [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] ROUTER
Positional arguments
- ROUTER
Router to query.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.81. neutron l3-agent-router-add
usage: neutron l3-agent-router-add [-h] [--request-format {json}] L3_AGENT ROUTER
Positional arguments
- L3_AGENT
ID of the L3 agent.
- ROUTER
Router to add.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.82. neutron l3-agent-router-remove
usage: neutron l3-agent-router-remove [-h] [--request-format {json}] L3_AGENT ROUTER
Positional arguments
- L3_AGENT
ID of the L3 agent.
- ROUTER
Router to remove.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.83. neutron lb-agent-hosting-pool
usage: neutron lb-agent-hosting-pool [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] POOL
Positional arguments
- POOL
Pool to query.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.84. neutron lb-healthmonitor-associate
usage: neutron lb-healthmonitor-associate [-h] [--request-format {json}] HEALTH_MONITOR_ID POOL
Positional arguments
- HEALTH_MONITOR_ID
Health monitor to associate.
- POOL
ID of the pool to be associated with the health
monitor.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.85. neutron lb-healthmonitor-create
usage: neutron lb-healthmonitor-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--admin-state-down] [--expected-codes EXPECTED_CODES] [--http-method HTTP_METHOD] [--url-path URL_PATH] --delay DELAY --max-retries MAX_RETRIES --timeout TIMEOUT --type {PING,TCP,HTTP,HTTPS}
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --admin-state-down
Set admin state up to false.
- --expected-codes EXPECTED_CODES
The list of HTTP status codes expected in response
from the member to declare it healthy. This attribute
can contain one value, or a list of values separated
by comma, or a range of values (e.g. "200-299"). If
this attribute is not specified, it defaults to "200".
- --http-method HTTP_METHOD
The HTTP method used for requests by the monitor of
type HTTP.
- --url-path URL_PATH
The HTTP path used in the HTTP request used by the
monitor to test a member health. This must be a string
beginning with a / (forward slash).
- --delay DELAY
The time in milliseconds between sending probes to
members.
- --max-retries MAX_RETRIES
Number of permissible connection failures before
changing the member status to INACTIVE. [1..10]
- --timeout TIMEOUT
Maximum number of milliseconds for a monitor to wait
for a connection to be established before it times
out. The value must be less than the delay value.
- --type {PING,TCP,HTTP,HTTPS}
One of the predefined health monitor types.
8.86. neutron lb-healthmonitor-delete
usage: neutron lb-healthmonitor-delete [-h] [--request-format {json}] HEALTH_MONITOR [HEALTH_MONITOR ...]
Positional arguments
- HEALTH_MONITOR
ID(s) of health_monitor to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.87. neutron lb-healthmonitor-disassociate
usage: neutron lb-healthmonitor-disassociate [-h] [--request-format {json}] HEALTH_MONITOR_ID POOL
Positional arguments
- HEALTH_MONITOR_ID
Health monitor to associate.
- POOL
ID of the pool to be associated with the health
monitor.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.88. neutron lb-healthmonitor-list
usage: neutron lb-healthmonitor-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.89. neutron lb-healthmonitor-show
usage: neutron lb-healthmonitor-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] HEALTH_MONITOR
Positional arguments
- HEALTH_MONITOR
ID of health_monitor to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.90. neutron lb-healthmonitor-update
usage: neutron lb-healthmonitor-update [-h] [--request-format {json}] HEALTH_MONITOR
Positional arguments
- HEALTH_MONITOR
ID of health_monitor to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.91. neutron lb-member-create
usage: neutron lb-member-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--admin-state-down] [--weight WEIGHT] --address ADDRESS --protocol-port PROTOCOL_PORT POOL
Positional arguments
- POOL
ID or name of the pool this vip belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --admin-state-down
Set admin state up to false.
- --weight WEIGHT
Weight of pool member in the pool (default:1,
[0..256]).
- --address ADDRESS IP
address of the pool member on the pool network.
- --protocol-port PROTOCOL_PORT
Port on which the pool member listens for requests or
connections.
8.92. neutron lb-member-delete
usage: neutron lb-member-delete [-h] [--request-format {json}] MEMBER [MEMBER ...]
Positional arguments
- MEMBER
ID(s) or name(s) of member to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.93. neutron lb-member-list
usage: neutron lb-member-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.94. neutron lb-member-show
usage: neutron lb-member-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] MEMBER
Positional arguments
- MEMBER
ID of member to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.95. neutron lb-member-update
usage: neutron lb-member-update [-h] [--request-format {json}] MEMBER
Positional arguments
- MEMBER
ID or name of member to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.96. neutron lb-pool-create
usage: neutron lb-pool-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--admin-state-down] [--description DESCRIPTION] --lb-method {ROUND_ROBIN,LEAST_CONNECTIONS,SOURCE_IP} --name NAME --protocol {HTTP,HTTPS,TCP} --subnet-id SUBNET [--provider PROVIDER]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --admin-state-down
Set admin state up to false.
- --description DESCRIPTION
Description of the pool.
- --lb-method {ROUND_ROBIN,LEAST_CONNECTIONS,SOURCE_IP}
The algorithm used to distribute load between the
members of the pool.
- --name NAME
The name of the pool.
- --protocol {HTTP,HTTPS,TCP}
Protocol for balancing.
- --subnet-id SUBNET
The subnet on which the members of the pool will be
located.
- --provider PROVIDER
Provider name of the loadbalancer service.
8.97. neutron lb-pool-delete
usage: neutron lb-pool-delete [-h] [--request-format {json}] POOL [POOL ...]
Positional arguments
- POOL
ID(s) or name(s) of pool to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.98. neutron lb-pool-list
usage: neutron lb-pool-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.99. neutron lb-pool-list-on-agent
usage: neutron lb-pool-list-on-agent [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] LBAAS_AGENT
Positional arguments
- LBAAS_AGENT
ID of the loadbalancer agent to query.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.100. neutron lb-pool-show
usage: neutron lb-pool-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] POOL
Positional arguments
- POOL
ID or name of pool to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.101. neutron lb-pool-stats
usage: neutron lb-pool-stats [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] POOL
Positional arguments
- POOL
ID or name of pool to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.102. neutron lb-pool-update
usage: neutron lb-pool-update [-h] [--request-format {json}] POOL
Positional arguments
- POOL
ID or name of pool to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.103. neutron lb-vip-create
usage: neutron lb-vip-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--address ADDRESS] [--admin-state-down] [--connection-limit CONNECTION_LIMIT] [--description DESCRIPTION] --name NAME --protocol-port PROTOCOL_PORT --protocol {TCP,HTTP,HTTPS} --subnet-id SUBNET POOL
Positional arguments
- POOL
ID or name of the pool to which this vip belongs.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --address ADDRESS IP
address of the vip.
- --admin-state-down
Set admin state up to false.
- --connection-limit CONNECTION_LIMIT
The maximum number of connections per second allowed
for the vip. Valid values: a positive integer or -1
for unlimited (default).
- --description DESCRIPTION
Description of the vip to be created.
- --name NAME
Name of the vip to be created.
- --protocol-port PROTOCOL_PORT
TCP port on which to listen for client traffic that is
associated with the vip address.
- --protocol {TCP,HTTP,HTTPS}
Protocol for balancing.
- --subnet-id SUBNET
The subnet on which to allocate the vip address.
8.104. neutron lb-vip-delete
usage: neutron lb-vip-delete [-h] [--request-format {json}] VIP [VIP ...]
Positional arguments
- VIP
ID(s) or name(s) of vip to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.105. neutron lb-vip-list
usage: neutron lb-vip-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.106. neutron lb-vip-show
usage: neutron lb-vip-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] VIP
Positional arguments
- VIP
ID or name of vip to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.107. neutron lb-vip-update
usage: neutron lb-vip-update [-h] [--request-format {json}] VIP
Positional arguments
- VIP
ID or name of vip to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.108. neutron lbaas-agent-hosting-loadbalancer
usage: neutron lbaas-agent-hosting-loadbalancer [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] LOADBALANCER
Positional arguments
- LOADBALANCER
LoadBalancer to query.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.109. neutron lbaas-healthmonitor-create
usage: neutron lbaas-healthmonitor-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] --delay DELAY [--name NAME] --timeout TIMEOUT [--http-method HTTP_METHOD] [--url-path URL_PATH] --max-retries MAX_RETRIES [--expected-codes EXPECTED_CODES] [--admin-state-down] --type {PING,TCP,HTTP,HTTPS} --pool POOL
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --delay DELAY
The time in seconds between sending probes to members.
- --name NAME
Name of the health monitor.
- --timeout TIMEOUT
Maximum number of seconds for a monitor to wait for a
connection to be established before it times out. The
value must be less than the delay value.
- --http-method HTTP_METHOD
The HTTP method used for requests by the monitor of
type HTTP.
- --url-path URL_PATH
The HTTP path used in the HTTP request used by the
monitor to test a member health. This must be a string
beginning with a / (forward slash).
- --max-retries MAX_RETRIES
Number of permissible connection failures before
changing the member status to INACTIVE. [1..10].
- --expected-codes EXPECTED_CODES
The list of HTTP status codes expected in response
from the member to declare it healthy. This attribute
can contain one value, or a list of values separated
by comma, or a range of values (e.g. "200-299"). If
this attribute is not specified, it defaults to "200".
- --admin-state-down
Set admin state up to false.
- --type {PING,TCP,HTTP,HTTPS}
One of the predefined health monitor types.
- --pool POOL ID
or name of the pool that this healthmonitor will
monitor.
8.110. neutron lbaas-healthmonitor-delete
usage: neutron lbaas-healthmonitor-delete [-h] [--request-format {json}] HEALTHMONITOR [HEALTHMONITOR ...]
Positional arguments
- HEALTHMONITOR
ID(s) or name(s) of healthmonitor to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.111. neutron lbaas-healthmonitor-list
usage: neutron lbaas-healthmonitor-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.112. neutron lbaas-healthmonitor-show
usage: neutron lbaas-healthmonitor-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] HEALTHMONITOR
Positional arguments
- HEALTHMONITOR
ID or name of healthmonitor to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.113. neutron lbaas-healthmonitor-update
usage: neutron lbaas-healthmonitor-update [-h] [--request-format {json}] [--delay DELAY] [--name NAME] [--timeout TIMEOUT] [--http-method HTTP_METHOD] [--url-path URL_PATH] [--max-retries MAX_RETRIES] [--expected-codes EXPECTED_CODES] [--admin-state-up {True,False}] HEALTHMONITOR
Positional arguments
- HEALTHMONITOR
ID or name of healthmonitor to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --delay DELAY
The time in seconds between sending probes to members.
- --name NAME
Name of the health monitor.
- --timeout TIMEOUT
Maximum number of seconds for a monitor to wait for a
connection to be established before it times out. The
value must be less than the delay value.
- --http-method HTTP_METHOD
The HTTP method used for requests by the monitor of
type HTTP.
- --url-path URL_PATH
The HTTP path used in the HTTP request used by the
monitor to test a member health. This must be a string
beginning with a / (forward slash).
- --max-retries MAX_RETRIES
Number of permissible connection failures before
changing the member status to INACTIVE. [1..10].
- --expected-codes EXPECTED_CODES
The list of HTTP status codes expected in response
from the member to declare it healthy. This attribute
can contain one value, or a list of values separated
by comma, or a range of values (e.g. "200-299"). If
this attribute is not specified, it defaults to "200".
- --admin-state-up {True,False}
Update the administrative state of the health monitor
(True meaning "Up").
8.114. neutron lbaas-l7policy-create
usage: neutron lbaas-l7policy-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--name NAME] [--description DESCRIPTION] --action ACTION [--redirect-pool REDIRECT_POOL] [--redirect-url REDIRECT_URL] [--position POSITION] [--admin-state-down] --listener LISTENER
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --name NAME
Name of the policy.
- --description DESCRIPTION
Description of the policy.
- --action ACTION
Action type of the policy.
- --redirect-pool REDIRECT_POOL
ID or name of the pool for REDIRECT_TO_POOL action
type.
- --redirect-url REDIRECT_URL
URL for REDIRECT_TO_URL action type. This should be a
valid URL string.
- --position POSITION
L7 policy position in ordered policies list. This must
be an integer starting from 1. Not specifying the
position will place the policy at the tail of existing
policies list.
- --admin-state-down
Set admin state up to false.
- --listener LISTENER ID
or name of the listener this policy belongs to.
8.115. neutron lbaas-l7policy-delete
usage: neutron lbaas-l7policy-delete [-h] [--request-format {json}] L7POLICY [L7POLICY ...]
Positional arguments
- L7POLICY
ID(s) or name(s) of l7policy to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.116. neutron lbaas-l7policy-list
usage: neutron lbaas-l7policy-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.117. neutron lbaas-l7policy-show
usage: neutron lbaas-l7policy-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] L7POLICY
Positional arguments
- L7POLICY
ID or name of l7policy to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.118. neutron lbaas-l7policy-update
usage: neutron lbaas-l7policy-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--action ACTION] [--redirect-pool REDIRECT_POOL] [--redirect-url REDIRECT_URL] [--position POSITION] [--admin-state-up {True,False}] L7POLICY
Positional arguments
- L7POLICY
ID or name of l7policy to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Name of the policy.
- --description DESCRIPTION
Description of the policy.
- --action ACTION
Action type of the policy.
- --redirect-pool REDIRECT_POOL
ID or name of the pool for REDIRECT_TO_POOL action
type.
- --redirect-url REDIRECT_URL
URL for REDIRECT_TO_URL action type. This should be a
valid URL string.
- --position POSITION
L7 policy position in ordered policies list. This must
be an integer starting from 1. Not specifying the
position will place the policy at the tail of existing
policies list.
- --admin-state-up {True,False}
Specify the administrative state of the policy (True
meaning "Up").
8.119. neutron lbaas-l7rule-create
usage: neutron lbaas-l7rule-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] --type {HOST_NAME,PATH,FILE_TYPE,HEADER,COOKIE} --compare-type {REGEX,STARTS_WITH,ENDS_WITH,CONTAINS,EQUAL_TO} [--invert-compare] [--key KEY] --value VALUE [--admin-state-down] L7POLICY
Positional arguments
- L7POLICY
ID or name of L7 policy this rule belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --type {HOST_NAME,PATH,FILE_TYPE,HEADER,COOKIE}
Rule type.
- --compare-type {REGEX,STARTS_WITH,ENDS_WITH,CONTAINS,EQUAL_TO}
Rule compare type.
- --invert-compare
Invert the compare type.
- --key KEY
Key to compare. Relevant for HEADER and COOKIE types
only.
- --value VALUE
Value to compare.
- --admin-state-down
Set admin state up to false
8.120. neutron lbaas-l7rule-delete
usage: neutron lbaas-l7rule-delete [-h] [--request-format {json}] RULE [RULE ...] L7POLICY
Positional arguments
- RULE
ID(s) or name(s) of rule to delete.
- L7POLICY
ID or name of L7 policy this rule belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.121. neutron lbaas-l7rule-list
usage: neutron lbaas-l7rule-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] L7POLICY
Positional arguments
- L7POLICY
ID or name of L7 policy this rule belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.122. neutron lbaas-l7rule-show
usage: neutron lbaas-l7rule-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] RULE L7POLICY
Positional arguments
- RULE
ID or name of rule to look up.
- L7POLICY
ID or name of L7 policy this rule belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.123. neutron lbaas-l7rule-update
usage: neutron lbaas-l7rule-update [-h] [--request-format {json}] [--type {HOST_NAME,PATH,FILE_TYPE,HEADER,COOKIE}] [--compare-type {REGEX,STARTS_WITH,ENDS_WITH,CONTAINS,EQUAL_TO}] [--invert-compare] [--key KEY] [--value VALUE] [--admin-state-up {True,False}] RULE L7POLICY
Positional arguments
- RULE
ID or name of rule to update.
- L7POLICY
ID or name of L7 policy this rule belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --type {HOST_NAME,PATH,FILE_TYPE,HEADER,COOKIE}
Rule type.
- --compare-type {REGEX,STARTS_WITH,ENDS_WITH,CONTAINS,EQUAL_TO}
Rule compare type.
- --invert-compare
Invert the compare type.
- --key KEY
Key to compare. Relevant for HEADER and COOKIE types
only.
- --value VALUE
Value to compare.
- --admin-state-up {True,False}
Specify the administrative state of the rule (True
meaning "Up").
8.124. neutron lbaas-listener-create
usage: neutron lbaas-listener-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--connection-limit CONNECTION_LIMIT] [--default-pool DEFAULT_POOL] [--admin-state-down] [--name NAME] [--default-tls-container-ref DEFAULT_TLS_CONTAINER_REF] [--sni-container-refs SNI_CONTAINER_REFS [SNI_CONTAINER_REFS ...]] [--loadbalancer LOADBALANCER] --protocol {TCP,HTTP,HTTPS,TERMINATED_HTTPS} --protocol-port PORT
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of the listener.
- --connection-limit CONNECTION_LIMIT
The maximum number of connections per second allowed
for the vip. Positive integer or -1 for unlimited
(default).
- --default-pool DEFAULT_POOL
Default pool for the listener.
- --admin-state-down
Set admin state up to false.
- --name NAME
The name of the listener. At least one of --default-
pool or --loadbalancer must be specified.
- --default-tls-container-ref DEFAULT_TLS_CONTAINER_REF
Default TLS container reference to retrieve TLS
information.
- --sni-container-refs SNI_CONTAINER_REFS [SNI_CONTAINER_REFS ...]
List of TLS container references for SNI.
- --loadbalancer LOADBALANCER
ID or name of the load balancer.
- --protocol {TCP,HTTP,HTTPS,TERMINATED_HTTPS}
Protocol for the listener.
- --protocol-port PORT
Protocol port for the listener.
8.125. neutron lbaas-listener-delete
usage: neutron lbaas-listener-delete [-h] [--request-format {json}] LISTENER [LISTENER ...]
Positional arguments
- LISTENER
ID(s) or name(s) of listener to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.126. neutron lbaas-listener-list
usage: neutron lbaas-listener-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.127. neutron lbaas-listener-show
usage: neutron lbaas-listener-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] LISTENER
Positional arguments
- LISTENER
ID or name of listener to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.128. neutron lbaas-listener-update
usage: neutron lbaas-listener-update [-h] [--request-format {json}] [--description DESCRIPTION] [--connection-limit CONNECTION_LIMIT] [--default-pool DEFAULT_POOL] [--name NAME] [--admin-state-up {True,False}] LISTENER
Positional arguments
- LISTENER
ID or name of listener to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --description DESCRIPTION
Description of the listener.
- --connection-limit CONNECTION_LIMIT
The maximum number of connections per second allowed
for the vip. Positive integer or -1 for unlimited
(default).
- --default-pool DEFAULT_POOL
Default pool for the listener.
- --name NAME
Name of the listener.
- --admin-state-up {True,False}
Specify the administrative state of the listener.
(True meaning "Up")
8.129. neutron lbaas-loadbalancer-create
usage: neutron lbaas-loadbalancer-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--name NAME] [--admin-state-down] [--provider PROVIDER] [--flavor FLAVOR] [--vip-address VIP_ADDRESS] VIP_SUBNET
Positional arguments
- VIP_SUBNET
Load balancer VIP subnet.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of the load balancer.
- --name NAME
Name of the load balancer.
- --admin-state-down
Set admin state up to false.
- --provider PROVIDER
Provider name of the load balancer service.
- --flavor FLAVOR ID
or name of the flavor.
- --vip-address VIP_ADDRESS
VIP address for the load balancer.
8.130. neutron lbaas-loadbalancer-delete
usage: neutron lbaas-loadbalancer-delete [-h] [--request-format {json}] LOADBALANCER [LOADBALANCER ...]
Positional arguments
- LOADBALANCER
ID(s) or name(s) of loadbalancer to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.131. neutron lbaas-loadbalancer-list
usage: neutron lbaas-loadbalancer-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.132. neutron lbaas-loadbalancer-list-on-agent
usage: neutron lbaas-loadbalancer-list-on-agent [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] LBAAS_AGENT
Positional arguments
- LBAAS_AGENT
ID of the loadbalancer agent to query.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.133. neutron lbaas-loadbalancer-show
usage: neutron lbaas-loadbalancer-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] LOADBALANCER
Positional arguments
- LOADBALANCER
ID or name of loadbalancer to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.134. neutron lbaas-loadbalancer-stats
usage: neutron lbaas-loadbalancer-stats [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] LOADBALANCER
Positional arguments
- LOADBALANCER
ID or name of loadbalancer to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.135. neutron lbaas-loadbalancer-status
usage: neutron lbaas-loadbalancer-status [-h] [--request-format {json}] LOADBALANCER
Positional arguments
- LOADBALANCER
ID or name of loadbalancer to show.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.136. neutron lbaas-loadbalancer-update
usage: neutron lbaas-loadbalancer-update [-h] [--request-format {json}] [--admin-state-up {True,False}] [--description DESCRIPTION] [--name NAME] LOADBALANCER
Positional arguments
- LOADBALANCER
ID or name of loadbalancer to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --admin-state-up {True,False}
Update the administrative state of the load balancer
(True meaning "Up").
- --description DESCRIPTION
Description of the load balancer.
- --name NAME
Name of the load balancer.
8.137. neutron lbaas-member-create
usage: neutron lbaas-member-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--name NAME] [--weight WEIGHT] [--admin-state-down] --subnet SUBNET --address ADDRESS --protocol-port PROTOCOL_PORT POOL
Positional arguments
- POOL
ID or name of the pool that this member belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --name NAME
Name of the member.
- --weight WEIGHT
Weight of the member in the pool (default:1,
[0..256]).
- --admin-state-down
Set admin state up to false.
- --subnet SUBNET
Subnet ID or name for the member.
- --address ADDRESS IP
address of the pool member in the pool.
- --protocol-port PROTOCOL_PORT
Port on which the pool member listens for requests or
connections.
8.138. neutron lbaas-member-delete
usage: neutron lbaas-member-delete [-h] [--request-format {json}] MEMBER [MEMBER ...] POOL
Positional arguments
- MEMBER
ID(s) or name(s) of member to delete.
- POOL
ID or name of the pool that this member belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.139. neutron lbaas-member-list
usage: neutron lbaas-member-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] POOL
Positional arguments
- POOL
ID or name of the pool that this member belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.140. neutron lbaas-member-show
usage: neutron lbaas-member-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] MEMBER POOL
Positional arguments
- MEMBER
ID or name of member to look up.
- POOL
ID or name of the pool that this member belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.141. neutron lbaas-member-update
usage: neutron lbaas-member-update [-h] [--request-format {json}] [--admin-state-up {True,False}] [--name NAME] [--weight WEIGHT] MEMBER POOL
Positional arguments
- MEMBER
ID or name of member to update.
- POOL
ID or name of the pool that this member belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --admin-state-up {True,False}
Update the administrative state of the member (True
meaning "Up").
- --name NAME
Name of the member.
- --weight WEIGHT
Weight of the member in the pool (default:1,
[0..256]).
8.142. neutron lbaas-pool-create
usage: neutron lbaas-pool-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--name NAME] --lb-algorithm {ROUND_ROBIN,LEAST_CONNECTIONS,SOURCE_IP} [--admin-state-down] [--listener LISTENER] [--loadbalancer LOADBALANCER] --protocol {HTTP,HTTPS,TCP} [--session-persistence type=TYPE[,cookie_name=COOKIE_NAME]]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of the pool.
- --name NAME
The name of the pool.
- --lb-algorithm {ROUND_ROBIN,LEAST_CONNECTIONS,SOURCE_IP}
The algorithm used to distribute load between the
members of the pool.
- --admin-state-down
Set admin state up to false.
- --listener LISTENER
Listener whose default-pool should be set to this
pool. At least one of --listener or --loadbalancer
must be specified.
- --loadbalancer LOADBALANCER
Loadbalancer with which this pool should be
associated. At least one of --listener or
--loadbalancer must be specified.
- --protocol {HTTP,HTTPS,TCP}
Protocol for balancing.
- --session-persistence
type=TYPE[,cookie_name=COOKIE_NAME]
The type of session persistence to use and associated
cookie name.
8.143. neutron lbaas-pool-delete
usage: neutron lbaas-pool-delete [-h] [--request-format {json}] POOL [POOL ...]
Positional arguments
- POOL
ID(s) or name(s) of pool to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.144. neutron lbaas-pool-list
usage: neutron lbaas-pool-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.145. neutron lbaas-pool-show
usage: neutron lbaas-pool-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] POOL
Positional arguments
- POOL
ID or name of pool to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.146. neutron lbaas-pool-update
usage: neutron lbaas-pool-update [-h] [--request-format {json}] [--admin-state-up {True,False}] [--session-persistence type=TYPE[,cookie_name=COOKIE_NAME]] [--description DESCRIPTION] [--name NAME] --lb-algorithm {ROUND_ROBIN,LEAST_CONNECTIONS,SOURCE_IP} POOL
Positional arguments
- POOL
ID or name of pool to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --admin-state-up {True,False}
Update the administrative state of the pool (True
meaning "Up").
- --session-persistence
type=TYPE[,cookie_name=COOKIE_NAME]
The type of session persistence to use and associated
cookie name.
- --description DESCRIPTION
Description of the pool.
- --name NAME
The name of the pool.
- --lb-algorithm {ROUND_ROBIN,LEAST_CONNECTIONS,SOURCE_IP}
The algorithm used to distribute load between the
members of the pool.
8.147. neutron meter-label-create
usage: neutron meter-label-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--shared] NAME
Positional arguments
- NAME
Name of the metering label to be created.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of the metering label to be created.
- --shared
Set the label as shared.
8.148. neutron meter-label-delete
usage: neutron meter-label-delete [-h] [--request-format {json}] METERING_LABEL [METERING_LABEL ...]
Positional arguments
- METERING_LABEL
ID(s) or name(s) of metering_label to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.149. neutron meter-label-list
usage: neutron meter-label-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.150. neutron meter-label-rule-create
usage: neutron meter-label-rule-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--direction {ingress,egress}] [--excluded] LABEL REMOTE_IP_PREFIX
Positional arguments
- LABEL
ID or name of the label.
- REMOTE_IP_PREFIX
CIDR to match on.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --direction {ingress,egress}
Direction of traffic, default: ingress.
- --excluded
Exclude this CIDR from the label, default: not
excluded.
8.151. neutron meter-label-rule-delete
usage: neutron meter-label-rule-delete [-h] [--request-format {json}] METERING_LABEL_RULE [METERING_LABEL_RULE ...]
Positional arguments
- METERING_LABEL_RULE
ID(s) or name(s) of metering_label_rule to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.152. neutron meter-label-rule-list
usage: neutron meter-label-rule-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.153. neutron meter-label-rule-show
usage: neutron meter-label-rule-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] METERING_LABEL_RULE
Positional arguments
- METERING_LABEL_RULE
ID or name of metering_label_rule to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.154. neutron meter-label-show
usage: neutron meter-label-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] METERING_LABEL
Positional arguments
- METERING_LABEL
ID or name of metering_label to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.155. neutron net-create
usage: neutron net-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--admin-state-down] [--shared] [--provider:network_type <network_type>] [--provider:physical_network <physical_network_name>] [--provider:segmentation_id <segmentation_id>] [--vlan-transparent {True,False}] [--description DESCRIPTION] [--qos-policy QOS_POLICY] [--availability-zone-hint AVAILABILITY_ZONE] [--dns-domain DNS_DOMAIN] NAME
Positional arguments
- NAME
Name of the network to be created.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --admin-state-down
Set admin state up to false.
- --shared
Set the network as shared.
- --provider:network_type <network_type>
The physical mechanism by which the virtual network is
implemented.
- --provider:physical_network <physical_network_name>
Name of the physical network over which the virtual
network is implemented.
- --provider:segmentation_id <segmentation_id>
VLAN ID for VLAN networks or tunnel-id for GRE/VXLAN
networks.
- --vlan-transparent {True,False}
Create a VLAN transparent network.
- --description DESCRIPTION
Description of network.
- --qos-policy QOS_POLICY
ID or name of the QoS policy that shouldbe attached to
the resource.
- --availability-zone-hint AVAILABILITY_ZONE
Availability Zone for the network (requires
availability zone extension, this option can be
repeated).
- --dns-domain DNS_DOMAIN
Assign DNS domain to the network (requires DNS
integration extension)
8.156. neutron net-delete
usage: neutron net-delete [-h] [--request-format {json}] NETWORK [NETWORK ...]
Positional arguments
- NETWORK
ID(s) or name(s) of network to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.157. neutron net-external-list
usage: neutron net-external-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] [--tenant-id TENANT_ID] [--name NAME] [--admin-state-up {True,False}] [--status STATUS] [--shared {True,False}] [--router:external {True,False}] [--tags TAG] [--tags-any TAG] [--not-tags TAG] [--not-tags-any TAG]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.158. neutron net-ip-availability-list
usage: neutron net-ip-availability-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [--sort-key FIELD] [--sort-dir {asc,desc}] [--ip-version {4,6}] [--network-id NETWORK_ID] [--network-name NETWORK_NAME] [--tenant-id TENANT_ID]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.159. neutron net-ip-availability-show
usage: neutron net-ip-availability-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] NETWORK
Positional arguments
- NETWORK
ID or name of network to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.160. neutron net-list
usage: neutron net-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] [--tenant-id TENANT_ID] [--name NAME] [--admin-state-up {True,False}] [--status STATUS] [--shared {True,False}] [--router:external {True,False}] [--tags TAG] [--tags-any TAG] [--not-tags TAG] [--not-tags-any TAG]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.161. neutron net-list-on-dhcp-agent
usage: neutron net-list-on-dhcp-agent [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] [--tenant-id TENANT_ID] [--name NAME] [--admin-state-up {True,False}] [--status STATUS] [--shared {True,False}] [--router:external {True,False}] [--tags TAG] [--tags-any TAG] [--not-tags TAG] [--not-tags-any TAG] DHCP_AGENT
Positional arguments
- DHCP_AGENT
ID of the DHCP agent.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.162. neutron net-show
usage: neutron net-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] NETWORK
Positional arguments
- NETWORK
ID or name of network to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.163. neutron net-update
usage: neutron net-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--qos-policy QOS_POLICY | --no-qos-policy] [--dns-domain DNS_DOMAIN | --no-dns-domain] NETWORK
Positional arguments
- NETWORK
ID or name of network to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Name of the network.
- --description DESCRIPTION
Description of this network.
- --qos-policy QOS_POLICY
ID or name of the QoS policy that shouldbe attached to
the resource.
- --no-qos-policy
Detach QoS policy from the resource.
- --dns-domain DNS_DOMAIN
Assign DNS domain to the network (requires DNS
integration extension.)
- --no-dns-domain
Unassign DNS domain from the network (requires DNS
integration extension.)
8.164. neutron port-create
usage: neutron port-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--name NAME] [--description DESCRIPTION] [--fixed-ip subnet_id=SUBNET,ip_address=IP_ADDR] [--device-id DEVICE_ID] [--device-owner DEVICE_OWNER] [--admin-state-down] [--mac-address MAC_ADDRESS] [--vnic-type <direct | direct-physical | macvtap | normal | baremetal>] [--binding-profile BINDING_PROFILE] [--security-group SECURITY_GROUP | --no-security-groups] [--extra-dhcp-opt EXTRA_DHCP_OPTS] [--qos-policy QOS_POLICY] [--allowed-address-pair ip_address=IP_ADDR[,mac_address=MAC_ADDR] | --no-allowed-address-pairs] [--dns-name DNS_NAME] NETWORK
Positional arguments
- NETWORK
ID or name of the network this port belongs to.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --name NAME
Name of this port.
- --description DESCRIPTION
Description of this port.
- --fixed-ip
subnet_id=SUBNET,ip_address=IP_ADDR
Desired IP and/or subnet for this port:
subnet_id=<name_or_id>,ip_address=<ip>. You can repeat
this option.
- --device-id DEVICE_ID
Device ID of this port.
- --device-owner DEVICE_OWNER
Device owner of this port.
- --admin-state-down
Set admin state up to false.
- --mac-address MAC_ADDRESS
MAC address of this port.
- --vnic-type <direct | direct-physical | macvtap | normal | baremetal>
VNIC type for this port.
- --binding-profile BINDING_PROFILE
Custom data to be passed as binding:profile.
- --security-group SECURITY_GROUP
Security group associated with the port. You can
repeat this option.
- --no-security-groups
Associate no security groups with the port.
- --extra-dhcp-opt EXTRA_DHCP_OPTS
Extra dhcp options to be assigned to this port: opt_na
me=<dhcp_option_name>,opt_value=<value>,ip_version={4,
6}. You can repeat this option.
- --qos-policy QOS_POLICY
ID or name of the QoS policy that shouldbe attached to
the resource.
- --allowed-address-pair
ip_address=IP_ADDR[,mac_address=MAC_ADDR]
Allowed address pair associated with the port. You can
repeat this option.
- --no-allowed-address-pairs
Associate no allowed address pairs with the port.
- --dns-name DNS_NAME
Assign DNS name to the port (requires DNS integration
extension)
8.165. neutron port-delete
usage: neutron port-delete [-h] [--request-format {json}] PORT [PORT ...]
Positional arguments
- PORT
ID(s) or name(s) of port to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.166. neutron port-list
usage: neutron port-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.167. neutron port-show
usage: neutron port-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] PORT
Positional arguments
- PORT
ID or name of port to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.168. neutron port-update
usage: neutron port-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--fixed-ip subnet_id=SUBNET,ip_address=IP_ADDR] [--device-id DEVICE_ID] [--device-owner DEVICE_OWNER] [--admin-state-up {True,False}] [--security-group SECURITY_GROUP | --no-security-groups] [--extra-dhcp-opt EXTRA_DHCP_OPTS] [--qos-policy QOS_POLICY | --no-qos-policy] [--allowed-address-pair ip_address=IP_ADDR[,mac_address=MAC_ADDR] | --no-allowed-address-pairs] [--dns-name DNS_NAME | --no-dns-name] PORT
Positional arguments
- PORT
ID or name of port to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Name of this port.
- --description DESCRIPTION
Description of this port.
- --fixed-ip
subnet_id=SUBNET,ip_address=IP_ADDR
Desired IP and/or subnet for this port:
subnet_id=<name_or_id>,ip_address=<ip>. You can repeat
this option.
- --device-id DEVICE_ID
Device ID of this port.
- --device-owner DEVICE_OWNER
Device owner of this port.
- --admin-state-up {True,False}
Set admin state up for the port.
- --security-group SECURITY_GROUP
Security group associated with the port. You can
repeat this option.
- --no-security-groups
Associate no security groups with the port.
- --extra-dhcp-opt EXTRA_DHCP_OPTS
Extra dhcp options to be assigned to this port: opt_na
me=<dhcp_option_name>,opt_value=<value>,ip_version={4,
6}. You can repeat this option.
- --qos-policy QOS_POLICY
ID or name of the QoS policy that shouldbe attached to
the resource.
- --no-qos-policy
Detach QoS policy from the resource.
- --allowed-address-pair
ip_address=IP_ADDR[,mac_address=MAC_ADDR]
Allowed address pair associated with the port. You can
repeat this option.
- --no-allowed-address-pairs
Associate no allowed address pairs with the port.
- --dns-name DNS_NAME
Assign DNS name to the port (requires DNS integration
extension.)
- --no-dns-name
Unassign DNS name from the port (requires DNS
integration extension.)
8.169. neutron purge
usage: neutron purge [-h] [--request-format {json}] TENANT
Positional arguments
- TENANT
ID of Tenant owning the resources to be deleted.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.170. neutron qos-available-rule-types
usage: neutron qos-available-rule-types [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.171. neutron qos-bandwidth-limit-rule-create
usage: neutron qos-bandwidth-limit-rule-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--max-kbps MAX_KBPS] [--max-burst-kbps MAX_BURST_KBPS] QOS_POLICY
Positional arguments
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --max-kbps MAX_KBPS
Maximum bandwidth in kbps.
- --max-burst-kbps MAX_BURST_KBPS
Maximum burst bandwidth in kbps.
8.172. neutron qos-bandwidth-limit-rule-delete
usage: neutron qos-bandwidth-limit-rule-delete [-h] [--request-format {json}] BANDWIDTH_LIMIT_RULE [BANDWIDTH_LIMIT_RULE ...] QOS_POLICY
Positional arguments
- BANDWIDTH_LIMIT_RULE
ID(s) of bandwidth_limit_rule to delete.
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.173. neutron qos-bandwidth-limit-rule-list
usage: neutron qos-bandwidth-limit-rule-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] QOS_POLICY
Positional arguments
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.174. neutron qos-bandwidth-limit-rule-show
usage: neutron qos-bandwidth-limit-rule-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] BANDWIDTH_LIMIT_RULE QOS_POLICY
Positional arguments
- BANDWIDTH_LIMIT_RULE
ID of bandwidth_limit_rule to look up.
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.175. neutron qos-bandwidth-limit-rule-update
usage: neutron qos-bandwidth-limit-rule-update [-h] [--request-format {json}] [--max-kbps MAX_KBPS] [--max-burst-kbps MAX_BURST_KBPS] BANDWIDTH_LIMIT_RULE QOS_POLICY
Positional arguments
- BANDWIDTH_LIMIT_RULE
ID of bandwidth_limit_rule to update.
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --max-kbps MAX_KBPS
Maximum bandwidth in kbps.
- --max-burst-kbps MAX_BURST_KBPS
Maximum burst bandwidth in kbps.
8.176. neutron qos-dscp-marking-rule-create
usage: neutron qos-dscp-marking-rule-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] --dscp-mark DSCP_MARK QOS_POLICY
Positional arguments
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --dscp-mark DSCP_MARK
DSCP mark: value can be 0, even numbers from 8-56,
excluding 42, 44, 50, 52, and 54.
8.177. neutron qos-dscp-marking-rule-delete
usage: neutron qos-dscp-marking-rule-delete [-h] [--request-format {json}] DSCP_MARKING_RULE [DSCP_MARKING_RULE ...] QOS_POLICY
Positional arguments
- DSCP_MARKING_RULE
ID(s) of dscp_marking_rule to delete.
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.178. neutron qos-dscp-marking-rule-list
usage: neutron qos-dscp-marking-rule-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] QOS_POLICY
Positional arguments
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.179. neutron qos-dscp-marking-rule-show
usage: neutron qos-dscp-marking-rule-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] DSCP_MARKING_RULE QOS_POLICY
Positional arguments
- DSCP_MARKING_RULE
ID of dscp_marking_rule to look up.
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.180. neutron qos-dscp-marking-rule-update
usage: neutron qos-dscp-marking-rule-update [-h] [--request-format {json}] --dscp-mark DSCP_MARK DSCP_MARKING_RULE QOS_POLICY
Positional arguments
- DSCP_MARKING_RULE
ID of dscp_marking_rule to update.
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --dscp-mark DSCP_MARK
DSCP mark: value can be 0, even numbers from 8-56,
excluding 42, 44, 50, 52, and 54.
8.181. neutron qos-minimum-bandwidth-rule-create
usage: neutron qos-minimum-bandwidth-rule-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] --min-kbps MIN_KBPS --direction {egress} QOS_POLICY
Positional arguments
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --min-kbps MIN_KBPS
QoS minimum bandwidth assurance, expressed in kilobits
per second.
- --direction {egress}
Traffic direction.
8.182. neutron qos-minimum-bandwidth-rule-delete
usage: neutron qos-minimum-bandwidth-rule-delete [-h] [--request-format {json}] MINIMUM_BANDWIDTH_RULE [MINIMUM_BANDWIDTH_RULE ...] QOS_POLICY
Positional arguments
- MINIMUM_BANDWIDTH_RULE
ID(s) of minimum_bandwidth_rule to delete.
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.183. neutron qos-minimum-bandwidth-rule-list
usage: neutron qos-minimum-bandwidth-rule-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] QOS_POLICY
Positional arguments
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.184. neutron qos-minimum-bandwidth-rule-show
usage: neutron qos-minimum-bandwidth-rule-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] MINIMUM_BANDWIDTH_RULE QOS_POLICY
Positional arguments
- MINIMUM_BANDWIDTH_RULE
ID of minimum_bandwidth_rule to look up.
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.185. neutron qos-minimum-bandwidth-rule-update
usage: neutron qos-minimum-bandwidth-rule-update [-h] [--request-format {json}] --min-kbps MIN_KBPS --direction {egress} MINIMUM_BANDWIDTH_RULE QOS_POLICY
Positional arguments
- MINIMUM_BANDWIDTH_RULE
ID of minimum_bandwidth_rule to update.
- QOS_POLICY
ID or name of the QoS policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --min-kbps MIN_KBPS
QoS minimum bandwidth assurance, expressed in kilobits
per second.
- --direction {egress}
Traffic direction.
8.186. neutron qos-policy-create
usage: neutron qos-policy-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--shared] NAME
Positional arguments
- NAME
Name of the QoS policy to be created.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of the QoS policy to be created.
- --shared
Accessible by other tenants. Set shared to True
(default is False).
8.187. neutron qos-policy-delete
usage: neutron qos-policy-delete [-h] [--request-format {json}] POLICY [POLICY ...]
Positional arguments
- POLICY
ID(s) or name(s) of policy to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.188. neutron qos-policy-list
usage: neutron qos-policy-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.189. neutron qos-policy-show
usage: neutron qos-policy-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] POLICY
Positional arguments
- POLICY
ID or name of policy to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.190. neutron qos-policy-update
usage: neutron qos-policy-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--shared | --no-shared] POLICY
Positional arguments
- POLICY
ID or name of policy to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Name of the QoS policy.
- --description DESCRIPTION
Description of the QoS policy.
- --shared
Accessible by other tenants. Set shared to True
(default is False).
- --no-shared
Not accessible by other tenants. Set shared to False.
8.191. neutron quota-default-show
usage: neutron quota-default-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id tenant-id]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id
tenant-id
The owner tenant ID.
8.192. neutron quota-delete
usage: neutron quota-delete [-h] [--request-format {json}] [--tenant-id tenant-id]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id
tenant-id
The owner tenant ID.
8.193. neutron quota-list
usage: neutron quota-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.194. neutron quota-show
usage: neutron quota-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id tenant-id]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id
tenant-id
The owner tenant ID.
8.195. neutron quota-update
usage: neutron quota-update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id tenant-id] [--network networks] [--subnet subnets] [--port ports] [--router routers] [--floatingip floatingips] [--security-group security_groups] [--security-group-rule security_group_rules] [--vip vips] [--pool pools] [--member members] [--health-monitor health_monitors] [--loadbalancer loadbalancers] [--listener listeners]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id
tenant-id
The owner tenant ID.
- --network
networks The limit of networks.
- --subnet
subnets The limit of subnets.
- --port
ports The limit of ports.
- --router
routers The limit of routers.
- --floatingip
floatingips
The limit of floating IPs.
- --security-group
security_groups
The limit of security groups.
- --security-group-rule
security_group_rules
The limit of security groups rules.
- --vip
vips The limit of vips.
- --pool
pools The limit of pools.
- --member
members The limit of pool members.
- --health-monitor
health_monitors
The limit of health monitors.
- --loadbalancer
loadbalancers
The limit of load balancers.
- --listener
listeners The limit of listeners.
8.196. neutron rbac-create
usage: neutron rbac-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] --type {qos-policy,network} [--target-tenant TARGET_TENANT] --action {access_as_external,access_as_shared} RBAC_OBJECT
Positional arguments
- RBAC_OBJECT
ID or name of the RBAC object.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --type {qos-policy,network}
Type of the object that RBAC policy affects.
- --target-tenant TARGET_TENANT
ID of the tenant to which the RBAC policy will be
enforced.
- --action {access_as_external,access_as_shared}
Action for the RBAC policy.
8.197. neutron rbac-delete
usage: neutron rbac-delete [-h] [--request-format {json}] RBAC_POLICY [RBAC_POLICY ...]
Positional arguments
- RBAC_POLICY
ID(s) of rbac_policy to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.198. neutron rbac-list
usage: neutron rbac-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.199. neutron rbac-show
usage: neutron rbac-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] RBAC_POLICY
Positional arguments
- RBAC_POLICY
ID of rbac_policy to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.200. neutron rbac-update
usage: neutron rbac-update [-h] [--request-format {json}] [--target-tenant TARGET_TENANT] RBAC_POLICY
Positional arguments
- RBAC_POLICY
ID of rbac_policy to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --target-tenant TARGET_TENANT
ID of the tenant to which the RBAC policy will be
enforced.
8.201. neutron router-create
usage: neutron router-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--admin-state-down] [--description DESCRIPTION] [--flavor FLAVOR] [--distributed {True,False}] [--ha {True,False}] [--availability-zone-hint AVAILABILITY_ZONE] NAME
Positional arguments
- NAME
Name of the router to be created.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --admin-state-down
Set admin state up to false.
- --description DESCRIPTION
Description of router.
- --flavor FLAVOR ID
or name of flavor.
- --distributed {True,False}
Create a distributed router.
- --ha {True,False}
Create a highly available router.
- --availability-zone-hint AVAILABILITY_ZONE
Availability Zone for the router (requires
availability zone extension, this option can be
repeated).
8.202. neutron router-delete
usage: neutron router-delete [-h] [--request-format {json}] ROUTER [ROUTER ...]
Positional arguments
- ROUTER
ID(s) or name(s) of router to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.203. neutron router-gateway-clear
usage: neutron router-gateway-clear [-h] [--request-format {json}] ROUTER
Positional arguments
- ROUTER
ID or name of the router.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.204. neutron router-gateway-set
usage: neutron router-gateway-set [-h] [--request-format {json}] [--disable-snat] [--fixed-ip subnet_id=SUBNET,ip_address=IP_ADDR] ROUTER EXTERNAL-NETWORK
Positional arguments
- ROUTER
ID or name of the router.
- EXTERNAL-NETWORK
ID or name of the external network for the gateway.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --disable-snat
Disable source NAT on the router gateway.
- --fixed-ip
subnet_id=SUBNET,ip_address=IP_ADDR
Desired IP and/or subnet on external network:
subnet_id=<name_or_id>,ip_address=<ip>. You can
specify both of subnet_id and ip_address or specify
one of them as well. You can repeat this option.
8.205. neutron router-interface-add
usage: neutron router-interface-add [-h] [--request-format {json}] ROUTER INTERFACE
Positional arguments
- ROUTER
ID or name of the router.
- INTERFACE
The format is "SUBNET|subnet=SUBNET|port=PORT". Either
a subnet or port must be specified. Both ID and name
are accepted as SUBNET or PORT. Note that "subnet="
can be omitted when specifying a subnet.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.206. neutron router-interface-delete
usage: neutron router-interface-delete [-h] [--request-format {json}] ROUTER INTERFACE
Positional arguments
- ROUTER
ID or name of the router.
- INTERFACE
The format is "SUBNET|subnet=SUBNET|port=PORT". Either
a subnet or port must be specified. Both ID and name
are accepted as SUBNET or PORT. Note that "subnet="
can be omitted when specifying a subnet.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.207. neutron router-list
usage: neutron router-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.208. neutron router-list-on-l3-agent
usage: neutron router-list-on-l3-agent [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] L3_AGENT
Positional arguments
- L3_AGENT
ID of the L3 agent to query.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.209. neutron router-port-list
usage: neutron router-port-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] ROUTER
Positional arguments
- ROUTER
ID or name of the router to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.210. neutron router-show
usage: neutron router-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] ROUTER
Positional arguments
- ROUTER
ID or name of router to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.211. neutron router-update
usage: neutron router-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--admin-state-up {True,False}] [--distributed {True,False}] [--route destination=CIDR,nexthop=IP_ADDR | --no-routes] ROUTER
Positional arguments
- ROUTER
ID or name of router to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Updated name of the router.
- --description DESCRIPTION
Description of router.
- --admin-state-up {True,False}
Specify the administrative state of the router (True
means "Up").
- --distributed {True,False}
True means this router should operate in distributed
mode.
- --route
destination=CIDR,nexthop=IP_ADDR
Route to associate with the router. You can repeat
this option.
- --no-routes
Remove routes associated with the router.
8.212. neutron security-group-create
usage: neutron security-group-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] NAME
Positional arguments
- NAME
Name of the security group to be created.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of the security group to be created.
8.213. neutron security-group-delete
usage: neutron security-group-delete [-h] [--request-format {json}] SECURITY_GROUP [SECURITY_GROUP ...]
Positional arguments
- SECURITY_GROUP
ID(s) or name(s) of security_group to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.214. neutron security-group-list
usage: neutron security-group-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.215. neutron security-group-rule-create
usage: neutron security-group-rule-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--direction {ingress,egress}] [--ethertype ETHERTYPE] [--protocol PROTOCOL] [--port-range-min PORT_RANGE_MIN] [--port-range-max PORT_RANGE_MAX] [--remote-ip-prefix REMOTE_IP_PREFIX] [--remote-group-id REMOTE_GROUP] SECURITY_GROUP
Positional arguments
- SECURITY_GROUP
ID or name of the security group to which the rule is
added.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of security group rule.
- --direction {ingress,egress}
Direction of traffic: ingress/egress.
- --ethertype ETHERTYPE
IPv4/IPv6
- --protocol PROTOCOL
Protocol of packet. Allowed values are [icmp, icmpv6,
tcp, udp] and integer representations [0-255].
- --port-range-min PORT_RANGE_MIN
Starting port range. For ICMP it is type.
- --port-range-max PORT_RANGE_MAX
Ending port range. For ICMP it is code.
- --remote-ip-prefix REMOTE_IP_PREFIX
CIDR to match on.
- --remote-group-id REMOTE_GROUP
ID or name of the remote security group to which the
rule is applied.
8.216. neutron security-group-rule-delete
usage: neutron security-group-rule-delete [-h] [--request-format {json}] SECURITY_GROUP_RULE [SECURITY_GROUP_RULE ...]
Positional arguments
- SECURITY_GROUP_RULE
ID(s) of security_group_rule to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.217. neutron security-group-rule-list
usage: neutron security-group-rule-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}] [--no-nameconv]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
- --no-nameconv
Do not convert security group ID to its name.
8.218. neutron security-group-rule-show
usage: neutron security-group-rule-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] SECURITY_GROUP_RULE
Positional arguments
- SECURITY_GROUP_RULE
ID of security_group_rule to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.219. neutron security-group-show
usage: neutron security-group-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] SECURITY_GROUP
Positional arguments
- SECURITY_GROUP
ID or name of security_group to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.220. neutron security-group-update
usage: neutron security-group-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] SECURITY_GROUP
Positional arguments
- SECURITY_GROUP
ID or name of security_group to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Updated name of the security group.
- --description DESCRIPTION
Updated description of the security group.
8.221. neutron service-provider-list
usage: neutron service-provider-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.222. neutron subnet-create
usage: neutron subnet-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--name NAME] [--description DESCRIPTION] [--gateway GATEWAY_IP | --no-gateway] [--allocation-pool start=IP_ADDR,end=IP_ADDR] [--host-route destination=CIDR,nexthop=IP_ADDR] [--dns-nameserver DNS_NAMESERVER] [--disable-dhcp] [--enable-dhcp] [--ip-version {4,6}] [--ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}] [--ipv6-address-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}] [--subnetpool SUBNETPOOL] [--use-default-subnetpool] [--prefixlen PREFIX_LENGTH] [--segment SEGMENT] NETWORK [CIDR]
Positional arguments
- NETWORK
Network ID or name this subnet belongs to.
- CIDR
CIDR of subnet to create.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --name NAME
Name of this subnet.
- --description DESCRIPTION
Description of this subnet.
- --gateway GATEWAY_IP
Gateway IP of this subnet.
- --no-gateway
Do not configure a gateway for this subnet.
- --allocation-pool
start=IP_ADDR,end=IP_ADDR
Allocation pool IP addresses for this subnet (This
option can be repeated).
- --host-route
destination=CIDR,nexthop=IP_ADDR
Additional route (This option can be repeated).
- --dns-nameserver DNS_NAMESERVER
DNS name server for this subnet (This option can be
repeated).
- --disable-dhcp
Disable DHCP for this subnet.
- --enable-dhcp
Enable DHCP for this subnet.
- --ip-version {4,6} IP
version to use, default is 4. Note that when
subnetpool is specified, IP version is determined from
the subnetpool and this option is ignored.
- --ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}
IPv6 RA (Router Advertisement) mode.
- --ipv6-address-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}
IPv6 address mode.
- --subnetpool SUBNETPOOL
ID or name of subnetpool from which this subnet will
obtain a CIDR.
- --use-default-subnetpool
Use default subnetpool for ip_version, if it exists.
- --prefixlen PREFIX_LENGTH
Prefix length for subnet allocation from subnetpool.
- --segment SEGMENT ID
of segment with which this subnet will be
associated.
8.223. neutron subnet-delete
usage: neutron subnet-delete [-h] [--request-format {json}] SUBNET [SUBNET ...]
Positional arguments
- SUBNET
ID(s) or name(s) of subnet to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.224. neutron subnet-list
usage: neutron subnet-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.225. neutron subnet-show
usage: neutron subnet-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] SUBNET
Positional arguments
- SUBNET
ID or name of subnet to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.226. neutron subnet-update
usage: neutron subnet-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--gateway GATEWAY_IP | --no-gateway] [--allocation-pool start=IP_ADDR,end=IP_ADDR] [--host-route destination=CIDR,nexthop=IP_ADDR] [--dns-nameserver DNS_NAMESERVER] [--disable-dhcp] [--enable-dhcp] SUBNET
Positional arguments
- SUBNET
ID or name of subnet to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Name of this subnet.
- --description DESCRIPTION
Description of this subnet.
- --gateway GATEWAY_IP
Gateway IP of this subnet.
- --no-gateway
Do not configure a gateway for this subnet.
- --allocation-pool
start=IP_ADDR,end=IP_ADDR
Allocation pool IP addresses for this subnet (This
option can be repeated).
- --host-route
destination=CIDR,nexthop=IP_ADDR
Additional route (This option can be repeated).
- --dns-nameserver DNS_NAMESERVER
DNS name server for this subnet (This option can be
repeated).
- --disable-dhcp
Disable DHCP for this subnet.
- --enable-dhcp
Enable DHCP for this subnet.
8.227. neutron subnetpool-create
usage: neutron subnetpool-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--min-prefixlen MIN_PREFIXLEN] [--max-prefixlen MAX_PREFIXLEN] [--default-prefixlen DEFAULT_PREFIXLEN] --pool-prefix PREFIXES [--is-default {True,False}] [--shared] [--address-scope ADDRSCOPE] NAME
Positional arguments
- NAME
Name of the subnetpool to be created.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of subnetpool.
- --min-prefixlen MIN_PREFIXLEN
Subnetpool minimum prefix length.
- --max-prefixlen MAX_PREFIXLEN
Subnetpool maximum prefix length.
- --default-prefixlen DEFAULT_PREFIXLEN
Subnetpool default prefix length.
- --pool-prefix PREFIXES
Subnetpool prefixes (This option can be repeated).
- --is-default {True,False}
Specify whether this should be the default subnetpool
(True meaning default).
- --shared
Set the subnetpool as shared.
- --address-scope ADDRSCOPE
ID or name of the address scope with which the
subnetpool is associated. Prefixes must be unique
across address scopes.
8.228. neutron subnetpool-delete
usage: neutron subnetpool-delete [-h] [--request-format {json}] SUBNETPOOL [SUBNETPOOL ...]
Positional arguments
- SUBNETPOOL
ID(s) or name(s) of subnetpool to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.229. neutron subnetpool-list
usage: neutron subnetpool-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.230. neutron subnetpool-show
usage: neutron subnetpool-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] SUBNETPOOL
Positional arguments
- SUBNETPOOL
ID or name of subnetpool to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.231. neutron subnetpool-update
usage: neutron subnetpool-update [-h] [--request-format {json}] [--description DESCRIPTION] [--min-prefixlen MIN_PREFIXLEN] [--max-prefixlen MAX_PREFIXLEN] [--default-prefixlen DEFAULT_PREFIXLEN] [--pool-prefix PREFIXES] [--is-default {True,False}] [--name NAME] [--address-scope ADDRSCOPE | --no-address-scope] SUBNETPOOL
Positional arguments
- SUBNETPOOL
ID or name of subnetpool to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --description DESCRIPTION
Description of subnetpool.
- --min-prefixlen MIN_PREFIXLEN
Subnetpool minimum prefix length.
- --max-prefixlen MAX_PREFIXLEN
Subnetpool maximum prefix length.
- --default-prefixlen DEFAULT_PREFIXLEN
Subnetpool default prefix length.
- --pool-prefix PREFIXES
Subnetpool prefixes (This option can be repeated).
- --is-default {True,False}
Specify whether this should be the default subnetpool
(True meaning default).
- --name NAME
Updated name of the subnetpool.
- --address-scope ADDRSCOPE
ID or name of the address scope with which the
subnetpool is associated. Prefixes must be unique
across address scopes.
- --no-address-scope
Detach subnetpool from the address scope.
8.232. neutron tag-add
usage: neutron tag-add [-h] [--request-format {json}] --resource-type {network} --resource RESOURCE --tag TAG
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --resource-type {network}
Resource Type.
- --resource RESOURCE
Resource name or ID.
- --tag TAG
Tag to be added.
8.233. neutron tag-remove
usage: neutron tag-remove [-h] [--request-format {json}] --resource-type {network} --resource RESOURCE [--all | --tag TAG]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --resource-type {network}
Resource Type.
- --resource RESOURCE
Resource name or ID.
- --all
Remove all tags on the resource.
- --tag TAG
Tag to be removed.
8.234. neutron tag-replace
usage: neutron tag-replace [-h] [--request-format {json}] --resource-type {network} --resource RESOURCE --tag TAG
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --resource-type {network}
Resource Type.
- --resource RESOURCE
Resource name or ID.
- --tag TAG
Tag (This option can be repeated).
8.235. neutron vpn-endpoint-group-create
usage: neutron vpn-endpoint-group-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--name NAME] [--description DESCRIPTION] --type TYPE --value ENDPOINTS
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --name NAME
Set a name for the endpoint group.
- --description DESCRIPTION
Set a description for the endpoint group.
- --type TYPE
Type of endpoints in group (e.g. subnet, cidr, vlan).
- --value ENDPOINTS
Endpoint(s) for the group. Must all be of the same
type.
8.236. neutron vpn-endpoint-group-delete
usage: neutron vpn-endpoint-group-delete [-h] [--request-format {json}] ENDPOINT_GROUP [ENDPOINT_GROUP ...]
Positional arguments
- ENDPOINT_GROUP
ID(s) or name(s) of endpoint_group to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.237. neutron vpn-endpoint-group-list
usage: neutron vpn-endpoint-group-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.238. neutron vpn-endpoint-group-show
usage: neutron vpn-endpoint-group-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] ENDPOINT_GROUP
Positional arguments
- ENDPOINT_GROUP
ID or name of endpoint_group to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.239. neutron vpn-endpoint-group-update
usage: neutron vpn-endpoint-group-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] ENDPOINT_GROUP
Positional arguments
- ENDPOINT_GROUP
ID or name of endpoint_group to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Set a name for the endpoint group.
- --description DESCRIPTION
Set a description for the endpoint group.
8.240. neutron vpn-ikepolicy-create
usage: neutron vpn-ikepolicy-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--description DESCRIPTION] [--auth-algorithm AUTH_ALGORITHM] [--encryption-algorithm ENCRYPTION_ALGORITHM] [--phase1-negotiation-mode {main}] [--ike-version {v1,v2}] [--pfs PFS] [--lifetime units=UNITS,value=VALUE] NAME
Positional arguments
- NAME
Name of the IKE policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --description DESCRIPTION
Description of the IKE policy.
- --auth-algorithm AUTH_ALGORITHM
Authentication algorithm, default:sha1.
- --encryption-algorithm ENCRYPTION_ALGORITHM
Encryption algorithm, default:aes-128.
- --phase1-negotiation-mode {main}
IKE Phase1 negotiation mode, default:main.
- --ike-version {v1,v2}
IKE version for the policy, default:v1.
- --pfs PFS
Perfect Forward Secrecy, default:group5.
- --lifetime
units=UNITS,value=VALUE
IKE lifetime attributes. 'units'-seconds,
default:seconds. 'value'-non negative integer,
default:3600.
8.241. neutron vpn-ikepolicy-delete
usage: neutron vpn-ikepolicy-delete [-h] [--request-format {json}] IKEPOLICY [IKEPOLICY ...]
Positional arguments
- IKEPOLICY
ID(s) or name(s) of IKE policy to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.242. neutron vpn-ikepolicy-list
usage: neutron vpn-ikepolicy-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.243. neutron vpn-ikepolicy-show
usage: neutron vpn-ikepolicy-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] IKEPOLICY
Positional arguments
- IKEPOLICY
ID or name of IKE policy to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.244. neutron vpn-ikepolicy-update
usage: neutron vpn-ikepolicy-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--auth-algorithm AUTH_ALGORITHM] [--encryption-algorithm ENCRYPTION_ALGORITHM] [--phase1-negotiation-mode {main}] [--ike-version {v1,v2}] [--pfs PFS] [--lifetime units=UNITS,value=VALUE] IKEPOLICY
Positional arguments
- IKEPOLICY
ID or name of IKE policy to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Updated name of the IKE policy.
- --description DESCRIPTION
Description of the IKE policy.
- --auth-algorithm AUTH_ALGORITHM
Authentication algorithm, default:sha1.
- --encryption-algorithm ENCRYPTION_ALGORITHM
Encryption algorithm, default:aes-128.
- --phase1-negotiation-mode {main}
IKE Phase1 negotiation mode, default:main.
- --ike-version {v1,v2}
IKE version for the policy, default:v1.
- --pfs PFS
Perfect Forward Secrecy, default:group5.
- --lifetime
units=UNITS,value=VALUE
IKE lifetime attributes. 'units'-seconds,
default:seconds. 'value'-non negative integer,
default:3600.
8.245. neutron vpn-ipsecpolicy-create
usage: neutron vpn-ipsecpolicy-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--auth-algorithm AUTH_ALGORITHM] [--description DESCRIPTION] [--encapsulation-mode {tunnel,transport}] [--encryption-algorithm ENCRYPTION_ALGORITHM] [--lifetime units=UNITS,value=VALUE] [--pfs PFS] [--transform-protocol {esp,ah,ah-esp}] NAME
Positional arguments
- NAME
Name of the IPsec policy.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --auth-algorithm AUTH_ALGORITHM
Authentication algorithm for IPsec policy,
default:sha1.
- --description DESCRIPTION
Description of the IPsec policy.
- --encapsulation-mode {tunnel,transport}
Encapsulation mode for IPsec policy, default:tunnel.
- --encryption-algorithm ENCRYPTION_ALGORITHM
Encryption algorithm for IPsec policy,
default:aes-128.
- --lifetime
units=UNITS,value=VALUE
IPsec lifetime attributes. 'units'-seconds,
default:seconds. 'value'-non negative integer,
default:3600.
- --pfs PFS
Perfect Forward Secrecy for IPsec policy,
default:group5.
- --transform-protocol {esp,ah,ah-esp}
Transform protocol for IPsec policy, default:esp.
8.246. neutron vpn-ipsecpolicy-delete
usage: neutron vpn-ipsecpolicy-delete [-h] [--request-format {json}] IPSECPOLICY [IPSECPOLICY ...]
Positional arguments
- IPSECPOLICY
ID(s) or name(s) of IPsec policy to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.247. neutron vpn-ipsecpolicy-list
usage: neutron vpn-ipsecpolicy-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.248. neutron vpn-ipsecpolicy-show
usage: neutron vpn-ipsecpolicy-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] IPSECPOLICY
Positional arguments
- IPSECPOLICY
ID or name of IPsec policy to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.249. neutron vpn-ipsecpolicy-update
usage: neutron vpn-ipsecpolicy-update [-h] [--request-format {json}] [--name NAME] [--auth-algorithm AUTH_ALGORITHM] [--description DESCRIPTION] [--encapsulation-mode {tunnel,transport}] [--encryption-algorithm ENCRYPTION_ALGORITHM] [--lifetime units=UNITS,value=VALUE] [--pfs PFS] [--transform-protocol {esp,ah,ah-esp}] IPSECPOLICY
Positional arguments
- IPSECPOLICY
ID or name of IPsec policy to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Updated name of the IPsec policy.
- --auth-algorithm AUTH_ALGORITHM
Authentication algorithm for IPsec policy,
default:sha1.
- --description DESCRIPTION
Description of the IPsec policy.
- --encapsulation-mode {tunnel,transport}
Encapsulation mode for IPsec policy, default:tunnel.
- --encryption-algorithm ENCRYPTION_ALGORITHM
Encryption algorithm for IPsec policy,
default:aes-128.
- --lifetime
units=UNITS,value=VALUE
IPsec lifetime attributes. 'units'-seconds,
default:seconds. 'value'-non negative integer,
default:3600.
- --pfs PFS
Perfect Forward Secrecy for IPsec policy,
default:group5.
- --transform-protocol {esp,ah,ah-esp}
Transform protocol for IPsec policy, default:esp.
8.250. neutron vpn-service-create
usage: neutron vpn-service-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [--tenant-id TENANT_ID] [--admin-state-down] [--name NAME] [--description DESCRIPTION] ROUTER [SUBNET]
Positional arguments
- ROUTER
Router unique identifier for the VPN service.
- SUBNET
[DEPRECATED in Mitaka] Unique identifier for the local
private subnet.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --tenant-id TENANT_ID
The owner tenant ID.
- --admin-state-down
Set admin state up to false.
- --name NAME
Name for the VPN service.
- --description DESCRIPTION
Description for the VPN service.
8.251. neutron vpn-service-delete
usage: neutron vpn-service-delete [-h] [--request-format {json}] VPNSERVICE [VPNSERVICE ...]
Positional arguments
- VPNSERVICE
ID(s) or name(s) of VPN service to delete.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
8.252. neutron vpn-service-list
usage: neutron vpn-service-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--request-format {json}] [-D] [-F FIELD] [-P SIZE] [--sort-key FIELD] [--sort-dir {asc,desc}]
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
- -P SIZE, --page-size SIZE
Specify retrieve unit of each request, then split one
request to several requests.
- --sort-key FIELD
Sorts the list by the specified fields in the
specified directions. You can repeat this option, but
you must specify an equal number of sort_dir and
sort_key values. Extra sort_dir options are ignored.
Missing sort_dir options use the default asc value.
- --sort-dir {asc,desc}
Sorts the list in the specified direction. You can
repeat this option.
8.253. neutron vpn-service-show
usage: neutron vpn-service-show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--request-format {json}] [-D] [-F FIELD] VPNSERVICE
Positional arguments
- VPNSERVICE
ID or name of VPN service to look up.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- -D, --show-details
Show detailed information.
- -F FIELD, --field FIELD
Specify the field(s) to be returned by server. You can
repeat this option.
8.254. neutron vpn-service-update
usage: neutron vpn-service-update [-h] [--request-format {json}] [--name NAME] [--description DESCRIPTION] [--admin-state-up {True,False}] VPNSERVICE
Positional arguments
- VPNSERVICE
ID or name of VPN service to update.
Optional arguments
- -h, --help
show this help message and exit
- --request-format {json}
DEPRECATED! Only JSON request format is supported.
- --name NAME
Name for the VPN service.
- --description DESCRIPTION
Description for the VPN service.
- --admin-state-up {True,False}
Update the admin state for the VPN Service.(True means
UP)
Chapter 9. Object Storage Service Command-line Client
3.1.0
.
$
swift COMMAND
--help
9.1. swift Usage
usage: swift [--version] [--help] [--os-help] [--snet] [--verbose] [--debug] [--info] [--quiet] [--auth <auth_url>] [--auth-version <auth_version> | --os-identity-api-version <auth_version> ] [--user <username>] [--key <api_key>] [--retries <num_retries>] [--os-username <auth-user-name>] [--os-password <auth-password>] [--os-user-id <auth-user-id>] [--os-user-domain-id <auth-user-domain-id>] [--os-user-domain-name <auth-user-domain-name>] [--os-tenant-id <auth-tenant-id>] [--os-tenant-name <auth-tenant-name>] [--os-project-id <auth-project-id>] [--os-project-name <auth-project-name>] [--os-project-domain-id <auth-project-domain-id>] [--os-project-domain-name <auth-project-domain-name>] [--os-auth-url <auth-url>] [--os-auth-token <auth-token>] [--os-storage-url <storage-url>] [--os-region-name <region-name>] [--os-service-type <service-type>] [--os-endpoint-type <endpoint-type>] [--os-cacert <ca-certificate>] [--insecure] [--os-cert <client-certificate-file>] [--os-key <client-certificate-key-file>] [--no-ssl-compression] <subcommand> [--help] [<subcommand options>]
Subcommands
- delete
Delete a container or objects within a container.
- download
Download objects from containers.
- list
Lists the containers for the account or the objects
for a container.
- post
Updates meta information for the account, container,
or object; creates containers if not present.
- copy
Copies object, optionally adds meta
- stat
Displays information for the account, container,
or object.
- upload
Uploads files or directories to the given container.
- capabilities
List cluster capabilities.
- tempurl
Create a temporary URL.
- auth
Display auth related environment variables.
9.2. swift Examples
swift download --help swift -A https://auth.api.rackspacecloud.com/v1.0 \ -U user -K api_key stat -v swift --os-auth-url https://api.example.com/v2.0 \ --os-tenant-name tenant \ --os-username user --os-password password list swift --os-auth-url https://api.example.com/v3 --auth-version 3\ --os-project-name project1 --os-project-domain-name domain1 \ --os-username user --os-user-domain-name domain1 \ --os-password password list swift --os-auth-url https://api.example.com/v3 --auth-version 3\ --os-project-id 0123456789abcdef0123456789abcdef \ --os-user-id abcdef0123456789abcdef0123456789 \ --os-password password list swift --os-auth-token 6ee5eb33efad4e45ab46806eac010566 \ --os-storage-url https://10.1.5.2:8080/v1/AUTH_ced809b6a4baea7aeab61a \ list swift list --lh
9.3. swift Optional Arguments
- --version
show program's version number and exit
- -h, --help
- --os-help
Show OpenStack authentication options.
- -s, --snet
Use SERVICENET internal network.
- -v, --verbose
Print more info.
- --debug
Show the curl commands and results of all http queries
regardless of result status.
- --info
Show the curl commands and results of all http queries
which return an error.
- -q, --quiet
Suppress status output.
- -A=AUTH, --auth=AUTH URL
for obtaining an auth token.
- -V=AUTH_VERSION, --auth-version=AUTH_VERSION, --os-identity-api-version=AUTH_VERSION
Specify a version for authentication. Defaults to
env[ST_AUTH_VERSION]
,env[OS_AUTH_VERSION]
,
env[OS_IDENTITY_API_VERSION]
or 1.0.
- -U=USER, --user=USER
User name for obtaining an auth token.
- -K=KEY, --key=KEY
Key for obtaining an auth token.
- -R=RETRIES, --retries=RETRIES
The number of times to retry a failed connection.
- --insecure
Allow swiftclient to access servers without having to
verify the SSL certificate. Defaults to
env[SWIFTCLIENT_INSECURE]
(set to 'true' to enable).
- --no-ssl-compression
This option is deprecated and not used anymore. SSL
compression should be disabled by default by the
system SSL library.
9.4. swift auth
Usage: swift auth
9.5. swift capabilities
Usage: swift capabilities
Optional arguments
- --json
Print the cluster capabilities in JSON format.
9.6. swift copy
Usage: swift copy
Positional arguments
- container
Name of container to copy from.
- object
Name of object to copy. Specify multiple times
for multiple objects
Optional arguments
- -d, --destination </container[/object]>
The container and name of the destination object. Name
of destination object can be ommited, then will be
same as name of source object. Supplying multiple
objects and destination with object name is invalid.
- -M, --fresh-metadata
Copy the object without any existing metadata,
If not set, metadata will be preserved or appended
- -m, --meta <name:value>
Sets a meta data item. This option may be repeated.
Example: -m Color:Blue -m Size:Large
- -H, --header <header:value>
Adds a customized request header.
This option may be repeated. Example
-H "content-type:text/plain" -H "Content-Length: 4000"
9.7. swift delete
Usage: swift delete
Positional arguments
- [<container>]
Name of container to delete from.
- [<object>]
Name of object to delete. Specify multiple times
for multiple objects.
Optional arguments
- -a, --all
Delete all containers and objects.
- --leave-segments
Do not delete segments of manifest objects.
- --object-threads <threads>
Number of threads to use for deleting objects.
Default is 10.
- --container-threads <threads>
Number of threads to use for deleting containers.
Default is 10.
9.8. swift download
Usage: swift download
Positional arguments
- <container>
Name of container to download from. To download a
whole account, omit this and specify --all.
- <object>
Name of object to download. Specify multiple times
for multiple objects. Omit this to download all
objects from the container.
Optional arguments
- -a, --all
Indicates that you really want to download
everything in the account.
- -m, --marker <marker>
Marker to use when starting a container or account
download.
- -p, --prefix <prefix>
Only download items beginning with <prefix>
- -r, --remove-prefix
An optional flag for --prefix <prefix>, use this
option to download items without <prefix>
- -o, --output <out_file>
For a single file download, stream the output to
<out_file>. Specifying "-" as <out_file> will
redirect to stdout.
- -D, --output-dir <out_directory>
An optional directory to which to store objects.
By default, all objects are recreated in the current
directory.
- --object-threads <threads>
Number of threads to use for downloading objects.
Default is 10.
- --container-threads <threads>
Number of threads to use for downloading containers.
Default is 10.
- --no-download
Perform download(s), but don't actually write anything
to disk.
- -H, --header <header:value>
Adds a customized request header to the query, like
"Range" or "If-Match". This option may be repeated.
Example: --header "content-type:text/plain"
- --skip-identical
Skip downloading files that are identical on both
sides.
- --ignore-checksum
Turn off checksum validation for downloads.
- --no-shuffle
By default, when downloading a complete account or
container, download order is randomised in order to
reduce the load on individual drives when multiple
clients are executed simultaneously to download the
same set of objects (e.g. a nightly automated download
script to multiple servers). Enable this option to
submit download jobs to the thread pool in the order
they are listed in the object store.
9.9. swift list
Usage: swift list
Positional arguments
- [container]
Name of container to list object in.
Optional arguments
- -l, --long
Long listing format, similar to ls -l.
- --lh
Report sizes in human readable format similar to
ls -lh.
- -t, --totals
Used with -l or --lh, only report totals.
- -p <prefix>, --prefix <prefix>
Only list items beginning with the prefix.
- -d <delim>, --delimiter <delim>
Roll up items with the given delimiter. For containers
only. See OpenStack Swift API documentation for what
this means.
9.10. swift post
Usage: swift post
Positional arguments
- [container]
Name of container to post to.
- [object]
Name of object to post.
Optional arguments
- -r, --read-acl <acl>
Read ACL for containers. Quick summary of ACL syntax:
.r:*, .r:-.example.com, .r:www.example.com, account1,
account2:user2
- -w, --write-acl <acl>
Write ACL for containers. Quick summary of ACL syntax:
account1 account2:user2
- -t, --sync-to <sync-to>
Sync To for containers, for multi-cluster replication.
- -k, --sync-key <sync-key>
Sync Key for containers, for multi-cluster replication.
- -m, --meta <name:value>
Sets a meta data item. This option may be repeated.
Example: -m Color:Blue -m Size:Large
- -H, --header <header:value>
Adds a customized request header.
This option may be repeated. Example
-H "content-type:text/plain" -H "Content-Length: 4000"
9.11. swift stat
Usage: swift stat
Positional arguments
- [container]
Name of container to stat from.
- [object]
Name of object to stat.
Optional arguments
- --lh
Report sizes in human readable format similar to
ls -lh.
9.12. swift tempurl
Usage: swift tempurl
Positional arguments
- <method>
An HTTP method to allow for this temporary URL.
Usually 'GET' or 'PUT'.
- <seconds>
The amount of time in seconds the temporary URL will be
valid for; or, if --absolute is passed, the Unix
timestamp when the temporary URL will expire.
- <path>
The full path to the Swift object. Example:
/v1/AUTH_account/c/o.
- <key>
The secret temporary URL key set on the Swift cluster.
To set a key, run 'swift post -m
"Temp-URL-Key:b3968d0207b54ece87cccc06515a89d4"'
Optional arguments
- --absolute
Interpret the <seconds> positional argument as a Unix
timestamp rather than a number of seconds in the
future.
9.13. swift upload
Usage: swift upload
Positional arguments
- <container>
Name of container to upload to.
- <file_or_directory>
Name of file or directory to upload. Specify multiple
times for multiple uploads.
Optional arguments
- -c, --changed
Only upload files that have changed since the last
upload.
- --skip-identical
Skip uploading files that are identical on both sides.
- -S, --segment-size <size>
Upload files in segments no larger than <size> (in
Bytes) and then create a "manifest" file that will
download all the segments as if it were the original
file.
- --segment-container <container>
Upload the segments into the specified container. If
not specified, the segments will be uploaded to a
<container>_segments container to not pollute the
main <container> listings.
- --leave-segments
Indicates that you want the older segments of manifest
objects left alone (in the case of overwrites).
- --object-threads <threads>
Number of threads to use for uploading full objects.
Default is 10.
- --segment-threads <threads>
Number of threads to use for uploading object segments.
Default is 10.
- -H, --header <header:value>
Adds a customized request header. This option may be
repeated. Example: -H "content-type:text/plain"
-H "Content-Length: 4000".
- --use-slo
When used in conjunction with --segment-size it will
create a Static Large Object instead of the default
Dynamic Large Object.
- --object-name <object-name>
Upload file and name object to <object-name> or upload
dir and use <object-name> as object prefix instead of
folder name.
- --ignore-checksum
Turn off checksum validation for uploads.
Chapter 10. Orchestration Service Command-line Client
1.5.0
.
$
heat
help
COMMAND
10.1. heat Usage
usage: heat [--version] [-d] [-v] [--api-timeout API_TIMEOUT] [--os-no-client-auth] [--heat-url HEAT_URL] [--heat-api-version HEAT_API_VERSION] [--include-password] [-k] [--os-cert OS_CERT] [--cert-file OS_CERT] [--os-key OS_KEY] [--key-file OS_KEY] [--os-cacert <ca-certificate-file>] [--ca-file OS_CACERT] [--os-username OS_USERNAME] [--os-user-id OS_USER_ID] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-password OS_PASSWORD] [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] [--os-region-name OS_REGION_NAME] [--os-auth-token OS_AUTH_TOKEN] [--os-service-type OS_SERVICE_TYPE] [--os-endpoint-type OS_ENDPOINT_TYPE] [--profile HMAC_KEY] <subcommand> ...
Subcommands
- action-check
Check that stack resources are in expected states.
- action-resume
Resume the stack.
- action-suspend
Suspend the stack.
- build-info
Retrieve build information.
- config-create
Create a software configuration.
- config-delete
Delete the software configuration(s).
- config-list
List software configs.
- config-show
View details of a software configuration.
- deployment-create
Create a software deployment.
- deployment-delete
Delete the software deployment(s).
- deployment-list
List software deployments.
- deployment-metadata-show
Get deployment configuration metadata for the
specified server.
- deployment-output-show
Show a specific deployment output.
- deployment-show
Show the details of a software deployment.
- event
DEPRECATED!- event-list
List events for a stack.
- event-show
Describe the event.
- hook-clear
Clear hooks on a given stack.
- hook-poll
List resources with pending hook for a stack.
- output-list
Show available outputs.
- output-show
Show a specific stack output.
- resource-list
Show list of resources belonging to a stack.
- resource-mark-unhealthy
Set resource's health.
- resource-metadata
List resource metadata.
- resource-show
Describe the resource.
- resource-signal
Send a signal to a resource.
- resource-template
DEPRECATED!- resource-type-list
List the available resource types.
- resource-type-show
Show the resource type.
- resource-type-template
Generate a template based on a resource type.
- service-list
List the Heat engines.
- snapshot-delete
Delete a snapshot of a stack.
- snapshot-list
List the snapshots of a stack.
- snapshot-show
Show a snapshot of a stack.
- stack-abandon
Abandon the stack.
- stack-adopt
Adopt a stack.
- stack-cancel-update
Cancel currently running update of the stack.
- stack-create
Create the stack.
- stack-delete
Delete the stack(s).
- stack-list
List the user's stacks.
- stack-preview
Preview the stack.
- stack-restore
Restore a snapshot of a stack.
- stack-show
Describe the stack.
- stack-snapshot
Make a snapshot of a stack.
- stack-update
Update the stack.
- template-function-list
List the available functions.
- template-show
Get the template for the specified stack.
- template-validate
Validate a template with parameters.
- template-version-list
List the available template versions.
- bash-completion
Prints all of the commands and options to stdout.
- help
Display help about this program or one of its
subcommands.
10.2. heat Optional Arguments
- --version
Shows the client version and exits.
- -d, --debug
Defaults toenv[HEATCLIENT_DEBUG]
.
- -v, --verbose
Print more verbose output.
- --api-timeout API_TIMEOUT
Number of seconds to wait for an API response,
defaults to system socket timeout
- --os-no-client-auth
Do not contact keystone for a token. Defaults to
env[OS_NO_CLIENT_AUTH]
.
- --heat-url HEAT_URL
Defaults toenv[HEAT_URL]
.
- --heat-api-version HEAT_API_VERSION
Defaults toenv[HEAT_API_VERSION]
or 1.
- --include-password
Send os-username and os-password to heat.
- -k, --insecure
Explicitly allow heatclient to perform "insecure SSL"
(https) requests. The server's certificate will not be
verified against any certificate authorities. This
option should be used with caution.
- --os-cert OS_CERT
Path of certificate file to use in SSL connection.
This file can optionally be prepended with the private
key.
- --cert-file OS_CERT
DEPRECATED! Use --os-cert.
- --os-key OS_KEY
Path of client key to use in SSL connection. This
option is not necessary if your key is prepended to
your cert file.
- --key-file OS_KEY
DEPRECATED! Use --os-key.
- --os-cacert <ca-certificate-file>
Path of CA TLS certificate(s) used to verify the
remote server's certificate. Without this option
glance looks for the default system CA certificates.
- --ca-file OS_CACERT
DEPRECATED! Use --os-cacert.
- --os-username OS_USERNAME
Defaults toenv[OS_USERNAME]
.
- --os-user-id OS_USER_ID
Defaults toenv[OS_USER_ID]
.
- --os-user-domain-id OS_USER_DOMAIN_ID
Defaults toenv[OS_USER_DOMAIN_ID]
.
- --os-user-domain-name OS_USER_DOMAIN_NAME
Defaults toenv[OS_USER_DOMAIN_NAME]
.
- --os-project-id OS_PROJECT_ID
Another way to specify tenant ID. This option is
mutually exclusive with --os-tenant-id. Defaults to
env[OS_PROJECT_ID]
.
- --os-project-name OS_PROJECT_NAME
Another way to specify tenant name. This option is
mutually exclusive with --os-tenant-name. Defaults to
env[OS_PROJECT_NAME]
.
- --os-project-domain-id OS_PROJECT_DOMAIN_ID
Defaults toenv[OS_PROJECT_DOMAIN_ID]
.
- --os-project-domain-name OS_PROJECT_DOMAIN_NAME
Defaults toenv[OS_PROJECT_DOMAIN_NAME]
.
- --os-password OS_PASSWORD
Defaults toenv[OS_PASSWORD]
.
- --os-tenant-id OS_TENANT_ID
Defaults toenv[OS_TENANT_ID]
.
- --os-tenant-name OS_TENANT_NAME
Defaults toenv[OS_TENANT_NAME]
.
- --os-auth-url OS_AUTH_URL
Defaults toenv[OS_AUTH_URL]
.
- --os-region-name OS_REGION_NAME
Defaults toenv[OS_REGION_NAME]
.
- --os-auth-token OS_AUTH_TOKEN
Defaults toenv[OS_AUTH_TOKEN]
.
- --os-service-type OS_SERVICE_TYPE
Defaults toenv[OS_SERVICE_TYPE]
.
- --os-endpoint-type OS_ENDPOINT_TYPE
Defaults toenv[OS_ENDPOINT_TYPE]
.
- --profile HMAC_KEY HMAC
key to use for encrypting context data for
performance profiling of operation. This key should be
the value of HMAC key configured in osprofiler
middleware in heat, it is specified in the paste
configuration (/etc/heat/api-paste.ini). Without the
key, profiling will not be triggered even if
osprofiler is enabled on server side.
10.3. heat action-check
usage: heat action-check <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to check.
10.4. heat action-resume
usage: heat action-resume <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to resume.
10.5. heat action-suspend
usage: heat action-suspend <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to suspend.
10.6. heat build-info
usage: heat build-info
10.7. heat config-create
usage: heat config-create [-f <FILE or URL>] [-c <FILE or URL>] [-g <GROUP_NAME>] <CONFIG_NAME>
Positional arguments
- <CONFIG_NAME>
Name of the configuration to create.
Optional arguments
- -f <FILE or URL>, --definition-file <FILE or URL>
Path to JSON/YAML containing map defining <inputs>,
<outputs>, and <options>.
- -c <FILE or URL>, --config-file <FILE or URL>
Path to configuration script/data.
- -g <GROUP_NAME>, --group <GROUP_NAME>
Group name of configuration tool expected by the
config.
10.8. heat config-delete
usage: heat config-delete <ID> [<ID> ...]
Positional arguments
- <ID>
ID of the configuration(s) to delete.
10.9. heat config-list
usage: heat config-list [-l <LIMIT>] [-m <ID>]
Optional arguments
- -l <LIMIT>, --limit <LIMIT>
Limit the number of configs returned.
- -m <ID>, --marker <ID>
Return configs that appear after the given config ID.
10.10. heat config-show
usage: heat config-show [-c] <ID>
Positional arguments
- <ID>
ID of the config.
Optional arguments
- -c, --config-only
Only display the value of the <config> property.
10.11. heat deployment-create
usage: heat deployment-create [-i <KEY=VALUE>] [-a <ACTION>] [-c <CONFIG>] -s <SERVER> [-t <TRANSPORT>] [--container <CONTAINER_NAME>] [--timeout <TIMEOUT>] <DEPLOY_NAME>
Positional arguments
- <DEPLOY_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
- -i <KEY=VALUE>, --input-value <KEY=VALUE>
Input value to set on the deployment. This can be
specified multiple times.
- -a <ACTION>, --action <ACTION>
Name of action for this deployment. Can be a custom
action, or one of: CREATE, UPDATE, DELETE, SUSPEND,
RESUME
- -c <CONFIG>, --config <CONFIG>
ID of the configuration to deploy.
- -s <SERVER>, --server <SERVER>
ID of the server being deployed to.
- -t <TRANSPORT>, --signal-transport <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. NO_SIGNAL
will result in the resource going to the COMPLETE
state without waiting for any signal.
- --container <CONTAINER_NAME>
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.
10.12. heat deployment-delete
usage: heat deployment-delete <ID> [<ID> ...]
Positional arguments
- <ID>
ID of the deployment(s) to delete.
10.13. heat deployment-list
usage: heat deployment-list [-s <SERVER>]
Optional arguments
- -s <SERVER>, --server <SERVER>
ID of the server to fetch deployments for.
10.14. heat deployment-metadata-show
usage: heat deployment-metadata-show <ID>
Positional arguments
- <ID>
ID of the server to fetch deployments for.
10.15. heat deployment-output-show
usage: heat deployment-output-show [-a] [-F <FORMAT>] <ID> [<OUTPUT NAME>]
Positional arguments
- <ID>
ID deployment to show the output for.
- <OUTPUT NAME>
Name of an output to display.
Optional arguments
- -a, --all
Display all deployment outputs.
- -F <FORMAT>, --format <FORMAT>
The output value format, one of: raw, json
10.16. heat deployment-show
usage: heat deployment-show <ID>
Positional arguments
- <ID>
ID of the deployment.
10.17. heat event-list
usage: heat event-list [-r <RESOURCE>] [-f <KEY1=VALUE1;KEY2=VALUE2...>] [-l <LIMIT>] [-m <ID>] [-n <DEPTH>] [-F <FORMAT>] <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to show the events for.
Optional arguments
- -r <RESOURCE>, --resource <RESOURCE>
Name of the resource to filter events by.
- -f <KEY1=VALUE1;KEY2=VALUE2...>, --filters <KEY1=VALUE1;KEY2=VALUE2...>
Filter parameters to apply on returned events. This
can be specified multiple times, or once with
parameters separated by a semicolon.
- -l <LIMIT>, --limit <LIMIT>
Limit the number of events returned.
- -m <ID>, --marker <ID>
Only return events that appear after the given event
ID.
- -n <DEPTH>, --nested-depth <DEPTH>
Depth of nested stacks from which to display events.
Note this cannot be specified with --resource.
- -F <FORMAT>, --format <FORMAT>
The output value format, one of: log, table
10.18. heat event-show
usage: heat event-show <NAME or ID> <RESOURCE> <EVENT>
Positional arguments
- <NAME or ID>
Name or ID of stack to show the events for.
- <RESOURCE>
Name of the resource the event belongs to.
- <EVENT>
ID of event to display details for.
10.19. heat hook-clear
usage: heat hook-clear [--pre-create] [--pre-update] [--pre-delete] <NAME or ID> <RESOURCE> [<RESOURCE> ...]
Positional arguments
- <NAME or ID>
Name or ID of the stack these resources belong to.
- <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
- --pre-create
Clear the pre-create hooks (optional)
- --pre-update
Clear the pre-update hooks (optional)
- --pre-delete
Clear the pre-delete hooks (optional)
10.20. heat hook-poll
usage: heat hook-poll [-n <DEPTH>] <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to show the pending hooks for.
Optional arguments
- -n <DEPTH>, --nested-depth <DEPTH>
Depth of nested stacks from which to display hooks.
10.21. heat output-list
usage: heat output-list <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to query.
10.22. heat output-show
usage: heat output-show [-F <FORMAT>] [-a] [--with-detail] <NAME or ID> [<OUTPUT NAME>]
Positional arguments
- <NAME or ID>
Name or ID of stack to query.
- <OUTPUT NAME>
Name of an output to display.
Optional arguments
- -F <FORMAT>, --format <FORMAT>
The output value format, one of: json, raw.
- -a, --all
Display all stack outputs.
- --with-detail
Enable detail information presented, like key and
description.
10.23. heat resource-list
usage: heat resource-list [-n <DEPTH>] [--with-detail] [-f <KEY=VALUE>] <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to show the resources for.
Optional arguments
- -n <DEPTH>, --nested-depth <DEPTH>
Depth of nested stacks from which to display
resources.
- --with-detail
Enable detail information presented for each resource
in resources list.
- -f <KEY=VALUE>, --filter <KEY=VALUE>
Filter parameters to apply on returned resources based
on their name, status, type, action, id and
physical_resource_id. This can be specified multiple
times.
10.24. heat resource-mark-unhealthy
usage: heat resource-mark-unhealthy [--reset] <NAME or ID> <RESOURCE> [reason]
Positional arguments
- <NAME or ID>
Name or ID of stack the resource belongs to.
- <RESOURCE>
Name of the resource.
- reason
Reason for state change.
Optional arguments
- --reset
Set the resource as healthy.
10.25. heat resource-metadata
usage: heat resource-metadata <NAME or ID> <RESOURCE>
Positional arguments
- <NAME or ID>
Name or ID of stack to show the resource metadata for.
- <RESOURCE>
Name of the resource to show the metadata for.
10.26. heat resource-show
usage: heat resource-show [-a <ATTRIBUTE>] <NAME or ID> <RESOURCE>
Positional arguments
- <NAME or ID>
Name or ID of stack to show the resource for.
- <RESOURCE>
Name of the resource to show the details for.
Optional arguments
- -a <ATTRIBUTE>, --with-attr <ATTRIBUTE>
Attribute to show, it can be specified multiple times.
10.27. heat resource-signal
usage: heat resource-signal [-D <DATA>] [-f <FILE>] <NAME or ID> <RESOURCE>
Positional arguments
- <NAME or ID>
Name or ID of stack the resource belongs to.
- <RESOURCE>
Name of the resource to signal.
Optional arguments
- -D <DATA>, --data <DATA>
JSON Data to send to the signal handler.
- -f <FILE>, --data-file <FILE>
File containing JSON data to send to the signal
handler.
10.28. heat resource-template
usage: heat resource-template [-t <TEMPLATE_TYPE>] [-F <FORMAT>] <RESOURCE_TYPE>
Positional arguments
- <RESOURCE_TYPE>
Resource type to generate a template for.
Optional arguments
- -t <TEMPLATE_TYPE>, --template-type <TEMPLATE_TYPE>
Template type to generate, hot or cfn.
- -F <FORMAT>, --format <FORMAT>
The template output format, one of: yaml, json.
10.29. heat resource-type-list
usage: heat resource-type-list [-f <KEY1=VALUE1;KEY2=VALUE2...>]
Optional arguments
- -f <KEY1=VALUE1;KEY2=VALUE2...>, --filters <KEY1=VALUE1;KEY2=VALUE2...>
Filter parameters to apply on returned resource types.
This can be specified multiple times, or once with
parameters separated by a semicolon. It can be any of
name, version and support_status
10.30. heat resource-type-show
usage: heat resource-type-show <RESOURCE_TYPE>
Positional arguments
- <RESOURCE_TYPE>
Resource type to get the details for.
10.31. heat resource-type-template
usage: heat resource-type-template [-t <TEMPLATE_TYPE>] [-F <FORMAT>] <RESOURCE_TYPE>
Positional arguments
- <RESOURCE_TYPE>
Resource type to generate a template for.
Optional arguments
- -t <TEMPLATE_TYPE>, --template-type <TEMPLATE_TYPE>
Template type to generate, hot or cfn.
- -F <FORMAT>, --format <FORMAT>
The template output format, one of: yaml, json.
10.32. heat service-list
usage: heat service-list
10.33. heat snapshot-delete
usage: heat snapshot-delete <NAME or ID> <SNAPSHOT>
Positional arguments
- <NAME or ID>
Name or ID of the stack containing the snapshot.
- <SNAPSHOT>
The ID of the snapshot to delete.
10.34. heat snapshot-list
usage: heat snapshot-list <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of the stack containing the snapshots.
10.35. heat snapshot-show
usage: heat snapshot-show <NAME or ID> <SNAPSHOT>
Positional arguments
- <NAME or ID>
Name or ID of the stack containing the snapshot.
- <SNAPSHOT>
The ID of the snapshot to show.
10.36. heat stack-abandon
usage: heat stack-abandon [-O <FILE>] <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to abandon.
Optional arguments
- -O <FILE>, --output-file <FILE>
file to output abandon result. If the option is
specified, the result will be output into <FILE>.
10.37. heat stack-adopt
usage: heat stack-adopt [-e <FILE or URL>] [-c <TIMEOUT>] [-t <TIMEOUT>] [-a <FILE or URL>] [-r] [-P <KEY1=VALUE1;KEY2=VALUE2...>] <STACK_NAME>
Positional arguments
- <STACK_NAME>
Name of the stack to adopt.
Optional arguments
- -e <FILE or URL>, --environment-file <FILE or URL>
Path to the environment, it can be specified multiple
times.
- -c <TIMEOUT>, --create-timeout <TIMEOUT>
Stack creation timeout in minutes. DEPRECATED use
--timeout instead.
- -t <TIMEOUT>, --timeout <TIMEOUT>
Stack creation timeout in minutes.
- -a <FILE or URL>, --adopt-file <FILE or URL>
Path to adopt stack data file.
- -r, --enable-rollback
Enable rollback on create/update failure.
- -P <KEY1=VALUE1;KEY2=VALUE2...>, --parameters <KEY1=VALUE1;KEY2=VALUE2...>
Parameter values used to create the stack. This can be
specified multiple times, or once with parameters
separated by a semicolon.
10.38. heat stack-cancel-update
usage: heat stack-cancel-update <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to cancel update for.
10.39. heat stack-create
usage: heat stack-create [-f <FILE>] [-e <FILE or URL>] [--pre-create <RESOURCE>] [-u <URL>] [-o <URL>] [-c <TIMEOUT>] [-t <TIMEOUT>] [-r] [-P <KEY1=VALUE1;KEY2=VALUE2...>] [-Pf <KEY=FILE>] [--poll [SECONDS]] [--tags <TAG1,TAG2>] <STACK_NAME>
Positional arguments
- <STACK_NAME>
Name of the stack to create.
Optional arguments
- -f <FILE>, --template-file <FILE>
Path to the template.
- -e <FILE or URL>, --environment-file <FILE or URL>
Path to the environment, it can be specified multiple
times.
- --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
- -u <URL>, --template-url <URL>
URL of template.
- -o <URL>, --template-object <URL>
URL to retrieve template object (e.g. from swift).
- -c <TIMEOUT>, --create-timeout <TIMEOUT>
Stack creation timeout in minutes. DEPRECATED use
--timeout instead.
- -t <TIMEOUT>, --timeout <TIMEOUT>
Stack creation timeout in minutes.
- -r, --enable-rollback
Enable rollback on create/update failure.
- -P <KEY1=VALUE1;KEY2=VALUE2...>, --parameters <KEY1=VALUE1;KEY2=VALUE2...>
Parameter values used to create the stack. This can be
specified multiple times, or once with parameters
separated by a semicolon.
- -Pf <KEY=FILE>, --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
- --poll [SECONDS]
Poll and report events until stack completes. Optional
poll interval in seconds can be provided as argument,
default 5.
- --tags <TAG1,TAG2> A
list of tags to associate with the stack.
10.40. heat stack-delete
usage: heat stack-delete [-y] <NAME or ID> [<NAME or ID> ...]
Positional arguments
- <NAME or ID>
Name or ID of stack(s) to delete.
Optional arguments
- -y, --yes
Skip yes/no prompt (assume yes).
10.41. heat stack-list
usage: heat stack-list [-s] [-n] [-a] [-f <KEY1=VALUE1;KEY2=VALUE2...>] [-t <TAG1,TAG2...>] [--tags-any <TAG1,TAG2...>] [--not-tags <TAG1,TAG2...>] [--not-tags-any <TAG1,TAG2...>] [-l <LIMIT>] [-m <ID>] [-k <KEY1;KEY2...>] [-d [asc|desc]] [-g] [-o]
Optional arguments
- -s, --show-deleted
Include soft-deleted stacks in the stack listing.
- -n, --show-nested
Include nested stacks in the stack listing.
- -a, --show-hidden
Include hidden stacks in the stack listing.
- -f <KEY1=VALUE1;KEY2=VALUE2...>, --filters <KEY1=VALUE1;KEY2=VALUE2...>
Filter parameters to apply on returned stacks. This
can be specified multiple times, or once with
parameters separated by a semicolon.
- -t <TAG1,TAG2...>, --tags <TAG1,TAG2...>
Show stacks containing these tags, combine multiple
tags using the boolean AND expression
- --tags-any <TAG1,TAG2...>
Show stacks containing these tags, combine multiple
tags using the boolean OR expression
- --not-tags <TAG1,TAG2...>
Show stacks not containing these tags, combine
multiple tags using the boolean AND expression
- --not-tags-any <TAG1,TAG2...>
Show stacks not containing these tags, combine
multiple tags using the boolean OR expression
- -l <LIMIT>, --limit <LIMIT>
Limit the number of stacks returned.
- -m <ID>, --marker <ID>
Only return stacks that appear after the given stack
ID.
- -k <KEY1;KEY2...>, --sort-keys <KEY1;KEY2...>
List of keys for sorting the returned stacks. This can
be specified multiple times or once with keys
separated by semicolons. Valid sorting keys include
"stack_name", "stack_status", "creation_time" and
"updated_time".
- -d [asc|desc], --sort-dir [asc|desc]
Sorting direction (either "asc" or "desc") for the
sorting keys.
- -g, --global-tenant
Display stacks from all tenants. Operation only
authorized for users who match the policy in heat's
policy.json.
- -o, --show-owner
Display stack owner information. This is automatically
enabled when using --global-tenant.
10.42. heat stack-preview
usage: heat stack-preview [-f <FILE>] [-e <FILE or URL>] [-u <URL>] [-o <URL>] [-t <TIMEOUT>] [-r] [-P <KEY1=VALUE1;KEY2=VALUE2...>] [-Pf <KEY=FILE>] [--tags <TAG1,TAG2>] <STACK_NAME>
Positional arguments
- <STACK_NAME>
Name of the stack to preview.
Optional arguments
- -f <FILE>, --template-file <FILE>
Path to the template.
- -e <FILE or URL>, --environment-file <FILE or URL>
Path to the environment, it can be specified multiple
times.
- -u <URL>, --template-url <URL>
URL of template.
- -o <URL>, --template-object <URL>
URL to retrieve template object (e.g. from swift)
- -t <TIMEOUT>, --timeout <TIMEOUT>
Stack creation timeout in minutes. This is only used
during validation in preview.
- -r, --enable-rollback
Enable rollback on failure. This option is not used
during preview and exists only for symmetry with
stack-create.
- -P <KEY1=VALUE1;KEY2=VALUE2...>, --parameters <KEY1=VALUE1;KEY2=VALUE2...>
Parameter values used to preview the stack. This can
be specified multiple times, or once with parameters
separated by semicolon.
- -Pf <KEY=FILE>, --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
- --tags <TAG1,TAG2> A
list of tags to associate with the stack.
10.43. heat stack-restore
usage: heat stack-restore <NAME or ID> <SNAPSHOT>
Positional arguments
- <NAME or ID>
Name or ID of the stack containing the snapshot.
- <SNAPSHOT>
The ID of the snapshot to restore.
10.44. heat stack-show
usage: heat stack-show [--no-resolve-outputs] <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to describe.
Optional arguments
- --no-resolve-outputs
Do not resolve outputs of the stack.
10.45. heat stack-snapshot
usage: heat stack-snapshot [-n <NAME>] <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to snapshot.
Optional arguments
- -n <NAME>, --name <NAME>
If specified, the name given to the snapshot.
10.46. heat stack-update
usage: heat stack-update [-f <FILE>] [-e <FILE or URL>] [--pre-update <RESOURCE>] [-u <URL>] [-o <URL>] [-t <TIMEOUT>] [-r] [--rollback <VALUE>] [-y] [-n] [-P <KEY1=VALUE1;KEY2=VALUE2...>] [-Pf <KEY=FILE>] [-x] [-c <PARAMETER>] [--tags <TAG1,TAG2>] <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to update.
Optional arguments
- -f <FILE>, --template-file <FILE>
Path to the template.
- -e <FILE or URL>, --environment-file <FILE or URL>
Path to the environment, it 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
- -u <URL>, --template-url <URL>
URL of template.
- -o <URL>, --template-object <URL>
URL to retrieve template object (e.g. from swift).
- -t <TIMEOUT>, --timeout <TIMEOUT>
Stack update timeout in minutes.
- -r, --enable-rollback
DEPRECATED! Use --rollback argument instead. Enable
rollback on stack update failure. NOTE: default
behavior is now to use the rollback value of existing
stack.
- --rollback <VALUE>
Set rollback on update failure. Values ('1', 't',
'true', 'on', 'y', 'yes') set rollback to enabled.
Values ('0', 'f', 'false', 'off', 'n', 'no') set
rollback to disabled. Default is to use the value of
existing stack to be updated.
- -y, --dry-run
Do not actually perform the stack update, but show
what would be changed
- -n, --show-nested
Show nested stacks when performing --dry-run
- -P <KEY1=VALUE1;KEY2=VALUE2...>, --parameters <KEY1=VALUE1;KEY2=VALUE2...>
Parameter values used to create the stack. This can be
specified multiple times, or once with parameters
separated by a semicolon.
- -Pf <KEY=FILE>, --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
- -x, --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-file is specified then the existing
environment is used. Parameters specified in
--parameters will patch over the existing values in
the current stack. Parameters omitted will keep the
existing values.
- -c <PARAMETER>, --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.
10.47. heat template-function-list
usage: heat template-function-list <TEMPLATE_VERSION>
Positional arguments
- <TEMPLATE_VERSION>
Template version to get the functions for.
10.48. heat template-show
usage: heat template-show <NAME or ID>
Positional arguments
- <NAME or ID>
Name or ID of stack to get the template for.
10.49. heat template-validate
usage: heat template-validate [-u <URL>] [-f <FILE>] [-e <FILE or URL>] [-o <URL>] [-n] [-P <KEY1=VALUE1;KEY2=VALUE2...>] [-I <ERR1,ERR2...>]
Optional arguments
- -u <URL>, --template-url <URL>
URL of template.
- -f <FILE>, --template-file <FILE>
Path to the template.
- -e <FILE or URL>, --environment-file <FILE or URL>
Path to the environment, it can be specified multiple
times.
- -o <URL>, --template-object <URL>
URL to retrieve template object (e.g. from swift).
- -n, --show-nested
Resolve parameters from nested templates as well.
- -P <KEY1=VALUE1;KEY2=VALUE2...>, --parameters <KEY1=VALUE1;KEY2=VALUE2...>
Parameter values for the template. This can be
specified multiple times, or once with parameters
separated by a semicolon.
- -I <ERR1,ERR2...>, --ignore-errors <ERR1,ERR2...>
List of heat errors to ignore.
10.50. heat template-version-list
usage: heat template-version-list
Chapter 11. Telemetry Service Command-line Client
2.6.2
.
$
ceilometer
help
COMMAND
11.1. ceilometer Usage
usage: ceilometer [--version] [-d] [-v] [--timeout TIMEOUT] [--ceilometer-url <CEILOMETER_URL>] [--ceilometer-api-version CEILOMETER_API_VERSION] [--os-tenant-id <tenant-id>] [--os-region-name <region-name>] [--os-auth-token <auth-token>] [--os-service-type <service-type>] [--os-endpoint-type <endpoint-type>] [--os-cacert <cacert>] [--os-insecure <insecure>] [--os-cert-file <cert-file>] [--os-key-file <key-file>] [--os-cert <cert>] [--os-key <key>] [--os-project-name <project-name>] [--os-project-id <project-id>] [--os-project-domain-id <project-domain-id>] [--os-project-domain-name <project-domain-name>] [--os-user-id <user-id>] [--os-user-domain-id <user-domain-id>] [--os-user-domain-name <user-domain-name>] [--os-endpoint <endpoint>] [--os-auth-system <auth-system>] [--os-username <username>] [--os-password <password>] [--os-tenant-name <tenant-name>] [--os-token <token>] [--os-auth-url <auth-url>] <subcommand> ...
Subcommands
- alarm-combination-create
Create a new alarm based on state of other
alarms.
- alarm-combination-update
Update an existing alarm based on state of
other alarms.
- alarm-create
Create a new alarm (Deprecated). Use alarm-
threshold-create instead.
- alarm-delete
Delete an alarm.
- alarm-event-create
Create a new alarm based on events.
- alarm-event-update
Update an existing alarm based on events.
- alarm-gnocchi-aggregation-by-metrics-threshold-create
Create a new alarm based on computed
statistics.
- alarm-gnocchi-aggregation-by-metrics-threshold-update
Update an existing alarm based on computed
statistics.
- alarm-gnocchi-aggregation-by-resources-threshold-create
Create a new alarm based on computed
statistics.
- alarm-gnocchi-aggregation-by-resources-threshold-update
Update an existing alarm based on computed
statistics.
- alarm-gnocchi-resources-threshold-create
Create a new alarm based on computed
statistics.
- alarm-gnocchi-resources-threshold-update
Update an existing alarm based on computed
statistics.
- alarm-history
Display the change history of an alarm.
- alarm-list
List the user's alarms.
- alarm-show
Show an alarm.
- alarm-state-get
Get the state of an alarm.
- alarm-state-set
Set the state of an alarm.
- alarm-threshold-create
Create a new alarm based on computed
statistics.
- alarm-threshold-update
Update an existing alarm based on computed
statistics.
- alarm-update
Update an existing alarm (Deprecated).
- capabilities
Print Ceilometer capabilities.
- event-list
List events.
- event-show
Show a particular event.
- event-type-list
List event types.
- meter-list
List the user's meters.
- query-alarm-history
Query Alarm History.
- query-alarms
Query Alarms.
- query-samples
Query samples.
- resource-list
List the resources.
- resource-show
Show the resource.
- sample-create
Create a sample.
- sample-create-list
Create a sample list.
- sample-list
List the samples (return OldSample objects if
-m/--meter is set).
- sample-show
Show a sample.
- statistics
List the statistics for a meter.
- trait-description-list
List trait info for an event type.
- trait-list
List all traits with name <trait_name> for
Event Type <event_type>.
- bash-completion
Prints all of the commands and options to
stdout.
- help
Display help about this program or one of its
subcommands.
11.2. ceilometer Optional Arguments
- --version
show program's version number and exit
- -d, --debug
Defaults toenv[CEILOMETERCLIENT_DEBUG]
.
- -v, --verbose
Print more verbose output.
- --timeout TIMEOUT
Number of seconds to wait for a response.
- --ceilometer-url <CEILOMETER_URL>
DEPRECATED, use --os-endpoint instead.
Defaults toenv[CEILOMETER_URL]
.
- --ceilometer-api-version CEILOMETER_API_VERSION
Defaults toenv[CEILOMETER_API_VERSION]
or 2.
- --os-tenant-id <tenant-id>
Defaults toenv[OS_TENANT_ID]
.
- --os-region-name <region-name>
Defaults toenv[OS_REGION_NAME]
.
- --os-auth-token <auth-token>
Defaults toenv[OS_AUTH_TOKEN]
.
- --os-service-type <service-type>
Defaults toenv[OS_SERVICE_TYPE]
.
- --os-endpoint-type <endpoint-type>
Defaults toenv[OS_ENDPOINT_TYPE]
.
- --os-cacert <cacert>
Defaults toenv[OS_CACERT]
.
- --os-insecure <insecure>
Defaults toenv[OS_INSECURE]
.
- --os-cert-file <cert-file>
Defaults toenv[OS_CERT_FILE]
.
- --os-key-file <key-file>
Defaults toenv[OS_KEY_FILE]
.
- --os-cert <cert>
Defaults toenv[OS_CERT]
.
- --os-key <key>
Defaults toenv[OS_KEY]
.
- --os-project-name <project-name>
Defaults toenv[OS_PROJECT_NAME]
.
- --os-project-id <project-id>
Defaults toenv[OS_PROJECT_ID]
.
- --os-project-domain-id <project-domain-id>
Defaults toenv[OS_PROJECT_DOMAIN_ID]
.
- --os-project-domain-name <project-domain-name>
Defaults toenv[OS_PROJECT_DOMAIN_NAME]
.
- --os-user-id <user-id>
Defaults toenv[OS_USER_ID]
.
- --os-user-domain-id <user-domain-id>
Defaults toenv[OS_USER_DOMAIN_ID]
.
- --os-user-domain-name <user-domain-name>
Defaults toenv[OS_USER_DOMAIN_NAME]
.
- --os-endpoint <endpoint>
Defaults toenv[OS_ENDPOINT]
.
- --os-auth-system <auth-system>
Defaults toenv[OS_AUTH_SYSTEM]
.
- --os-username <username>
Defaults toenv[OS_USERNAME]
.
- --os-password <password>
Defaults toenv[OS_PASSWORD]
.
- --os-tenant-name <tenant-name>
Defaults toenv[OS_TENANT_NAME]
.
- --os-token <token>
Defaults toenv[OS_TOKEN]
.
- --os-auth-url <auth-url>
Defaults toenv[OS_AUTH_URL]
.
11.3. ceilometer alarm-combination-create
usage: ceilometer alarm-combination-create --name <NAME> [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] --alarm_ids <ALARM IDS> [--operator <OPERATOR>]
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
Required.
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --alarm_ids <ALARM IDS>
List of alarm IDs. Required.
- --operator <OPERATOR>
Operator to compare with, one of: ['and',
'or'].
11.4. ceilometer alarm-combination-update
usage: ceilometer alarm-combination-update [--name <NAME>] [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--remove-time-constraint <Constraint names>] [--alarm_ids <ALARM IDS>] [--operator <OPERATOR>] [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm to update.
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --remove-time-constraint <Constraint names>
Name or list of names of the time constraints
to remove.
- --alarm_ids <ALARM IDS>
List of alarm IDs.
- --operator <OPERATOR>
Operator to compare with, one of: ['and',
'or'].
11.5. ceilometer alarm-delete
usage: ceilometer alarm-delete [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm to delete.
11.6. ceilometer alarm-event-create
usage: ceilometer alarm-event-create --name <NAME> [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--event-type <EVENT_TYPE>] [-q <QUERY>]
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
Required.
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --event-type <EVENT_TYPE>
Event type for event alarm.
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list for filtering
events. data_type is optional, but if supplied
must be string, integer, float or datetime.
11.7. ceilometer alarm-event-update
usage: ceilometer alarm-event-update [--name <NAME>] [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--event-type <EVENT_TYPE>] [-q <QUERY>] [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm to update.
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --event-type <EVENT_TYPE>
Event type for event alarm.
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list for filtering
events. data_type is optional, but if supplied
must be string, integer, float or datetime.
11.8. ceilometer alarm-gnocchi-aggregation-by-metrics-threshold-create
usage: ceilometer alarm-gnocchi-aggregation-by-metrics-threshold-create --name <NAME> [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--granularity <GRANULARITY>] [--evaluation-periods <COUNT>] --aggregation-method <AGGREATION> [--comparison-operator <OPERATOR>] --threshold <THRESHOLD> -m <METRICS>
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
Required.
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --granularity <GRANULARITY>
Length of each period (seconds) to evaluate
over.
- --evaluation-periods <COUNT>
Number of periods to evaluate over.
- --aggregation-method <AGGREATION>
Aggregation method to use, one of: ['last',
'min', 'median', 'sum', 'std', 'first',
'mean', 'count', 'moving-average', 'max',
'1pct', '2pct', '3pct', '4pct', '5pct',
'6pct', '7pct', '8pct', '9pct', '10pct',
'11pct', '12pct', '13pct', '14pct', '15pct',
'16pct', '17pct', '18pct', '19pct', '20pct',
'21pct', '22pct', '23pct', '24pct', '25pct',
'26pct', '27pct', '28pct', '29pct', '30pct',
'31pct', '32pct', '33pct', '34pct', '35pct',
'36pct', '37pct', '38pct', '39pct', '40pct',
'41pct', '42pct', '43pct', '44pct', '45pct',
'46pct', '47pct', '48pct', '49pct', '50pct',
'51pct', '52pct', '53pct', '54pct', '55pct',
'56pct', '57pct', '58pct', '59pct', '60pct',
'61pct', '62pct', '63pct', '64pct', '65pct',
'66pct', '67pct', '68pct', '69pct', '70pct',
'71pct', '72pct', '73pct', '74pct', '75pct',
'76pct', '77pct', '78pct', '79pct', '80pct',
'81pct', '82pct', '83pct', '84pct', '85pct',
'86pct', '87pct', '88pct', '89pct', '90pct',
'91pct', '92pct', '93pct', '94pct', '95pct',
'96pct', '97pct', '98pct', '99pct']. Required.
- --comparison-operator <OPERATOR>
Operator to compare with, one of: ['lt', 'le',
'eq', 'ne', 'ge', 'gt'].
- --threshold <THRESHOLD>
Threshold to evaluate against. Required.
- -m <METRICS>, --metrics <METRICS>
Metric to evaluate against. Required.
11.9. ceilometer alarm-gnocchi-aggregation-by-metrics-threshold-update
usage: ceilometer alarm-gnocchi-aggregation-by-metrics-threshold-update [--name <NAME>] [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--granularity <GRANULARITY>] [--evaluation-periods <COUNT>] [--aggregation-method <AGGREATION>] [--comparison-operator <OPERATOR>] [--threshold <THRESHOLD>] [-m <METRICS>] [--remove-time-constraint <Constraint names>] [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm to update.
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --granularity <GRANULARITY>
Length of each period (seconds) to evaluate
over.
- --evaluation-periods <COUNT>
Number of periods to evaluate over.
- --aggregation-method <AGGREATION>
Aggregation method to use, one of: ['last',
'min', 'median', 'sum', 'std', 'first',
'mean', 'count', 'moving-average', 'max',
'1pct', '2pct', '3pct', '4pct', '5pct',
'6pct', '7pct', '8pct', '9pct', '10pct',
'11pct', '12pct', '13pct', '14pct', '15pct',
'16pct', '17pct', '18pct', '19pct', '20pct',
'21pct', '22pct', '23pct', '24pct', '25pct',
'26pct', '27pct', '28pct', '29pct', '30pct',
'31pct', '32pct', '33pct', '34pct', '35pct',
'36pct', '37pct', '38pct', '39pct', '40pct',
'41pct', '42pct', '43pct', '44pct', '45pct',
'46pct', '47pct', '48pct', '49pct', '50pct',
'51pct', '52pct', '53pct', '54pct', '55pct',
'56pct', '57pct', '58pct', '59pct', '60pct',
'61pct', '62pct', '63pct', '64pct', '65pct',
'66pct', '67pct', '68pct', '69pct', '70pct',
'71pct', '72pct', '73pct', '74pct', '75pct',
'76pct', '77pct', '78pct', '79pct', '80pct',
'81pct', '82pct', '83pct', '84pct', '85pct',
'86pct', '87pct', '88pct', '89pct', '90pct',
'91pct', '92pct', '93pct', '94pct', '95pct',
'96pct', '97pct', '98pct', '99pct'].
- --comparison-operator <OPERATOR>
Operator to compare with, one of: ['lt', 'le',
'eq', 'ne', 'ge', 'gt'].
- --threshold <THRESHOLD>
Threshold to evaluate against.
- -m <METRICS>, --metrics <METRICS>
Metric to evaluate against.
- --remove-time-constraint <Constraint names>
Name or list of names of the time constraints
to remove.
11.10. ceilometer alarm-gnocchi-aggregation-by-resources-threshold-create
usage: ceilometer alarm-gnocchi-aggregation-by-resources-threshold-create --name <NAME> [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--granularity <GRANULARITY>] [--evaluation-periods <COUNT>] --aggregation-method <AGGREATION> [--comparison-operator <OPERATOR>] --threshold <THRESHOLD> -m <METRIC> --resource-type <RESOURCE_TYPE> --query <QUERY>
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
Required.
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --granularity <GRANULARITY>
Length of each period (seconds) to evaluate
over.
- --evaluation-periods <COUNT>
Number of periods to evaluate over.
- --aggregation-method <AGGREATION>
Aggregation method to use, one of: ['last',
'min', 'median', 'sum', 'std', 'first',
'mean', 'count', 'moving-average', 'max',
'1pct', '2pct', '3pct', '4pct', '5pct',
'6pct', '7pct', '8pct', '9pct', '10pct',
'11pct', '12pct', '13pct', '14pct', '15pct',
'16pct', '17pct', '18pct', '19pct', '20pct',
'21pct', '22pct', '23pct', '24pct', '25pct',
'26pct', '27pct', '28pct', '29pct', '30pct',
'31pct', '32pct', '33pct', '34pct', '35pct',
'36pct', '37pct', '38pct', '39pct', '40pct',
'41pct', '42pct', '43pct', '44pct', '45pct',
'46pct', '47pct', '48pct', '49pct', '50pct',
'51pct', '52pct', '53pct', '54pct', '55pct',
'56pct', '57pct', '58pct', '59pct', '60pct',
'61pct', '62pct', '63pct', '64pct', '65pct',
'66pct', '67pct', '68pct', '69pct', '70pct',
'71pct', '72pct', '73pct', '74pct', '75pct',
'76pct', '77pct', '78pct', '79pct', '80pct',
'81pct', '82pct', '83pct', '84pct', '85pct',
'86pct', '87pct', '88pct', '89pct', '90pct',
'91pct', '92pct', '93pct', '94pct', '95pct',
'96pct', '97pct', '98pct', '99pct']. Required.
- --comparison-operator <OPERATOR>
Operator to compare with, one of: ['lt', 'le',
'eq', 'ne', 'ge', 'gt'].
- --threshold <THRESHOLD>
Threshold to evaluate against. Required.
- -m <METRIC>, --metric <METRIC>
Metric to evaluate against. Required.
- --resource-type <RESOURCE_TYPE>
Resource_type to evaluate against. Required.
- --query <QUERY>
Gnocchi resources search query filter
Required.
11.11. ceilometer alarm-gnocchi-aggregation-by-resources-threshold-update
usage: ceilometer alarm-gnocchi-aggregation-by-resources-threshold-update [--name <NAME>] [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--granularity <GRANULARITY>] [--evaluation-periods <COUNT>] [--aggregation-method <AGGREATION>] [--comparison-operator <OPERATOR>] [--threshold <THRESHOLD>] [-m <METRIC>] [--resource-type <RESOURCE_TYPE>] [--query <QUERY>] [--remove-time-constraint <Constraint names>] [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm to update.
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --granularity <GRANULARITY>
Length of each period (seconds) to evaluate
over.
- --evaluation-periods <COUNT>
Number of periods to evaluate over.
- --aggregation-method <AGGREATION>
Aggregation method to use, one of: ['last',
'min', 'median', 'sum', 'std', 'first',
'mean', 'count', 'moving-average', 'max',
'1pct', '2pct', '3pct', '4pct', '5pct',
'6pct', '7pct', '8pct', '9pct', '10pct',
'11pct', '12pct', '13pct', '14pct', '15pct',
'16pct', '17pct', '18pct', '19pct', '20pct',
'21pct', '22pct', '23pct', '24pct', '25pct',
'26pct', '27pct', '28pct', '29pct', '30pct',
'31pct', '32pct', '33pct', '34pct', '35pct',
'36pct', '37pct', '38pct', '39pct', '40pct',
'41pct', '42pct', '43pct', '44pct', '45pct',
'46pct', '47pct', '48pct', '49pct', '50pct',
'51pct', '52pct', '53pct', '54pct', '55pct',
'56pct', '57pct', '58pct', '59pct', '60pct',
'61pct', '62pct', '63pct', '64pct', '65pct',
'66pct', '67pct', '68pct', '69pct', '70pct',
'71pct', '72pct', '73pct', '74pct', '75pct',
'76pct', '77pct', '78pct', '79pct', '80pct',
'81pct', '82pct', '83pct', '84pct', '85pct',
'86pct', '87pct', '88pct', '89pct', '90pct',
'91pct', '92pct', '93pct', '94pct', '95pct',
'96pct', '97pct', '98pct', '99pct'].
- --comparison-operator <OPERATOR>
Operator to compare with, one of: ['lt', 'le',
'eq', 'ne', 'ge', 'gt'].
- --threshold <THRESHOLD>
Threshold to evaluate against.
- -m <METRIC>, --metric <METRIC>
Metric to evaluate against.
- --resource-type <RESOURCE_TYPE>
Resource_type to evaluate against.
- --query <QUERY>
Gnocchi resources search query filter
- --remove-time-constraint <Constraint names>
Name or list of names of the time constraints
to remove.
11.12. ceilometer alarm-gnocchi-resources-threshold-create
usage: ceilometer alarm-gnocchi-resources-threshold-create --name <NAME> [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--granularity <GRANULARITY>] [--evaluation-periods <COUNT>] --aggregation-method <AGGREATION> [--comparison-operator <OPERATOR>] --threshold <THRESHOLD> -m <METRIC> --resource-type <RESOURCE_TYPE> --resource-id <RESOURCE_ID>
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
Required.
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --granularity <GRANULARITY>
Length of each period (seconds) to evaluate
over.
- --evaluation-periods <COUNT>
Number of periods to evaluate over.
- --aggregation-method <AGGREATION>
Aggregation method to use, one of: ['last',
'min', 'median', 'sum', 'std', 'first',
'mean', 'count', 'moving-average', 'max',
'1pct', '2pct', '3pct', '4pct', '5pct',
'6pct', '7pct', '8pct', '9pct', '10pct',
'11pct', '12pct', '13pct', '14pct', '15pct',
'16pct', '17pct', '18pct', '19pct', '20pct',
'21pct', '22pct', '23pct', '24pct', '25pct',
'26pct', '27pct', '28pct', '29pct', '30pct',
'31pct', '32pct', '33pct', '34pct', '35pct',
'36pct', '37pct', '38pct', '39pct', '40pct',
'41pct', '42pct', '43pct', '44pct', '45pct',
'46pct', '47pct', '48pct', '49pct', '50pct',
'51pct', '52pct', '53pct', '54pct', '55pct',
'56pct', '57pct', '58pct', '59pct', '60pct',
'61pct', '62pct', '63pct', '64pct', '65pct',
'66pct', '67pct', '68pct', '69pct', '70pct',
'71pct', '72pct', '73pct', '74pct', '75pct',
'76pct', '77pct', '78pct', '79pct', '80pct',
'81pct', '82pct', '83pct', '84pct', '85pct',
'86pct', '87pct', '88pct', '89pct', '90pct',
'91pct', '92pct', '93pct', '94pct', '95pct',
'96pct', '97pct', '98pct', '99pct']. Required.
- --comparison-operator <OPERATOR>
Operator to compare with, one of: ['lt', 'le',
'eq', 'ne', 'ge', 'gt'].
- --threshold <THRESHOLD>
Threshold to evaluate against. Required.
- -m <METRIC>, --metric <METRIC>
Metric to evaluate against. Required.
- --resource-type <RESOURCE_TYPE>
Resource_type to evaluate against. Required.
- --resource-id <RESOURCE_ID>
Resource id to evaluate against Required.
11.13. ceilometer alarm-gnocchi-resources-threshold-update
usage: ceilometer alarm-gnocchi-resources-threshold-update [--name <NAME>] [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--granularity <GRANULARITY>] [--evaluation-periods <COUNT>] [--aggregation-method <AGGREATION>] [--comparison-operator <OPERATOR>] [--threshold <THRESHOLD>] [-m <METRIC>] [--resource-type <RESOURCE_TYPE>] [--resource-id <RESOURCE_ID>] [--remove-time-constraint <Constraint names>] [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm to update.
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --granularity <GRANULARITY>
Length of each period (seconds) to evaluate
over.
- --evaluation-periods <COUNT>
Number of periods to evaluate over.
- --aggregation-method <AGGREATION>
Aggregation method to use, one of: ['last',
'min', 'median', 'sum', 'std', 'first',
'mean', 'count', 'moving-average', 'max',
'1pct', '2pct', '3pct', '4pct', '5pct',
'6pct', '7pct', '8pct', '9pct', '10pct',
'11pct', '12pct', '13pct', '14pct', '15pct',
'16pct', '17pct', '18pct', '19pct', '20pct',
'21pct', '22pct', '23pct', '24pct', '25pct',
'26pct', '27pct', '28pct', '29pct', '30pct',
'31pct', '32pct', '33pct', '34pct', '35pct',
'36pct', '37pct', '38pct', '39pct', '40pct',
'41pct', '42pct', '43pct', '44pct', '45pct',
'46pct', '47pct', '48pct', '49pct', '50pct',
'51pct', '52pct', '53pct', '54pct', '55pct',
'56pct', '57pct', '58pct', '59pct', '60pct',
'61pct', '62pct', '63pct', '64pct', '65pct',
'66pct', '67pct', '68pct', '69pct', '70pct',
'71pct', '72pct', '73pct', '74pct', '75pct',
'76pct', '77pct', '78pct', '79pct', '80pct',
'81pct', '82pct', '83pct', '84pct', '85pct',
'86pct', '87pct', '88pct', '89pct', '90pct',
'91pct', '92pct', '93pct', '94pct', '95pct',
'96pct', '97pct', '98pct', '99pct'].
- --comparison-operator <OPERATOR>
Operator to compare with, one of: ['lt', 'le',
'eq', 'ne', 'ge', 'gt'].
- --threshold <THRESHOLD>
Threshold to evaluate against.
- -m <METRIC>, --metric <METRIC>
Metric to evaluate against.
- --resource-type <RESOURCE_TYPE>
Resource_type to evaluate against.
- --resource-id <RESOURCE_ID>
Resource id to evaluate against
- --remove-time-constraint <Constraint names>
Name or list of names of the time constraints
to remove.
11.14. ceilometer alarm-history
usage: ceilometer alarm-history [-q <QUERY>] [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm for which history is shown.
Optional arguments
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list. data_type is
optional, but if supplied must be string,
integer, float, or boolean.
11.15. ceilometer alarm-list
usage: ceilometer alarm-list [-q <QUERY>]
Optional arguments
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list. data_type is
optional, but if supplied must be string,
integer, float, or boolean.
11.16. ceilometer alarm-show
usage: ceilometer alarm-show [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm to show.
11.17. ceilometer alarm-state-get
usage: ceilometer alarm-state-get [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm state to show.
11.18. ceilometer alarm-state-set
usage: ceilometer alarm-state-set --state <STATE> [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm state to set.
Optional arguments
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm', 'insufficient
data']. Required.
11.19. ceilometer alarm-threshold-create
usage: ceilometer alarm-threshold-create --name <NAME> [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] -m <METRIC> [--period <PERIOD>] [--evaluation-periods <COUNT>] [--statistic <STATISTIC>] [--comparison-operator <OPERATOR>] --threshold <THRESHOLD> [-q <QUERY>]
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
Required.
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- -m <METRIC>, --meter-name <METRIC>
Metric to evaluate against. Required.
- --period <PERIOD>
Length of each period (seconds) to evaluate
over.
- --evaluation-periods <COUNT>
Number of periods to evaluate over.
- --statistic <STATISTIC>
Statistic to evaluate, one of: ['max', 'min',
'avg', 'sum', 'count'].
- --comparison-operator <OPERATOR>
Operator to compare with, one of: ['lt', 'le',
'eq', 'ne', 'ge', 'gt'].
- --threshold <THRESHOLD>
Threshold to evaluate against. Required.
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list. data_type is
optional, but if supplied must be string,
integer, float, or boolean.
11.20. ceilometer alarm-threshold-update
usage: ceilometer alarm-threshold-update [--name <NAME>] [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--remove-time-constraint <Constraint names>] [-m <METRIC>] [--period <PERIOD>] [--evaluation-periods <COUNT>] [--statistic <STATISTIC>] [--comparison-operator <OPERATOR>] [--threshold <THRESHOLD>] [-q <QUERY>] [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm to update.
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --remove-time-constraint <Constraint names>
Name or list of names of the time constraints
to remove.
- -m <METRIC>, --meter-name <METRIC>
Metric to evaluate against.
- --period <PERIOD>
Length of each period (seconds) to evaluate
over.
- --evaluation-periods <COUNT>
Number of periods to evaluate over.
- --statistic <STATISTIC>
Statistic to evaluate, one of: ['max', 'min',
'avg', 'sum', 'count'].
- --comparison-operator <OPERATOR>
Operator to compare with, one of: ['lt', 'le',
'eq', 'ne', 'ge', 'gt'].
- --threshold <THRESHOLD>
Threshold to evaluate against.
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list. data_type is
optional, but if supplied must be string,
integer, float, or boolean.
11.21. ceilometer alarm-update
usage: ceilometer alarm-update [--name <NAME>] [--project-id <ALARM_PROJECT_ID>] [--user-id <ALARM_USER_ID>] [--description <DESCRIPTION>] [--state <STATE>] [--severity <SEVERITY>] [--enabled {True|False}] [--alarm-action <Webhook URL>] [--ok-action <Webhook URL>] [--insufficient-data-action <Webhook URL>] [--time-constraint <Time Constraint>] [--repeat-actions {True|False}] [--remove-time-constraint <Constraint names>] [--period <PERIOD>] [--evaluation-periods <COUNT>] [-m <METRIC>] [--statistic <STATISTIC>] [--comparison-operator <OPERATOR>] [--threshold <THRESHOLD>] [--matching-metadata <Matching Metadata>] [<ALARM_ID>]
Positional arguments
- <ALARM_ID>
ID of the alarm to update.
Optional arguments
- --name <NAME>
Name of the alarm (must be unique per tenant).
- --project-id <ALARM_PROJECT_ID>
Tenant to associate with alarm (configurable
by admin users only).
- --user-id <ALARM_USER_ID>
User to associate with alarm (configurable by
admin users only).
- --description <DESCRIPTION>
Free text description of the alarm.
- --state <STATE>
State of the alarm, one of: ['ok', 'alarm',
'insufficient data']
- --severity <SEVERITY>
Severity of the alarm, one of: ['low',
'moderate', 'critical']
- --enabled {True|False}
True if alarm evaluation/actioning is enabled.
- --alarm-action <Webhook URL> URL
to invoke when state transitions to alarm.
May be used multiple times. Defaults to None.
- --ok-action <Webhook URL> URL
to invoke when state transitions to OK.
May be used multiple times. Defaults to None.
- --insufficient-data-action <Webhook URL>
URL to invoke when state transitions to
insufficient data. May be used multiple times.
Defaults to None.
- --time-constraint <Time Constraint>
Only evaluate the alarm if the time at
evaluation is within this time constraint.
Start point(s) of the constraint are specified
with a cron expression, whereas its duration
is given in seconds. Can be specified multiple
times for multiple time constraints, format
is: name=<CONSTRAINT_NAME>;start=<CRON>;durati
on=<SECONDS>;[description=<DESCRIPTION>;[timez
one=<IANA Timezone>]] Defaults to None.
- --repeat-actions {True|False}
True if actions should be repeatedly notified
while alarm remains in target state.
- --remove-time-constraint <Constraint names>
Name or list of names of the time constraints
to remove.
- --period <PERIOD>
Length of each period (seconds) to evaluate
over.
- --evaluation-periods <COUNT>
Number of periods to evaluate over.
- -m <METRIC>, --meter-name <METRIC>
Metric to evaluate against.
- --statistic <STATISTIC>
Statistic to evaluate, one of: ['max', 'min',
'avg', 'sum', 'count']
- --comparison-operator <OPERATOR>
Operator to compare with, one of: ['lt', 'le',
'eq', 'ne', 'ge', 'gt'].
- --threshold <THRESHOLD>
Threshold to evaluate against.
- --matching-metadata <Matching Metadata>
A meter should match this resource metadata
(key=value) additionally to the meter_name.
Defaults to None.
11.22. ceilometer capabilities
usage: ceilometer capabilities
11.23. ceilometer event-list
usage: ceilometer event-list [-q <QUERY>] [--no-traits] [-l <NUMBER>]
Optional arguments
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list. data_type is
optional, but if supplied must be string,
integer, float or datetime.
- --no-traits
If specified, traits will not be printed.
- -l <NUMBER>, --limit <NUMBER>
Maximum number of events to return. API server
limits result to <default_api_return_limit>
rows if no limit provided. Option is
configured in ceilometer.conf [api] group
11.24. ceilometer event-show
usage: ceilometer event-show <message_id>
Positional arguments
- <message_id>
The ID of the event. Should be a UUID.
11.25. ceilometer event-type-list
usage: ceilometer event-type-list
11.26. ceilometer meter-list
usage: ceilometer meter-list [-q <QUERY>] [-l <NUMBER>] [--unique {True|False}]
Optional arguments
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list. data_type is
optional, but if supplied must be string,
integer, float, or boolean.
- -l <NUMBER>, --limit <NUMBER>
Maximum number of meters to return. API server
limits result to <default_api_return_limit>
rows if no limit provided. Option is
configured in ceilometer.conf [api] group
- --unique {True|False}
Retrieves unique list of meters.
11.27. ceilometer query-alarm-history
usage: ceilometer query-alarm-history [-f <FILTER>] [-o <ORDERBY>] [-l <LIMIT>]
Optional arguments
- -f <FILTER>, --filter <FILTER>
{complex_op: [{simple_op: {field_name:
value}}]} The complex_op is one of: ['and',
'or'], simple_op is one of: ['=', '!=', '<',
'<=', '>', '>='].
- -o <ORDERBY>, --orderby <ORDERBY>
[{field_name: direction}, {field_name:
direction}] The direction is one of: ['asc',
'desc'].
- -l <LIMIT>, --limit <LIMIT>
Maximum number of alarm history items to
return. API server limits result to
<default_api_return_limit> rows if no limit
provided. Option is configured in
ceilometer.conf [api] group
11.28. ceilometer query-alarms
usage: ceilometer query-alarms [-f <FILTER>] [-o <ORDERBY>] [-l <LIMIT>]
Optional arguments
- -f <FILTER>, --filter <FILTER>
{complex_op: [{simple_op: {field_name:
value}}]} The complex_op is one of: ['and',
'or'], simple_op is one of: ['=', '!=', '<',
'<=', '>', '>='].
- -o <ORDERBY>, --orderby <ORDERBY>
[{field_name: direction}, {field_name:
direction}] The direction is one of: ['asc',
'desc'].
- -l <LIMIT>, --limit <LIMIT>
Maximum number of alarms to return. API server
limits result to <default_api_return_limit>
rows if no limit provided. Option is
configured in ceilometer.conf [api] group
11.29. ceilometer query-samples
usage: ceilometer query-samples [-f <FILTER>] [-o <ORDERBY>] [-l <LIMIT>]
Optional arguments
- -f <FILTER>, --filter <FILTER>
{complex_op: [{simple_op: {field_name:
value}}]} The complex_op is one of: ['and',
'or'], simple_op is one of: ['=', '!=', '<',
'<=', '>', '>='].
- -o <ORDERBY>, --orderby <ORDERBY>
[{field_name: direction}, {field_name:
direction}] The direction is one of: ['asc',
'desc'].
- -l <LIMIT>, --limit <LIMIT>
Maximum number of samples to return. API
server limits result to
<default_api_return_limit> rows if no limit
provided. Option is configured in
ceilometer.conf [api] group
11.30. ceilometer resource-list
usage: ceilometer resource-list [-q <QUERY>] [-l <NUMBER>]
Optional arguments
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list. data_type is
optional, but if supplied must be string,
integer, float, or boolean.
- -l <NUMBER>, --limit <NUMBER>
Maximum number of resources to return. API
server limits result to
<default_api_return_limit> rows if no limit
provided. Option is configured in
ceilometer.conf [api] group
11.31. ceilometer resource-show
usage: ceilometer resource-show <RESOURCE_ID>
Positional arguments
- <RESOURCE_ID>
ID of the resource to show.
11.32. ceilometer sample-create
usage: ceilometer sample-create [--project-id <SAMPLE_PROJECT_ID>] [--user-id <SAMPLE_USER_ID>] -r <RESOURCE_ID> -m <METER_NAME> --meter-type <METER_TYPE> --meter-unit <METER_UNIT> --sample-volume <SAMPLE_VOLUME> [--resource-metadata <RESOURCE_METADATA>] [--timestamp <TIMESTAMP>] [--direct <DIRECT>]
Optional arguments
- --project-id <SAMPLE_PROJECT_ID>
Tenant to associate with sample (configurable
by admin users only).
- --user-id <SAMPLE_USER_ID>
User to associate with sample (configurable by
admin users only).
- -r <RESOURCE_ID>, --resource-id <RESOURCE_ID>
ID of the resource. Required.
- -m <METER_NAME>, --meter-name <METER_NAME>
The meter name. Required.
- --meter-type <METER_TYPE>
The meter type. Required.
- --meter-unit <METER_UNIT>
The meter unit. Required.
- --sample-volume <SAMPLE_VOLUME>
The sample volume. Required.
- --resource-metadata <RESOURCE_METADATA>
Resource metadata. Provided value should be a
set of key-value pairs e.g. {"key":"value"}.
- --timestamp <TIMESTAMP>
The sample timestamp.
- --direct <DIRECT>
Post sample to storage directly. Defaults to
False.
11.33. ceilometer sample-create-list
usage: ceilometer sample-create-list [--direct <DIRECT>] <SAMPLES_LIST>
Positional arguments
- <SAMPLES_LIST>
Json array with samples to create.
Optional arguments
- --direct <DIRECT>
Post samples to storage directly. Defaults to False.
11.34. ceilometer sample-list
usage: ceilometer sample-list [-q <QUERY>] [-m <NAME>] [-l <NUMBER>]
Optional arguments
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list. data_type is
optional, but if supplied must be string,
integer, float, or boolean.
- -m <NAME>, --meter <NAME>
Name of meter to show samples for.
- -l <NUMBER>, --limit <NUMBER>
Maximum number of samples to return. API
server limits result to
<default_api_return_limit> rows if no limit
provided. Option is configured in
ceilometer.conf [api] group
11.35. ceilometer sample-show
usage: ceilometer sample-show <SAMPLE_ID>
Positional arguments
- <SAMPLE_ID>
ID (aka message ID) of the sample to show.
11.36. ceilometer statistics
usage: ceilometer statistics [-q <QUERY>] -m <NAME> [-p <PERIOD>] [-g <FIELD>] [-a <FUNC>[<-<PARAM>]]
Optional arguments
- -q <QUERY>, --query <QUERY>
key[op]data_type::value; list. data_type is
optional, but if supplied must be string,
integer, float, or boolean.
- -m <NAME>, --meter <NAME>
Name of meter to list statistics for.
Required.
- -p <PERIOD>, --period <PERIOD>
Period in seconds over which to group samples.
- -g <FIELD>, --groupby <FIELD>
Field for group by.
- -a <FUNC>[<-<PARAM>], --aggregate <FUNC>[<-<PARAM>]
Function for data aggregation. Available
aggregates are: count, cardinality, min, max,
sum, stddev, avg. Defaults to [].
11.37. ceilometer trait-description-list
usage: ceilometer trait-description-list -e <EVENT_TYPE>
Optional arguments
- -e <EVENT_TYPE>, --event_type <EVENT_TYPE>
Type of the event for which traits will be
shown. Required.
11.38. ceilometer trait-list
usage: ceilometer trait-list -e <EVENT_TYPE> -t <TRAIT_NAME>
Optional arguments
- -e <EVENT_TYPE>, --event_type <EVENT_TYPE>
Type of the event for which traits will
listed. Required.
- -t <TRAIT_NAME>, --trait_name <TRAIT_NAME>
The name of the trait to list. Required.
Chapter 12. Bare Metal Service Command-line Client
1.7.1
.
$
ironic
help
COMMAND
12.1. ironic Usage
usage: ironic [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] [--version] [--debug] [--json] [-v] [--cert-file OS_CERT] [--key-file OS_KEY] [--ca-file OS_CACERT] [--os-username OS_USERNAME] [--os-password OS_PASSWORD] [--os-tenant-id OS_TENANT_ID] [--os-tenant-name OS_TENANT_NAME] [--os-auth-url OS_AUTH_URL] [--os-region-name OS_REGION_NAME] [--os-auth-token OS_AUTH_TOKEN] [--ironic-url IRONIC_URL] [--ironic-api-version IRONIC_API_VERSION] [--os-service-type OS_SERVICE_TYPE] [--os-endpoint IRONIC_URL] [--os-endpoint-type OS_ENDPOINT_TYPE] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--max-retries MAX_RETRIES] [--retry-interval RETRY_INTERVAL] <subcommand> ...
Subcommands
- chassis-create
Create a new chassis.
- chassis-delete
Delete a chassis.
- chassis-list
List the chassis.
- chassis-node-list
List the nodes contained in a chassis.
- chassis-show
Show detailed information about a chassis.
- chassis-update
Update information about a chassis.
- node-create
Register a new node with the Ironic service.
- node-delete
Unregister node(s) from the Ironic service.
- node-get-boot-device
Get the current boot device for a node.
- node-get-console
Get the connection information for a node's console,
if enabled.
- node-get-supported-boot-devices
Get the supported boot devices for a node.
- node-get-vendor-passthru-methods
Get the vendor passthru methods for a node.
- node-list
List the nodes which are registered with the Ironic
service.
- node-port-list
List the ports associated with a node.
- node-set-boot-device
Set the boot device for a node.
- node-set-console-mode
Enable or disable serial console access for a node.
- node-set-maintenance
Enable or disable maintenance mode for a node.
- node-set-power-state
Power a node on or off or reboot.
- node-set-provision-state
Initiate a provisioning state change for a node.
- node-set-target-raid-config
Set target RAID config on a node.
- node-show
Show detailed information about a node.
- node-show-states
Show information about the node's states.
- node-update
Update information about a registered node.
- node-validate
Validate a node's driver interfaces.
- node-vendor-passthru
Call a vendor-passthru extension for a node.
- port-create
Create a new port.
- port-delete
Delete a port.
- port-list
List the ports.
- port-show
Show detailed information about a port.
- port-update
Update information about a port.
- driver-get-vendor-passthru-methods
Get the vendor passthru methods for a driver.
- driver-list
List the enabled drivers.
- driver-properties
Get properties of a driver.
- driver-raid-logical-disk-properties
Get RAID logical disk properties for a driver.
- driver-show
Show information about a driver.
- driver-vendor-passthru
Call a vendor-passthru extension for a driver.
- create
Create baremetal resources (chassis, nodes, and
ports).
- bash-completion
Prints all of the commands and options for bash-
completion.
- help
Display help about this program or one of its
subcommands.
12.2. ironic Optional Arguments
- --version
show program's version number and exit
- --debug
Defaults toenv[IRONICCLIENT_DEBUG]
- --json
Print JSON response without formatting.
- -v, --verbose
Print more verbose output
- --cert-file OS_CERT
DEPRECATED! Use --os-cert.
- --key-file OS_KEY
DEPRECATED! Use --os-key.
- --ca-file OS_CACERT
DEPRECATED! Use --os-cacert.
- --os-username OS_USERNAME
Defaults toenv[OS_USERNAME]
- --os-password OS_PASSWORD
Defaults toenv[OS_PASSWORD]
- --os-tenant-id OS_TENANT_ID
Defaults toenv[OS_TENANT_ID]
- --os-tenant-name OS_TENANT_NAME
Defaults toenv[OS_TENANT_NAME]
- --os-auth-url OS_AUTH_URL
Defaults toenv[OS_AUTH_URL]
- --os-region-name OS_REGION_NAME
Defaults toenv[OS_REGION_NAME]
- --os-auth-token OS_AUTH_TOKEN
Defaults toenv[OS_AUTH_TOKEN]
- --ironic-url IRONIC_URL
Defaults toenv[IRONIC_URL]
- --ironic-api-version IRONIC_API_VERSION
Accepts 1.x (where "x" is microversion) or "latest",
Defaults toenv[IRONIC_API_VERSION]
or 1
- --os-service-type OS_SERVICE_TYPE
Defaults toenv[OS_SERVICE_TYPE]
or "baremetal"
- --os-endpoint IRONIC_URL
Specify an endpoint to use instead of retrieving one
from the service catalog (via authentication).
Defaults toenv[OS_SERVICE_ENDPOINT]
.
- --os-endpoint-type OS_ENDPOINT_TYPE
Defaults toenv[OS_ENDPOINT_TYPE]
or "publicURL"
- --os-user-domain-id OS_USER_DOMAIN_ID
Defaults toenv[OS_USER_DOMAIN_ID]
.
- --os-user-domain-name OS_USER_DOMAIN_NAME
Defaults toenv[OS_USER_DOMAIN_NAME]
.
- --os-project-id OS_PROJECT_ID
Another way to specify tenant ID. This option is
mutually exclusive with --os-tenant-id. Defaults to
env[OS_PROJECT_ID]
.
- --os-project-name OS_PROJECT_NAME
Another way to specify tenant name. This option is
mutually exclusive with --os-tenant-name. Defaults to
env[OS_PROJECT_NAME]
.
- --os-project-domain-id OS_PROJECT_DOMAIN_ID
Defaults toenv[OS_PROJECT_DOMAIN_ID]
.
- --os-project-domain-name OS_PROJECT_DOMAIN_NAME
Defaults toenv[OS_PROJECT_DOMAIN_NAME]
.
- --max-retries MAX_RETRIES
Maximum number of retries in case of conflict error
(HTTP 409). Defaults toenv[IRONIC_MAX_RETRIES]
or 5.
Use 0 to disable retrying.
- --retry-interval RETRY_INTERVAL
Amount of time (in seconds) between retries in case of
conflict error (HTTP 409). Defaults to
env[IRONIC_RETRY_INTERVAL]
or 2.
12.3. ironic chassis-create
usage: ironic chassis-create [-d <description>] [-e <key=value>] [-u <uuid>]
Optional arguments
- -d <description>, --description <description>
Description of the chassis.
- -e <key=value>, --extra <key=value>
Record arbitrary key/value metadata. Can be specified
multiple times.
- -u <uuid>, --uuid <uuid>
UUID of the chassis.
12.4. ironic chassis-delete
usage: ironic chassis-delete <chassis> [<chassis> ...]
Positional arguments
- <chassis>
UUID of the chassis.
12.5. ironic chassis-list
usage: ironic chassis-list [--detail] [--limit <limit>] [--marker <chassis>] [--sort-key <field>] [--sort-dir <direction>] [--fields <field> [<field> ...]]
Optional arguments
- --detail
Show detailed information about the chassis.
- --limit <limit>
Maximum number of chassis to return per request, 0 for
no limit. Default is the maximum number used by the
Ironic API Service.
- --marker <chassis>
Chassis UUID (for example, of the last chassis in the
list from a previous request). Returns the list of
chassis after this UUID.
- --sort-key <field>
Chassis field that will be used for sorting.
- --sort-dir <direction>
Sort direction: "asc" (the default) or "desc".
- --fields <field> [<field> ...]
One or more chassis fields. Only these fields will be
fetched from the server. Can not be used when '--
detail' is specified.
12.6. ironic chassis-node-list
usage: ironic chassis-node-list [--detail] [--limit <limit>] [--marker <node>] [--sort-key <field>] [--sort-dir <direction>] [--fields <field> [<field> ...]] [--maintenance <boolean>] [--associated <boolean>] [--provision-state <provision-state>] <chassis>
Positional arguments
- <chassis>
UUID of the chassis.
Optional arguments
- --detail
Show detailed information about the nodes.
- --limit <limit>
Maximum number of nodes to return per request, 0 for
no limit. Default is the maximum number used by the
Ironic 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 <field>
Node field that will be used for sorting.
- --sort-dir <direction>
Sort direction: "asc" (the default) or "desc".
- --fields <field> [<field> ...]
One or more node fields. Only these fields will be
fetched from the server. Can not be used when '--
detail' is specified.
- --maintenance <boolean>
List nodes in maintenance mode: 'true' or 'false'.
- --associated <boolean>
List nodes by instance association: 'true' or 'false'.
- --provision-state <provision-state>
List nodes in specified provision state.
12.7. ironic chassis-show
usage: ironic chassis-show [--fields <field> [<field> ...]] <chassis>
Positional arguments
- <chassis>
UUID of the chassis.
Optional arguments
- --fields <field> [<field> ...]
One or more chassis fields. Only these fields will be
fetched from the server.
12.8. ironic chassis-update
usage: ironic chassis-update <chassis> <op> <path=value> [<path=value> ...]
Positional arguments
- <chassis>
UUID of the chassis.
- <op>
Operation: 'add', 'replace', or 'remove'.
- <path=value>
Attribute to add, replace, or remove. Can be specified
multiple times. For 'remove', only <path> is necessary.
12.9. ironic create
usage: ironic create <file> [<file> ...]
Positional arguments
- <file>
File (.yaml or .json) containing descriptions of the resources to
create. Can be specified multiple times.
12.10. ironic driver-get-vendor-passthru-methods
usage: ironic driver-get-vendor-passthru-methods <driver>
Positional arguments
- <driver>
Name of the driver.
12.11. ironic driver-list
usage: ironic driver-list
12.12. ironic driver-properties
usage: ironic driver-properties [--wrap <integer>] <driver>
Positional arguments
- <driver>
Name of the driver.
Optional arguments
- --wrap <integer>
Wrap the output to a specified length. Positive number can
realize wrap functionality. 0 is default for disabled.
12.13. ironic driver-raid-logical-disk-properties
usage: ironic driver-raid-logical-disk-properties [--wrap <integer>] <driver>
Positional arguments
- <driver>
Name of the driver.
Optional arguments
- --wrap <integer>
Wrap the output to a specified length. Positive number can
realize wrap functionality. 0 is default for disabled.
12.14. ironic driver-show
usage: ironic driver-show <driver>
Positional arguments
- <driver>
Name of the driver.
12.15. ironic driver-vendor-passthru
usage: ironic driver-vendor-passthru [--http-method <http-method>] <driver> <method> [<arg=value> [<arg=value> ...]]
Positional arguments
- <driver>
Name of the driver.
- <method>
Vendor-passthru method to be called.
- <arg=value>
Argument to be passed to the vendor-passthru method.
Can be specified multiple times.
Optional arguments
- --http-method <http-method>
The HTTP method to use in the request. Valid HTTP
methods are: 'POST', 'PUT', 'GET', 'DELETE', and
'PATCH'. Defaults to 'POST'.
12.16. ironic node-create
usage: ironic node-create [-c <chassis>] -d <driver> [-i <key=value>] [-p <key=value>] [-e <key=value>] [-u <uuid>] [-n <name>] [--network-interface <network_interface>] [--resource-class <resource_class>]
Optional arguments
- -c <chassis>, --chassis <chassis>
UUID of the chassis that this node belongs to.
- -d <driver>, --driver <driver>
Driver used to control the node [REQUIRED].
- -i <key=value>, --driver-info <key=value>
Key/value pair used by the driver, such as out-of-band
management credentials. Can be specified multiple
times.
- -p <key=value>, --properties <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.
- -e <key=value>, --extra <key=value>
Record arbitrary key/value metadata. Can be specified
multiple times.
- -u <uuid>, --uuid <uuid>
Unique UUID for the node.
- -n <name>, --name <name>
Unique name for the node.
- --network-interface <network_interface>
Network interface used for switching node to
cleaning/provisioning networks.
- --resource-class <resource_class>
Resource class for classifying or grouping nodes.
Used, for example, to classify nodes in Nova's
placement engine.
12.17. ironic node-delete
usage: ironic node-delete <node> [<node> ...]
Positional arguments
- <node>
Name or UUID of the node.
12.18. ironic node-get-boot-device
usage: ironic node-get-boot-device <node>
Positional arguments
- <node>
Name or UUID of the node.
12.19. ironic node-get-console
usage: ironic node-get-console <node>
Positional arguments
- <node>
Name or UUID of the node.
12.20. ironic node-get-supported-boot-devices
usage: ironic node-get-supported-boot-devices <node>
Positional arguments
- <node>
Name or UUID of the node.
12.21. ironic node-get-vendor-passthru-methods
usage: ironic node-get-vendor-passthru-methods <node>
Positional arguments
- <node>
Name or UUID of the node.
12.22. ironic node-list
usage: ironic node-list [--limit <limit>] [--marker <node>] [--sort-key <field>] [--sort-dir <direction>] [--maintenance <boolean>] [--associated <boolean>] [--provision-state <provision-state>] [--driver <driver>] [--detail] [--fields <field> [<field> ...]] [--resource-class <resource class>]
Optional arguments
- --limit <limit>
Maximum number of nodes to return per request, 0 for
no limit. Default is the maximum number used by the
Ironic 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 <field>
Node field that will be used for sorting.
- --sort-dir <direction>
Sort direction: "asc" (the default) or "desc".
- --maintenance <boolean>
List nodes in maintenance mode: 'true' or 'false'.
- --associated <boolean>
List nodes by instance association: 'true' or 'false'.
- --provision-state <provision-state>
List nodes in specified provision state.
- --driver <driver>
List nodes using specified driver.
- --detail
Show detailed information about the nodes.
- --fields <field> [<field> ...]
One or more node fields. Only these fields will be
fetched from the server. Can not be used when '--
detail' is specified.
- --resource-class <resource class>
List nodes using specified resource class.
12.23. ironic node-port-list
usage: ironic node-port-list [--detail] [--limit <limit>] [--marker <port>] [--sort-key <field>] [--sort-dir <direction>] [--fields <field> [<field> ...]] <node>
Positional arguments
- <node>
Name or UUID of the node.
Optional arguments
- --detail
Show detailed information about the ports.
- --limit <limit>
Maximum number of ports to return per request, 0 for
no limit. Default is the maximum number used by the
Ironic API Service.
- --marker <port>
Port UUID (for example, of the last port in the list
from a previous request). Returns the list of ports
after this UUID.
- --sort-key <field>
Port field that will be used for sorting.
- --sort-dir <direction>
Sort direction: "asc" (the default) or "desc".
- --fields <field> [<field> ...]
One or more port fields. Only these fields will be
fetched from the server. Can not be used when '--
detail' is specified.
12.24. ironic node-set-boot-device
usage: ironic node-set-boot-device [--persistent] <node> <boot-device>
Positional arguments
- <node>
Name or UUID of the node.
- <boot-device>
'pxe', 'disk', 'cdrom', 'bios', or 'safe'.
Optional arguments
- --persistent
Make changes persistent for all future boots.
12.25. ironic node-set-console-mode
usage: ironic node-set-console-mode <node> <enabled>
Positional arguments
- <node>
Name or UUID of the node.
- <enabled>
Enable or disable console access for a node: 'true' or 'false'.
12.26. ironic node-set-maintenance
usage: ironic node-set-maintenance [--reason <reason>] <node> <maintenance-mode>
Positional arguments
- <node>
Name or UUID of the node.
- <maintenance-mode>
'true' or 'false'; 'on' or 'off'.
Optional arguments
- --reason <reason>
Reason for setting maintenance mode to 'true' or 'on';
not valid when setting to 'false' or 'off'.
12.27. ironic node-set-power-state
usage: ironic node-set-power-state <node> <power-state>
Positional arguments
- <node>
Name or UUID of the node.
- <power-state>
'on', 'off', or 'reboot'.
12.28. ironic node-set-provision-state
usage: ironic node-set-provision-state [--config-drive <config-drive>] [--clean-steps <clean-steps>] [--wait [WAIT_TIMEOUT]] <node> <provision-state>
Positional arguments
- <node>
Name or UUID of the node.
- <provision-state>
Supported states: 'deleted', 'provide', 'clean',
'manage', 'active', 'rebuild', 'inspect', 'abort',
'adopt'.
Optional arguments
- --config-drive <config-drive>
A gzipped, base64-encoded configuration drive string
OR the path to the configuration drive file OR the
path to a directory containing the config drive files.
In case it's a directory, a config drive will be
generated from it. This argument is only valid when
setting provision-state to 'active'.
- --clean-steps <clean-steps>
The clean steps in JSON format. May be the path to a
file containing the clean steps; OR '-', with the
clean steps being read from standard input; OR a
string. The value should be a list of clean-step
dictionaries; each dictionary should have keys
'interface' and 'step', and optional key 'args'. This
argument must be specified (and is only valid) when
setting provision-state to 'clean'.
- --wait [WAIT_TIMEOUT]
Wait for a node to reach the expected state. Not
supported for 'abort'. Optionally takes a timeout in
seconds. The default value is 0, meaning no timeout.
Fails if the node reaches an unexpected stable state,
a failure state or a state with last_error set.
12.29. ironic node-set-target-raid-config
usage: ironic node-set-target-raid-config <node> <target-raid-config>
Positional arguments
- <node>
Name or UUID of the node.
- <target-raid-config>
A file containing JSON data of the desired RAID
configuration. Use '-' to read the contents from
standard input. It also accepts the valid json string
as input if file/standard input are not used for
providing input. The input can be an empty dictionary
too which unsets the node.target_raid_config on the
node.
12.30. ironic node-show
usage: ironic node-show [--instance] [--fields <field> [<field> ...]] <id>
Positional arguments
- <id>
Name or UUID of the node (or instance UUID if
--instance is specified).
Optional arguments
- --instance <id>
is an instance UUID.
- --fields <field> [<field> ...]
One or more node fields. Only these fields will be
fetched from the server.
12.31. ironic node-show-states
usage: ironic node-show-states <node>
Positional arguments
- <node>
Name or UUID of the node.
12.32. ironic node-update
usage: ironic node-update <node> <op> <path=value> [<path=value> ...]
Positional arguments
- <node>
Name or UUID of the node.
- <op>
Operation: 'add', 'replace', or 'remove'.
- <path=value>
Attribute to add, replace, or remove. Can be specified
multiple times. For 'remove', only <path> is necessary.
12.33. ironic node-validate
usage: ironic node-validate <node>
Positional arguments
- <node>
Name or UUID of the node.
12.34. ironic node-vendor-passthru
usage: ironic node-vendor-passthru [--http-method <http-method>] <node> <method> [<arg=value> [<arg=value> ...]]
Positional arguments
- <node>
Name or UUID of the node.
- <method>
Vendor-passthru method to be called.
- <arg=value>
Argument to be passed to the vendor-passthru method.
Can be specified multiple times.
Optional arguments
- --http-method <http-method>
The HTTP method to use in the request. Valid HTTP
methods are: 'POST', 'PUT', 'GET', 'DELETE', and
'PATCH'. Defaults to 'POST'.
12.35. ironic port-create
usage: ironic port-create -a <address> -n <node> [-l <key=value>] [--pxe-enabled <boolean>] [-e <key=value>] [-u <uuid>]
Optional arguments
- -a <address>, --address <address>
MAC address for this port.
- -n <node>, --node <node>, --node_uuid <node>
UUID of the node that this port belongs to.
- -l <key=value>, --local-link-connection <key=value>
Key/value metadata describing Local link connection
information. Valid keys are switch_info, switch_id,
port_id.Can be specified multiple times.
- --pxe-enabled <boolean>
Indicates whether this Port should be used when PXE
booting this Node.
- -e <key=value>, --extra <key=value>
Record arbitrary key/value metadata. Can be specified
multiple times.
- -u <uuid>, --uuid <uuid>
UUID of the port.
12.36. ironic port-delete
usage: ironic port-delete <port> [<port> ...]
Positional arguments
- <port>
UUID of the port.
12.37. ironic port-list
usage: ironic port-list [--detail] [--address <mac-address>] [--limit <limit>] [--marker <port>] [--sort-key <field>] [--sort-dir <direction>] [--fields <field> [<field> ...]]
Optional arguments
- --detail
Show detailed information about ports.
- --address <mac-address>
Only show information for the port with this MAC
address.
- --limit <limit>
Maximum number of ports to return per request, 0 for
no limit. Default is the maximum number used by the
Ironic API Service.
- --marker <port>
Port UUID (for example, of the last port in the list
from a previous request). Returns the list of ports
after this UUID.
- --sort-key <field>
Port field that will be used for sorting.
- --sort-dir <direction>
Sort direction: "asc" (the default) or "desc".
- --fields <field> [<field> ...]
One or more port fields. Only these fields will be
fetched from the server. Can not be used when '--
detail' is specified.
12.38. ironic port-show
usage: ironic port-show [--address] [--fields <field> [<field> ...]] <id>
Positional arguments
- <id>
UUID of the port (or MAC address if --address is
specified).
Optional arguments
- --address <id>
is the MAC address (instead of the UUID) of the
port.
- --fields <field> [<field> ...]
One or more port fields. Only these fields will be
fetched from the server.
12.39. ironic port-update
usage: ironic port-update <port> <op> <path=value> [<path=value> ...]
Positional arguments
- <port>
UUID of the port.
- <op>
Operation: 'add', 'replace', or 'remove'.
- <path=value>
Attribute to add, replace, or remove. Can be specified
multiple times. For 'remove', only <path> is necessary.
Chapter 13. Shared File Systems Service Command-line Client
1.11.0
.
$
manila
help
COMMAND
13.1. manila Usage
usage: manila [--version] [-d] [--os-cache] [--os-reset-cache] [--os-user-id <auth-user-id>] [--os-username <auth-user-name>] [--os-password <auth-password>] [--os-tenant-name <auth-tenant-name>] [--os-project-name <auth-project-name>] [--os-tenant-id <auth-tenant-id>] [--os-project-id <auth-project-id>] [--os-user-domain-id <auth-user-domain-id>] [--os-user-domain-name <auth-user-domain-name>] [--os-project-domain-id <auth-project-domain-id>] [--os-project-domain-name <auth-project-domain-name>] [--os-auth-url <auth-url>] [--os-region-name <region-name>] [--os-token <token>] [--bypass-url <bypass-url>] [--service-type <service-type>] [--service-name <service-name>] [--share-service-name <share-service-name>] [--endpoint-type <endpoint-type>] [--os-share-api-version <share-api-ver>] [--os-cacert <ca-certificate>] [--retries <retries>] [--os-cert <certificate>] <subcommand> ...
Subcommands
- absolute-limits
Print a list of absolute limits for a user.
- access-allow
Allow access to the share.
- access-deny
Deny access to a share.
- access-list
Show access list for share.
- api-version
Display the API version information.
- cg-create
Creates a new consistency group (Experimental).
- cg-delete
Remove one or more consistency groups (Experimental).
- cg-list
List consistency groups with filters (Experimental).
- cg-reset-state
Explicitly update the state of a consistency group
(Admin only, Experimental).
- cg-show
Show details about a consistency group (Experimental).
- cg-snapshot-create
Creates a new consistency group snapshot
(Experimental).
- cg-snapshot-delete
Remove one or more consistency group snapshots
(Experimental).
- cg-snapshot-list
List consistency group snapshots with filters
(Experimental).
- cg-snapshot-members
Get member details for a consistency group snapshot
(Experimental).
- cg-snapshot-reset-state
Explicitly update the state of a consistency group
(Admin only, Experimental).
- cg-snapshot-show
Show details about a consistency group snapshot
(Experimental).
- cg-snapshot-update
Update a consistency group snapshot (Experimental).
- cg-update
Update a consistency group (Experimental).
- create
Creates a new share (NFS, CIFS, CephFS, GlusterFS or
HDFS).
- credentials
Show user credentials returned from auth.
- delete
Remove one or more shares.
- endpoints
Discover endpoints that get returned from the
authenticate services.
- extend
Increases the size of an existing share.
- extra-specs-list
Print a list of current 'share types and extra specs'
(Admin Only).
- force-delete
Attempt force-delete of share, regardless of state
(Admin only).
- list
List NAS shares with filters.
- manage
Manage share not handled by Manila (Admin only).
- metadata
Set or delete metadata on a share.
- metadata-show
Show metadata of given share.
- metadata-update-all
Update all metadata of a share.
- migration-cancel
Cancels migration of a given share when copying (Admin
only, Experimental).
- migration-complete
Completes migration for a given share (Admin only,
Experimental).
- migration-get-progress
Gets migration progress of a given share when copying
(Admin only, Experimental).
- migration-start
Migrates share to a new host (Admin only,
Experimental).
- pool-list
List all backend storage pools known to the scheduler
(Admin only).
- quota-class-show
List the quotas for a quota class.
- quota-class-update
Update the quotas for a quota class (Admin only).
- quota-defaults
List the default quotas for a tenant.
- quota-delete
Delete quota for a tenant/user. The quota will revert
back to default (Admin only).
- quota-show
List the quotas for a tenant/user.
- quota-update
Update the quotas for a tenant/user (Admin only).
- rate-limits
Print a list of rate limits for a user.
- reset-state
Explicitly update the state of a share (Admin only).
- reset-task-state
Explicitly update the task state of a share (Admin
only, Experimental).
- security-service-create
Create security service used by tenant.
- security-service-delete
Delete security service.
- security-service-list
Get a list of security services.
- security-service-show
Show security service.
- security-service-update
Update security service.
- service-disable
Disables 'manila-share' or 'manila-scheduler' services
(Admin only).
- service-enable
Enables 'manila-share' or 'manila-scheduler' services
(Admin only).
- service-list
List all services (Admin only).
- share-export-location-list
List export locations of a given share.
- share-export-location-show
Show export location of the share.
- share-instance-export-location-list
List export locations of a given share instance.
- share-instance-export-location-show
Show export location for the share instance.
- share-instance-force-delete
Force-delete the share instance, regardless of state
(Admin only).
- share-instance-list
List share instances (Admin only).
- share-instance-reset-state
Explicitly update the state of a share instance (Admin
only).
- share-instance-show
Show details about a share instance (Admin only).
- share-network-create
Create description for network used by the tenant.
- share-network-delete
Delete share network.
- share-network-list
Get a list of network info.
- share-network-security-service-add
Associate security service with share network.
- share-network-security-service-list
Get list of security services associated with a given
share network.
- share-network-security-service-remove
Dissociate security service from share network.
- share-network-show
Get a description for network used by the tenant.
- share-network-update
Update share network data.
- share-replica-create
Create a share replica (Experimental).
- share-replica-delete
Remove one or more share replicas (Experimental).
- share-replica-list
List share replicas (Experimental).
- share-replica-promote
Promote specified replica to 'active' replica_state
(Experimental).
- share-replica-reset-replica-state
Explicitly update the 'replica_state' of a share
replica (Experimental).
- share-replica-reset-state
Explicitly update the 'status' of a share replica
(Experimental).
- share-replica-resync
Attempt to update the share replica with its 'active'
mirror (Experimental).
- share-replica-show
Show details about a replica (Experimental).
- share-server-delete
Delete share server (Admin only).
- share-server-details
Show share server details (Admin only).
- share-server-list
List all share servers (Admin only).
- share-server-show
Show share server info (Admin only).
- show
Show details about a NAS share.
- shrink
Decreases the size of an existing share.
- snapshot-create
Add a new snapshot.
- snapshot-delete
Remove a snapshot.
- snapshot-force-delete
Attempt force-delete of snapshot, regardless of state
(Admin only).
- snapshot-instance-list
List share snapshot instances.
- snapshot-instance-reset-state
Explicitly update the state of a share snapshot
instance.
- snapshot-instance-show
Show details about a share snapshot instance.
- snapshot-list
List all the snapshots.
- snapshot-manage
Manage share snapshot not handled by Manila (Admin
only).
- snapshot-rename
Rename a snapshot.
- snapshot-reset-state
Explicitly update the state of a snapshot (Admin
only).
- snapshot-show
Show details about a snapshot.
- snapshot-unmanage
Unmanage one or more share snapshots (Admin only).
- type-access-add
Adds share type access for the given project (Admin
only).
- type-access-list
Print access information about the given share type
(Admin only).
- type-access-remove
Removes share type access for the given project (Admin
only).
- type-create
Create a new share type (Admin only).
- type-delete
Delete a specific share type (Admin only).
- type-key
Set or unset extra_spec for a share type (Admin only).
- type-list
Print a list of available 'share types'.
- unmanage
Unmanage share (Admin only).
- update
Rename a share.
- bash-completion
Print arguments for bash_completion. Prints all of the
commands and options to stdout so that the
manila.bash_completion script doesn't have to hard
code them.
- help
Display help about this program or one of its
subcommands.
- list-extensions
List all the os-api extensions that are available.
13.2. manila Optional Arguments
- --version
show program's version number and exit
- -d, --debug
Print debugging output.
- --os-cache
Use the auth token cache. Defaults toenv[OS_CACHE]
.
- --os-reset-cache
Delete cached password and auth token.
- --os-user-id <auth-user-id>
Defaults to env [OS_USER_ID].
- --os-username <auth-user-name>
Defaults toenv[OS_USERNAME]
.
- --os-password <auth-password>
Defaults toenv[OS_PASSWORD]
.
- --os-tenant-name <auth-tenant-name>
Defaults toenv[OS_TENANT_NAME]
.
- --os-project-name <auth-project-name>
Another way to specify tenant name. This option is
mutually exclusive with --os-tenant-name. Defaults to
env[OS_PROJECT_NAME]
.
- --os-tenant-id <auth-tenant-id>
Defaults toenv[OS_TENANT_ID]
.
- --os-project-id <auth-project-id>
Another way to specify tenant ID. This option is
mutually exclusive with --os-tenant-id. Defaults to
env[OS_PROJECT_ID]
.
- --os-user-domain-id <auth-user-domain-id>
OpenStack user domain ID. Defaults to
env[OS_USER_DOMAIN_ID]
.
- --os-user-domain-name <auth-user-domain-name>
OpenStack user domain name. Defaults to
env[OS_USER_DOMAIN_NAME]
.
- --os-project-domain-id <auth-project-domain-id>
Defaults toenv[OS_PROJECT_DOMAIN_ID]
.
- --os-project-domain-name <auth-project-domain-name>
Defaults toenv[OS_PROJECT_DOMAIN_NAME]
.
- --os-auth-url <auth-url>
Defaults toenv[OS_AUTH_URL]
.
- --os-region-name <region-name>
Defaults toenv[OS_REGION_NAME]
.
- --os-token <token>
Defaults toenv[OS_TOKEN]
.
- --bypass-url <bypass-url>
Use this API endpoint instead of the Service Catalog.
Defaults toenv[OS_MANILA_BYPASS_URL]
.
- --service-type <service-type>
Defaults to compute for most actions.
- --service-name <service-name>
Defaults toenv[OS_MANILA_SERVICE_NAME]
.
- --share-service-name <share-service-name>
Defaults toenv[OS_MANILA_SHARE_SERVICE_NAME]
.
- --endpoint-type <endpoint-type>
Defaults toenv[OS_MANILA_ENDPOINT_TYPE]
or publicURL.
- --os-share-api-version <share-api-ver>
Accepts 1.x to override default to
env[OS_SHARE_API_VERSION]
.
- --os-cacert <ca-certificate>
Specify a CA bundle file to use in verifying a TLS
(https) server certificate. Defaults to
env[OS_CACERT]
.
- --retries <retries>
Number of retries.
- --os-cert <certificate>
Defaults toenv[OS_CERT]
.
13.3. manila absolute-limits
usage: manila absolute-limits
13.4. manila access-allow
usage: manila access-allow [--access-level <access_level>] <share> <access_type> <access_to>
Positional arguments
- <share>
Name or ID of the NAS share to modify.
- <access_type>
Access rule type (only "ip", "user"(user or group),
"cert" or "cephx" are supported).
- <access_to>
Value that defines access.
Optional arguments
- --access-level <access_level>, --access_level <access_level>
Share access level ("rw" and "ro" access levels are
supported). Defaults to rw.
13.5. manila access-deny
usage: manila access-deny <share> <id>
Positional arguments
- <share>
Name or ID of the NAS share to modify.
- <id>
ID of the access rule to be deleted.
13.6. manila access-list
usage: manila access-list [--columns <columns>] <share>
Positional arguments
- <share>
Name or ID of the share.
Optional arguments
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "access_type,access_to"
13.7. manila api-version
usage: manila api-version
13.8. manila cg-create
usage: manila cg-create [--name <name>] [--description <description>] [--share-types <share_types>] [--share-network <share_network>] [--source-cgsnapshot-id <source_cgsnapshot_id>]
Optional arguments
- --name <name>
Optional consistency group name. (Default=None)
- --description <description>
Optional consistency group description. (Default=None)
- --share-types <share_types>, --share_types <share_types>
Optional list of share types. (Default=None)
- --share-network <share_network>, --share_network <share_network>
Specify share-network name or id.
- --source-cgsnapshot-id <source_cgsnapshot_id>, --source_cgsnapshot_id <source_cgsnapshot_id>
Optional snapshot ID to create the share from.
(Default=None)
13.9. manila cg-delete
usage: manila cg-delete [--force] <consistency_group> [<consistency_group> ...]
Positional arguments
- <consistency_group>
Name or ID of the consistency group(s).
Optional arguments
- --force
Attempt to force delete the consistency group
(Default=False) (Admin only).
13.10. manila cg-list
usage: manila cg-list [--all-tenants [<0|1>]] [--limit <limit>] [--offset <offset>] [--columns <columns>]
Optional arguments
- --all-tenants [<0|1>]
Display information from all tenants (Admin only).
- --limit <limit>
Maximum number of consistency groups to return.
(Default=None)
- --offset <offset>
Start position of consistency group listing.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,name"
13.11. manila cg-reset-state
usage: manila cg-reset-state [--state <state>] <consistency_group>
Positional arguments
- <consistency_group>
Name or ID of the consistency group state to modify.
Optional arguments
- --state <state>
Indicate which state to assign the consistency group.
Options include available, error, creating, deleting,
error_deleting. If no state is provided, available will
be used.
13.12. manila cg-show
usage: manila cg-show <consistency_group>
Positional arguments
- <consistency_group>
Name or ID of the consistency group.
13.13. manila cg-snapshot-create
usage: manila cg-snapshot-create [--name <name>] [--description <description>] <consistency_group>
Positional arguments
- <consistency_group>
Name or ID of the consistency group.
Optional arguments
- --name <name>
Optional consistency group snapshot name.
(Default=None)
- --description <description>
Optional consistency group snapshot description.
(Default=None)
13.14. manila cg-snapshot-delete
usage: manila cg-snapshot-delete [--force] <cg_snapshot> [<cg_snapshot> ...]
Positional arguments
- <cg_snapshot>
Name or ID of the consistency group snapshot.
Optional arguments
- --force
Attempt to force delete the cg snapshot(s) (Default=False)
(Admin only).
13.15. manila cg-snapshot-list
usage: manila cg-snapshot-list [--all-tenants [<0|1>]] [--limit <limit>] [--offset <offset>] [--detailed DETAILED] [--columns <columns>]
Optional arguments
- --all-tenants [<0|1>]
Display information from all tenants (Admin only).
- --limit <limit>
Maximum number of consistency group snapshots to
return.(Default=None)
- --offset <offset>
Start position of consistency group snapshot listing.
- --detailed DETAILED
Show detailed information about snapshots.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,name"
13.16. manila cg-snapshot-members
usage: manila cg-snapshot-members [--limit <limit>] [--offset <offset>] <cg_snapshot>
Positional arguments
- <cg_snapshot>
Name or ID of the consistency group snapshot.
Optional arguments
- --limit <limit>
Maximum number of shares to return. (Default=None)
- --offset <offset>
Start position of security services listing.
13.17. manila cg-snapshot-reset-state
usage: manila cg-snapshot-reset-state [--state <state>] <cg_snapshot>
Positional arguments
- <cg_snapshot>
Name or ID of the consistency group snapshot.
Optional arguments
- --state <state>
Indicate which state to assign the consistency group.
Options include available, error, creating, deleting,
error_deleting. If no state is provided, available will be
used.
13.18. manila cg-snapshot-show
usage: manila cg-snapshot-show <cg_snapshot>
Positional arguments
- <cg_snapshot>
Name or ID of the consistency group snapshot.
13.19. manila cg-snapshot-update
usage: manila cg-snapshot-update [--name <name>] [--description <description>] <cg_snapshot>
Positional arguments
- <cg_snapshot>
Name or ID of the cg snapshot to update.
Optional arguments
- --name <name>
Optional new name for the cg snapshot. (Default=None
- --description <description>
Optional cg snapshot description. (Default=None)
13.20. manila cg-update
usage: manila cg-update [--name <name>] [--description <description>] <consistency_group>
Positional arguments
- <consistency_group>
Name or ID of the consistency group to update.
Optional arguments
- --name <name>
Optional new name for the consistency group.
(Default=None)
- --description <description>
Optional consistency group description. (Default=None)
13.21. manila create
usage: manila create [--snapshot-id <snapshot-id>] [--name <name>] [--metadata [<key=value> [<key=value> ...]]] [--share-network <network-info>] [--description <description>] [--share-type <share-type>] [--public] [--availability-zone <availability-zone>] [--consistency-group <consistency-group>] <share_protocol> <size>
Positional arguments
- <share_protocol>
Share type (NFS, CIFS, CephFS, GlusterFS or HDFS).
- <size>
Share size in GiB.
Optional arguments
- --snapshot-id <snapshot-id>, --snapshot_id <snapshot-id>
Optional snapshot ID to create the share from.
(Default=None)
- --name <name>
Optional share name. (Default=None)
- --metadata [<key=value> [<key=value> ...]]
Metadata key=value pairs (Optional, Default=None).
- --share-network <network-info>, --share_network <network-info>
Optional network info ID or name.
- --description <description>
Optional share description. (Default=None)
- --share-type <share-type>, --share_type <share-type>, --volume-type <share-type>, --volume_type <share-type>
Optional share type. Use of optional volume type is
deprecated(Default=None)
- --public
Level of visibility for share. Defines whether other
tenants are able to see it or not.
- --availability-zone <availability-zone>, --availability_zone <availability-zone>, --az <availability-zone>
Availability zone in which share should be created.
- --consistency-group <consistency-group>, --consistency_group <consistency-group>, --cg <consistency-group>
Optional consistency group name or ID in which to
create the share (Experimental, Default=None).
13.22. manila credentials
usage: manila credentials
13.23. manila delete
usage: manila delete [--consistency-group <consistency-group>] <share> [<share> ...]
Positional arguments
- <share>
Name or ID of the share(s).
Optional arguments
- --consistency-group <consistency-group>, --consistency_group <consistency-group>, --cg <consistency-group>
Optional consistency group name or ID which contains
the share (Experimental, Default=None).
13.24. manila endpoints
usage: manila endpoints
13.25. manila extend
usage: manila extend <share> <new_size>
Positional arguments
- <share>
Name or ID of share to extend.
- <new_size>
New size of share, in GiBs.
13.26. manila extra-specs-list
usage: manila extra-specs-list [--columns <columns>]
Optional arguments
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,name"
13.27. manila force-delete
usage: manila force-delete <share> [<share> ...]
Positional arguments
- <share>
Name or ID of the share(s) to force delete.
13.28. manila list
usage: manila list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--share-server-id <share_server_id>] [--metadata [<key=value> [<key=value> ...]]] [--extra-specs [<key=value> [<key=value> ...]]] [--share-type <share_type>] [--limit <limit>] [--offset <offset>] [--sort-key <sort_key>] [--sort-dir <sort_dir>] [--snapshot <snapshot>] [--host <host>] [--share-network <share_network>] [--project-id <project_id>] [--public] [--consistency-group <consistency_group>] [--columns <columns>]
Optional arguments
- --all-tenants [<0|1>]
Display information from all tenants (Admin only).
- --name <name>
Filter results by name.
- --status <status>
Filter results by status.
- --share-server-id <share_server_id>, --share-server_id <share_server_id>, --share_server-id <share_server_id>, --share_server_id <share_server_id>
Filter results by share server ID (Admin only).
- --metadata [<key=value> [<key=value> ...]]
Filters results by a metadata key and value. OPTIONAL:
Default=None
- --extra-specs [<key=value> [<key=value> ...]], --extra_specs [<key=value> [<key=value> ...]]
Filters results by a extra specs key and value of
share type that was used for share creation. OPTIONAL:
Default=None
- --share-type <share_type>, --volume-type <share_type>, --share_type <share_type>, --share-type-id <share_type>, --volume-type-id <share_type>, --share-type_id <share_type>, --share_type-id <share_type>, --share_type_id <share_type>, --volume_type <share_type>, --volume_type_id <share_type>
Filter results by a share type id or name that was
used for share creation.
- --limit <limit>
Maximum number of shares to return. OPTIONAL:
Default=None.
- --offset <offset>
Set offset to define start point of share listing.
OPTIONAL: Default=None.
- --sort-key <sort_key>, --sort_key <sort_key>
Key to be sorted, available keys are ('id', 'status',
'size', 'host', 'share_proto', 'export_location',
'availability_zone', 'user_id', 'project_id',
'created_at', 'updated_at', 'display_name', 'name',
'share_type_id', 'share_type', 'share_network_id',
'share_network', 'snapshot_id', 'snapshot'). OPTIONAL:
Default=None.
- --sort-dir <sort_dir>, --sort_dir <sort_dir>
Sort direction, available values are ('asc', 'desc').
OPTIONAL: Default=None.
- --snapshot <snapshot>
Filer results by snapshot name or id, that was used
for share.
- --host <host>
Filter results by host.
- --share-network <share_network>, --share_network <share_network>
Filter results by share-network name or id.
- --project-id <project_id>, --project_id <project_id>
Filter results by project id. Useful with set key
'--all-tenants'.
- --public
Add public shares from all tenants to result.
- --consistency-group <consistency_group>, --consistency_group <consistency_group>, --cg <consistency_group>
Filter results by consistency group name or ID
(Experimental, Default=None).
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "export_location,is public"
13.29. manila list-extensions
usage: manila list-extensions
13.30. manila manage
usage: manila manage [--name <name>] [--description <description>] [--share_type <share-type>] [--driver_options [<key=value> [<key=value> ...]]] [--public] <service_host> <protocol> <export_path>
Positional arguments
- <service_host>
manage-share service host: some.host@driver#pool
- <protocol>
Protocol of the share to manage, such as NFS or CIFS.
- <export_path>
Share export path, NFS share such as:
10.0.0.1:/example_path, CIFS share such as:
\\10.0.0.1\example_cifs_share
Optional arguments
- --name <name>
Optional share name. (Default=None)
- --description <description>
Optional share description. (Default=None)
- --share_type <share-type>, --share-type <share-type>
Optional share type assigned to share. (Default=None)
- --driver_options [<key=value> [<key=value> ...]], --driver-options [<key=value> [<key=value> ...]]
Driver option key=value pairs (Optional,
Default=None).
- --public
Level of visibility for share. Defines whether other
tenants are able to see it or not. Available only for
microversion >= 2.8
13.31. manila metadata
usage: manila metadata <share> <action> <key=value> [<key=value> ...]
Positional arguments
- <share>
Name or ID of the share to update metadata on.
- <action>
Actions: 'set' or 'unset'.
- <key=value>
Metadata to set or unset (key is only necessary on unset).
13.32. manila metadata-show
usage: manila metadata-show <share>
Positional arguments
- <share>
Name or ID of the share.
13.33. manila metadata-update-all
usage: manila metadata-update-all <share> <key=value> [<key=value> ...]
Positional arguments
- <share>
Name or ID of the share to update metadata on.
- <key=value>
Metadata entry or entries to update.
13.34. manila migration-cancel
usage: manila migration-cancel <share>
Positional arguments
- <share>
Name or ID of share to cancel migration.
13.35. manila migration-complete
usage: manila migration-complete <share>
Positional arguments
- <share>
Name or ID of share to complete migration.
13.36. manila migration-get-progress
usage: manila migration-get-progress <share>
Positional arguments
- <share>
Name or ID of the share to get share migration progress
information.
13.37. manila migration-start
usage: manila migration-start [--force_host_assisted_migration <True|False>] [--preserve-metadata <True|False>] [--writable <True|False>] [--non-disruptive <True|False>] [--new_share_network <new_share_network>] [--new_share_type <new_share_type>] <share> <host@backend#pool>
Positional arguments
- <share>
Name or ID of share to migrate.
- <host@backend#pool>
Destination host, backend and pool in format
'host@backend#pool'.
Optional arguments
- --force_host_assisted_migration <True|False>, --force-host-assisted-migration <True|False>
Enables or disables generic host-based force-
migration, which bypasses driver optimizations.
Default=False. Renamed from "force_host_copy" in
version 2.22.
- --preserve-metadata <True|False>, --preserve_metadata <True|False>
Chooses whether migration should be forced to preserve
all file metadata when moving its contents.
Default=True. Introduced in version 2.22.
- --writable <True|False>
Chooses whether migration should be forced to remain
writable while contents are being moved. Default=True.
Introduced in version 2.22.
- --non-disruptive <True|False>, --non_disruptive <True|False>
Chooses whether migration should only be performed if
it is not disruptive. Default=False. Introduced in
version 2.22.
- --new_share_network <new_share_network>, --new-share-network <new_share_network>
Specifies a new share network if desired to change.
Default=None. Introduced in version 2.22.
- --new_share_type <new_share_type>, --new-share-type <new_share_type>
Specifies a new share type if desired to change.
Default=None. Introduced in version 2.22.
13.38. manila pool-list
usage: manila pool-list [--host <host>] [--backend <backend>] [--pool <pool>] [--columns <columns>]
Optional arguments
- --host <host>
Filter results by host name. Regular expressions are
supported.
- --backend <backend>
Filter results by backend name. Regular expressions are
supported.
- --pool <pool>
Filter results by pool name. Regular expressions are
supported.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "name,host"
13.39. manila quota-class-show
usage: manila quota-class-show <class>
Positional arguments
- <class>
Name of quota class to list the quotas for.
13.40. manila quota-class-update
usage: manila quota-class-update [--shares <shares>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--snapshot-gigabytes <snapshot_gigabytes>] [--share-networks <share-networks>] <class-name>
Positional arguments
- <class-name>
Name of quota class to set the quotas for.
Optional arguments
- --shares <shares>
New value for the "shares" quota.
- --snapshots <snapshots>
New value for the "snapshots" quota.
- --gigabytes <gigabytes>
New value for the "gigabytes" quota.
- --snapshot-gigabytes <snapshot_gigabytes>, --snapshot_gigabytes <snapshot_gigabytes>
New value for the "snapshot_gigabytes" quota.
- --share-networks <share-networks>, --share_networks <share-networks>
New value for the "share_networks" quota.
13.41. manila quota-defaults
usage: manila quota-defaults [--tenant <tenant-id>]
Optional arguments
- --tenant <tenant-id> ID
of tenant to list the default quotas for.
13.42. manila quota-delete
usage: manila quota-delete [--tenant <tenant-id>] [--user <user-id>]
Optional arguments
- --tenant <tenant-id> ID
of tenant to delete quota for.
- --user <user-id> ID
of user to delete quota for.
13.43. manila quota-show
usage: manila quota-show [--tenant <tenant-id>] [--user <user-id>]
Optional arguments
- --tenant <tenant-id> ID
of tenant to list the quotas for.
- --user <user-id> ID
of user to list the quotas for.
13.44. manila quota-update
usage: manila quota-update [--user <user-id>] [--shares <shares>] [--snapshots <snapshots>] [--gigabytes <gigabytes>] [--snapshot-gigabytes <snapshot_gigabytes>] [--share-networks <share-networks>] [--force] <tenant_id>
Positional arguments
- <tenant_id>
UUID of tenant to set the quotas for.
Optional arguments
- --user <user-id> ID
of user to set the quotas for.
- --shares <shares>
New value for the "shares" quota.
- --snapshots <snapshots>
New value for the "snapshots" quota.
- --gigabytes <gigabytes>
New value for the "gigabytes" quota.
- --snapshot-gigabytes <snapshot_gigabytes>, --snapshot_gigabytes <snapshot_gigabytes>
New value for the "snapshot_gigabytes" quota.
- --share-networks <share-networks>, --share_networks <share-networks>
New value for the "share_networks" quota.
- --force
Whether force update the quota even if the already
used and reserved exceeds the new quota.
13.45. manila rate-limits
usage: manila rate-limits [--columns <columns>]
Optional arguments
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "verb,uri,value"
13.46. manila reset-state
usage: manila reset-state [--state <state>] <share>
Positional arguments
- <share>
Name or ID of the share to modify.
Optional arguments
- --state <state>
Indicate which state to assign the share. Options include
available, error, creating, deleting, error_deleting. If no
state is provided, available will be used.
13.47. manila reset-task-state
usage: manila reset-task-state [--task-state <task_state>] <share>
Positional arguments
- <share>
Name or ID of the share to modify.
Optional arguments
- --task-state <task_state>, --task_state <task_state>, --state <task_state>
Indicate which task state to assign the share. Options
include migration_starting, migration_in_progress,
migration_completing, migration_success,
migration_error, migration_cancelled,
migration_driver_in_progress,
migration_driver_phase1_done, data_copying_starting,
data_copying_in_progress, data_copying_completing,
data_copying_completed, data_copying_cancelled,
data_copying_error. If no value is provided, None will
be used.
13.48. manila security-service-create
usage: manila security-service-create [--dns-ip <dns_ip>] [--server <server>] [--domain <domain>] [--user <user>] [--password <password>] [--name <name>] [--description <description>] <type>
Positional arguments
- <type>
Security service type: 'ldap', 'kerberos' or
'active_directory'.
Optional arguments
- --dns-ip <dns_ip> DNS IP
address used inside tenant's network.
- --server <server>
Security service IP address or hostname.
- --domain <domain>
Security service domain.
- --user <user>
Security service user or group used by tenant.
- --password <password>
Password used by user.
- --name <name>
Security service name.
- --description <description>
Security service description.
13.49. manila security-service-delete
usage: manila security-service-delete <security-service>
Positional arguments
- <security-service>
Security service name or ID to delete.
13.50. manila security-service-list
usage: manila security-service-list [--all-tenants [<0|1>]] [--share-network <share_network>] [--status <status>] [--name <name>] [--type <type>] [--user <user>] [--dns-ip <dns_ip>] [--server <server>] [--domain <domain>] [--detailed [<0|1>]] [--offset <offset>] [--limit <limit>] [--columns <columns>]
Optional arguments
- --all-tenants [<0|1>]
Display information from all tenants (Admin only).
- --share-network <share_network>, --share_network <share_network>
Filter results by share network id or name.
- --status <status>
Filter results by status.
- --name <name>
Filter results by name.
- --type <type>
Filter results by type.
- --user <user>
Filter results by user or group used by tenant.
- --dns-ip <dns_ip>, --dns_ip <dns_ip>
Filter results by DNS IP address used inside tenant's
network.
- --server <server>
Filter results by security service IP address or
hostname.
- --domain <domain>
Filter results by domain.
- --detailed [<0|1>]
Show detailed information about filtered security
services.
- --offset <offset>
Start position of security services listing.
- --limit <limit>
Number of security services to return per request.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "name,type"
13.51. manila security-service-show
usage: manila security-service-show <security-service>
Positional arguments
- <security-service>
Security service name or ID to show.
13.52. manila security-service-update
usage: manila security-service-update [--dns-ip <dns-ip>] [--server <server>] [--domain <domain>] [--user <user>] [--password <password>] [--name <name>] [--description <description>] <security-service>
Positional arguments
- <security-service>
Security service name or ID to update.
Optional arguments
- --dns-ip <dns-ip> DNS IP
address used inside tenant's network.
- --server <server>
Security service IP address or hostname.
- --domain <domain>
Security service domain.
- --user <user>
Security service user or group used by tenant.
- --password <password>
Password used by user.
- --name <name>
Security service name.
- --description <description>
Security service description.
13.53. manila service-disable
usage: manila service-disable <hostname> <binary>
Positional arguments
- <hostname>
Host name as 'example_host@example_backend'.
- <binary>
Service binary, could be 'manila-share' or 'manila-scheduler'.
13.54. manila service-enable
usage: manila service-enable <hostname> <binary>
Positional arguments
- <hostname>
Host name as 'example_host@example_backend'.
- <binary>
Service binary, could be 'manila-share' or 'manila-scheduler'.
13.55. manila service-list
usage: manila service-list [--host <hostname>] [--binary <binary>] [--status <status>] [--state <state>] [--zone <zone>] [--columns <columns>]
Optional arguments
- --host <hostname>
Name of host.
- --binary <binary>
Service binary.
- --status <status>
Filter results by status.
- --state <state>
Filter results by state.
- --zone <zone>
Availability zone.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,host"
13.56. manila share-export-location-list
usage: manila share-export-location-list [--columns <columns>] <share>
Positional arguments
- <share>
Name or ID of the share.
Optional arguments
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,host,status"
13.57. manila share-export-location-show
usage: manila share-export-location-show <share> <export_location>
Positional arguments
- <share>
Name or ID of the share.
- <export_location>
ID of the share export location.
13.58. manila share-instance-export-location-list
usage: manila share-instance-export-location-list [--columns <columns>] <instance>
Positional arguments
- <instance>
Name or ID of the share instance.
Optional arguments
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,host,status"
13.59. manila share-instance-export-location-show
usage: manila share-instance-export-location-show <instance> <export_location>
Positional arguments
- <instance>
Name or ID of the share instance.
- <export_location>
ID of the share instance export location.
13.60. manila share-instance-force-delete
usage: manila share-instance-force-delete <instance> [<instance> ...]
Positional arguments
- <instance>
Name or ID of the instance(s) to force delete.
13.61. manila share-instance-list
usage: manila share-instance-list [--share-id <share_id>] [--columns <columns>]
Optional arguments
- --share-id <share_id>, --share_id <share_id>
Filter results by share ID.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,host,status"
13.62. manila share-instance-reset-state
usage: manila share-instance-reset-state [--state <state>] <instance>
Positional arguments
- <instance>
Name or ID of the share instance to modify.
Optional arguments
- --state <state>
Indicate which state to assign the instance. Options
include available, error, creating, deleting,
error_deleting. If no state is provided, available will be
used.
13.63. manila share-instance-show
usage: manila share-instance-show <instance>
Positional arguments
- <instance>
Name or ID of the share instance.
13.64. manila share-network-create
usage: manila share-network-create [--nova-net-id <nova-net-id>] [--neutron-net-id <neutron-net-id>] [--neutron-subnet-id <neutron-subnet-id>] [--name <name>] [--description <description>]
Optional arguments
- --nova-net-id <nova-net-id>, --nova-net_id <nova-net-id>, --nova_net_id <nova-net-id>, --nova_net-id <nova-net-id>
Nova net ID. Used to set up network for share servers.
- --neutron-net-id <neutron-net-id>, --neutron-net_id <neutron-net-id>, --neutron_net_id <neutron-net-id>, --neutron_net-id <neutron-net-id>
Neutron network ID. Used to set up network for share
servers.
- --neutron-subnet-id <neutron-subnet-id>, --neutron-subnet_id <neutron-subnet-id>, --neutron_subnet_id <neutron-subnet-id>, --neutron_subnet-id <neutron-subnet-id>
Neutron subnet ID. Used to set up network for share
servers. This subnet should belong to specified
neutron network.
- --name <name>
Share network name.
- --description <description>
Share network description.
13.65. manila share-network-delete
usage: manila share-network-delete <share-network>
Positional arguments
- <share-network>
Name or ID of share network to be deleted.
13.66. manila share-network-list
usage: manila share-network-list [--all-tenants [<0|1>]] [--project-id <project_id>] [--name <name>] [--created-since <created_since>] [--created-before <created_before>] [--security-service <security_service>] [--nova-net-id <nova_net_id>] [--neutron-net-id <neutron_net_id>] [--neutron-subnet-id <neutron_subnet_id>] [--network-type <network_type>] [--segmentation-id <segmentation_id>] [--cidr <cidr>] [--ip-version <ip_version>] [--offset <offset>] [--limit <limit>] [--columns <columns>]
Optional arguments
- --all-tenants [<0|1>]
Display information from all tenants (Admin only).
- --project-id <project_id>, --project_id <project_id>
Filter results by project ID.
- --name <name>
Filter results by name.
- --created-since <created_since>, --created_since <created_since>
Return only share networks created since given date.
The date is in the format 'yyyy-mm-dd'.
- --created-before <created_before>, --created_before <created_before>
Return only share networks created until given date.
The date is in the format 'yyyy-mm-dd'.
- --security-service <security_service>, --security_service <security_service>
Filter results by attached security service.
- --nova-net-id <nova_net_id>, --nova_net_id <nova_net_id>, --nova_net-id <nova_net_id>, --nova-net_id <nova_net_id>
Filter results by Nova net ID.
- --neutron-net-id <neutron_net_id>, --neutron_net_id <neutron_net_id>, --neutron_net-id <neutron_net_id>, --neutron-net_id <neutron_net_id>
Filter results by neutron net ID.
- --neutron-subnet-id <neutron_subnet_id>, --neutron_subnet_id <neutron_subnet_id>, --neutron-subnet_id <neutron_subnet_id>, --neutron_subnet-id <neutron_subnet_id>
Filter results by neutron subnet ID.
- --network-type <network_type>, --network_type <network_type>
Filter results by network type.
- --segmentation-id <segmentation_id>, --segmentation_id <segmentation_id>
Filter results by segmentation ID.
- --cidr <cidr>
Filter results by CIDR.
- --ip-version <ip_version>, --ip_version <ip_version>
Filter results by IP version.
- --offset <offset>
Start position of share networks listing.
- --limit <limit>
Number of share networks to return per request.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id"
13.67. manila share-network-security-service-add
usage: manila share-network-security-service-add <share-network> <security-service>
Positional arguments
- <share-network>
Share network name or ID.
- <security-service>
Security service name or ID to associate with.
13.68. manila share-network-security-service-list
usage: manila share-network-security-service-list [--columns <columns>] <share-network>
Positional arguments
- <share-network>
Share network name or ID.
Optional arguments
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,name"
13.69. manila share-network-security-service-remove
usage: manila share-network-security-service-remove <share-network> <security-service>
Positional arguments
- <share-network>
Share network name or ID.
- <security-service>
Security service name or ID to dissociate.
13.70. manila share-network-show
usage: manila share-network-show <share-network>
Positional arguments
- <share-network>
Name or ID of the share network to show.
13.71. manila share-network-update
usage: manila share-network-update [--nova-net-id <nova-net-id>] [--neutron-net-id <neutron-net-id>] [--neutron-subnet-id <neutron-subnet-id>] [--name <name>] [--description <description>] <share-network>
Positional arguments
- <share-network>
Name or ID of share network to update.
Optional arguments
- --nova-net-id <nova-net-id>, --nova-net_id <nova-net-id>, --nova_net_id <nova-net-id>, --nova_net-id <nova-net-id>
Nova net ID. Used to set up network for share servers.
- --neutron-net-id <neutron-net-id>, --neutron-net_id <neutron-net-id>, --neutron_net_id <neutron-net-id>, --neutron_net-id <neutron-net-id>
Neutron network ID. Used to set up network for share
servers.
- --neutron-subnet-id <neutron-subnet-id>, --neutron-subnet_id <neutron-subnet-id>, --neutron_subnet_id <neutron-subnet-id>, --neutron_subnet-id <neutron-subnet-id>
Neutron subnet ID. Used to set up network for share
servers. This subnet should belong to specified
neutron network.
- --name <name>
Share network name.
- --description <description>
Share network description.
13.72. manila share-replica-create
usage: manila share-replica-create [--availability-zone <availability-zone>] [--share-network <network-info>] <share>
Positional arguments
- <share>
Name or ID of the share to replicate.
Optional arguments
- --availability-zone <availability-zone>, --availability_zone <availability-zone>, --az <availability-zone>
Optional Availability zone in which replica should be
created.
- --share-network <network-info>, --share_network <network-info>
Optional network info ID or name.
13.73. manila share-replica-delete
usage: manila share-replica-delete [--force] <replica> [<replica> ...]
Positional arguments
- <replica>
ID of the share replica.
Optional arguments
- --force
Attempt to force deletion of a replica on its backend. Using this
option will purge the replica from Manila even if it is not
cleaned up on the backend. Defaults to False.
13.74. manila share-replica-list
usage: manila share-replica-list [--share-id <share_id>] [--columns <columns>]
Optional arguments
- --share-id <share_id>, --share_id <share_id>, --si <share_id>
List replicas belonging to share.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "replica_state,id"
13.75. manila share-replica-promote
usage: manila share-replica-promote <replica>
Positional arguments
- <replica>
ID of the share replica.
13.76. manila share-replica-reset-replica-state
usage: manila share-replica-reset-replica-state [--replica-state <replica_state>] <replica>
Positional arguments
- <replica>
ID of the share replica to modify.
Optional arguments
- --replica-state <replica_state>, --replica_state <replica_state>, --state <replica_state>
Indicate which replica_state to assign the replica.
Options include in_sync, out_of_sync, active, error.
If no state is provided, out_of_sync will be used.
13.77. manila share-replica-reset-state
usage: manila share-replica-reset-state [--state <state>] <replica>
Positional arguments
- <replica>
ID of the share replica to modify.
Optional arguments
- --state <state>
Indicate which state to assign the replica. Options include
available, error, creating, deleting, error_deleting. If no
state is provided, available will be used.
13.78. manila share-replica-resync
usage: manila share-replica-resync <replica>
Positional arguments
- <replica>
ID of the share replica to resync.
13.79. manila share-replica-show
usage: manila share-replica-show <replica>
Positional arguments
- <replica>
ID of the share replica.
13.80. manila share-server-delete
usage: manila share-server-delete <id>
Positional arguments
- <id>
ID of share server.
13.81. manila share-server-details
usage: manila share-server-details <id>
Positional arguments
- <id>
ID of share server.
13.82. manila share-server-list
usage: manila share-server-list [--host <hostname>] [--status <status>] [--share-network <share_network>] [--project-id <project_id>] [--columns <columns>]
Optional arguments
- --host <hostname>
Filter results by name of host.
- --status <status>
Filter results by status.
- --share-network <share_network>
Filter results by share network.
- --project-id <project_id>
Filter results by project ID.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,host,status"
13.83. manila share-server-show
usage: manila share-server-show <id>
Positional arguments
- <id>
ID of share server.
13.84. manila show
usage: manila show <share>
Positional arguments
- <share>
Name or ID of the NAS share.
13.85. manila shrink
usage: manila shrink <share> <new_size>
Positional arguments
- <share>
Name or ID of share to shrink.
- <new_size>
New size of share, in GiBs.
13.86. manila snapshot-create
usage: manila snapshot-create [--force <True|False>] [--name <name>] [--description <description>] <share>
Positional arguments
- <share>
Name or ID of the share to snapshot.
Optional arguments
- --force <True|False>
Optional flag to indicate whether to snapshot a share
even if it's busy. (Default=False)
- --name <name>
Optional snapshot name. (Default=None)
- --description <description>
Optional snapshot description. (Default=None)
13.87. manila snapshot-delete
usage: manila snapshot-delete <snapshot>
Positional arguments
- <snapshot>
Name or ID of the snapshot to delete.
13.88. manila snapshot-force-delete
usage: manila snapshot-force-delete <snapshot>
Positional arguments
- <snapshot>
Name or ID of the snapshot to force delete.
13.89. manila snapshot-instance-list
usage: manila snapshot-instance-list [--snapshot <snapshot>] [--columns <columns>] [--detailed <detailed>]
Optional arguments
- --snapshot <snapshot>
Filter results by share snapshot ID.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id"
- --detailed <detailed>
Show detailed information about snapshot instances.
(Default=False)
13.90. manila snapshot-instance-reset-state
usage: manila snapshot-instance-reset-state [--state <state>] <snapshot_instance>
Positional arguments
- <snapshot_instance>
ID of the snapshot instance to modify.
Optional arguments
- --state <state>
Indicate which state to assign the snapshot instance.
Options include available, error, creating, deleting,
error_deleting. If no state is provided, available will
be used.
13.91. manila snapshot-instance-show
usage: manila snapshot-instance-show <snapshot_instance>
Positional arguments
- <snapshot_instance>
ID of the share snapshot instance.
13.92. manila snapshot-list
usage: manila snapshot-list [--all-tenants [<0|1>]] [--name <name>] [--status <status>] [--share-id <share_id>] [--usage [any|used|unused]] [--limit <limit>] [--offset <offset>] [--sort-key <sort_key>] [--sort-dir <sort_dir>] [--columns <columns>]
Optional arguments
- --all-tenants [<0|1>]
Display information from all tenants (Admin only).
- --name <name>
Filter results by name.
- --status <status>
Filter results by status.
- --share-id <share_id>, --share_id <share_id>
Filter results by source share ID.
- --usage [any|used|unused]
Either filter or not snapshots by its usage. OPTIONAL:
Default=any.
- --limit <limit>
Maximum number of share snapshots to return. OPTIONAL:
Default=None.
- --offset <offset>
Set offset to define start point of share snapshots
listing. OPTIONAL: Default=None.
- --sort-key <sort_key>, --sort_key <sort_key>
Key to be sorted, available keys are ('id', 'status',
'size', 'share_id', 'user_id', 'project_id',
'progress', 'name', 'display_name'). Default=None.
- --sort-dir <sort_dir>, --sort_dir <sort_dir>
Sort direction, available values are ('asc', 'desc').
OPTIONAL: Default=None.
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,name"
13.93. manila snapshot-manage
usage: manila snapshot-manage [--name <name>] [--description <description>] [--driver_options [<key=value> [<key=value> ...]]] <share> <provider_location>
Positional arguments
- <share>
Name or ID of the share.
- <provider_location>
Provider location of the snapshot on the backend.
Optional arguments
- --name <name>
Optional snapshot name (Default=None).
- --description <description>
Optional snapshot description (Default=None).
- --driver_options [<key=value> [<key=value> ...]], --driver-options [<key=value> [<key=value> ...]]
Optional driver options as key=value pairs
(Default=None).
13.94. manila snapshot-rename
usage: manila snapshot-rename [--description <description>] <snapshot> [<name>]
Positional arguments
- <snapshot>
Name or ID of the snapshot to rename.
- <name>
New name for the snapshot.
Optional arguments
- --description <description>
Optional snapshot description. (Default=None)
13.95. manila snapshot-reset-state
usage: manila snapshot-reset-state [--state <state>] <snapshot>
Positional arguments
- <snapshot>
Name or ID of the snapshot to modify.
Optional arguments
- --state <state>
Indicate which state to assign the snapshot. Options
include available, error, creating, deleting,
error_deleting. If no state is provided, available will be
used.
13.96. manila snapshot-show
usage: manila snapshot-show <snapshot>
Positional arguments
- <snapshot>
Name or ID of the snapshot.
13.97. manila snapshot-unmanage
usage: manila snapshot-unmanage <snapshot> [<snapshot> ...]
Positional arguments
- <snapshot>
Name or ID of the snapshot(s).
13.98. manila type-access-add
usage: manila type-access-add <share_type> <project_id>
Positional arguments
- <share_type>
Share type name or ID to add access for the given project.
- <project_id>
Project ID to add share type access for.
13.99. manila type-access-list
usage: manila type-access-list <share_type>
Positional arguments
- <share_type>
Filter results by share type name or ID.
13.100. manila type-access-remove
usage: manila type-access-remove <share_type> <project_id>
Positional arguments
- <share_type>
Share type name or ID to remove access for the given project.
- <project_id>
Project ID to remove share type access for.
13.101. manila type-create
usage: manila type-create [--snapshot_support <snapshot_support>] [--is_public <is_public>] <name> <spec_driver_handles_share_servers>
Positional arguments
- <name>
Name of the new share type.
- <spec_driver_handles_share_servers>
Required extra specification. Valid values are
'true'/'1' and 'false'/'0'
Optional arguments
- --snapshot_support <snapshot_support>, --snapshot-support <snapshot_support>
Boolean extra spec that used for filtering of back
ends by their capability to create share snapshots.
(Default is True).
- --is_public <is_public>, --is-public <is_public>
Make type accessible to the public (default true).
13.102. manila type-delete
usage: manila type-delete <id>
Positional arguments
- <id>
Name or ID of the share type to delete.
13.103. manila type-key
usage: manila type-key <stype> <action> [<key=value> [<key=value> ...]]
Positional arguments
- <stype>
Name or ID of the share type.
- <action>
Actions: 'set' or 'unset'.
- <key=value>
Extra_specs to set or unset (key is only necessary on unset).
13.104. manila type-list
usage: manila type-list [--all] [--columns <columns>]
Optional arguments
- --all
Display all share types (Admin only).
- --columns <columns>
Comma separated list of columns to be displayed e.g.
--columns "id,name"
13.105. manila unmanage
usage: manila unmanage <share>
Positional arguments
- <share>
Name or ID of the share(s).
13.106. manila update
usage: manila update [--name <name>] [--description <description>] [--is-public <is_public>] <share>
Positional arguments
- <share>
Name or ID of the share to rename.
Optional arguments
- --name <name>
New name for the share.
- --description <description>
Optional share description. (Default=None)
- --is-public <is_public>, --is_public <is_public>
Public share is visible for all tenants.
Chapter 14. A Time Series Storage and Resources Index Service Command-line Client
2.6.0
.
$
gnocchi
help
COMMAND
14.1. gnocchi Usage
usage: gnocchi [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug] [--os-region-name <auth-region-name>] [--os-interface <interface>] [--gnocchi-api-version GNOCCHI_API_VERSION] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>] [--os-auth-type <name>] [--os-auth-url OS_AUTH_URL] [--os-domain-id OS_DOMAIN_ID] [--os-domain-name OS_DOMAIN_NAME] [--os-project-id OS_PROJECT_ID] [--os-project-name OS_PROJECT_NAME] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-trust-id OS_TRUST_ID] [--os-default-domain-id OS_DEFAULT_DOMAIN_ID] [--os-default-domain-name OS_DEFAULT_DOMAIN_NAME] [--os-user-id OS_USER_ID] [--os-username OS_USERNAME] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] [--endpoint ENDPOINT]
14.2. gnocchi 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-region-name <auth-region-name>
Authentication region name (Env: OS_REGION_NAME)
- --os-interface <interface>
Select an interface type. Valid interface types:
[admin, public, internal]. (Env: OS_INTERFACE)
- --gnocchi-api-version GNOCCHI_API_VERSION
Defaults toenv[GNOCCHI_API_VERSION]
or 1.
- --os-auth-type <name>, --os-auth-plugin <name>
Authentication type to use
- --endpoint ENDPOINT
Gnocchi endpoint (Env: GNOCCHI_ENDPOINT)
14.3. gnocchi archive-policy create
usage: gnocchi archive-policy create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] -d <DEFINITION> [-b BACK_WINDOW] [-m AGGREGATION_METHODS] name
Positional arguments
- name
name of the archive policy
Optional arguments
- -h, --help
show this help message and exit
- -d <DEFINITION>, --definition <DEFINITION>
two attributes (separated by ',') of an archive policy
definition with its name and value separated with a
':'
- -b BACK_WINDOW, --back-window BACK_WINDOW
back window of the archive policy
- -m AGGREGATION_METHODS, --aggregation-method AGGREGATION_METHODS
aggregation method of the archive policy
14.4. gnocchi archive-policy delete
usage: gnocchi archive-policy delete [-h] name
Positional arguments
- name
Name of the archive policy
Optional arguments
- -h, --help
show this help message and exit
14.5. gnocchi archive-policy list
usage: gnocchi archive-policy list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
14.6. gnocchi archive-policy show
usage: gnocchi archive-policy show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] name
Positional arguments
- name
Name of the archive policy
Optional arguments
- -h, --help
show this help message and exit
14.7. gnocchi archive-policy update
usage: gnocchi archive-policy update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] -d <DEFINITION> name
Positional arguments
- name
name of the archive policy
Optional arguments
- -h, --help
show this help message and exit
- -d <DEFINITION>, --definition <DEFINITION>
two attributes (separated by ',') of an archive policy
definition with its name and value separated with a
':'
14.8. gnocchi archive-policy-rule create
usage: gnocchi archive-policy-rule create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] -a ARCHIVE_POLICY_NAME -m METRIC_PATTERN name
Positional arguments
- name
Rule name
Optional arguments
- -h, --help
show this help message and exit
- -a ARCHIVE_POLICY_NAME, --archive-policy-name ARCHIVE_POLICY_NAME
Archive policy name
- -m METRIC_PATTERN, --metric-pattern METRIC_PATTERN
Wildcard of metric name to match
14.9. gnocchi archive-policy-rule delete
usage: gnocchi archive-policy-rule delete [-h] name
Positional arguments
- name
Name of the archive policy rule
Optional arguments
- -h, --help
show this help message and exit
14.10. gnocchi archive-policy-rule list
usage: gnocchi archive-policy-rule list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
14.11. gnocchi archive-policy-rule show
usage: gnocchi archive-policy-rule show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] name
Positional arguments
- name
Name of the archive policy rule
Optional arguments
- -h, --help
show this help message and exit
14.12. gnocchi benchmark measures add
usage: gnocchi benchmark measures add [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--workers WORKERS] --count COUNT [--batch BATCH] [--timestamp-start TIMESTAMP_START] [--timestamp-end TIMESTAMP_END] [--wait] metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --workers WORKERS, -w WORKERS
Number of workers to use
- --count COUNT, -n COUNT
Number of total measures to send
- --batch BATCH, -b BATCH
Number of measures to send in each batch
- --timestamp-start TIMESTAMP_START, -s TIMESTAMP_START
First timestamp to use
- --timestamp-end TIMESTAMP_END, -e TIMESTAMP_END
Last timestamp to use
- --wait
Wait for all measures to be processed
14.13. gnocchi benchmark measures show
usage: gnocchi benchmark measures show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--resource-id RESOURCE_ID] [--aggregation AGGREGATION] [--start START] [--stop STOP] [--granularity GRANULARITY] [--refresh] [--workers WORKERS] --count COUNT metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --aggregation AGGREGATION
aggregation to retrieve
- --start START
beginning of the period
- --stop STOP
end of the period
- --granularity GRANULARITY
granularity to retrieve (in seconds)
- --refresh
force aggregation of all known measures
- --workers WORKERS, -w WORKERS
Number of workers to use
- --count COUNT, -n COUNT
Number of total measures to send
14.14. gnocchi benchmark metric create
usage: gnocchi benchmark metric create [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--archive-policy-name ARCHIVE_POLICY_NAME] [--workers WORKERS] --count COUNT [--keep]
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --archive-policy-name ARCHIVE_POLICY_NAME, -a ARCHIVE_POLICY_NAME
name of the archive policy
- --workers WORKERS, -w WORKERS
Number of workers to use
- --count COUNT, -n COUNT
Number of metrics to create
- --keep, -k
Keep created metrics
14.15. gnocchi benchmark metric show
usage: gnocchi benchmark metric show [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--workers WORKERS] --count COUNT metric [metric ...]
Positional arguments
- metric
ID or name of the metrics
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --workers WORKERS, -w WORKERS
Number of workers to use
- --count COUNT, -n COUNT
Number of metrics to get
14.16. gnocchi capabilities list
usage: gnocchi capabilities list [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
14.17. gnocchi measures add
usage: gnocchi measures add [-h] [--resource-id RESOURCE_ID] -m MEASURE metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- -m MEASURE, --measure MEASURE
timestamp and value of a measure separated with a '@'
14.18. gnocchi measures aggregation
usage: gnocchi measures aggregation [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] -m METRIC [METRIC ...] [--aggregation AGGREGATION] [--reaggregation REAGGREGATION] [--start START] [--stop STOP] [--granularity GRANULARITY] [--needed-overlap NEEDED_OVERLAP] [--query QUERY] [--resource-type RESOURCE_TYPE] [--groupby GROUPBY] [--refresh]
Optional arguments
- -h, --help
show this help message and exit
- -m METRIC [METRIC ...], --metric METRIC [METRIC ...]
metrics IDs or metric name
- --aggregation AGGREGATION
granularity aggregation function to retrieve
- --reaggregation REAGGREGATION
groupby aggregation function to retrieve
- --start START
beginning of the period
- --stop STOP
end of the period
- --granularity GRANULARITY
granularity to retrieve (in seconds)
- --needed-overlap NEEDED_OVERLAP
percent of datapoints in each metrics required
- --query QUERY A
query to filter resource. The syntax is a
combination of attribute, operator and value. For
example: id=90d58eea-70d7-4294-a49a-170dcdf44c3c would
filter resource with a certain id. More complex
queries can be built, e.g.: not (flavor_id!="1" and
memory>=24). Use "" to force data to be interpreted as
string. Supported operators are: not, and, ∧ or, ∨,
>=, <=, !=, >, <, =, ==, eq, ne, lt, gt, ge, le, in,
like, ≠, ≥, ≤, like, in.
- --resource-type RESOURCE_TYPE
Resource type to query
- --groupby GROUPBY
Attribute to use to group resources
- --refresh
force aggregation of all known measures
14.19. gnocchi measures batch-metrics
usage: gnocchi measures batch-metrics [-h] file
Positional arguments
- file
File containing measurements to batch or - for stdin (see
Gnocchi REST API docs for the format
Optional arguments
- -h, --help
show this help message and exit
14.20. gnocchi measures batch-resources-metrics
usage: gnocchi measures batch-resources-metrics [-h] file
Positional arguments
- file
File containing measurements to batch or - for stdin (see
Gnocchi REST API docs for the format
Optional arguments
- -h, --help
show this help message and exit
14.21. gnocchi measures show
usage: gnocchi measures show [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--resource-id RESOURCE_ID] [--aggregation AGGREGATION] [--start START] [--stop STOP] [--granularity GRANULARITY] [--refresh] metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --aggregation AGGREGATION
aggregation to retrieve
- --start START
beginning of the period
- --stop STOP
end of the period
- --granularity GRANULARITY
granularity to retrieve (in seconds)
- --refresh
force aggregation of all known measures
14.22. gnocchi metric create
usage: gnocchi metric create [-h] [--resource-id RESOURCE_ID] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--archive-policy-name ARCHIVE_POLICY_NAME] [--unit UNIT] [METRIC_NAME]
Positional arguments
- METRIC_NAME
Name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
- --archive-policy-name ARCHIVE_POLICY_NAME, -a ARCHIVE_POLICY_NAME
name of the archive policy
- --unit UNIT, -u UNIT
unit of the metric
14.23. gnocchi metric delete
usage: gnocchi metric delete [-h] [--resource-id RESOURCE_ID] metric [metric ...]
Positional arguments
- metric
IDs or names of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
14.24. gnocchi metric list
usage: gnocchi metric list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>]
Optional arguments
- -h, --help
show this help message and exit
- --limit <LIMIT>
Number of metrics to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value
- --sort <SORT>
Sort of metric attribute (example: user_id:desc-
nullslast
14.25. gnocchi metric show
usage: gnocchi metric show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--resource-id RESOURCE_ID] metric
Positional arguments
- metric
ID or name of the metric
Optional arguments
- -h, --help
show this help message and exit
- --resource-id RESOURCE_ID, -r RESOURCE_ID
ID of the resource
14.26. gnocchi resource create
usage: gnocchi resource create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--type RESOURCE_TYPE] [-a ATTRIBUTE] [-m ADD_METRIC] [-n CREATE_METRIC] resource_id
Positional arguments
- resource_id
ID of the resource
Optional arguments
- -h, --help
show this help message and exit
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
- -a ATTRIBUTE, --attribute ATTRIBUTE
name and value of an attribute separated with a ':'
- -m ADD_METRIC, --add-metric ADD_METRIC
name:id of a metric to add
- -n CREATE_METRIC, --create-metric CREATE_METRIC
name:archive_policy_name of a metric to create
14.27. gnocchi resource delete
usage: gnocchi resource delete [-h] resource_id
Positional arguments
- resource_id
ID of the resource
Optional arguments
- -h, --help
show this help message and exit
14.28. gnocchi resource history
usage: gnocchi resource history [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--details] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>] [--type RESOURCE_TYPE] resource_id
Positional arguments
- resource_id
ID of a resource
Optional arguments
- -h, --help
show this help message and exit
- --details
Show all attributes of generic resources
- --limit <LIMIT>
Number of resources to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value
- --sort <SORT>
Sort of resource attribute (example: user_id:desc-
nullslast
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
14.29. gnocchi resource list
usage: gnocchi resource list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--details] [--history] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>] [--type RESOURCE_TYPE]
Optional arguments
- -h, --help
show this help message and exit
- --details
Show all attributes of generic resources
- --history
Show history of the resources
- --limit <LIMIT>
Number of resources to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value
- --sort <SORT>
Sort of resource attribute (example: user_id:desc-
nullslast
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
14.30. gnocchi resource search
usage: gnocchi resource search [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--details] [--history] [--limit <LIMIT>] [--marker <MARKER>] [--sort <SORT>] [--type RESOURCE_TYPE] query
Positional arguments
- query
A query to filter resource. The syntax is a
combination of attribute, operator and value. For
example: id=90d58eea-70d7-4294-a49a-170dcdf44c3c would
filter resource with a certain id. More complex
queries can be built, e.g.: not (flavor_id!="1" and
memory>=24). Use "" to force data to be interpreted as
string. Supported operators are: not, and, ∧ or, ∨,
>=, <=, !=, >, <, =, ==, eq, ne, lt, gt, ge, le, in,
like, ≠, ≥, ≤, like, in.
Optional arguments
- -h, --help
show this help message and exit
- --details
Show all attributes of generic resources
- --history
Show history of the resources
- --limit <LIMIT>
Number of resources to return (Default is server
default)
- --marker <MARKER>
Last item of the previous listing. Return the next
results after this value
- --sort <SORT>
Sort of resource attribute (example: user_id:desc-
nullslast
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
14.31. gnocchi resource show
usage: gnocchi resource show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--type RESOURCE_TYPE] resource_id
Positional arguments
- resource_id
ID of a resource
Optional arguments
- -h, --help
show this help message and exit
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
14.32. gnocchi resource update
usage: gnocchi resource update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--type RESOURCE_TYPE] [-a ATTRIBUTE] [-m ADD_METRIC] [-n CREATE_METRIC] [-d DELETE_METRIC] resource_id
Positional arguments
- resource_id
ID of the resource
Optional arguments
- -h, --help
show this help message and exit
- --type RESOURCE_TYPE, -t RESOURCE_TYPE
Type of resource
- -a ATTRIBUTE, --attribute ATTRIBUTE
name and value of an attribute separated with a ':'
- -m ADD_METRIC, --add-metric ADD_METRIC
name:id of a metric to add
- -n CREATE_METRIC, --create-metric CREATE_METRIC
name:archive_policy_name of a metric to create
- -d DELETE_METRIC, --delete-metric DELETE_METRIC
Name of a metric to delete
14.33. gnocchi resource-type create
usage: gnocchi resource-type create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [-a ATTRIBUTE] name
Positional arguments
- name
name of the resource type
Optional arguments
- -h, --help
show this help message and exit
- -a ATTRIBUTE, --attribute ATTRIBUTE
attribute definition, attribute_name:attribute_type:at
tribute_is_required:attribute_type_option_name=attribu
te_type_option_value:… For example:
display_name:string:true:max_length=255
14.34. gnocchi resource-type delete
usage: gnocchi resource-type delete [-h] name
Positional arguments
- name
name of the resource type
Optional arguments
- -h, --help
show this help message and exit
14.35. gnocchi resource-type list
usage: gnocchi resource-type list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
14.36. gnocchi resource-type show
usage: gnocchi resource-type show [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] name
Positional arguments
- name
name of the resource type
Optional arguments
- -h, --help
show this help message and exit
14.37. gnocchi status
usage: gnocchi status [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
Chapter 15. DNS Service Command-line Client
2.3.0
.
$
designate
help
COMMAND
15.1. designate Usage
usage: designate [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug] [--os-username OS_USERNAME] [--os-user-id OS_USER_ID] [--os-user-domain-id OS_USER_DOMAIN_ID] [--os-user-domain-name OS_USER_DOMAIN_NAME] [--os-password OS_PASSWORD] [--os-tenant-name OS_TENANT_NAME] [--os-tenant-id OS_TENANT_ID] [--os-project-name OS_PROJECT_NAME] [--os-domain-name OS_DOMAIN_NAME] [--os-domain-id OS_DOMAIN_ID] [--os-project-id OS_PROJECT_ID] [--os-project-domain-id OS_PROJECT_DOMAIN_ID] [--os-project-domain-name OS_PROJECT_DOMAIN_NAME] [--os-auth-url OS_AUTH_URL] [--os-region-name OS_REGION_NAME] [--os-token OS_TOKEN] [--os-endpoint OS_ENDPOINT] [--os-endpoint-type OS_ENDPOINT_TYPE] [--os-service-type OS_SERVICE_TYPE] [--os-cacert OS_CACERT] [--insecure] [--all-tenants] [--edit-managed]
15.2. designate 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-username OS_USERNAME
Name used for authentication with the OpenStack
Identity service. Defaults toenv[OS_USERNAME]
.
- --os-user-id OS_USER_ID
User ID used for authentication with the OpenStack
Identity service. Defaults toenv[OS_USER_ID]
.
- --os-user-domain-id OS_USER_DOMAIN_ID
Defaults toenv[OS_USER_DOMAIN_ID]
.
- --os-user-domain-name OS_USER_DOMAIN_NAME
Defaults toenv[OS_USER_DOMAIN_NAME]
.
- --os-password OS_PASSWORD
Password used for authentication with the OpenStack
Identity service. Defaults toenv[OS_PASSWORD]
.
- --os-tenant-name OS_TENANT_NAME
Tenant to request authorization on. Defaults to
env[OS_TENANT_NAME]
.
- --os-tenant-id OS_TENANT_ID
Tenant to request authorization on. Defaults to
env[OS_TENANT_ID]
.
- --os-project-name OS_PROJECT_NAME
Project to request authorization on. Defaults to
env[OS_PROJECT_NAME]
.
- --os-domain-name OS_DOMAIN_NAME
Project to request authorization on. Defaults to
env[OS_DOMAIN_NAME]
.
- --os-domain-id OS_DOMAIN_ID
Defaults toenv[OS_DOMAIN_ID]
.
- --os-project-id OS_PROJECT_ID
Project to request authorization on. Defaults to
env[OS_PROJECT_ID]
.
- --os-project-domain-id OS_PROJECT_DOMAIN_ID
Defaults toenv[OS_PROJECT_DOMAIN_ID]
.
- --os-project-domain-name OS_PROJECT_DOMAIN_NAME
Defaults toenv[OS_PROJECT_DOMAIN_NAME]
.
- --os-auth-url OS_AUTH_URL
Specify the Identity endpoint to use for
authentication. Defaults toenv[OS_AUTH_URL]
.
- --os-region-name OS_REGION_NAME
Specify the region to use. Defaults to
env[OS_REGION_NAME]
.
- --os-token OS_TOKEN
Specify an existing token to use instead of retrieving
one via authentication (e.g. with username &
password). Defaults toenv[OS_SERVICE_TOKEN]
.
- --os-endpoint OS_ENDPOINT
Specify an endpoint to use instead of retrieving one
from the service catalog (via authentication).
Defaults toenv[OS_DNS_ENDPOINT]
.
- --os-endpoint-type OS_ENDPOINT_TYPE
Defaults toenv[OS_ENDPOINT_TYPE]
.
- --os-service-type OS_SERVICE_TYPE
Defaults toenv[OS_DNS_SERVICE_TYPE]
, or 'dns'.
- --os-cacert OS_CACERT
CA certificate bundle file. Defaults to
env[OS_CACERT]
.
- --insecure
Explicitly allow 'insecure' SSL requests.
- --all-tenants
Allows to list all domains from all tenants.
- --edit-managed
Allows to edit records that are marked as managed.
15.3. designate diagnostics-ping
usage: designate diagnostics-ping [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --service SERVICE --host HOST
Optional arguments
- -h, --help
show this help message and exit
- --service SERVICE
Service name (e.g. central)
- --host HOST
Hostname
15.4. designate domain-create
usage: designate domain-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --name NAME --email EMAIL [--ttl TTL] [--description DESCRIPTION]
Optional arguments
- -h, --help
show this help message and exit
- --name NAME
Domain name.
- --email EMAIL
Domain email.
- --ttl TTL
Time to live (seconds).
- --description DESCRIPTION
Description.
15.5. designate domain-delete
usage: designate domain-delete [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] id
Positional arguments
- id
Domain ID or name.
Optional arguments
- -h, --help
show this help message and exit
15.6. designate domain-get
usage: designate domain-get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] id
Positional arguments
- id
Domain ID or name.
Optional arguments
- -h, --help
show this help message and exit
15.7. designate domain-list
usage: designate domain-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
15.8. designate domain-servers-list
usage: designate domain-servers-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] id
Positional arguments
- id
Domain ID or name.
Optional arguments
- -h, --help
show this help message and exit
15.9. designate domain-update
usage: designate domain-update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name NAME] [--email EMAIL] [--ttl TTL] [--description DESCRIPTION | --no-description] id
Positional arguments
- id
Domain ID or name.
Optional arguments
- -h, --help
show this help message and exit
- --name NAME
Domain name.
- --email EMAIL
Domain email.
- --ttl TTL
Time to live (seconds).
- --description DESCRIPTION
Description.
- --no-description
15.10. designate quota-get
usage: designate quota-get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] tenant_id
Positional arguments
- tenant_id
Tenant ID
Optional arguments
- -h, --help
show this help message and exit
15.11. designate quota-reset
usage: designate quota-reset [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] tenant_id
Positional arguments
- tenant_id
Tenant ID.
Optional arguments
- -h, --help
show this help message and exit
15.12. designate quota-update
usage: designate quota-update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--domains DOMAINS] [--domain-recordsets DOMAIN_RECORDSETS] [--recordset-records RECORDSET_RECORDS] [--domain-records DOMAIN_RECORDS] [--api-export-size API_EXPORT_SIZE] tenant_id
Positional arguments
- tenant_id
Tenant ID.
Optional arguments
- -h, --help
show this help message and exit
- --domains DOMAINS
Allowed domains.
- --domain-recordsets DOMAIN_RECORDSETS
Allowed domain records.
- --recordset-records RECORDSET_RECORDS
Allowed recordset records.
- --domain-records DOMAIN_RECORDS
Allowed domain records.
- --api-export-size API_EXPORT_SIZE
Allowed zone export recordsets.
15.13. designate record-create
usage: designate record-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --name NAME --type TYPE --data DATA [--ttl TTL] [--priority PRIORITY] [--description DESCRIPTION] domain_id
Positional arguments
- domain_id
Domain ID or name.
Optional arguments
- -h, --help
show this help message and exit
- --name NAME
Record (relative|absolute) name.
- --type TYPE
Record type.
- --data DATA
Record data.
- --ttl TTL
Record TTL.
- --priority PRIORITY
Record priority.
- --description DESCRIPTION
Description.
15.14. designate record-delete
usage: designate record-delete [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] domain_id id
Positional arguments
- domain_id
Domain ID or name.
- id
Record ID.
Optional arguments
- -h, --help
show this help message and exit
15.15. designate record-get
usage: designate record-get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] domain_id id
Positional arguments
- domain_id
Domain ID or name.
- id
Record ID.
Optional arguments
- -h, --help
show this help message and exit
15.16. designate record-list
usage: designate record-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] domain_id
Positional arguments
- domain_id
Domain ID or name.
Optional arguments
- -h, --help
show this help message and exit
15.17. designate record-update
usage: designate record-update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name NAME] [--type TYPE] [--data DATA] [--description DESCRIPTION | --no-description] [--ttl TTL | --no-ttl] [--priority PRIORITY | --no-priority] domain_id id
Positional arguments
- domain_id
Domain ID or name.
- id
Record ID.
Optional arguments
- -h, --help
show this help message and exit
- --name NAME
Record name.
- --type TYPE
Record type.
- --data DATA
Record data.
- --description DESCRIPTION
Description.
- --no-description
- --ttl TTL
Record time to live (seconds).
- --no-ttl
- --priority PRIORITY
Record priority.
- --no-priority
15.18. designate report-count-all
usage: designate report-count-all [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
15.19. designate report-count-domains
usage: designate report-count-domains [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
15.20. designate report-count-records
usage: designate report-count-records [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
15.21. designate report-count-tenants
usage: designate report-count-tenants [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
15.22. designate report-tenant-domains
usage: designate report-tenant-domains [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] --report-tenant-id REPORT_TENANT_ID
Optional arguments
- -h, --help
show this help message and exit
- --report-tenant-id REPORT_TENANT_ID
The tenant_id being reported on.
15.23. designate report-tenants-all
usage: designate report-tenants-all [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
15.24. designate server-create
usage: designate server-create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] --name NAME
Optional arguments
- -h, --help
show this help message and exit
- --name NAME
Server name.
15.25. designate server-delete
usage: designate server-delete [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] id
Positional arguments
- id
Server ID.
Optional arguments
- -h, --help
show this help message and exit
15.26. designate server-get
usage: designate server-get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] id
Positional arguments
- id
Server ID.
Optional arguments
- -h, --help
show this help message and exit
15.27. designate server-list
usage: designate server-list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}]
Optional arguments
- -h, --help
show this help message and exit
15.28. designate server-update
usage: designate server-update [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name NAME] id
Positional arguments
- id
Server ID.
Optional arguments
- -h, --help
show this help message and exit
- --name NAME
Server name.
15.29. designate sync-all
usage: designate sync-all [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX]
Optional arguments
- -h, --help
show this help message and exit
15.30. designate sync-domain
usage: designate sync-domain [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] domain_id
Positional arguments
- domain_id
Domain ID
Optional arguments
- -h, --help
show this help message and exit
15.31. designate sync-record
usage: designate sync-record [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] domain_id record_id
Positional arguments
- domain_id
Domain ID
- record_id
Record ID
Optional arguments
- -h, --help
show this help message and exit
15.32. designate touch-domain
usage: designate touch-domain [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] domain_id
Positional arguments
- domain_id
Domain ID
Optional arguments
- -h, --help
show this help message and exit
Chapter 16. Key Manager Service Command-line Client (Technology Preview)
4.1.0
.
$
barbican
help
COMMAND
16.1. barbican Usage
usage: barbican [--version] [-v | -q] [--log-file LOG_FILE] [-h] [--debug] [--no-auth] [--os-identity-api-version <identity-api-version>] [--os-auth-url <auth-url>] [--os-username <auth-user-name>] [--os-user-id <auth-user-id>] [--os-password <auth-password>] [--os-user-domain-id <auth-user-domain-id>] [--os-user-domain-name <auth-user-domain-name>] [--os-tenant-name <auth-tenant-name>] [--os-tenant-id <tenant-id>] [--os-project-id <auth-project-id>] [--os-project-name <auth-project-name>] [--os-project-domain-id <auth-project-domain-id>] [--os-project-domain-name <auth-project-domain-name>] [--os-auth-token <auth-token>] [--endpoint <barbican-url>] [--interface <barbican-interface>] [--service-type <barbican-service-type>] [--service-name <barbican-service-name>] [--region-name <barbican-region-name>] [--barbican-api-version <barbican-api-version>] [--insecure] [--os-cacert <ca-certificate>] [--os-cert <certificate>] [--os-key <key>] [--timeout <seconds>]
16.2. barbican 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.
- --no-auth, -N
Do not use authentication.
- --os-identity-api-version <identity-api-version>
Specify Identity API version to use. Defaults to
env[OS_IDENTITY_API_VERSION]
or 3.
- --os-auth-url <auth-url>, -A <auth-url>
Defaults toenv[OS_AUTH_URL]
.
- --os-username <auth-user-name>, -U <auth-user-name>
Defaults toenv[OS_USERNAME]
.
- --os-user-id <auth-user-id>
Defaults toenv[OS_USER_ID]
.
- --os-password <auth-password>, -P <auth-password>
Defaults toenv[OS_PASSWORD]
.
- --os-user-domain-id <auth-user-domain-id>
Defaults toenv[OS_USER_DOMAIN_ID]
.
- --os-user-domain-name <auth-user-domain-name>
Defaults toenv[OS_USER_DOMAIN_NAME]
.
- --os-tenant-name <auth-tenant-name>, -T <auth-tenant-name>
Defaults toenv[OS_TENANT_NAME]
.
- --os-tenant-id <tenant-id>, -I <tenant-id>
Defaults toenv[OS_TENANT_ID]
.
- --os-project-id <auth-project-id>
Another way to specify tenant ID. This option is
mutually exclusive with --os-tenant-id. Defaults to
env[OS_PROJECT_ID]
.
- --os-project-name <auth-project-name>
Another way to specify tenant name. This option is
mutually exclusive with --os-tenant-name. Defaults to
env[OS_PROJECT_NAME]
.
- --os-project-domain-id <auth-project-domain-id>
Defaults toenv[OS_PROJECT_DOMAIN_ID]
.
- --os-project-domain-name <auth-project-domain-name>
Defaults toenv[OS_PROJECT_DOMAIN_NAME]
.
- --os-auth-token <auth-token>
Defaults toenv[OS_AUTH_TOKEN]
.
- --endpoint <barbican-url>, -E <barbican-url>
Defaults toenv[BARBICAN_ENDPOINT]
.
- --interface <barbican-interface>
Defaults toenv[BARBICAN_INTERFACE]
.
- --service-type <barbican-service-type>
Defaults toenv[BARBICAN_SERVICE_TYPE]
.
- --service-name <barbican-service-name>
Defaults toenv[BARBICAN_SERVICE_NAME]
.
- --region-name <barbican-region-name>
Defaults toenv[BARBICAN_REGION_NAME]
.
- --barbican-api-version <barbican-api-version>
Defaults toenv[BARBICAN_API_VERSION]
.
- --insecure
Explicitly allow client to perform "insecure" TLS
(https) requests. The server's certificate will not be
verified against any certificate authorities. This
option should be used with caution.
- --os-cacert <ca-certificate>
Specify a CA bundle file to use in verifying a TLS
(https) server certificate. Defaults to
env[OS_CACERT]
.
- --os-cert <certificate>
Defaults toenv[OS_CERT]
.
- --os-key <key>
Defaults toenv[OS_KEY]
.
- --timeout <seconds>
Set request timeout (in seconds).
16.3. barbican acl delete
usage: barbican acl delete [-h] URI
Positional arguments
- URI
The URI reference for the secret or container.
Optional arguments
- -h, --help
show this help message and exit
16.4. barbican acl get
usage: barbican acl get [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] URI
Positional arguments
- URI
The URI reference for the secret or container.
Optional arguments
- -h, --help
show this help message and exit
16.5. barbican acl submit
usage: barbican acl submit [-h] [-f {csv,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
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
16.6. barbican acl user add
usage: barbican acl user add [-h] [-f {csv,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
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
16.7. barbican acl user remove
usage: barbican acl user remove [-h] [-f {csv,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
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
16.8. barbican ca get
usage: barbican ca get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] URI
Positional arguments
- URI
The URI reference for the CA.
Optional arguments
- -h, --help
show this help message and exit
16.9. barbican ca list
usage: barbican ca list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit LIMIT] [--offset OFFSET] [--name NAME]
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)
16.10. barbican secret container create
usage: barbican secret container create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--name NAME] [--type TYPE] [--secret SECRET]
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"
16.11. barbican secret container delete
usage: barbican secret container delete [-h] URI
Positional arguments
- URI
The URI reference for the container
Optional arguments
- -h, --help
show this help message and exit
16.12. barbican secret container get
usage: barbican secret container get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] URI
Positional arguments
- URI
The URI reference for the container.
Optional arguments
- -h, --help
show this help message and exit
16.13. barbican secret container list
usage: barbican secret container list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit LIMIT] [--offset OFFSET] [--name NAME] [--type TYPE]
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).
16.14. barbican secret delete
usage: barbican secret delete [-h] URI
Positional arguments
- URI
The URI reference for the secret
Optional arguments
- -h, --help
show this help message and exit
16.15. barbican secret get
usage: barbican secret get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] [--decrypt] [--payload] [--payload_content_type PAYLOAD_CONTENT_TYPE] 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.
16.16. barbican secret list
usage: barbican secret list [-h] [-f {csv,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]
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).
16.17. barbican secret order create
usage: barbican secret order create [-h] [-f {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
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.
16.18. barbican secret order delete
usage: barbican secret order delete [-h] URI
Positional arguments
- URI
The URI reference for the order
Optional arguments
- -h, --help
show this help message and exit
16.19. barbican secret order get
usage: barbican secret order get [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--prefix PREFIX] URI
Positional arguments
- URI
The URI reference order.
Optional arguments
- -h, --help
show this help message and exit
16.20. barbican secret order list
usage: barbican secret order list [-h] [-f {csv,json,table,value,yaml}] [-c COLUMN] [--max-width <integer>] [--noindent] [--quote {all,minimal,none,nonnumeric}] [--limit LIMIT] [--offset OFFSET]
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)
16.21. barbican secret store
usage: barbican secret store [-h] [-f {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]
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.
16.22. barbican secret update
usage: barbican secret update [-h] URI payload
Positional arguments
- URI
The URI reference for the secret.
- payload
the unencrypted secret
Optional arguments
- -h, --help
show this help message and exit
Chapter 17. Benchmark Service Command-line Client (Technology Preview)
0.7.0
.
$
rally
help
COMMAND
17.1. rally Usage
usage: rally [-h] [--config-dir DIR] [--config-file PATH] [--debug] [--log-config-append PATH] [--log-date-format DATE_FORMAT] [--log-dir LOG_DIR] [--log-file PATH] [--nodebug] [--norally-debug] [--nouse-syslog] [--noverbose] [--nowatch-log-file] [--plugin-paths PLUGIN_PATHS] [--rally-debug] [--syslog-log-facility SYSLOG_LOG_FACILITY] [--use-syslog] [--verbose] [--version] [--watch-log-file] {version,bash-completion,show,task,plugin,verify,deployment} ...
17.2. rally Optional Arguments
- -h, --help
show this help message and exit
- --config-dir DIR
Path to a config directory to pull *.conf files from.
This file set is sorted, so as to provide a
predictable parse order if individual options are
over-ridden. The set is parsed after the file(s)
specified via previous --config-file, arguments hence
over-ridden options in the directory take precedence.
- --config-file PATH
Path to a config file to use. Multiple config files
can be specified, with values in later files taking
precedence. Defaults to None.
- --debug, -d
If set to true, the logging level will be set to DEBUG
instead of the default INFO level.
- --log-config-append PATH, --log_config PATH
The name of a logging configuration file. This file is
appended to any existing logging configuration files.
For details about logging configuration files, see the
Python logging module documentation. Note that when
logging configuration files are used then all logging
configuration is set in the configuration file and
other logging configuration options are ignored (for
example, logging_context_format_string).
- --log-date-format DATE_FORMAT
Defines the format string for %(asctime)s in log
records. Default: None . This option is ignored if
log_config_append is set.
- --log-dir LOG_DIR, --logdir LOG_DIR
(Optional) The base directory used for relative
log_file paths. This option is ignored if
log_config_append is set.
- --log-file PATH, --logfile PATH
(Optional) Name of log file to send logging output to.
If no default is set, logging will go to stderr as
defined by use_stderr. This option is ignored if
log_config_append is set.
- --nodebug
The inverse of --debug
- --norally-debug
The inverse of --rally-debug
- --nouse-syslog
The inverse of --use-syslog
- --noverbose
The inverse of --verbose
- --nowatch-log-file
The inverse of --watch-log-file
- --plugin-paths PLUGIN_PATHS
Additional custom plugin locations. Multiple files or
directories may be specified. All plugins in the
specified directories and subdirectories will be
imported. Plugins in /opt/rally/plugins and
~/.rally/plugins will always be imported.
- --rally-debug
Print debugging output only for Rally. Off-site
components stay quiet.
- --syslog-log-facility SYSLOG_LOG_FACILITY
Syslog facility to receive log lines. This option is
ignored if log_config_append is set.
- --use-syslog
Use syslog for logging. Existing syslog format is
DEPRECATED and will be changed later to honor RFC5424.
This option is ignored if log_config_append is set.
- --verbose, -v
If set to false, the logging level will be set to
WARNING instead of the default INFO level.
- --version
show program's version number and exit
- --watch-log-file
Uses logging handler designed to watch file system.
When log file is moved or removed this handler will
open a new log file with specified path
instantaneously. It makes sense only if log_file
option is specified and Linux platform is used. This
option is ignored if log_config_append is set.
Revision History
Revision History | |||
---|---|---|---|
Revision 10.0.0-1 | Thu Jan 19 2017 | Red Hat OpenStack Platform Documentation Team | |
|