Merge "The novaclient Python API doc keystoneauth example fixed"

This commit is contained in:
Jenkins 2016-03-03 08:24:31 +00:00 committed by Gerrit Code Review
commit d63800d5ec

@ -26,10 +26,10 @@ session API::
>>> from keystoneauth1 import session
>>> from novaclient import client
>>> loader = loading.get_plugin_loader('password')
>>> auth = loader.Password(auth_url=AUTH_URL,
... username=USERNAME,
... password=PASSWORD,
... project_id=PROJECT_ID)
>>> auth = loader.load_from_options(auth_url=AUTH_URL,
... username=USERNAME,
... password=PASSWORD,
... project_id=PROJECT_ID)
>>> sess = session.Session(auth=auth)
>>> nova = client.Client(VERSION, session=sess)