Objects

Objects Base

class designate.objects.base.AttributeListObjectMixin(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin

Mixin class for “Attribute” objects.

Attribute objects are ListObjects, who’s memebers have a “key” and “value” property, which should be exposed on the list itself as list.<key>.

classmethod from_dict(_dict)[source]
get(key, default=None)[source]
to_dict()[source]
class designate.objects.base.DesignateObject(**kwargs)[source]

Bases: object

FIELDS = {}
STRING_KEYS = []
classmethod from_dict(_dict)[source]
classmethod from_list(_list)[source]
classmethod from_primitive(primitive)[source]

Construct an object from primitive types

This is used while deserializing the object.

is_valid None[source]

Returns True if the Object is valid.

obj_attr_is_set(name)[source]

Return True or False depending of if a particular attribute has had an attribute’s value explicitly set.

classmethod obj_cls_from_name(name)[source]

Retrieves a object cls from the registry by name and returns it.

obj_get_changes()[source]

Returns a dict of changed fields and their new values.

obj_get_original_value(field)[source]

Returns the original value of a field.

classmethod obj_get_schema()[source]

Returns the JSON Schema for this Object.

classmethod obj_name()[source]

Return a canonical name for this object which will be used over the wire and in validation schemas.

obj_reset_changes(fields=None)[source]

Reset the list of fields that have been changed.

obj_what_changed()[source]

Returns a set of fields that have been modified.

to_dict()[source]

Convert the object to a simple dictionary.

to_primitive()[source]

Convert the object to primitive types so that the object can be serialized. NOTE: Currently all the designate objects contain primitive types that do not need special handling. If this changes we need to modify this function.

update(values)[source]

Update a object’s fields with the supplied key/value pairs

validate()[source]
class designate.objects.base.DesignateObjectMetaclass(names, bases, dict_)[source]

Bases: type

class designate.objects.base.DictObjectMixin[source]

Bases: object

Mixin to allow DesignateObjects to behave like dictionaries

Eventually, this should be removed as other code is updated to use object rather than dictionary accessors.

get(key, default=<class designate.objects.base.NotSpecifiedSentinel at 0x7f61365f1ef0>)[source]
items()[source]
iteritems()
class designate.objects.base.ListObjectMixin(*args, **kwargs)[source]

Bases: object

Mixin to allow DesignateObjects to behave like python lists.

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of DesignateObject

append(value)[source]

Append a value to the list

count(value)[source]

List count of value occurrences

extend(values)[source]

Extend the list by appending all the items in the given list

classmethod from_list(_list)[source]
index(value)[source]

List index of value

insert(index, value)[source]

Insert a value into the list at the given index

obj_what_changed()[source]
pop(index)[source]

Pop a value from the list

remove(value)[source]

Remove a value from the list

sort(key=None, reverse=False)[source]
to_list()[source]
to_primitive()[source]
class designate.objects.base.NotSpecifiedSentinel[source]
class designate.objects.base.PagedListObjectMixin[source]

Bases: object

Mixin class for List objects.

This adds fields that would populate API metadata for collections.

FIELDS = {'total_count': {'schema': {'type': ['integer']}}}
class designate.objects.base.PersistentObjectMixin[source]

Bases: object

Mixin class for Persistent objects.

This adds the fields that we use in common for all persistent objects.

FIELDS = {'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}}
STRING_KEYS = ['id']
class designate.objects.base.SoftDeleteObjectMixin[source]

Bases: object

Mixin class for Soft-Deleted objects.

This adds the fields that we use in common for all soft-deleted objects.

FIELDS = {'deleted': {'read_only': True, 'schema': {'type': ['string', 'integer']}}, 'deleted_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}}
designate.objects.base.get_attrname(name)[source]

Return the mangled name of the attribute’s underlying storage.

designate.objects.base.make_class_properties(cls)[source]

Build getter and setter methods for all the objects attributes

designate.objects.base.make_class_validator(obj)[source]

Objects Backlist

class designate.objects.blacklist.Blacklist(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.PersistentObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'description': {'schema': {'type': ['string', 'null'], 'description': 'Description for the blacklisted zone', 'maxLength': 160}}, 'pattern': {'required': True, 'schema': {'maxLength': 255, 'type': 'string', 'description': 'Regex for blacklisted zone name', 'format': 'regex'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}}
STRING_KEYS = ['id', 'pattern']
created_at None
description None
id None
pattern None
updated_at None
version None
class designate.objects.blacklist.BlacklistList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of Blacklist

objects None

Objects Zone

class designate.objects.zone.Zone(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.SoftDeleteObjectMixin, designate.objects.base.PersistentObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'status': {'read_only': True, 'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'deleted': {'read_only': True, 'schema': {'type': ['string', 'integer']}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'minimum': {'read_only': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 2147483647}}, 'ttl': {'schema': {'minimum': 1, 'type': ['integer', 'null'], 'maximum': 2147483647}}, 'serial': {'read_only': True, 'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'deleted_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'parent_zone_id': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'masters': {'relation_cls': 'ZoneMasterList', 'relation': True}, 'retry': {'read_only': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 2147483647}}, 'name': {'required': True, 'immutable': True, 'schema': {'maxLength': 255, 'type': 'string', 'description': 'Zone name', 'format': 'domainname'}}, 'tenant_id': {'immutable': True, 'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'pool_id': {'immutable': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'refresh': {'read_only': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 2147483647}}, 'transferred_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'delayed_notify': {'schema': {'type': 'boolean'}}, 'expire': {'read_only': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 2147483647}}, 'action': {'read_only': True, 'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'attributes': {'relation_cls': 'ZoneAttributeList', 'relation': True}, 'recordsets': {'relation_cls': 'RecordSetList', 'relation': True}, 'type': {'immutable': True, 'schema': {'enum': ['SECONDARY', 'PRIMARY'], 'type': 'string'}}, 'email': {'required': False, 'schema': {'maxLength': 255, 'type': 'string', 'description': 'Hostmaster email address', 'format': 'email'}}}
STRING_KEYS = ['id', 'type', 'name', 'pool_id', 'serial', 'action', 'status']
action None
attributes None
created_at None
delayed_notify None
deleted None
deleted_at None
description None
email None
expire None
get_master_by_ip(host)[source]

Utility to get the master by it’s ip for this zone.

id None
masters None
minimum None
name None
parent_zone_id None
pool_id None
recordsets None
refresh None
retry None
serial None
shard None
status None
tenant_id None
transferred_at None
ttl None
type None
updated_at None
validate()[source]
version None
class designate.objects.zone.ZoneList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject, designate.objects.base.PagedListObjectMixin

FIELDS = {'total_count': {'schema': {'type': ['integer']}}, 'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of Zone

objects None
total_count None

Objects Pool

class designate.objects.pool.Pool(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.PersistentObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'ns_records': {'relation_cls': 'PoolNsRecordList', 'required': True, 'relation': True}, 'name': {'required': True, 'immutable': True, 'schema': {'type': 'string', 'description': 'Pool name', 'maxLength': 50}}, 'nameservers': {'relation_cls': 'PoolNameserverList', 'relation': True}, 'tenant_id': {'immutable': True, 'schema': {'type': ['string', 'null'], 'description': 'Project identifier', 'maxLength': 36}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'targets': {'relation_cls': 'PoolTargetList', 'relation': True}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'provisioner': {'schema': {'type': ['string', 'null'], 'description': 'Provisioner used for this pool', 'maxLength': 160}}, 'attributes': {'relation_cls': 'PoolAttributeList', 'relation': True}, 'also_notifies': {'relation_cls': 'PoolAlsoNotifyList', 'relation': True}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'description': {'schema': {'type': ['string', 'null'], 'description': 'Description for the pool', 'maxLength': 160}}}
STRING_KEYS = ['id', 'name']
also_notifies None
attributes None
created_at None
description None
classmethod from_config(CONF, pool_id)[source]
id None
name None
nameservers None
ns_records None
provisioner None
targets None
tenant_id None
updated_at None
version None
class designate.objects.pool.PoolList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of Pool

objects None

Objects Quota

class designate.objects.quota.Quota(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.PersistentObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'hard_limit': {}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'resource': {}, 'tenant_id': {}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}}
STRING_KEYS = ['id', 'resource', 'tenant_id', 'hard_limit']
created_at None
hard_limit None
id None
resource None
tenant_id None
updated_at None
version None
class designate.objects.quota.QuotaList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of Quota

objects None

Objects Record

class designate.objects.record.Record(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.PersistentObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}}
STRING_KEYS = ['id', 'recordset_id', 'data']
action None
created_at None
data None
description None
classmethod get_recordset_schema_changes()[source]
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
recordset_id None
serial None
shard None
status None
tenant_id None
updated_at None
version None
zone_id None
class designate.objects.record.RecordList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of Record

objects None

Objects Recordset

class designate.objects.recordset.RecordSet(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.PersistentObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'zone_id': {'schema': {'type': 'string', 'description': 'Zone identifier', 'format': 'uuid'}}, 'name': {'required': True, 'immutable': True, 'schema': {'maxLength': 255, 'type': 'string', 'description': 'Recordset name', 'format': 'hostname'}}, 'tenant_id': {'read_only': True, 'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'records': {'relation_cls': 'RecordList', 'relation': True}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'ttl': {'schema': {'minimum': 1, 'type': ['integer', 'null'], 'description': 'Default time to live', 'maximum': 2147483647}}, 'zone_name': {'read_only': True, 'schema': {'maxLength': 255, 'type': 'string', 'description': 'Zone name', 'format': 'domainname'}}, 'type': {'required': True, 'immutable': True, 'schema': {'type': 'string', 'description': 'RecordSet type (TODO: Make types extensible)'}}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}}
STRING_KEYS = ['id', 'type', 'name', 'zone_id']
action None[source]
created_at None
description None
id None
managed None[source]
name None
records None
shard None
status None[source]
tenant_id None
ttl None
type None
updated_at None
validate()[source]
version None
zone_id None
zone_name None
class designate.objects.recordset.RecordSetList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject, designate.objects.base.PagedListObjectMixin

FIELDS = {'total_count': {'schema': {'type': ['integer']}}, 'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of RecordSet

objects None
total_count None

Objects Server

class designate.objects.server.Server(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.PersistentObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'name': {'required': True, 'immutable': True, 'schema': {'maxLength': 255, 'type': 'string', 'description': 'Zone name', 'format': 'domainname'}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}}
STRING_KEYS = ['id', 'name']
created_at None
id None
name None
updated_at None
version None
class designate.objects.server.ServerList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of Server

objects None

Objects Tenant

class designate.objects.tenant.Tenant(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'zones': {}, 'zone_count': {}, 'id': {}}
STRING_KEYS = ['id']
id None
zone_count None
zones None
class designate.objects.tenant.TenantList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of Tenant

objects None

Objects TLD

class designate.objects.tld.Tld(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.PersistentObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'name': {'required': True, 'immutable': True, 'schema': {'maxLength': 255, 'type': 'string', 'format': 'tldname'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}}
STRING_KEYS = ['id', 'name']
created_at None
description None
id None
name None
updated_at None
version None
class designate.objects.tld.TldList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of Tld

objects None

Objects TSigKey

class designate.objects.tsigkey.TsigKey(**kwargs)[source]

Bases: designate.objects.base.DictObjectMixin, designate.objects.base.PersistentObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'name': {'required': True, 'schema': {'format': 'domainnamne', 'type': 'string', 'maxLength': 160}}, 'algorithm': {'required': True, 'schema': {'enum': ['hmac-md5', 'hmac-sha1', 'hmac-sha224', 'hmac-sha256', 'hmac-sha384', 'hmac-sha512'], 'type': 'string'}}, 'resource_id': {'read_only': True, 'required': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'secret': {'required': True, 'schema': {'type': 'string', 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'scope': {'required': True, 'schema': {'enum': ['POOL', 'ZONE'], 'type': 'string'}}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}}
STRING_KEYS = ['id', 'name', 'algorithm', 'scope', 'resource_id']
algorithm None
created_at None
id None
name None
resource_id None
scope None
secret None
updated_at None
version None
class designate.objects.tsigkey.TsigKeyList(*args, **kwargs)[source]

Bases: designate.objects.base.ListObjectMixin, designate.objects.base.DesignateObject

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of TsigKey

objects None

Objects A Record

class designate.objects.rrdata_a.A(**kwargs)[source]

Bases: designate.objects.record.Record

A Resource Record Type Defined in: RFC1035

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'address': {'required': True, 'schema': {'type': 'string', 'format': 'ipv4'}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}}
RECORD_TYPE = 1
action None
address None
created_at None
data None
description None
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
recordset_id None
serial None
shard None
status None
tenant_id None
updated_at None
version None
zone_id None
class designate.objects.rrdata_a.AList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of A

objects None

Objects AAAA Record

class designate.objects.rrdata_aaaa.AAAA(**kwargs)[source]

Bases: designate.objects.record.Record

AAAA Resource Record Type Defined in: RFC3596

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'address': {'required': True, 'schema': {'type': 'string', 'format': 'ipv6'}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}}
RECORD_TYPE = 28
action None
address None
created_at None
data None
description None
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
recordset_id None
serial None
shard None
status None
tenant_id None
updated_at None
version None
zone_id None
class designate.objects.rrdata_aaaa.AAAAList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of AAAA

objects None

Objects CNAME Record

class designate.objects.rrdata_cname.CNAME(**kwargs)[source]

Bases: designate.objects.record.Record

CNAME Resource Record Type Defined in: RFC1035

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'cname': {'required': True, 'schema': {'maxLength': 255, 'type': 'string', 'format': 'domainname'}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}}
RECORD_TYPE = 5
action None
cname None
created_at None
data None
description None
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
recordset_id None
serial None
shard None
status None
tenant_id None
updated_at None
version None
zone_id None
class designate.objects.rrdata_cname.CNAMEList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of CNAME

objects None

Objects MX Record

class designate.objects.rrdata_mx.MX(**kwargs)[source]

Bases: designate.objects.record.Record

MX Resource Record Type Defined in: RFC1035

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'exchange': {'required': True, 'schema': {'maxLength': 255, 'type': 'string', 'format': 'domainname'}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'priority': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 65535}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}}
RECORD_TYPE = 15
action None
created_at None
data None
description None
exchange None
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
priority None
recordset_id None
serial None
shard None
status None
tenant_id None
updated_at None
version None
zone_id None
class designate.objects.rrdata_mx.MXList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of MX

objects None

Objects NS Record

class designate.objects.rrdata_ns.NS(**kwargs)[source]

Bases: designate.objects.record.Record

NS Resource Record Type Defined in: RFC1035

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'nsdname': {'required': True, 'schema': {'maxLength': 255, 'type': 'string', 'format': 'domainname'}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}}
RECORD_TYPE = 2
action None
created_at None
data None
description None
classmethod get_recordset_schema_changes()[source]
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
nsdname None
recordset_id None
serial None
shard None
status None
tenant_id None
updated_at None
version None
zone_id None
class designate.objects.rrdata_ns.NSList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of NS

objects None

Objects PTR Record

class designate.objects.rrdata_ptr.PTR(**kwargs)[source]

Bases: designate.objects.record.Record

PTR Resource Record Type Defined in: RFC1035

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'ptrdname': {'required': True, 'schema': {'maxLength': 255, 'type': 'string', 'format': 'domainname'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}}
RECORD_TYPE = 12
action None
created_at None
data None
description None
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
ptrdname None
recordset_id None
serial None
shard None
status None
tenant_id None
updated_at None
version None
zone_id None
class designate.objects.rrdata_ptr.PTRList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of PTR

objects None

Objects SOA Record

class designate.objects.rrdata_soa.SOA(**kwargs)[source]

Bases: designate.objects.record.Record

SOA Resource Record Type Defined in: RFC1035

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'rname': {'required': True, 'schema': {'maxLength': 255, 'type': 'string', 'format': 'domainname'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'mname': {'required': True, 'schema': {'maxLength': 255, 'type': 'string', 'format': 'domainname'}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'minimum': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 2147483647}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'required': True, 'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'retry': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 2147483647}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'refresh': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 2147483647}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'expire': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 2147483647}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}}
RECORD_TYPE = 6
action None
created_at None
data None
description None
expire None
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
minimum None
mname None
recordset_id None
refresh None
retry None
rname None
serial None
shard None
status None
tenant_id None
updated_at None
version None
zone_id None
class designate.objects.rrdata_soa.SOAList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of SOA

objects None

Objects SPF Record

class designate.objects.rrdata_spf.SPF(**kwargs)[source]

Bases: designate.objects.record.Record

SPF Resource Record Type Defined in: RFC4408

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'txt_data': {'required': True, 'schema': {'type': 'string'}}}
RECORD_TYPE = 99
action None
created_at None
data None
description None
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
recordset_id None
serial None
shard None
status None
tenant_id None
txt_data None
updated_at None
version None
zone_id None
class designate.objects.rrdata_spf.SPFList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of SPF

objects None

Objects SRV Record

class designate.objects.rrdata_srv.SRV(**kwargs)[source]

Bases: designate.objects.record.Record

SRV Resource Record Type Defined in: RFC2782

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'weight': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 65535}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'port': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 65535}}, 'priority': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 65535}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'target': {'required': True, 'schema': {'maxLength': 255, 'type': 'string', 'format': 'domainname'}}}
RECORD_TYPE = 33
action None
created_at None
data None
description None
classmethod get_recordset_schema_changes()[source]
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
port None
priority None
recordset_id None
serial None
shard None
status None
target None
tenant_id None
updated_at None
version None
weight None
zone_id None
class designate.objects.rrdata_srv.SRVList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of SRV

objects None

Objects TXT Record

class designate.objects.rrdata_txt.TXT(**kwargs)[source]

Bases: designate.objects.record.Record

TXT Resource Record Type Defined in: RFC1035

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'txt_data': {'required': True, 'schema': {'maxLength': 255, 'type': 'string', 'format': 'txt-data'}}}
RECORD_TYPE = 16
action None
created_at None
data None
description None
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
recordset_id None
serial None
shard None
status None
tenant_id None
txt_data None
updated_at None
version None
zone_id None
class designate.objects.rrdata_txt.TXTList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of TXT

objects None

Objects SSHFP Record

class designate.objects.rrdata_sshfp.SSHFP(**kwargs)[source]

Bases: designate.objects.record.Record

SSHFP Resource Record Type Defined in: RFC4255

FIELDS = {'status': {'schema': {'enum': ['ACTIVE', 'PENDING', 'ERROR'], 'type': 'string'}}, 'managed': {'schema': {'type': 'boolean'}}, 'description': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_resource_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'managed_extra': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'updated_at': {'read_only': True, 'schema': {'type': ['string', 'null'], 'format': 'date-time'}}, 'managed_plugin_name': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'fp_type': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 1}}, 'fingerprint': {'required': True, 'schema': {'type': 'string', 'format': 'sshfp'}}, 'shard': {'schema': {'minimum': 0, 'type': 'integer', 'maximum': 4095}}, 'hash': {'schema': {'type': 'string', 'maxLength': 32}}, 'managed_resource_region': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'data': {}, 'id': {'read_only': True, 'schema': {'type': 'string', 'format': 'uuid'}}, 'serial': {'schema': {'minimum': 1, 'type': 'integer', 'maximum': 4294967295}}, 'managed_resource_id': {'schema': {'type': ['string', 'null'], 'format': 'uuid'}}, 'zone_id': {'schema': {'type': 'string', 'format': 'uuid'}}, 'algorithm': {'required': True, 'schema': {'minimum': 0, 'type': 'integer', 'maximum': 2}}, 'tenant_id': {'schema': {'type': 'string'}}, 'created_at': {'read_only': True, 'schema': {'type': 'string', 'format': 'date-time'}}, 'managed_plugin_type': {'schema': {'type': ['string', 'null'], 'maxLength': 160}}, 'version': {'read_only': True, 'schema': {'type': 'integer'}}, 'managed_tenant_id': {'schema': {'type': ['string', 'null']}}, 'action': {'schema': {'enum': ['CREATE', 'DELETE', 'UPDATE', 'NONE'], 'type': 'string'}}, 'recordset_id': {'schema': {'type': 'string', 'format': 'uuid'}}}
RECORD_TYPE = 44
action None
algorithm None
created_at None
data None
description None
fingerprint None
fp_type None
hash None
id None
managed None
managed_extra None
managed_plugin_name None
managed_plugin_type None
managed_resource_id None
managed_resource_region None
managed_resource_type None
managed_tenant_id None
recordset_id None
serial None
shard None
status None
tenant_id None
updated_at None
version None
zone_id None
class designate.objects.rrdata_sshfp.SSHFPList(*args, **kwargs)[source]

Bases: designate.objects.record.RecordList

FIELDS = {'objects': {'relation': True}}
LIST_ITEM_TYPE

alias of SSHFP

objects None