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.
with plain_auth support
Method __init__ Undocumented
Method add_default_headers Add headers required by the OpenNebula.org OCCI interface.
def __init__(self, *args, **kwargs): (source)
Undocumented
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 2013-07-01 17:02:02.