Part of libcloud.dns.drivers.rackspace View Source View In Hierarchy
Known subclasses: libcloud.dns.drivers.rackspace.RackspaceUKDNSDriver, libcloud.dns.drivers.rackspace.RackspaceUSDNSDriver
Method | __init__ | @param key: API key or username to used (required) @type key: C{str} |
Method | list_zones | Return a list of zones. |
Method | list_records | Return a list of records for the provided zone. |
Method | get_zone | Return a Zone instance. |
Method | get_record | Return a Record instance. |
Method | create_zone | Create a new zone. |
Method | update_zone | Update en existing zone. |
Method | create_record | Create a new record. |
Method | update_record | Update an existing record. |
Method | delete_zone | Delete a zone. |
Method | delete_record | Delete a record. |
Method | _ex_connection_class_kwargs | Return extra connection keyword arguments which are passed to the Connection class constructor. |
Method | _to_zones | Undocumented |
Method | _to_zone | Undocumented |
Method | _to_records | Undocumented |
Method | _to_record | Undocumented |
Method | _to_full_record_name | Build a FQDN from a domain and record name. |
Method | _to_partial_record_name | Strip domain portion from the record name. |
Inherited from DNSDriver:
Method | list_record_types | Return a list of RecordType objects supported by the provider. |
Method | iterate_zones | Return a generator to iterate over available zones. |
Method | iterate_records | Return a generator to iterate over records for the provided zone. |
Method | _string_to_record_type | Return a string representation of a DNS record type to a libcloud RecordType ENUM. |
Inherited from OpenStackDriverMixin:
Method | openstack_connection_kwargs | @rtype: C{dict} |
Method | _get_argument_pairs | Undocumented |
@param key: API key or username to used (required) @type key: C{str} @param secret: Secret password to be used (required) @type secret: C{str} @param secure: Weither to use HTTPS or HTTP. Note: Some providers only support HTTPS, and it is on by default. @type secure: C{bool} @param host: Override hostname used for connections. @type host: C{str} @param port: Override port used for connections. @type port: C{int} @rtype: C{None}
Return extra connection keyword arguments which are passed to the Connection class constructor.
Return a list of zones. @rtype: C{list} of L{Zone}
Return a list of records for the provided zone. @param zone: Zone to list records for. @type zone: L{Zone} @rtype: C{list} of L{Record}
Return a Zone instance. @param zone_id: ID of the required zone @type zone_id: C{str} @rtype: L{Zone}
Return a Record instance. @param zone_id: ID of the required zone @type zone_id: C{str} @param record_id: ID of the required record @type record_id: C{str} @rtype: L{Record}
Create a new zone. @param domain: Zone domain name. @type domain: C{str} @param type: Zone type (master / slave). @type type: C{str} @param ttl: (optional) TTL for new records. @type ttl: C{int} @param extra: (optional) Extra attributes (driver specific). @type extra: C{dict} @rtype: L{Zone}
Update en existing zone. @param zone: Zone to update. @type zone: L{Zone} @param domain: Zone domain name. @type domain: C{str} @param type: Zone type (master / slave). @type type: C{str} @param ttl: (optional) TTL for new records. @type ttl: C{int} @param extra: (optional) Extra attributes (driver specific). @type extra: C{dict} @rtype: L{Zone}
Create a new record. @param name: Hostname or FQDN. @type name: C{str} @param zone: Zone where the requested record is created. @type zone: L{Zone} @param type: DNS record type (A, AAAA, ...). @type type: L{RecordType} @param data: Data for the record (depends on the record type). @type data: C{str} @param extra: (optional) Extra attributes (driver specific). @type extra: C{dict} @rtype: L{Record}
Update an existing record. @param record: Record to update. @type record: L{Record} @param name: Hostname or FQDN. @type name: C{str} @param type: DNS record type (A, AAAA, ...). @type type: L{RecordType} @param data: Data for the record (depends on the record type). @type data: C{str} @param extra: (optional) Extra attributes (driver specific). @type extra: C{dict} @rtype: L{Record}
Delete a zone. Note: This will delete all the records belonging to this zone. @param zone: Zone to delete. @type zone: L{Zone} @rtype: C{bool}
Delete a record. @param record: Record to delete. @type record: L{Record} @rtype: C{bool}
Build a FQDN from a domain and record name. @param domain: Domain name. @type domain: C{str} @param name: Record name. @type name: C{str}
Strip domain portion from the record name. @param domain: Domain name. @type domain: C{str} @param name: Full record name (fqdn). @type name: C{str}