chi.clients¶
The chi.clients module can be used to interface directly with the openstack SDK.
These clients are external libraries. For usage, see the respective documentation pages.
- chi.clients.blazar(session=None) BlazarClient[source]¶
Get a preconfigured client for Blazar, the reservation service.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new Blazar client.
- chi.clients.cinder(session=None) CinderClient[source]¶
Get a preconfigured client for Cinder, the persistent volume service.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new Cinder client.
- chi.clients.connection(session=None) Connection[source]¶
Get connection context for OpenStack SDK.
The returned
openstack.connection.Connectionobject has several proxy modules attached for each service provided by the cloud.Note
For the most part, it is more straightforward to use clients specific to the service you are targeting. However, some of the proxy modules are useful for operations that span a few services, such as assigning a Floating IP to a server instance.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new connection proxy.
- chi.clients.glance(session=None) GlanceClient[source]¶
Get a preconfigured client for Glance, the image service.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new Glance client.
- chi.clients.ironic(session=None) IronicClient[source]¶
Get a preconfigured client for Ironic, the bare metal service.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new Ironic client.
- chi.clients.keystone(session=None) KeystoneClient[source]¶
Get a preconfigured client for Keystone, the authentication service.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new Keystone client.
- chi.clients.manila(session=None) ManilaClient[source]¶
Get a preconfigured client for Manila, the share service.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new Manila client.
- chi.clients.neutron(session=None) NeutronClient[source]¶
Get a preconfigured client for Neutron, the networking service.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new Neutron client.
- chi.clients.nova(session=None) NovaClient[source]¶
Get a preconfigured client for Nova, the compute service.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new Nova client.
- chi.clients.zun(session=None) ZunClient[source]¶
Get a preconfigured client for Zun, the edge container service.
See the documentation for usage.
- Parameters:
session (Session) – An authentication session object. By default a new session is created via
chi.session().- Returns:
A new Zun client.