Part of libcloud.dns.drivers.rackspace View Source View In Hierarchy
Known subclasses: libcloud.dns.drivers.rackspace.RackspaceUKDNSConnection, libcloud.dns.drivers.rackspace.RackspaceUSDNSConnection
Rackspace DNS Connection class.
Method | get_poll_request_kwargs | Return keyword arguments which are passed to the request() method when polling for the job status. |
Method | has_completed | Return job completion status. |
Method | get_endpoint | FIXME: Dirty, dirty hack. DNS doesn't get returned in the auth 1.1 service catalog, so we build it from the servers url. |
Method | _construct_dns_endpoint_from_servers_endpoint | Undocumented |
Inherited from OpenStack_1_1_Connection:
Method | encode_data | Encode body data. |
Inherited from OpenStackComputeConnection (via OpenStack_1_1_Connection):
Method | request | Request a given `action`. |
Inherited from OpenStackBaseConnection (via OpenStack_1_1_Connection, OpenStackComputeConnection):
Method | __init__ | Initialize `user_id` and `key`; set `secure` to an C{int} based on passed value. |
Method | add_default_headers | Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers` |
Method | morph_action_hook | 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 |
Inherited from Connection (via OpenStack_1_1_Connection, OpenStackComputeConnection, OpenStackBaseConnection, ConnectionUserAndKey, ConnectionKey):
Method | set_context | Undocumented |
Method | connect | Establish a connection with the API server. |
Method | user_agent_append | Append a token to a user agent string. |
Method | add_default_params | Adds default parameters (such as API key, version, etc.) to the passed `params` |
Method | pre_connect_hook | A hook which is called before connecting to the remote server. This hook can perform a final manipulation on the params, headers and url parameters. |
Method | _tuple_from_url | Undocumented |
Method | _user_agent | Undocumented |
Inherited from PollingConnection:
Method | async_request | No summary |
Method | get_request_kwargs | Arguments which are passed to the initial request() call inside async_request. |
Inherited from Connection (via PollingConnection):
Method | __init__ | Undocumented |
Method | set_context | Undocumented |
Method | connect | Establish a connection with the API server. |
Method | user_agent_append | Append a token to a user agent string. |
Method | request | Request a given `action`. |
Method | morph_action_hook | Undocumented |
Method | add_default_params | Adds default parameters (such as API key, version, etc.) to the passed `params` |
Method | add_default_headers | Adds default headers (such as Authorization, X-Foo-Bar) to the passed `headers` |
Method | pre_connect_hook | A hook which is called before connecting to the remote server. This hook can perform a final manipulation on the params, headers and url parameters. |
Method | encode_data | Encode body data. |
Method | _tuple_from_url | Undocumented |
Method | _user_agent | Undocumented |
Return keyword arguments which are passed to the request() method when polling for the job status. @param response: Response object returned by poll request. @type response: C{HTTPResponse} @param request_kwargs: Kwargs previously used to initiate the poll request. @type response: C{dict} @return C{dict} Keyword arguments
Return job completion status. @param response: Response object returned by poll request. @type response: C{HTTPResponse} @return C{bool} True if the job has completed, False otherwise.
FIXME: Dirty, dirty hack. DNS doesn't get returned in the auth 1.1 service catalog, so we build it from the servers url.