tacker.objects.grant_request module

class tacker.objects.grant_request.ConstraintResourceRef(context=None, **kwargs)

Bases: TackerObject

VERSION = '1.0'
fields = {'id_type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resource_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vim_connection_id': String(default=None,nullable=True)}
property id_type
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property resource_id
to_dict()
property vim_connection_id
class tacker.objects.grant_request.GrantRequest(context=None, **kwargs)

Bases: TackerObject

VERSION = '1.0'
property add_resources
fields = {'_links': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'add_resources': List(default=[],nullable=True), 'flavour_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=True), 'is_automatic_invocation': Boolean(default=False,nullable=False), 'operation': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'placement_constraints': List(default=[],nullable=True), 'remove_resources': List(default=[],nullable=True), 'update_resources': List(default=[],nullable=True), 'vnf_instance_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vnf_lcm_op_occ_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vnfd_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property flavour_id
property is_automatic_invocation
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property operation
property placement_constraints
property remove_resources
to_dict()
to_request_body()
property update_resources
property vnf_instance_id
property vnf_lcm_op_occ_id
property vnfd_id

Bases: TackerObject

VERSION = '1.0'
fields = {'href': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
property href
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()

Bases: TackerObject

VERSION = '1.0'
fields = {'vnf_instance': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vnf_lcm_op_occ': Object(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

to_dict()
property vnf_instance
property vnf_lcm_op_occ
class tacker.objects.grant_request.PlacementConstraint(context=None, **kwargs)

Bases: TackerObject

VERSION = '1.0'
property affinity_or_anti_affinity
property fallback_best_effort
fields = {'affinity_or_anti_affinity': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'fallback_best_effort': Boolean(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resource': List(default=[],nullable=False), 'scope': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False)}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property resource
property scope
to_dict()
class tacker.objects.grant_request.ResourceDefinition(context=None, **kwargs)

Bases: TackerObject

VERSION = '1.0'
fields = {'id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'resource': Object(default=None,nullable=True), 'resource_template_id': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'type': String(default=<class 'oslo_versionedobjects.fields.UnspecifiedDefault'>,nullable=False), 'vdu_id': String(default=None,nullable=True)}
property id
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property resource
property resource_template_id
to_dict()
property type
property vdu_id
class tacker.objects.grant_request.ResourceHandle(context=None, **kwargs)

Bases: TackerObject, TackerPersistentObject

VERSION = '1.0'
property created_at
property deleted
property deleted_at
fields = {'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)}
classmethod obj_from_primitive(primitive, context)

Object field-by-field hydration.

property resource_id
to_dict()
property updated_at
property vim_connection_id
property vim_level_resource_type