此内容没有您所选择的语言版本。
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.