tacker.sol_refactored.objects.v2.vnfc_resource_info module

class tacker.sol_refactored.objects.v2.vnfc_resource_info.VnfcResourceInfoV2(context=None, **kwargs)

Bases: TackerObject, TackerObjectDictCompat

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 computeResource: Any
fields: MutableMapping[str, Field[Any]] = {'computeResource': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'metadata': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'reservationId': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'storageResourceIds': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vduId': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vnfcCpInfo': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnfdId': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'zoneId': 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 id: Any
property metadata: Any
property reservationId: Any
property storageResourceIds: Any
property vduId: Any
property vnfcCpInfo: Any
property vnfdId: Any
property zoneId: Any
class tacker.sol_refactored.objects.v2.vnfc_resource_info.VnfcResourceInfoV2_VnfcCpInfo(context=None, **kwargs)

Bases: TackerObject, TackerObjectDictCompat

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 cpProtocolInfo: Any
property cpdId: Any
fields: MutableMapping[str, Field[Any]] = {'cpProtocolInfo': List(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'cpdId': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'metadata': Dict(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnfExtCpId': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'vnfLinkPortId': 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 id: Any
property metadata: Any
property vnfExtCpId: Any
property vnfLinkPortId: Any