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