Objects

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 members 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

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>)[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 = {‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}}
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_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘deleted’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘integer’]}}}
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 = {‘description’: {‘schema’: {‘description’: ‘Description for the blacklisted zone’, ‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘pattern’: {‘required’: True, ‘schema’: {‘description’: ‘Regex for blacklisted zone name’, ‘type’: ‘string’, ‘format’: ‘regex’, ‘maxLength’: 255}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}}
STRING_KEYS = [‘id’, ‘pattern’]
created_at
description
id
pattern
updated_at
version
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

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

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

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

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

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

alias of Zone

objects
total_count

Objects Pool

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

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

FIELDS = {‘description’: {‘schema’: {‘description’: ‘Description for the pool’, ‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘also_notifies’: {‘relation_cls’: ‘PoolAlsoNotifyList’, ‘relation’: True}, ‘attributes’: {‘relation_cls’: ‘PoolAttributeList’, ‘relation’: True}, ‘ns_records’: {‘relation_cls’: ‘PoolNsRecordList’, ‘required’: True, ‘relation’: True}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘provisioner’: {‘schema’: {‘description’: ‘Provisioner used for this pool’, ‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘immutable’: True, ‘schema’: {‘description’: ‘Project identifier’, ‘type’: [‘string’, ‘null’], ‘maxLength’: 36}}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘targets’: {‘relation_cls’: ‘PoolTargetList’, ‘relation’: True}, ‘name’: {‘immutable’: True, ‘required’: True, ‘schema’: {‘description’: ‘Pool name’, ‘type’: ‘string’, ‘maxLength’: 50}}, ‘nameservers’: {‘relation_cls’: ‘PoolNameserverList’, ‘relation’: True}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}}
STRING_KEYS = [‘id’, ‘name’]
also_notifies
attributes
created_at
description
classmethod from_config(CONF, pool_id)[source]
id
name
nameservers
ns_records
provisioner
targets
tenant_id
updated_at
version
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

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’: {}, ‘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’}}, ‘resource’: {}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}}
STRING_KEYS = [‘resource’, ‘tenant_id’, ‘hard_limit’]
created_at
hard_limit
id
resource
tenant_id
updated_at
version
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

classmethod from_dict(_dict)[source]
objects
to_dict()[source]

Objects Record

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

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

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}}
STRING_KEYS = [‘id’, ‘recordset_id’, ‘data’]
action
created_at
data
description
classmethod get_recordset_schema_changes()[source]
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
recordset_id
serial
shard
status
tenant_id
updated_at
version
zone_id
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

Objects Recordset

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

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

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

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

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

alias of RecordSet

objects
total_count

Objects Server

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

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

FIELDS = {‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘name’: {‘immutable’: True, ‘required’: True, ‘schema’: {‘description’: ‘Zone name’, ‘type’: ‘string’, ‘format’: ‘domainname’, ‘maxLength’: 255}}, ‘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’}}}
STRING_KEYS = [‘id’, ‘name’]
created_at
id
name
updated_at
version
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

Objects Tenant

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

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

FIELDS = {‘zones’: {}, ‘id’: {}, ‘zone_count’: {}}
STRING_KEYS = [‘id’]
id
zone_count
zones
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

Objects TLD

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

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

FIELDS = {‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘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’}}, ‘name’: {‘immutable’: True, ‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘tldname’, ‘maxLength’: 255}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}}
STRING_KEYS = [‘id’, ‘name’]
created_at
description
id
name
updated_at
version
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

Objects TSigKey

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

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

FIELDS = {‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘algorithm’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘enum’: [‘hmac-md5’, ‘hmac-sha1’, ‘hmac-sha224’, ‘hmac-sha256’, ‘hmac-sha384’, ‘hmac-sha512’]}}, ‘scope’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘enum’: [‘POOL’, ‘ZONE’]}}, ‘secret’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘maxLength’: 160}}, ‘resource_id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}, ‘required’: True}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘name’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘domainnamne’, ‘maxLength’: 160}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}}
STRING_KEYS = [‘id’, ‘name’, ‘algorithm’, ‘scope’, ‘resource_id’]
algorithm
created_at
id
name
resource_id
scope
secret
updated_at
version
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

Objects A Record

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

Bases: designate.objects.record.Record

A Resource Record Type Defined in: RFC1035

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘address’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘ipv4’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 1
action
address
created_at
data
description
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
recordset_id
serial
shard
status
tenant_id
updated_at
version
zone_id
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

Objects AAAA Record

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

Bases: designate.objects.record.Record

AAAA Resource Record Type Defined in: RFC3596

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘address’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘ipv6’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 28
action
address
created_at
data
description
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
recordset_id
serial
shard
status
tenant_id
updated_at
version
zone_id
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

Objects CNAME Record

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

Bases: designate.objects.record.Record

CNAME Resource Record Type Defined in: RFC1035

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘cname’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘domainname’, ‘maxLength’: 255}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 5
action
cname
created_at
data
description
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
recordset_id
serial
shard
status
tenant_id
updated_at
version
zone_id
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

Objects MX Record

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

Bases: designate.objects.record.Record

MX Resource Record Type Defined in: RFC1035

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘priority’: {‘required’: True, ‘schema’: {‘maximum’: 65535, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘exchange’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘domainname’, ‘maxLength’: 255}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 15
action
created_at
data
description
exchange
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
priority
recordset_id
serial
shard
status
tenant_id
updated_at
version
zone_id
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

Objects NS Record

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

Bases: designate.objects.record.Record

NS Resource Record Type Defined in: RFC1035

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘nsdname’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘domainname’, ‘maxLength’: 255}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 2
action
created_at
data
description
classmethod get_recordset_schema_changes()[source]
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
nsdname
recordset_id
serial
shard
status
tenant_id
updated_at
version
zone_id
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

Objects PTR Record

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

Bases: designate.objects.record.Record

PTR Resource Record Type Defined in: RFC1035

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘ptrdname’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘domainname’, ‘maxLength’: 255}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 12
action
created_at
data
description
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
ptrdname
recordset_id
serial
shard
status
tenant_id
updated_at
version
zone_id
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

Objects SOA Record

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

Bases: designate.objects.record.Record

SOA Resource Record Type Defined in: RFC1035

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘mname’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘domainname’, ‘maxLength’: 255}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘minimum’: {‘required’: True, ‘schema’: {‘maximum’: 2147483647, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘refresh’: {‘required’: True, ‘schema’: {‘maximum’: 2147483647, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘rname’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘domainname’, ‘maxLength’: 255}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘required’: True, ‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘expire’: {‘required’: True, ‘schema’: {‘maximum’: 2147483647, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘data’: {}, ‘retry’: {‘required’: True, ‘schema’: {‘maximum’: 2147483647, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 6
action
created_at
data
description
expire
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
minimum
mname
recordset_id
refresh
retry
rname
serial
shard
status
tenant_id
updated_at
version
zone_id
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

Objects SPF Record

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

Bases: designate.objects.record.Record

SPF Resource Record Type Defined in: RFC4408

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘txt_data’: {‘required’: True, ‘schema’: {‘type’: ‘string’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 99
action
created_at
data
description
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
recordset_id
serial
shard
status
tenant_id
txt_data
updated_at
version
zone_id
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

Objects SRV Record

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

Bases: designate.objects.record.Record

SRV Resource Record Type Defined in: RFC2782

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘port’: {‘required’: True, ‘schema’: {‘maximum’: 65535, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘priority’: {‘required’: True, ‘schema’: {‘maximum’: 65535, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘weight’: {‘required’: True, ‘schema’: {‘maximum’: 65535, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘target’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘domainname’, ‘maxLength’: 255}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 33
action
created_at
data
description
classmethod get_recordset_schema_changes()[source]
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
port
priority
recordset_id
serial
shard
status
target
tenant_id
updated_at
version
weight
zone_id
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

Objects TXT Record

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

Bases: designate.objects.record.Record

TXT Resource Record Type Defined in: RFC1035

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘txt_data’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘txt-data’, ‘maxLength’: 255}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 16
action
created_at
data
description
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
recordset_id
serial
shard
status
tenant_id
txt_data
updated_at
version
zone_id
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

Objects SSHFP Record

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

Bases: designate.objects.record.Record

SSHFP Resource Record Type Defined in: RFC4255

FIELDS = {‘managed_plugin_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed’: {‘schema’: {‘type’: ‘boolean’}}, ‘algorithm’: {‘required’: True, ‘schema’: {‘maximum’: 4, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘managed_extra’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_resource_type’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘hash’: {‘schema’: {‘type’: ‘string’, ‘maxLength’: 32}}, ‘status’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘ACTIVE’, ‘PENDING’, ‘ERROR’, ‘DELETED’, ‘SUCCESS’, ‘NO_ZONE’]}}, ‘zone_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘action’: {‘schema’: {‘type’: ‘string’, ‘enum’: [‘CREATE’, ‘DELETE’, ‘UPDATE’, ‘NONE’]}}, ‘shard’: {‘schema’: {‘maximum’: 4095, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘id’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘description’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘recordset_id’: {‘schema’: {‘type’: ‘string’, ‘format’: ‘uuid’}}, ‘updated_at’: {‘read_only’: True, ‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘date-time’}}, ‘managed_resource_id’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘format’: ‘uuid’}}, ‘serial’: {‘schema’: {‘maximum’: 4294967295, ‘type’: ‘integer’, ‘minimum’: 1}}, ‘managed_plugin_name’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘fp_type’: {‘required’: True, ‘schema’: {‘maximum’: 2, ‘type’: ‘integer’, ‘minimum’: 0}}, ‘tenant_id’: {‘schema’: {‘type’: ‘string’}}, ‘version’: {‘read_only’: True, ‘schema’: {‘type’: ‘integer’}}, ‘managed_resource_region’: {‘schema’: {‘type’: [‘string’, ‘null’], ‘maxLength’: 160}}, ‘managed_tenant_id’: {‘schema’: {‘type’: [‘string’, ‘null’]}}, ‘data’: {}, ‘fingerprint’: {‘required’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘sshfp’}}, ‘created_at’: {‘read_only’: True, ‘schema’: {‘type’: ‘string’, ‘format’: ‘date-time’}}}
RECORD_TYPE = 44
action
algorithm
created_at
data
description
fingerprint
fp_type
hash
id
managed
managed_extra
managed_plugin_name
managed_plugin_type
managed_resource_id
managed_resource_region
managed_resource_type
managed_tenant_id
recordset_id
serial
shard
status
tenant_id
updated_at
version
zone_id
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
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.