The freezerclient.v2.client Module

The freezerclient.v2.client Module

class freezerclient.v2.client.Client(version='3', token=None, username=None, password=None, tenant_name=None, auth_url=None, session=None, endpoint=None, endpoint_type=None, opts=None, project_name=None, user_domain_name=None, user_domain_id=None, project_domain_name=None, project_domain_id=None, cert=None, cacert=None, insecure=False, project_id=None)[source]

Bases: object

Client for the OpenStack Disaster Recovery v1 API.

auth_token
client_id
endpoint
session
validate()[source]

Validate that the client objects gets created correctly. :return: bool

freezerclient.v2.client.get_auth_plugin(opts)[source]

Create the right keystone connection depending on the version for the api, if username/password and token are provided, username and password takes precedence.

freezerclient.v2.client.guess_auth_version(opts)[source]

Guess keystone version to connect to

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.