tacker.objects.vnf_lcm_op_occs module

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property change_type
property created_at
property deleted
property deleted_at
fields = {'change_type': 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), 'network_resource': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,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_lcm_op_occs.AffectedVirtualStorage(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property change_type
property created_at
property deleted
property deleted_at
fields = {'change_type': 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), '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_lcm_op_occs.AffectedVnfc(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property added_storage_resource_ids
property affected_vnfc_cp_ids
property change_type
property compute_resource
property created_at
property deleted
property deleted_at
fields = {'added_storage_resource_ids': List(default=[],nullable=True), 'affected_vnfc_cp_ids': List(default=[],nullable=True), 'change_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), '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), 'removed_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)}
property id
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property removed_storage_resource_ids
to_dict()
property updated_at
property vdu_id
class tacker.objects.vnf_lcm_op_occs.ProblemDetails(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
property detail
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), 'detail': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'status': Integer(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'title': String(default=,nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property status
property title
to_dict()
property updated_at
class tacker.objects.vnf_lcm_op_occs.ResourceChanges(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property affected_virtual_storages
property affected_vnfcs
property created_at
property deleted
property deleted_at
fields = {'affected_virtual_links': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'affected_virtual_storages': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'affected_vnfcs': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,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), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property updated_at
class tacker.objects.vnf_lcm_op_occs.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_lcm_op_occs.VnfInfoModifications(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), 'metadata': Dict(default={},nullable=True), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vim_connection_info': List(default=[],nullable=True), 'vim_connection_info_delete_ids': List(default=[],nullable=True), 'vnf_instance_description': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnf_instance_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnf_pkg_id': String(default=None,nullable=True), 'vnf_product_name': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnf_provider': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnf_software_version': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnfd_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnfd_version': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True)}
property metadata
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()

For the attributes of this class, if an attribute exists and is not

null, it means that the attribute has been modified. This method

returns a dictionary containing the modified attributes.

property updated_at
property vim_connection_info
property vim_connection_info_delete_ids
property vnf_instance_description
property vnf_instance_name
property vnf_pkg_id
property vnf_product_name
property vnf_provider
property vnf_software_version
property vnfd_id
property vnfd_version
class tacker.objects.vnf_lcm_op_occs.VnfLcmOpOcc(context=None, **kwargs)

Bases: TackerObject, VersionedObjectDictCompat, TackerPersistentObject

ALL_ATTRIBUTES = {'changedInfo': ('changed_info', 'string', 'VnfLcmOpOccs'), 'error': ('error', 'string', 'VnfLcmOpOccs'), 'errorPoint': ('error_point', 'number', 'VnfLcmOpOccs'), 'grantId': ('grant_id', 'string', 'VnfLcmOpOccs'), 'id': ('id', 'uuid', 'VnfLcmOpOccs'), 'isAutomaticInvocation': ('is_automatic_invocation', 'boolean', 'VnfLcmOpOccs'), 'isCancelPending': ('is_cancel_pending', 'string', 'VnfLcmOpOccs'), 'operation': ('operation', 'string', 'VnfLcmOpOccs'), 'operationParams': ('operation_params', 'string', 'VnfLcmOpOccs'), 'operationState': ('operation_state', 'string', 'VnfLcmOpOccs'), 'resourceChanges': ('resource_changes', 'string', 'VnfLcmOpOccs'), 'startTime': ('start_time', 'datetime', 'VnfLcmOpOccs'), 'stateEnteredTime': ('state_entered_time', 'datetime', 'VnfLcmOpOccs'), 'vnfInstanceId': ('vnf_instance_id', 'string', 'VnfLcmOpOccs')}
COMPLEX_ATTRIBUTES = ['error', 'resourceChanges', 'changedInfo', 'operationParams', 'changedExtConnectivity']
FLATTEN_ATTRIBUTES = {'changedInfo': ('changed_info', 'string', 'VnfLcmOpOccs'), 'error': ('error', 'string', 'VnfLcmOpOccs'), 'errorPoint': ('error_point', 'number', 'VnfLcmOpOccs'), 'grantId': ('grant_id', 'string', 'VnfLcmOpOccs'), 'id': ('id', 'uuid', 'VnfLcmOpOccs'), 'isAutomaticInvocation': ('is_automatic_invocation', 'boolean', 'VnfLcmOpOccs'), 'isCancelPending': ('is_cancel_pending', 'string', 'VnfLcmOpOccs'), 'operation': ('operation', 'string', 'VnfLcmOpOccs'), 'operationParams': ('operation_params', 'string', 'VnfLcmOpOccs'), 'operationState': ('operation_state', 'string', 'VnfLcmOpOccs'), 'resourceChanges': ('resource_changes', 'string', 'VnfLcmOpOccs'), 'startTime': ('start_time', 'datetime', 'VnfLcmOpOccs'), 'stateEnteredTime': ('state_entered_time', 'datetime', 'VnfLcmOpOccs'), 'vnfInstanceId': ('vnf_instance_id', 'string', 'VnfLcmOpOccs')}
SIMPLE_ATTRIBUTES = ['id', 'operationState', 'stateEnteredTime', 'startTime', 'vnfInstanceId', 'grantId', 'operation', 'isAutomaticInvocation', 'isCancelPending', 'errorPoint']
VERSION = '1.0'
property changed_ext_connectivity
property changed_info
create()
property created_at
property deleted
property deleted_at
property error
property error_point
fields = {'changed_ext_connectivity': List(default=[],nullable=True), 'changed_info': Object(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), 'error': Object(default=None,nullable=True), 'error_point': Integer(default=0,nullable=True), 'grant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'id': UUID(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'is_automatic_invocation': Boolean(default=False,nullable=False), 'is_cancel_pending': Boolean(default=False,nullable=False), 'operation': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'operation_params': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'operation_state': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resource_changes': Object(default=None,nullable=True), 'start_time': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'state_entered_time': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'tenant_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'updated_at': DateTime(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnf_instance_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_by_id(context, id)
classmethod get_by_vnf_instance_id(context, id)
property grant_id
property id
property is_automatic_invocation
property is_cancel_pending
classmethod obj_from_db_obj(context, db_obj)
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property operation
property operation_params
property operation_state
property resource_changes
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 start_time
property state_entered_time
property tenant_id
to_dict(include_fields=None)
property updated_at
property vnf_instance_id
class tacker.objects.vnf_lcm_op_occs.VnfLcmOpOccList(*args, **kwargs)

Bases: ObjectListBase, TackerObject

VERSION = '1.0'
fields = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod get_by_filters(context, read_deleted=None, filters=None)
classmethod get_by_marker_filter(context, limit, marker_obj, filters=None, read_deleted=None)
property objects