OpenStack Client interface. Handles the REST calls and responses.
Initialize client object based on given version.
HOW-TO: The simplest way to create a client instance is initialization with your credentials:
>>> from novaclient import client
>>> nova = client.Client(VERSION, USERNAME, PASSWORD,
... PROJECT_ID, AUTH_URL)
Here VERSION
can be a string or
novaclient.api_versions.APIVersion
obj. If you prefer string value,
you can use 1.1
(deprecated now), 2
or 2.X
(where X is a microversion).
Alternatively, you can create a client instance using the keystoneauth session API. See “The novaclient Python API” page at python-novaclient’s doc.
Bases: LegacyJsonAdapter
Returns the list of extensions, which can be discovered by python path and by entry-point ‘novaclient.extension’.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.