tacker.objects.fields module

class tacker.objects.fields.BaseTackerEnum

Bases: Enum

class tacker.objects.fields.ContainerFormat

Bases: BaseTackerEnum

AKI = 'AKI'
ALL = ('AKI', 'AMI', 'ARI', 'BARE', 'DOCKER', 'OVA', 'OVF')
AMI = 'AMI'
ARI = 'ARI'
BARE = 'BARE'
DOCKER = 'DOCKER'
OVA = 'OVA'
OVF = 'OVF'
class tacker.objects.fields.ContainerFormatFields(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.ContainerFormat object>
class tacker.objects.fields.DictOfNullableField(**kwargs)

Bases: AutoTypedField

AUTO_TYPE = <oslo_versionedobjects.fields.Dict object>
class tacker.objects.fields.DiskFormat

Bases: BaseTackerEnum

AKI = 'AKI'
ALL = ('AKI', 'AMI', 'ARI', 'ISO', 'QCOW2', 'RAW', 'VDI', 'VHD', 'VHDX', 'VMDK')
AMI = 'AMI'
ARI = 'ARI'
ISO = 'ISO'
QCOW2 = 'QCOW2'
RAW = 'RAW'
VDI = 'VDI'
VHD = 'VHD'
VHDX = 'VHDX'
VMDK = 'VMDK'
class tacker.objects.fields.DiskFormatFields(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.DiskFormat object>
class tacker.objects.fields.ErrorPoint

Bases: BaseTackerEnum

INITIAL = 0
INTERNAL_PROCESSING = 5
NOTIFY_COMPLETED = 7
NOTIFY_PROCESSING = 1
POST_VIM_CONTROL = 4
PRE_VIM_CONTROL = 3
VNF_CONFIG_END = 6
VNF_CONFIG_START = 2
class tacker.objects.fields.InstanceOperation

Bases: BaseTackerEnum

MODIFY_INFO = 'MODIFY_INFO'
class tacker.objects.fields.InstanceOperationField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.InstanceOperation object>
class tacker.objects.fields.InstanceOperationalState

Bases: BaseTackerEnum

ALL = ('STARTING', 'PROCESSING', 'COMPLETED', 'FAILED_TEMP', 'ROLLING_BACK', 'ROLLED_BACK')
COMPLETED = 'COMPLETED'
FAILED_TEMP = 'FAILED_TEMP'
PROCESSING = 'PROCESSING'
ROLLED_BACK = 'ROLLED_BACK'
ROLLING_BACK = 'ROLLING_BACK'
STARTING = 'STARTING'
class tacker.objects.fields.InstanceOperationalStateField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.InstanceOperationalState object>
class tacker.objects.fields.IpAddressType

Bases: BaseTackerEnum

ALL = ('IPV4', 'IPV6')
IPV4 = 'IPV4'
IPV6 = 'IPV6'
class tacker.objects.fields.IpAddressTypeField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.IpAddressType object>
class tacker.objects.fields.LcmOccsNotificationStatus

Bases: BaseTackerEnum

ALL = ('START', 'RESULT')
RESULT = 'RESULT'
START = 'START'
class tacker.objects.fields.LcmOccsNotificationType

Bases: BaseTackerEnum

ALL = 'VnfLcmOperationOccurrenceNotification'
VNF_ID_CREATION_NOTIFICATION = 'VnfIdentifierCreationNotification'
VNF_OP_OCC_NOTIFICATION = 'VnfLcmOperationOccurrenceNotification'
class tacker.objects.fields.LcmOccsOperationState

Bases: BaseTackerEnum

ALL = ('STARTING', 'PROCESSING', 'COMPLETED', 'FAILED_TEMP', 'FAILED')
COMPLETED = 'COMPLETED'
FAILED = 'FAILED'
FAILED_TEMP = 'FAILED_TEMP'
PROCESSING = 'PROCESSING'
STARTING = 'STARTING'
class tacker.objects.fields.LcmOccsOperationType

Bases: BaseTackerEnum

ALL = ('INSTANTIATE', 'TERMINATE', 'HEAL', 'SCALE', 'CHANGE_EXT_CONN')
CHANGE_EXT_CONN = 'CHANGE_EXT_CONN'
HEAL = 'HEAL'
INSTANTIATE = 'INSTANTIATE'
SCALE = 'SCALE'
TERMINATE = 'TERMINATE'
class tacker.objects.fields.PackageOnboardingStateType

Bases: BaseTackerEnum

ALL = ('CREATED', 'UPLOADING', 'PROCESSING', 'ONBOARDED')
CREATED = 'CREATED'
ONBOARDED = 'ONBOARDED'
PROCESSING = 'PROCESSING'
UPLOADING = 'UPLOADING'
class tacker.objects.fields.PackageOnboardingStateTypeField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.PackageOnboardingStateType object>
class tacker.objects.fields.PackageOperationalStateType

Bases: BaseTackerEnum

ALL = ('ENABLED', 'DISABLED')
DISABLED = 'DISABLED'
ENABLED = 'ENABLED'
class tacker.objects.fields.PackageOperationalStateTypeField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.PackageOperationalStateType object>
class tacker.objects.fields.PackageUsageStateType

Bases: BaseTackerEnum

ALL = ('IN_USE', 'NOT_IN_USE')
IN_USE = 'IN_USE'
NOT_IN_USE = 'NOT_IN_USE'
class tacker.objects.fields.PackageUsageStateTypeField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.PackageUsageStateType object>
class tacker.objects.fields.ResourceChangeType

Bases: BaseTackerEnum

ADDED = 'ADDED'
ALL = ('ADDED', 'REMOVED', 'MODIFIED', 'TEMPORARY')
MODIFIED = 'MODIFIED'
REMOVED = 'REMOVED'
TEMPORARY = 'TEMPORARY'
class tacker.objects.fields.UUID

Bases: UUID

coerce(obj, attr, value)

This is called to coerce (if possible) a value on assignment.

This method should convert the value given into the designated type, or throw an exception if this is not possible.

Param:obj:

The VersionedObject on which an attribute is being set

Param:attr:

The name of the attribute being set

Param:value:

The value being set

Returns:

A properly-typed value

class tacker.objects.fields.UUIDField(**kwargs)

Bases: AutoTypedField

AUTO_TYPE = <tacker.objects.fields.UUID object>
class tacker.objects.fields.VnfInstanceCancelModeType

Bases: BaseTackerEnum

ALL = ('FORCEFUL', 'GRACEFUL')
FORCEFUL = 'FORCEFUL'
GRACEFUL = 'GRACEFUL'
class tacker.objects.fields.VnfInstanceCancelTypeField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.VnfInstanceCancelModeType object>
class tacker.objects.fields.VnfInstanceState

Bases: BaseTackerEnum

ALL = ('INSTANTIATED', 'NOT_INSTANTIATED')
INSTANTIATED = 'INSTANTIATED'
NOT_INSTANTIATED = 'NOT_INSTANTIATED'
class tacker.objects.fields.VnfInstanceStateField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.VnfInstanceState object>
class tacker.objects.fields.VnfInstanceTaskState

Bases: BaseTackerEnum

ALL = ('INSTANTIATING', 'HEALING', 'TERMINATING', 'SCALING', 'ERROR', 'DB_SYNCHRONIZING')
DB_SYNCHRONIZING = 'DB_SYNCHRONIZING'
ERROR = 'ERROR'
HEALING = 'HEALING'
INSTANTIATING = 'INSTANTIATING'
SCALING = 'SCALING'
TERMINATING = 'TERMINATING'
class tacker.objects.fields.VnfInstanceTaskStateField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.VnfInstanceTaskState object>
class tacker.objects.fields.VnfInstanceTerminationType

Bases: BaseTackerEnum

ALL = ('FORCEFUL', 'GRACEFUL')
FORCEFUL = 'FORCEFUL'
GRACEFUL = 'GRACEFUL'
class tacker.objects.fields.VnfInstanceTerminationTypeField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.VnfInstanceTerminationType object>
class tacker.objects.fields.VnfOperationalStateType

Bases: BaseTackerEnum

ALL = ('STARTED', 'STOPPED')
STARTED = 'STARTED'
STOPPED = 'STOPPED'
class tacker.objects.fields.VnfOperationalStateTypeField(**kwargs)

Bases: BaseEnumField

AUTO_TYPE = <tacker.objects.fields.VnfOperationalStateType object>
class tacker.objects.fields.VnfStatus

Bases: BaseTackerEnum

ACTIVE = 'ACTIVE'
ALL = ('ACTIVE', 'INACTIVE')
INACTIVE = 'INACTIVE'
class tacker.objects.fields.VnfcState

Bases: BaseTackerEnum

ALL = ('STARTED', 'STOPPED')
STARTED = 'STARTED'
STOPPED = 'STOPPED'