tacker.objects.vnf_instantiated_info module

class tacker.objects.vnf_instantiated_info.CpProtocolInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'ip_over_ethernet': Object(default=None,nullable=True), 'layer_protocol': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property ip_over_ethernet
property layer_protocol
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property updated_at
class tacker.objects.vnf_instantiated_info.ExtLinkPortInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property cp_instance_id
property created_at
property deleted
property deleted_at
fields = {'cp_instance_id': String(default=None,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resource_handle': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property resource_handle
to_dict()
property updated_at
class tacker.objects.vnf_instantiated_info.ExtManagedVirtualLinkInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'network_resource': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnf_link_ports': List(default=[],nullable=True), 'vnf_virtual_link_desc_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property id
property network_resource
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property updated_at
class tacker.objects.vnf_instantiated_info.ExtVirtualLinkInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'ext_link_ports': List(default=[],nullable=True), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resource_handle': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property resource_handle
to_dict()
property updated_at
class tacker.objects.vnf_instantiated_info.InstantiatedVnfInfo(context=None, **kwargs)

Bases: TackerObject, VersionedObjectDictCompat, TackerPersistentObject

ALL_ATTRIBUTES = {'instantiatedInfo': {'additionalParams/*': ('additional_params', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'extCpInfo/*': ('ext_cp_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'extManagedVirtualLinkInfo/*': ('ext_managed_virtual_link_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'extVirtualLinkInfo/*': ('ext_virtual_link_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'flavourId': ('id', 'string', 'VnfInstantiatedInfo'), 'instanceId': ('instance_id', 'string', 'VnfInstantiatedInfo'), 'instantiationLevelId': ('instantiation_level_id', 'string', 'VnfInstantiatedInfo'), 'virtualStorageResourceInfo/*': ('virtual_storage_resource_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'vnfInstanceId': ('vnf_instance_id', 'uuid', 'VnfInstantiatedInfo'), 'vnfState': ('vnf_state', 'string', 'VnfInstantiatedInfo'), 'vnfVirtualLinkResourceInfo/*': ('vnf_virtual_link_resource_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'vnfcInfo/*': ('vnfc_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'vnfcResourceInfo/*': ('vnfc_resource_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'})}}
FLATTEN_ATTRIBUTES = {'instantiatedInfo/additionalParams/*': ('additional_params', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/extCpInfo/*': ('ext_cp_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/extManagedVirtualLinkInfo/*': ('ext_managed_virtual_link_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/extVirtualLinkInfo/*': ('ext_virtual_link_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/flavourId': ('id', 'string', 'VnfInstantiatedInfo'), 'instantiatedInfo/instanceId': ('instance_id', 'string', 'VnfInstantiatedInfo'), 'instantiatedInfo/instantiationLevelId': ('instantiation_level_id', 'string', 'VnfInstantiatedInfo'), 'instantiatedInfo/virtualStorageResourceInfo/*': ('virtual_storage_resource_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/vnfInstanceId': ('vnf_instance_id', 'uuid', 'VnfInstantiatedInfo'), 'instantiatedInfo/vnfState': ('vnf_state', 'string', 'VnfInstantiatedInfo'), 'instantiatedInfo/vnfVirtualLinkResourceInfo/*': ('vnf_virtual_link_resource_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/vnfcInfo/*': ('vnfc_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'}), 'instantiatedInfo/vnfcResourceInfo/*': ('vnfc_resource_info', 'key_value_pair', {'key_column': 'key', 'model': 'VnfInstantiatedInfo', 'value_column': 'value'})}
VERSION = '1.0'
property additional_params
property created_at
property deleted
property deleted_at
destroy(context)
property ext_cp_info
fields = {'additional_params': Dict(default={},nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'ext_cp_info': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'ext_managed_virtual_link_info': List(default=[],nullable=True), 'ext_virtual_link_info': List(default=[],nullable=True), 'flavour_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'instance_id': String(default=None,nullable=True), 'instantiation_level_id': String(default=None,nullable=True), 'scale_status': List(default=[],nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'virtual_storage_resource_info': List(default=[],nullable=True), 'vnf_instance_id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vnf_state': VnfOperationalStateType(default=STOPPED,nullable=False,valid_values=('STARTED', 'STOPPED')), 'vnf_virtual_link_resource_info': List(default=[],nullable=True), 'vnfc_info': List(default=[],nullable=True), 'vnfc_resource_info': List(default=[],nullable=True)}
property flavour_id
property instance_id
property instantiation_level_id
classmethod obj_from_db_obj(context, db_obj)
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

reinitialize()
save()

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.

property scale_status
to_dict()
property updated_at
property virtual_storage_resource_info
property vnf_instance_id
property vnf_state
property vnfc_info
property vnfc_resource_info
class tacker.objects.vnf_instantiated_info.IpAddress(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property addresses
property created_at
property deleted
property deleted_at
fields = {'addresses': List(default=[],nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'is_dynamic': Boolean(default=False,nullable=True), 'subnet_id': String(default=None,nullable=True), 'type': IpAddressType(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False,valid_values=('IPV4', 'IPV6')), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property is_dynamic
property subnet_id
to_dict()
property type
property updated_at
class tacker.objects.vnf_instantiated_info.IpOverEthernetAddressInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'ip_addresses': List(default=[],nullable=True), 'mac_address': String(default=None,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property ip_addresses
property mac_address
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property updated_at
class tacker.objects.vnf_instantiated_info.ResourceHandle(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'resource_id': String(default=,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vim_connection_id': String(default=None,nullable=True), 'vim_level_resource_type': String(default=None,nullable=True)}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property resource_id
to_dict()
property updated_at
property vim_connection_id
property vim_level_resource_type
class tacker.objects.vnf_instantiated_info.ScaleInfo(context=None, **kwargs)

Bases: TackerObject, VersionedObjectDictCompat, TackerPersistentObject

VERSION = '1.0'
property aspect_id
property created_at
property deleted
property deleted_at
fields = {'aspect_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'scale_level': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property scale_level
to_dict()
property updated_at
class tacker.objects.vnf_instantiated_info.VirtualStorageResourceInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'storage_resource': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'virtual_storage_desc_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property id
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property storage_resource
to_dict()
property updated_at
property virtual_storage_desc_id
class tacker.objects.vnf_instantiated_info.VnfExtCpInfo(context=None, **kwargs)

Bases: TackerObject, VersionedObjectDictCompat, TackerPersistentObject

VERSION = '1.0'
property associated_vnfc_cp_id
property cp_protocol_info
property cpd_id
property created_at
property deleted
property deleted_at
fields = {'associated_vnfc_cp_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'cp_protocol_info': List(default=[],nullable=False), 'cpd_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'ext_link_port_id': String(default=None,nullable=True), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property updated_at
class tacker.objects.vnf_instantiated_info.VnfLinkPortInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property cp_instance_id
property created_at
property deleted
property deleted_at
fields = {'cp_instance_id': String(default=None,nullable=True), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resource_handle': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property id
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property resource_handle
to_dict()
property updated_at
class tacker.objects.vnf_instantiated_info.VnfVirtualLinkResourceInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'network_resource': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnf_link_ports': List(default=[],nullable=True), 'vnf_virtual_link_desc_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property id
property network_resource
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property updated_at
class tacker.objects.vnf_instantiated_info.VnfcCpInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property cp_protocol_info
property cpd_id
property created_at
property deleted
property deleted_at
fields = {'cp_protocol_info': List(default=[],nullable=True), 'cpd_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnf_ext_cp_id': String(default=None,nullable=True), 'vnf_link_port_id': String(default=None,nullable=True)}
property id
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property updated_at
property vnf_ext_cp_id
class tacker.objects.vnf_instantiated_info.VnfcInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
fields = {'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vdu_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vnfc_state': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property id
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property updated_at
property vdu_id
property vnfc_state
class tacker.objects.vnf_instantiated_info.VnfcResourceInfo(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property compute_resource
property created_at
property deleted
property deleted_at
fields = {'compute_resource': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'created_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'deleted': Integer(default=0,nullable=True), 'deleted_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'metadata': Dict(default={},nullable=True), 'storage_resource_ids': List(default=[],nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vdu_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vnfc_cp_info': List(default=[],nullable=True)}
property id
property metadata
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property storage_resource_ids
to_dict()
property updated_at
property vdu_id
property vnfc_cp_info