48
48
can use to interact with any Rackspace compatible API (including OpenStack).
50
50
You'll need to provide your OpenStack username and password. You can do this
51
with the ``--os_username``, ``--os_password`` and ``--os_tenant_name``
51
with the ``--os-username``, ``--os-password`` and ``--os-tenant-name``
52
52
params, but it's easier to just set them as environment variables::
54
54
export OS_USERNAME=openstack
55
55
export OS_PASSWORD=yadayada
56
56
export OS_TENANT_NAME=myproject
58
You will also need to define the authentication url with ``--os_auth_url``
58
You will also need to define the authentication url with ``--os-auth-url``
59
59
and the version of the API with ``--version``. Or set them as an environment
60
60
variables as well::
68
68
export OS_AUTH_URL=http://example.com:5000/v2.0/
70
70
Since Keystone can return multiple regions in the Service Catalog, you
71
can specify the one you want with ``--os_region_name`` (or
71
can specify the one you want with ``--os-region-name`` (or
72
72
``export OS_REGION_NAME``). It defaults to the first in the list returned.
74
74
You'll find complete documentation on the shell by running
77
usage: nova [--debug] [--os_username OS_USERNAME] [--os_password OS_PASSWORD]
78
[--os_tenant_name OS_TENANT_NAME] [--os_auth_url OS_AUTH_URL]
79
[--os_region_name OS_REGION_NAME] [--service_type SERVICE_TYPE]
80
[--service_name SERVICE_NAME] [--endpoint_type ENDPOINT_TYPE]
81
[--version VERSION] [--username USERNAME]
82
[--region_name REGION_NAME] [--apikey APIKEY]
83
[--projectid PROJECTID] [--url URL]
77
usage: nova [--debug] [--no-cache] [--timings]
78
[--os-username <auth-user-name>] [--os-password <auth-password>]
79
[--os-tenant-name <auth-tenant-name>] [--os-auth-url <auth-url>]
80
[--os-region-name <region-name>] [--os-auth-system <auth-system>]
81
[--service-type <service-type>] [--service-name <service-name>]
82
[--volume-service-name <volume-service-type>]
83
[--endpoint-type <endpoint-type>]
84
[--os-compute-api-version <compute-api-ver>] [--insecure]
85
[--bypass-url <bypass-url>]
86
88
Command-line interface to the OpenStack Nova API.
208
210
Optional arguments:
209
211
--debug Print debugging output
210
--os_username OS_USERNAME
212
--no-cache Don't use the auth token cache.
213
--timings Print call timing info
214
--os-username <auth-user-name>
211
215
Defaults to env[OS_USERNAME].
212
--os_password OS_PASSWORD
216
--os-password <auth-password>
213
217
Defaults to env[OS_PASSWORD].
214
--os_tenant_name OS_TENANT_NAME
218
--os-tenant-name <auth-tenant-name>
215
219
Defaults to env[OS_TENANT_NAME].
216
--os_auth_url OS_AUTH_URL
220
--os-auth-url <auth-url>
217
221
Defaults to env[OS_AUTH_URL].
218
--os_region_name OS_REGION_NAME
222
--os-region-name <region-name>
219
223
Defaults to env[OS_REGION_NAME].
220
--service_type SERVICE_TYPE
224
--os-auth-system <auth-system>
225
Defaults to env[OS_AUTH_SYSTEM].
226
--service-type <service-type>
221
227
Defaults to compute for most actions
222
--service_name SERVICE_NAME
228
--service-name <service-name>
223
229
Defaults to env[NOVA_SERVICE_NAME]
224
--endpoint_type ENDPOINT_TYPE
230
--volume-service-name <volume-service-type>
231
Defaults to env[NOVA_VOLUME_SERVICE_NAME]
232
--endpoint-type <endpoint-type>
225
233
Defaults to env[NOVA_ENDPOINT_TYPE] or publicURL.
226
--os_compute_api_version VERSION
227
Accepts 1.1, defaults to env[OS_COMPUTE_API_VERSION].
228
--username USERNAME Deprecated
229
--region_name REGION_NAME
231
--apikey APIKEY, --password APIKEY
233
--projectid PROJECTID, --tenant_name PROJECTID
235
--url URL, --auth_url URL
234
--os-compute-api-version <compute-api-ver>
235
Accepts 1.1, defaults to env[OS_COMPUTE_API_VERSION]. --username USERNAME Deprecated
236
--insecure Explicitly allow novaclient to perform "insecure" SSL
237
(https) requests. The server's certificate will not be
238
verified against any certificate authorities. This
239
option should be used with caution.
240
--bypass-url <bypass-url>
241
Use this API endpoint instead of the Service Catalog
238
243
See "nova help COMMAND" for help on a specific command.