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

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

Connection class for the OpenNebula.org driver.
Method add_default_headers Add headers required by the OpenNebula.org OCCI interface.
def add_default_headers(self, headers): (source)
Add headers required by the OpenNebula.org OCCI interface.

Includes adding Basic HTTP Authorization headers for authenticating
against the OpenNebula.org OCCI interface.

@type  headers: C{dict}
@param headers: Dictionary containing HTTP headers.

@rtype:  C{dict}
@return: Dictionary containing updated headers.
API Documentation for libcloud, generated by pydoctor at 2012-11-19 12:09:27.