tacker.objects.heal_vnf_request.
HealVnfAdditionalParams
(context=None, **kwargs)¶Bases: tacker.objects.base.TackerObject
VERSION
= '1.0'¶cause
¶fields
= {'cause': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'parameter': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}¶parameter
¶tacker.objects.heal_vnf_request.
HealVnfRequest
(context=None, **kwargs)¶Bases: tacker.objects.base.TackerObject
VERSION
= '1.1'¶additional_params
¶cause
¶fields
= {'additional_params': List(default=[],nullable=False), 'cause': String(default=None,nullable=True), 'vnfc_instance_id': List(default=[],nullable=True)}¶obj_make_compatible
(primitive, target_version)¶Make an object representation compatible with a target version.
This is responsible for taking the primitive representation of an object and making it suitable for the given target_version. This may mean converting the format of object attributes, removing attributes that have been added since the target version, etc. In general:
If a new version of an object adds a field, this routine should remove it for older versions.
If a new version changed or restricted the format of a field, this should convert it back to something a client knowing only of the older version will tolerate.
If an object that this object depends on is bumped, then this object should also take a version bump. Then, this routine should backlevel the dependent object (by calling its obj_make_compatible()) if the requested version of this object is older than the version where the new dependent object was added.
primitive – The result of obj_to_primitive()
target_version – The version string requested by the recipient of the object
oslo_versionedobjects.exception.UnsupportedObjectError
if conversion is not possible for some reason
vnfc_instance_id
¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.