tacker.objects.vnf_lcm_op_occs module

Bases: TackerObject, TackerPersistentObject

VERSION: str = '1.0'

Object version field

Each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation. If so, cool, and if not, fail.

This version is allowed to have three parts, X.Y.Z, where the .Z element is reserved for stable branch backports. The .Z is ignored for the purposes of triggering a backport, which means anything changed under a .Z must be additive and non-destructive such that a node that knows about X.Y can consider X.Y.Z equivalent.

property change_type: Any
property created_at: Any
property deleted: Any
property deleted_at: Any
fields: MutableMapping[str, Field[Any]] = {'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)}

The fields present in this object as key:field pairs.

For example:

fields = {
    'foo': obj_fields.IntegerField(),
    'bar': obj_fields.StringField(),
}
property id: Any
property network_resource: Any
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property updated_at: Any
class tacker.objects.vnf_lcm_op_occs.AffectedVirtualStorage(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION: str = '1.0'

Object version field

Each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation. If so, cool, and if not, fail.

This version is allowed to have three parts, X.Y.Z, where the .Z element is reserved for stable branch backports. The .Z is ignored for the purposes of triggering a backport, which means anything changed under a .Z must be additive and non-destructive such that a node that knows about X.Y can consider X.Y.Z equivalent.

property change_type: Any
property created_at: Any
property deleted: Any
property deleted_at: Any
fields: MutableMapping[str, Field[Any]] = {'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)}

The fields present in this object as key:field pairs.

For example:

fields = {
    'foo': obj_fields.IntegerField(),
    'bar': obj_fields.StringField(),
}
property id: Any
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property storage_resource: Any
to_dict()
property updated_at: Any
property virtual_storage_desc_id: Any
class tacker.objects.vnf_lcm_op_occs.AffectedVnfc(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION: str = '1.0'

Object version field

Each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation. If so, cool, and if not, fail.

This version is allowed to have three parts, X.Y.Z, where the .Z element is reserved for stable branch backports. The .Z is ignored for the purposes of triggering a backport, which means anything changed under a .Z must be additive and non-destructive such that a node that knows about X.Y can consider X.Y.Z equivalent.

property added_storage_resource_ids: Any
property affected_vnfc_cp_ids: Any
property change_type: Any
property compute_resource: Any
property created_at: Any
property deleted: Any
property deleted_at: Any
fields: MutableMapping[str, Field[Any]] = {'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)}

The fields present in this object as key:field pairs.

For example:

fields = {
    'foo': obj_fields.IntegerField(),
    'bar': obj_fields.StringField(),
}
property id: Any
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

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

Bases: TackerObject, TackerPersistentObject

VERSION: str = '1.0'

Object version field

Each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation. If so, cool, and if not, fail.

This version is allowed to have three parts, X.Y.Z, where the .Z element is reserved for stable branch backports. The .Z is ignored for the purposes of triggering a backport, which means anything changed under a .Z must be additive and non-destructive such that a node that knows about X.Y can consider X.Y.Z equivalent.

property created_at: Any
property deleted: Any
property deleted_at: Any
property detail: Any
fields: MutableMapping[str, Field[Any]] = {'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)}

The fields present in this object as key:field pairs.

For example:

fields = {
    'foo': obj_fields.IntegerField(),
    'bar': obj_fields.StringField(),
}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

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

Bases: TackerObject, TackerPersistentObject

VERSION: str = '1.0'

Object version field

Each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation. If so, cool, and if not, fail.

This version is allowed to have three parts, X.Y.Z, where the .Z element is reserved for stable branch backports. The .Z is ignored for the purposes of triggering a backport, which means anything changed under a .Z must be additive and non-destructive such that a node that knows about X.Y can consider X.Y.Z equivalent.

property affected_virtual_storages: Any
property affected_vnfcs: Any
property created_at: Any
property deleted: Any
property deleted_at: Any
fields: MutableMapping[str, Field[Any]] = {'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)}

The fields present in this object as key:field pairs.

For example:

fields = {
    'foo': obj_fields.IntegerField(),
    'bar': obj_fields.StringField(),
}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

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

Bases: TackerObject, TackerPersistentObject

VERSION: str = '1.0'

Object version field

Each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation. If so, cool, and if not, fail.

This version is allowed to have three parts, X.Y.Z, where the .Z element is reserved for stable branch backports. The .Z is ignored for the purposes of triggering a backport, which means anything changed under a .Z must be additive and non-destructive such that a node that knows about X.Y can consider X.Y.Z equivalent.

property created_at: Any
property deleted: Any
property deleted_at: Any
fields: MutableMapping[str, Field[Any]] = {'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)}

The fields present in this object as key:field pairs.

For example:

fields = {
    'foo': obj_fields.IntegerField(),
    'bar': obj_fields.StringField(),
}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property resource_id: Any
to_dict()
property updated_at: Any
property vim_connection_id: Any
property vim_level_resource_type: Any
class tacker.objects.vnf_lcm_op_occs.VnfInfoModifications(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION: str = '1.0'

Object version field

Each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation. If so, cool, and if not, fail.

This version is allowed to have three parts, X.Y.Z, where the .Z element is reserved for stable branch backports. The .Z is ignored for the purposes of triggering a backport, which means anything changed under a .Z must be additive and non-destructive such that a node that knows about X.Y can consider X.Y.Z equivalent.

property created_at: Any
property deleted: Any
property deleted_at: Any
fields: MutableMapping[str, Field[Any]] = {'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)}

The fields present in this object as key:field pairs.

For example:

fields = {
    'foo': obj_fields.IntegerField(),
    'bar': obj_fields.StringField(),
}
property metadata: Any
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: Any
property vim_connection_info: Any
property vim_connection_info_delete_ids: Any
property vnf_instance_description: Any
property vnf_instance_name: Any
property vnf_pkg_id: Any
property vnf_product_name: Any
property vnf_provider: Any
property vnf_software_version: Any
property vnfd_id: Any
property vnfd_version: Any
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: str = '1.0'

Object version field

Each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation. If so, cool, and if not, fail.

This version is allowed to have three parts, X.Y.Z, where the .Z element is reserved for stable branch backports. The .Z is ignored for the purposes of triggering a backport, which means anything changed under a .Z must be additive and non-destructive such that a node that knows about X.Y can consider X.Y.Z equivalent.

property changed_ext_connectivity: Any
property changed_info: Any
create()
property created_at: Any
property deleted: Any
property deleted_at: Any
property error: Any
property error_point: Any
fields: MutableMapping[str, Field[Any]] = {'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)}

The fields present in this object as key:field pairs.

For example:

fields = {
    'foo': obj_fields.IntegerField(),
    'bar': obj_fields.StringField(),
}
classmethod get_by_id(context, id)
classmethod get_by_vnf_instance_id(context, id)
property grant_id: Any
property id: Any
property is_automatic_invocation: Any
property is_cancel_pending: Any
classmethod obj_from_db_obj(context, db_obj)
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

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

Bases: ObjectListBase, TackerObject

VERSION: str = '1.0'

Object version field

Each service has its set of objects, each with a version attached. When a client attempts to call an object method, the server checks to see if the version of that object matches (in a compatible way) its object implementation. If so, cool, and if not, fail.

This version is allowed to have three parts, X.Y.Z, where the .Z element is reserved for stable branch backports. The .Z is ignored for the purposes of triggering a backport, which means anything changed under a .Z must be additive and non-destructive such that a node that knows about X.Y can consider X.Y.Z equivalent.

fields: MutableMapping[str, Field[Any]] = {'objects': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}

The fields present in this object as key:field pairs.

For example:

fields = {
    'foo': obj_fields.IntegerField(),
    'bar': obj_fields.StringField(),
}
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: Any