Merge "Update python usage docs"
This commit is contained in:
@@ -26,7 +26,8 @@ API::
|
|||||||
>>> auth = loader.load_from_options(auth_url=AUTH_URL,
|
>>> auth = loader.load_from_options(auth_url=AUTH_URL,
|
||||||
... username=USERNAME,
|
... username=USERNAME,
|
||||||
... password=PASSWORD,
|
... password=PASSWORD,
|
||||||
... project_id=PROJECT_ID)
|
... project_id=PROJECT_ID,
|
||||||
|
... user_domain_name=USER_DOMAIN_NAME)
|
||||||
>>> sess = session.Session(auth=auth)
|
>>> sess = session.Session(auth=auth)
|
||||||
>>> cinder = client.Client(VERSION, session=sess)
|
>>> cinder = client.Client(VERSION, session=sess)
|
||||||
>>> cinder.volumes.list()
|
>>> cinder.volumes.list()
|
||||||
|
Reference in New Issue
Block a user