The freezerclient.v1.client Module

class freezerclient.v1.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.v1.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.v1.client.guess_auth_version(opts)[source]

Guess keystone version to connect to