tacker.objects.terminate_vnf_req module

class tacker.objects.terminate_vnf_req.TerminateVnfRequest(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 additional_params: Any
property created_at: Any
property deleted: Any
property deleted_at: Any
fields: MutableMapping[str, Field[Any]] = {'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), 'graceful_termination_timeout': Integer(default=0,nullable=True), 'termination_type': VnfInstanceTerminationType(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False,valid_values=('FORCEFUL', 'GRACEFUL')), '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(),
}
property graceful_termination_timeout: Any
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property termination_type: Any
property updated_at: Any