Objects

Objects

Objects Base

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

Bases: 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(*args, **kwargs)[source]

Bases: VersionedObject

OBJ_PROJECT_NAMESPACE = 'designate'
OBJ_SERIAL_NAMESPACE = 'designate_object'
STRING_KEYS = []
classmethod from_dict(_dict)[source]
classmethod from_list(_list)[source]
classmethod from_primitive(primitive, context=None)[source]
property is_valid

Returns True if the Object is valid.

nested_sort(key, value)[source]

This function ensure that change fields list is sorted. :param key: :param value: :return:

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]
property obj_context
property obj_fields
obj_get_original_value(field)[source]

Returns the original value of a field.

classmethod obj_get_schema()[source]
obj_reset_changes(fields=None, recursive=False)[source]

Reset the list of fields that have been changed.

Parameters:
  • fields – List of fields to reset, or “all” if None.

  • recursive – Call obj_reset_changes(recursive=True) on any sub-objects within the list of fields being reset.

This is NOT “revert to previous values”.

Specifying fields on recursive resets will only be honored at the top level. Everything below the top will reset all.

save(context)[source]

Save the changed fields back to the store.

This is optional for subclasses, but is presented here in the base class for consistency among those that do.

to_dict()[source]

Convert the object to a simple dictionary.

to_primitive()[source]
update(values)[source]

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

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

Bases: VersionedObjectRegistry

registration_hook(cls, index)[source]
class designate.objects.base.ListObjectMixin(*args, **kwargs)[source]

Bases: ObjectListBase

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

pop(index)[source]

Pop a value from the list

remove(value)[source]

Remove a value from the list

to_list()[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': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
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': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
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': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
designate.objects.base.get_dict_attr(klass, attr)[source]

Objects Backlist

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

Bases: VersionedObjectDictCompat, PersistentObjectMixin, DesignateObject

STRING_KEYS = ['id', 'pattern']
property created_at
property description
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'pattern': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
property pattern
property updated_at
property version
class designate.objects.blacklist.BlacklistList(*args, **kwargs)[source]

Bases: ListObjectMixin, DesignateObject

LIST_ITEM_TYPE

alias of Blacklist

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects Zone

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

Bases: DesignateObject, VersionedObjectDictCompat, PersistentObjectMixin, SoftDeleteObjectMixin

STRING_KEYS = ['id', 'type', 'name', 'pool_id', 'serial', 'action', 'status']
property action
property attributes
property created_at
property delayed_notify
property deleted
property deleted_at
property description
property email
property expire
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'attributes': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'delayed_notify': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'email': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'expire': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'masters': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'minimum': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'parent_zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'pool_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'recordsets': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'refresh': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'retry': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED', 'SUCCESS', 'NO_ZONE']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'transferred_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'ttl': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'type': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['SECONDARY', 'PRIMARY']), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
get_master_by_ip(host)[source]

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

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

Bases: ListObjectMixin, DesignateObject, PagedListObjectMixin

LIST_ITEM_TYPE

alias of Zone

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'total_count': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property objects
property total_count

Objects Pool

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

Bases: VersionedObjectDictCompat, PersistentObjectMixin, DesignateObject

STRING_KEYS = ['id', 'name']
property also_notifies
property attributes
property created_at
property description
fields = {'also_notifies': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'attributes': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'nameservers': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'ns_records': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'provisioner': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'targets': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
property name
property nameservers
property ns_records
property provisioner
property targets
property tenant_id
property updated_at
property version
class designate.objects.pool.PoolList(*args, **kwargs)[source]

Bases: ListObjectMixin, DesignateObject

LIST_ITEM_TYPE

alias of Pool

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects Quota

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

Bases: VersionedObjectDictCompat, PersistentObjectMixin, DesignateObject

STRING_KEYS = ['resource', 'tenant_id', 'hard_limit']
property created_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hard_limit': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'resource': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['api_export_size', 'recordset_records', 'zone_records', 'zone_recordsets', 'zones']), 'tenant_id': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property hard_limit
property id
property resource
property tenant_id
property updated_at
property version
class designate.objects.quota.QuotaList(*args, **kwargs)[source]

Bases: ListObjectMixin, DesignateObject

LIST_ITEM_TYPE

alias of Quota

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod from_dict(_dict)[source]
property objects
to_dict()[source]

Convert the object to a simple dictionary.

Objects Record

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

Bases: DesignateObject, PersistentObjectMixin, VersionedObjectDictCompat

STRING_KEYS = ['id', 'recordset_id', 'data']
property action
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
classmethod get_recordset_schema_changes()[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property recordset_id
property serial
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.record.RecordList(*args, **kwargs)[source]

Bases: ListObjectMixin, DesignateObject

LIST_ITEM_TYPE

alias of Record

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects Recordset

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

Bases: DesignateObject, VersionedObjectDictCompat, PersistentObjectMixin

STRING_KEYS = ['id', 'type', 'name', 'zone_id']
property action
property created_at
property description
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'records': PolymorphicObject(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'ttl': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
property managed
property name
property records
property shard
property status
property tenant_id
property ttl
property type
property updated_at
validate()[source]
property version
property zone_id
property zone_name
class designate.objects.recordset.RecordSetList(*args, **kwargs)[source]

Bases: ListObjectMixin, DesignateObject, PagedListObjectMixin

LIST_ITEM_TYPE

alias of RecordSet

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'total_count': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property objects
property total_count

Objects Server

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

Bases: VersionedObjectDictCompat, PersistentObjectMixin, DesignateObject

STRING_KEYS = ['id', 'name']
property created_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
property name
property updated_at
property version
class designate.objects.server.ServerList(*args, **kwargs)[source]

Bases: ListObjectMixin, DesignateObject

LIST_ITEM_TYPE

alias of Server

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects Tenant

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

Bases: DesignateObject, VersionedObjectDictCompat

STRING_KEYS = ['id']
fields = {'id': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_count': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zones': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
property zone_count
property zones
class designate.objects.tenant.TenantList(*args, **kwargs)[source]

Bases: ListObjectMixin, DesignateObject

LIST_ITEM_TYPE

alias of Tenant

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects TLD

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

Bases: VersionedObjectDictCompat, PersistentObjectMixin, DesignateObject

STRING_KEYS = ['id', 'name']
property created_at
property description
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
property name
property updated_at
property version
class designate.objects.tld.TldList(*args, **kwargs)[source]

Bases: ListObjectMixin, DesignateObject

LIST_ITEM_TYPE

alias of Tld

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects TSigKey

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

Bases: VersionedObjectDictCompat, PersistentObjectMixin, DesignateObject

STRING_KEYS = ['id', 'name', 'algorithm', 'scope', 'resource_id']
property algorithm
property created_at
fields = {'algorithm': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False,valid_values=['hmac-md5', 'hmac-sha1', 'hmac-sha224', 'hmac-sha256', 'hmac-sha384', 'hmac-sha512']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'scope': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False,valid_values=['POOL', 'ZONE']), 'secret': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
property name
property resource_id
property scope
property secret
property updated_at
property version
class designate.objects.tsigkey.TsigKeyList(*args, **kwargs)[source]

Bases: ListObjectMixin, DesignateObject

LIST_ITEM_TYPE

alias of TsigKey

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects A Record

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

Bases: Record

A Resource Record Type Defined in: RFC1035

RECORD_TYPE = 1
property action
property address
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'address': IPV4Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property recordset_id
property serial
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.rrdata_a.AList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of A

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects AAAA Record

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

Bases: Record

AAAA Resource Record Type Defined in: RFC3596

RECORD_TYPE = 28
property action
property address
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'address': IPV6Address(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property recordset_id
property serial
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.rrdata_aaaa.AAAAList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of AAAA

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects CNAME Record

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

Bases: Record

CNAME Resource Record Type Defined in: RFC1035

RECORD_TYPE = 5
property action
property cname
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'cname': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property recordset_id
property serial
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.rrdata_cname.CNAMEList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of CNAME

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects MX Record

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

Bases: Record

MX Resource Record Type Defined in: RFC1035

RECORD_TYPE = 15
property action
property created_at
property data
property description
property exchange
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'exchange': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'priority': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property priority
property recordset_id
property serial
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.rrdata_mx.MXList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of MX

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects NS Record

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

Bases: Record

NS Resource Record Type Defined in: RFC1035

RECORD_TYPE = 2
property action
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'nsdname': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
classmethod get_recordset_schema_changes()[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property nsdname
property recordset_id
property serial
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.rrdata_ns.NSList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of NS

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects PTR Record

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

Bases: Record

PTR Resource Record Type Defined in: RFC1035

RECORD_TYPE = 12
property action
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'ptrdname': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property ptrdname
property recordset_id
property serial
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.rrdata_ptr.PTRList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of PTR

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects SOA Record

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

Bases: Record

SOA Resource Record Type Defined in: RFC1035

RECORD_TYPE = 6
property action
property created_at
property data
property description
property expire
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'expire': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'minimum': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'mname': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'refresh': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'retry': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'rname': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property minimum
property mname
property recordset_id
property refresh
property retry
property rname
property serial
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.rrdata_soa.SOAList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of SOA

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects SPF Record

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

Bases: Record

SPF Resource Record Type Defined in: RFC4408

RECORD_TYPE = 99
property action
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'txt_data': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property recordset_id
property serial
property shard
property status
property tenant_id
property txt_data
property updated_at
property version
property zone_id
class designate.objects.rrdata_spf.SPFList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of SPF

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects SRV Record

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

Bases: Record

SRV Resource Record Type Defined in: RFC2782

RECORD_TYPE = 33
property action
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'port': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'priority': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'target': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'weight': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
classmethod get_recordset_schema_changes()[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property port
property priority
property recordset_id
property serial
property shard
property status
property target
property tenant_id
property updated_at
property version
property weight
property zone_id
class designate.objects.rrdata_srv.SRVList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of SRV

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects TXT Record

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

Bases: Record

TXT Resource Record Type Defined in: RFC1035

RECORD_TYPE = 16
property action
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'txt_data': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property recordset_id
property serial
property shard
property status
property tenant_id
property txt_data
property updated_at
property version
property zone_id
class designate.objects.rrdata_txt.TXTList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of TXT

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects SSHFP Record

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

Bases: Record

SSHFP Resource Record Type Defined in: RFC4255

RECORD_TYPE = 44
property action
property algorithm
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'algorithm': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'fingerprint': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'fp_type': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property fingerprint
property fp_type
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property recordset_id
property serial
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.rrdata_sshfp.SSHFPList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of SSHFP

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects NAPTR Record

class designate.objects.rrdata_naptr.NAPTR(*args, **kwargs)[source]

Bases: Record

NAPTR Resource Record Type Defined in: RFC2915

RECORD_TYPE = 35
property action
property created_at
property data
property description
fields = {'action': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['CREATE', 'DELETE', 'UPDATE', 'NONE']), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'data': Any(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'flags': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'hash': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_extra': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_plugin_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_region': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_resource_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'managed_tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'order': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'preference': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'recordset_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'regexp': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'replacement': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'serial': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'service': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'shard': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'status': Enum(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True,valid_values=['ACTIVE', 'PENDING', 'ERROR', 'DELETED']), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'version': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zone_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property flags
from_string(value)[source]
property hash
property id
property managed
property managed_extra
property managed_plugin_name
property managed_plugin_type
property managed_resource_id
property managed_resource_region
property managed_resource_type
property managed_tenant_id
property order
property preference
property recordset_id
property regexp
property replacement
property serial
property service
property shard
property status
property tenant_id
property updated_at
property version
property zone_id
class designate.objects.rrdata_naptr.NAPTRList(*args, **kwargs)[source]

Bases: RecordList

LIST_ITEM_TYPE

alias of NAPTR

fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property objects

Objects CAA Record

members:

undoc-members:

show-inheritance:

Objects CERT Record

members:

undoc-members:

show-inheritance:

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.

Page Contents