tacker.objects.scale_vnf_request module

class tacker.objects.scale_vnf_request.ScaleVnfRequest(context=None, **kwargs)

Bases: 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.

property additional_params: Any
property aspect_id: Any
fields: MutableMapping[str, Field[Any]] = {'additional_params': Dict(default={},nullable=True), 'aspect_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'number_of_steps': Integer(default=1,nullable=True), 'type': 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 number_of_steps: Any
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property type: Any