l.c.o.OpenStackBaseConnection(ConnectionUserAndKey) : class documentation

Part of libcloud.common.openstack View Source View In Hierarchy

Known subclasses: libcloud.compute.drivers.openstack.OpenStackComputeConnection, libcloud.loadbalancer.drivers.rackspace.RackspaceConnection, libcloud.storage.drivers.cloudfiles.CloudFilesConnection

Base class for OpenStack connections.
Parametersuser_idUser name to use when authenticating (type: string)
keySecret to use when authenticating. (type: string)
secureUse HTTPS? (True by default.) (type: bool)
ex_force_base_urlBase URL for connection requests. If not specified, this will be determined by authenticating. (type: string)
ex_force_auth_urlBase URL for authentication requests. (type: string)
ex_force_auth_versionAuthentication version to use. If not specified, defaults to AUTH_API_VERSION. (type: string)
ex_force_auth_tokenAuthentication token to use for connection requests. If specified, the connection will not attempt to authenticate, and the value of ex_force_base_url will be used to determine the base request URL. If ex_force_auth_token is passed in, ex_force_base_url must also be provided. (type: string)
ex_tenant_nameWhen authenticating, provide this tenant name to the identity service. A scoped token will be returned. Some cloud providers require the tenant name to be provided at authentication time. Others will use a default tenant if none is provided. (type: string)
ex_force_service_typeService type to use when selecting an service. If not specified, a provider specific default will be used. (type: string)
ex_force_service_nameService name to use when selecting an service. If not specified, a provider specific default will be used. (type: string)
ex_force_service_regionRegion to use when selecting an service. If not specified, a provider specific default will be used. (type: string)
Method __init__ Undocumented
Method get_endpoint Selects the endpoint to use based on provider specific values, or overrides passed in by the user when setting up the driver.
Method add_default_headers Undocumented
Method morph_action_hook Undocumented
Method request Undocumented
Method _populate_hosts_and_request_paths OpenStack uses a separate host for API calls which is only provided after an initial authentication request.
Method _add_cache_busting_to_params Undocumented
def __init__(self, user_id, key, secure=True, host=None, port=None, ex_force_base_url=None, ex_force_auth_url=None, ex_force_auth_version=None, ex_force_auth_token=None, ex_tenant_name=None, ex_force_service_type=None, ex_force_service_name=None, ex_force_service_region=None): (source)
Undocumented
def get_endpoint(self): (source)
Selects the endpoint to use based on provider specific values, or overrides passed in by the user when setting up the driver.
Returnsurl of the relevant endpoint for the driver
def add_default_headers(self, headers): (source)
Undocumented
def morph_action_hook(self, action): (source)
Undocumented
def request(self, **kwargs): (source)
Undocumented
def _populate_hosts_and_request_paths(self): (source)
OpenStack uses a separate host for API calls which is only provided after an initial authentication request.
def _add_cache_busting_to_params(self, params): (source)
Undocumented
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:49:10.