l.d.d.l.LinodeDNSDriver(DNSDriver) : class documentation

Part of libcloud.dns.drivers.linode View Source View In Hierarchy

No class docstring
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 an 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 _to_zones Convert a list of items to the Zone objects.
Method _to_zone Build an Zone object from the item dictionary.
Method _to_records Convert a list of items to the Record objects.
Method _to_record Build a Record object from the item dictionary.

Inherited from DNSDriver:

Method __init__
Method list_record_types Return a list of RecordType objects supported by the provider.
Method _string_to_record_type Return a string representation of a DNS record type to a libcloud RecordType ENUM.

Inherited from BaseDriver (via DNSDriver):

Method _ex_connection_class_kwargs Return extra connection keyword arguments which are passed to the Connection class constructor.
def list_zones(self): (source)
Return a list of zones.
ReturnsA list of Zone instances.
def list_records(self, zone): (source)
Return a list of records for the provided zone.
ParameterszoneZone to list records for. (type: Zone)
ReturnsA list of Record instances.
def get_zone(self, zone_id): (source)
Return a Zone instance.
ReturnsZone instance.
def get_record(self, zone_id, record_id): (source)
Return a Record instance.
ReturnsRecord instance.
def create_zone(self, domain, type='master', ttl=None, extra=None): (source)
Create a new zone.

API docs: http://www.linode.com/api/dns/domain.create

def update_zone(self, zone, domain=None, type=None, ttl=None, extra=None): (source)
Update an existing zone.

API docs: http://www.linode.com/api/dns/domain.update

def create_record(self, name, zone, type, data, extra=None): (source)
Create a new record.

API docs: http://www.linode.com/api/dns/domain.resource.create

def update_record(self, record, name=None, type=None, data=None, extra=None): (source)
Update an existing record.

API docs: http://www.linode.com/api/dns/domain.resource.update

def delete_zone(self, zone): (source)
Delete a zone.

Note: This will delete all the records belonging to this zone.

ParameterszoneZone (type: Zone to delete.)
def delete_record(self, record): (source)
Delete a record.
ParametersrecordRecord (type: Record to delete.)
def _to_zones(self, items): (source)
Convert a list of items to the Zone objects.
def _to_zone(self, item): (source)
Build an Zone object from the item dictionary.
def _to_records(self, items, zone=None): (source)
Convert a list of items to the Record objects.
def _to_record(self, item, zone=None): (source)
Build a Record object from the item dictionary.
API Documentation for libcloud, generated by pydoctor at 2012-07-15 18:49:10.