l.c.d.o.OpsourceConnection(ConnectionUserAndKey) : class documentation

Part of libcloud.compute.drivers.opsource View Source View In Hierarchy

Connection class for the Opsource driver
Method add_default_headers Undocumented
Method request Undocumented
Method request_with_orgId Undocumented
Method get_resource_path This method returns a resource path which is necessary for referencing resources that require a full path instead of just an ID, such as networks, and customer snapshots.
Method _get_orgId Send the /myaccount API request to opsource cloud and parse the 'orgId' from the XML response object. We need the orgId to use most of the other API functions
def add_default_headers(self, headers): (source)
Undocumented
def request(self, action, params=None, data='', headers=None, method='GET'): (source)
Undocumented
def request_with_orgId(self, action, params=None, data='', headers=None, method='GET'): (source)
Undocumented
def get_resource_path(self): (source)
This method returns a resource path which is necessary for referencing
resources that require a full path instead of just an ID, such as
networks, and customer snapshots.
def _get_orgId(self): (source)
Send the /myaccount API request to opsource cloud and parse the
'orgId' from the XML response object. We need the orgId to use most
of the other API functions
API Documentation for libcloud, generated by pydoctor at 2013-02-18 10:41:20.