Added documentation for NOVA_VERSION
This commit is contained in:
parent
f5a078c7eb
commit
cc9d68cf09
13
README.rst
13
README.rst
@ -43,16 +43,19 @@ set them as environment variables::
|
|||||||
export NOVA_API_KEY=yadayada
|
export NOVA_API_KEY=yadayada
|
||||||
export NOVA_PROJECT_ID=myproject
|
export NOVA_PROJECT_ID=myproject
|
||||||
|
|
||||||
You will also need to define the authentication url with ``--url``. Or set it as
|
You will also need to define the authentication url with ``--url`` and the
|
||||||
an environment variable as well::
|
version of the API with ``--version``. Or set them as an environment
|
||||||
|
variables as well::
|
||||||
|
|
||||||
export NOVA_URL=http://myserver:port/v1.0/
|
export NOVA_URL=http://myserver:port/v1.0/
|
||||||
|
export NOVA_VERSION=1.0
|
||||||
|
|
||||||
You'll find complete documentation on the shell by running
|
You'll find complete documentation on the shell by running
|
||||||
``nova help``::
|
``nova help``::
|
||||||
|
|
||||||
usage: nova [--username USERNAME] [--apikey APIKEY]
|
usage: nova [--username USERNAME] [--apikey APIKEY] [--projectid PROJECTID]
|
||||||
[--projectid PROJECTID] [--url AUTH_URL] <subcommand> ...
|
[--url URL] [--version VERSION]
|
||||||
|
<subcommand> ...
|
||||||
|
|
||||||
Command-line interface to the OpenStack Nova API.
|
Command-line interface to the OpenStack Nova API.
|
||||||
|
|
||||||
@ -108,6 +111,8 @@ You'll find complete documentation on the shell by running
|
|||||||
--url AUTH_URL Defaults to env[NOVA_URL] or
|
--url AUTH_URL Defaults to env[NOVA_URL] or
|
||||||
https://auth.api.rackspacecloud.com/v1.0
|
https://auth.api.rackspacecloud.com/v1.0
|
||||||
if undefined.
|
if undefined.
|
||||||
|
--version VERSION Accepts 1.0 or 1.1, defaults to
|
||||||
|
env[NOVA_VERSION].
|
||||||
|
|
||||||
See "nova help COMMAND" for help on a specific command.
|
See "nova help COMMAND" for help on a specific command.
|
||||||
|
|
||||||
|
@ -31,12 +31,17 @@ environment variables by setting two environment variables:
|
|||||||
|
|
||||||
The OpenStack API server URL.
|
The OpenStack API server URL.
|
||||||
|
|
||||||
|
.. envvar:: NOVA_VERSION
|
||||||
|
|
||||||
|
The OpenStack API version.
|
||||||
|
|
||||||
For example, in Bash you'd use::
|
For example, in Bash you'd use::
|
||||||
|
|
||||||
export NOVA_USERNAME=yourname
|
export NOVA_USERNAME=yourname
|
||||||
export NOVA_API_KEY=yadayadayada
|
export NOVA_API_KEY=yadayadayada
|
||||||
export NOVA_PROJECT_ID=myproject
|
export NOVA_PROJECT_ID=myproject
|
||||||
export NOVA_URL=http://...
|
export NOVA_URL=http://...
|
||||||
|
export NOVA_VERSION=1.0
|
||||||
|
|
||||||
From there, all shell commands take the form::
|
From there, all shell commands take the form::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user