summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.rst b/README.rst
index 4b8b8bb..a7edf87 100644
--- a/README.rst
+++ b/README.rst
@@ -46,7 +46,7 @@ and the version of the API with ``--os-compute-api-version``. Or set them as
46an environment variables as well:: 46an environment variables as well::
47 47
48 export OS_AUTH_URL=http://example.com:8774/v1.1/ 48 export OS_AUTH_URL=http://example.com:8774/v1.1/
49 export OS_COMPUTE_API_VERSION=1.1 49 export OS_COMPUTE_API_VERSION=2
50 50
51If you are using Keystone, you need to set the OS_AUTH_URL to the keystone 51If you are using Keystone, you need to set the OS_AUTH_URL to the keystone
52endpoint:: 52endpoint::
@@ -69,7 +69,7 @@ There's also a complete Python API, but it has not yet been documented.
69To use with nova, with keystone as the authentication system:: 69To use with nova, with keystone as the authentication system::
70 70
71 # use v2.0 auth with http://example.com:5000/v2.0/") 71 # use v2.0 auth with http://example.com:5000/v2.0/")
72 >>> from novaclient.v1_1 import client 72 >>> from novaclient.v2 import client
73 >>> nt = client.Client(USER, PASS, TENANT, AUTH_URL, service_type="compute") 73 >>> nt = client.Client(USER, PASS, TENANT, AUTH_URL, service_type="compute")
74 >>> nt.flavors.list() 74 >>> nt.flavors.list()
75 [...] 75 [...]