Newer
Older
# Copyright (c) ETSI 2017.
# https://forge.etsi.org/etsi-forge-copyright-notice.txt
GrantRequest:
This type represents a grant request.
- vnfInstanceId
- vnfLcmOpOccId
- vnfdId
- operation
- isAutomaticInvocation
- _links
vnfInstanceId:
Identifier of the VNF instance which this grant request is related
to. Shall also be provided for VNFs that not yet exist but are
planned to exist in the future, i.e. if the grant is requested for
InstantiateVNF.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfLcmOpOccId:
The identifier of the VNF lifecycle management operation occurrence
associated to the GrantRequest.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfdId:
Identifier of the VNFD that defines the VNF for which the LCM
operation is to be granted.
In case of the "Change current VNF package operation, this identifier
refers to the VNFD which defines the VNF before the LCM operation to
be granted.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
dstVnfdId:
description: >
Identifier of the "destination" VNFD which will define the VNF after
executing the "Change current VNF package" LCM operation to be granted.
Shall be included if the operation changes the current VNF Package and
shall be absent otherwise.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
Identifier of the VNF deployment flavour of the VNFD that defines
the VNF for which the LCM operation is to be granted.
Shall be provided when instantiating the VNF or changing the
deployment flavour of the VNF instance.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
operation:
description: >
The lifecycle management operation for which granting is requested.
The VNF LCM operations CreateVnfIdentifier, DeleteVnfIdentifier,
QueryVnf and ModifyVnfInformation can be executed by the VNFM
without requesting granting.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/GrantedLcmOperationType"
isAutomaticInvocation:
description: >
Set to true if this VNF LCM operation occurrence has been triggered
by an automated procedure inside the VNFM
(i.e. ScaleVnf / ScaleVnfToLevel triggered by auto-scale, or HealVnf
triggered by auto-heal).
Set to false otherwise.
type: boolean
instantiationLevelId:
description: >
If operation=INSTANTIATE, the identifier of the instantiation level
may be provided as an alternative way to define the resources to be
added. This attribute shall only be used if operation=INSTANTIATE.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
addResources:
description: >
List of resource definitions in the VNFD for resources to be added
by the LCM operation which is related to this grant request, with
one entry per resource.
If the granting request is for InstantiateVNF, either
instantiationLevel or addResources shall be present.
type: array
items:
$ref: "#/definitions/ResourceDefinition"
tempResources:
description: >
List of resource definitions in the VNFD for resources to be
temporarily instantiated during the runtime of the LCM operation
which is related to this grant request, with one entry per
resource.
The NFVO will assume that the VNFM will be responsible to both
allocate and release the temporary resource during the runtime of
the LCM operation. This means, the resource can be allocated and
consumed after the "start" notification for the LCM operation is
sent by the VNFM, and the resource will be released before the
"result" notification of the VNF LCM operation is sent by the VNFM.
type: array
items:
$ref: "#/definitions/ResourceDefinition"
removeResources:
description: >
Provides the definitions of resources to be removed by the LCM
operation which is related to this grant request, with one entry per
resource.
type: array
items:
$ref: "#/definitions/ResourceDefinition"
updateResources:
description: >
Provides the definitions of resources to be modified by the LCM
operation which is related to this grant request, with one entry per
resource.
type: array
items:
$ref: "#/definitions/ResourceDefinition"
placementConstraints:
description: >
Placement constraints that the VNFM may send to the NFVO in order to
influence the resource placement decision. If sent, the NFVO shall
take the constraints into consideration when making resource
placement decisions, and shall reject the grant if they cannot be
honoured.
The affinity/anti-affinity rules defined in the VNFD , and the
placement constraints in the GrantVnfLifecycleOperation as defined
in this clause should be conflict-free. In case of conflicts, the
placement constraints in the GrantVnfLifecycleOperation shall take
precedence.
Passing constraints allows the VNFM or the lifecycle management
scripts to influence resource placement decisions by the NFVO to
ensure VNF properties such as performance or fault tolerance.
If fallbackBestEffort is present in placement constraints and set
to “true”, the NFVO shall process the Affinity/AntiAffinity constraint
in a best effort manner, in which case, if specified resources cannot be
allocated based on specified placement constraint, the NFVO looks for an
alternate best effort placement for the specified resources to be granted.
In the best effort anti-affinity case, the resources are expected to be
spread optimally over all available instances of scope (e.g. zones),
and in the best effort affinity case, they are expected to be distributed
optimally over fewer possible instances of scope.
type: array
items:
$ref: "#/definitions/PlacementConstraint"
vimConstraints:
description: >
Used by the VNFM to require that multiple resources are managed
through the same VIM connection. If sent, the NFVO shall take the
constraints into consideration when making VIM selection decisions,
and shall reject the grant if they cannot be honoured.
This attribute shall be supported if VNF-related Resource Management
in direct mode is applicable.
The applicability and further details of this attribute for indirect
mode are left for future specification.
type: array
items:
$ref: "#/definitions/VimConstraint"
additionalParams:
description: >
Additional parameters passed by the VNFM, specific to the VNF and
the LCM operation.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
_links:
description: >
Links to resources related to this request.
type: object
required:
- vnfLcmOpOcc
- vnfInstance
properties:
vnfLcmOpOcc:
description: >
Related lifecycle management operation occurrence.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"
vnfInstance:
description: >
Related VNF instance.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"
This type represents a grant.
type: object
- id
- vnfInstanceId
- vnfLcmOpOccId
- _links
Identifier of the grant.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfInstanceId:
Identifier of the related VNF instance.
Samir Medjiah
committed
The NFVO shall set the value of the attribute by copying the value
from the associated GrantRequest.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfLcmOpOccId:
Identifier of the related VNF lifecycle management operation
occurrence.
Samir Medjiah
committed
The NFVO shall set the value of the attribute by copying the value
from the associated GrantRequest.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
Samir Medjiah
committed
vimConnectionInfo:
Provides information regarding VIM connections that are approved to
be used by the VNFM to allocate resources, and provides parameters
of these VIM connections.
The VNFM shall update the " vimConnectionInfo" attribute of the
"VnfInstance" structure by adding unknown entries received in this
attribute.
Samir Medjiah
committed
This attribute is not intended for the modification of vimConnectionInfo
entries passed earlier; for that, the VnfInfoModificationRequest
structure shall be used.
This attribute shall only be supported when VNF-related Resource
Management in direct mode is applicable. In direct mode, this
parameter shall be absent if the VIM information was configured to
the VNFM in another way, present otherwise.
This interface allows to signal the use of multiple VIMs per VNF.
However, due to the partial support of this feature in the present
release, it is recommended in the present document that the number
of entries in the "vims" attribute in the Grant is not greater than
1.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/VimConnectionInfo"
zones:
description: >
Identifies resource zones where the resources are approved to be
allocated by the VNFM.
type: array
$ref: "#/definitions/ZoneInfo"
zoneGroups:
description: >
Information about groups of resource zones that are related and that
the NFVO has chosen to fulfil a zoneGroup constraint in the
GrantVnfLifecycleOperation request.
This information confirms that the NFVO has honoured the zoneGroup
constraints that were passed as part of "placementConstraints" in the
GrantRequest.
type: array
$ref: "#/definitions/ZoneGroupInfo"
addResources:
description: >
List of resources that are approved to be added, with one entry per
Samir Medjiah
committed
resource. Shall be set when resources are approved to be added.
type: array
items:
$ref: "#/definitions/GrantInfo"
tempResources:
description: >
List of resources that are approved to be temporarily instantiated
during the runtime of the lifecycle operation, with one entry per
Samir Medjiah
committed
resource. Shall be set when resources are approved to be temporarily
instantiated.
type: array
items:
$ref: "#/definitions/GrantInfo"
removeResources:
description: >
List of resources that are approved to be removed, with one entry
Samir Medjiah
committed
per resource. Shall be set when resources are approved to be removed.
type: array
items:
$ref: "#/definitions/GrantInfo"
updateResources:
description: >
List of resources that are approved to be modified, with one entry
Samir Medjiah
committed
per resource. Shall be set when resources are approved to be updated.
type: array
items:
$ref: "#/definitions/GrantInfo"
vimAssets:
description: >
Information about assets for the VNF that are managed by the NFVO
in the VIM, such as software images and virtualised compute resource
flavours.
moscatelli
committed
The Grant response allows the NFVO to pass to the VNFM VIM assets
related to the VNF package that is identified by the vnfdId attribute
in the corresponding Grant request. The NFVO may send in each Grant
response the full set of VIM assets related to the VNF package defined
by the vnfdId in the related Grant request, but shall send this information
if the vnfdId in the related Grant request differs from the vnfdId passed
in the previous Grant request, or if the Grant response is related to an
InstantiateVnf operation.
The set of VIM assets shall not change between subsequent Grant responses
if the vnfdId has not changed. During each LCM operation occurrence,
the VIM assets that relate to the VNF package identified by the current value
of the vnfdId attribute in the “VnfInstance” structure shall be used by the
VNFM for newly created resources. If the VNF package identifier of the
VNF instance has been updated, VIM assets that relate to the previously-used
VNF package(s), and that were communicated in previous Grant responses,
apply to existing resources.
type: object
properties:
computeResourceFlavours:
description: >
Mappings between virtual compute descriptors defined in the VNFD
and compute resource flavours managed in the VIM.
type: array
$ref: "#/definitions/VimComputeResourceFlavour"
softwareImages:
description: >
Mappings between software images defined in the VNFD and
software images managed in the VIM.
type: array
$ref: "#/definitions/VimSoftwareImage"
snapshotResources:
description: >
Mappings between snapshot resources defined in the VNF snapshot package and resources
managed in the VIM.
type: array
items:
$ref: "#/definitions/VimSnapshotResource"
extVirtualLinks:
description: >
Information about external VLs to connect the VNF to.
For any VNF lifecycle management operation request that allows to pass
"extVirtualLinks" and/or "extManagedVirtualLinks" parameters, such as
InstantiateVnf, ChangeVnfFlavour, ChangeExtVnfConnectivity or
ChangeCurrentVnfPackage, the NFVO may provide the "extVirtualLinks"
and/or "extManagedVirtualLinks" attributes in the Grant to override
the values passed in these parameters previously in the associated
VNF lifecycle management request, if the lifecycle management
request has originated from the NFVO itself. The NFVO shall
not provide the "extVirtualLinks" and/or "extManagedVirtualLinks"
attributes in the Grant otherwise.
Samir Medjiah
committed
In case of granting an InstantiateVnf request that has originated from the NFVO
and that did not contain the "extVirtualLinks" attribute, this attribute shall be
set by the NFVO. Further in case of granting an InstantiateVnf request that has
originated from the NFVO and that did not contain the "extManagedVirtualLinks"
attribute, this attribute shall be set by the NFVO if there is the need to provide
information about externally-managed virtual links.
Giacomo Bernini
committed
If this attribute is present , it need not contain
those entries that are unchanged compared to the entries that were passed
in the LCM operation which is related to this granting exchange.
Samir Medjiah
committed
External and/or externally-managed internal VLs can be passed in VNF
lifecycle management operation requests such as InstantiateVnf, ChangeVnfFlavor,
ChangeExtVnfConnectivity or ChangeCurrentVnfPackage and/or in the grant response.
The NFVO may choose to override in the grant response external and/or
externally-managed VL instances that have been passed previously in the
associated VNF lifecycle management request, if the lifecycle management request
has originated from the NFVO itself.
In case of granting an InstantiateVnf request that has originated from the NFVO
and that did not contain the "extVirtualLinks" attribute, this attribute shall be
set by the NFVO. Further in case of granting an InstantiateVnf request that has
originated from the NFVO and that did not contain the "extManagedVirtualLinks"
attribute, this attribute shall be set by the NFVO if there is the need to provide
information about externally-managed virtual links.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ExtVirtualLinkData"
extManagedVirtualLinks:
description: >
Information about internal VLs that are managed by other entities
than the VNFM.
The indication of externally-managed internal VLs is needed in case
networks have been pre-configured for use with certain VNFs, for
instance to ensure that these networks have certain properties such
as security or acceleration features, or to address particular
network topologies. The present document assumes that
externally-managed internal VLs are managed by the NFVO and created
towards the VIM.
For any VNF lifecycle management operation request that allows to pass
"extVirtualLinks" and/or "extManagedVirtualLinks" parameters, such as
InstantiateVnf, ChangeVnfFlavour, ChangeExtVnfConnectivity or
ChangeCurrentVnfPackage, the NFVO may provide the "extVirtualLinks"
and/or "extManagedVirtualLinks" attributes in the Grant to override
the values passed in these parameters previously in the associated
VNF lifecycle management request, if the lifecycle management
request has originated from the NFVO itself. The NFVO shall
not provide the "extVirtualLinks" and/or "extManagedVirtualLinks"
attributes in the Grant otherwise.
Samir Medjiah
committed
In case of granting an InstantiateVnf request that has originated from the NFVO
and that did not contain the "extVirtualLinks" attribute, this attribute shall be
set by the NFVO. Further in case of granting an InstantiateVnf request that has
originated from the NFVO and that did not contain the "extManagedVirtualLinks"
attribute, this attribute shall be set by the NFVO if there is the need to provide
information about externally-managed virtual links.
$ref: "../../VNFLifecycleManagement/definitions/SOL003VNFLifecycleManagement_def.yaml#/definitions/ExtManagedVirtualLinkData"
additionalParams:
description: >
Additional parameters passed by the NFVO, specific to the VNF and
the LCM operation.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/KeyValuePairs"
_links:
description: >
Links to resources related to this resource.
type: object
- self
- vnfLcmOpOcc
- vnfInstance
self:
description: >
URI of this resource.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"
vnfLcmOpOcc:
description: >
Related VNF lifecycle management operation occurrence.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"
vnfInstance:
description: >
Related VNF instance.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Link"
ResourceDefinition:
This type provides information of an existing or proposed resource used
by the VNF.
- id
- type
Identifier of this "ResourceDefinition" structure, unique at least
within the scope of the "GrantRequest" structure.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierLocal"
type:
Type of the resource definition referenced.
Permitted values:
* COMPUTE
* VL
* STORAGE
* LINKPORT
type: string
enum:
- COMPUTE
- VL
- STORAGE
- LINKPORT
vduId:
Reference to the related VDU in the VNFD applicable to this
resource.
Shall only be present if a VDU is applicable to this resource.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnfd"
vnfdId:
description: >
Identifier of the VNFD to which resourceTemplateId and vduId refer. Shall be present
if at least one of resourceTemplateId and vduId is present and the operation to
be granted changes the current VNF Package. May be absent otherwise.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
resourceTemplateId:
Samir Medjiah
committed
Reference to the applicable resource template in the VNFD as follows:
- if type="VL" : VnfVirtualLinkDesc
- if type="COMPUTE": VirtualComputeDesc
- if type="LINKPORT" : VnfExtCpd
- if type="STORAGE" : VirtualStorageDesc
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnfd"
secondaryResourceTemplateId:
description: >
Reference to a secondary resource template (VnfExtCpd) in the VNFD.
Shall be present if type="LINKPORT" and the linkport is shared by two external
CP instances, one exposing a VNFC CP instance (based on a VnfExtCpd referenced
by "resourceTemplateId") and another one exposing a VIP CP instance (based on a
VnfExtCpd referenced by this attribute). Shall be absent otherwise.
The use cases UC#4 and UC#5 in Annex A.4 of ETSI GS NFV-IFA 007 [1] provide examples for such a configuration.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnfd"
Resource information for an existing resource. Shall be present for
resources that are planned to be deleted or modified. Shall be
absent otherwise.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ResourceHandle"
snapshotResDef:
description: >
Information to identify a snapshot resource. Shall only be present if the
operation to be granted concerns to creating a VNF snapshot from the VNF
or to reverting the VNF to a VNF snapshot.
$ref: "#/definitions/SnapshotResourceDefinition"
This type contains information about a Compute, storage or network
resource whose addition/update/deletion was granted.
type: object
Identifier of the related "ResourceDefinition" structure from the
related "GrantRequest" structure.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierLocal"
The reservation identifier applicable to the VNFC/VirtualLink/VirtualStorage/compute
host. It shall be present for new resources when policy is GRANT_RESERVE and an
applicable reservation exists; shall not be present otherwise.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVim"
Identifier of the VIM connection to be used to manage this resource.
Shall be present for new resources, and shall be absent for
resources that have already been allocated.
The applicable "VimConnectionInfo" structure, which is referenced by
vimConnectionId, can be obtained from the "vimConnectionInfo"
attribute of the "VnfInstance" structure.
This attribute shall only be supported when VNF-related Resource
Management in direct mode is applicable.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
resourceProviderId:
Identifies the entity responsible for the management of the
virtualised resource. Shall be present for new resources, and shall
be absent for resources that have already been allocated.
This attribute shall only be supported when VNF-related Resource
Management in indirect mode is applicable. The identification scheme
is outside the scope of the present document.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
zoneId:
Reference to the identifier of the "ZoneInfo" structure in the
"Grant" structure defining the resource zone into which this
resource is to be placed. Shall be present for new resources if the
zones concept is applicable to them (typically, Compute resources),
and shall be absent for resources that have already been allocated.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierLocal"
Identifier of the "infrastructure resource group", logical grouping
of virtual resources assigned to a tenant within an Infrastructure
Domain, to be provided when allocating the resource.
If the VIM connection referenced by "vimConnectionId" applies to
multiple infrastructure resource groups, this attribute shall be
present for new resources.
If the VIM connection referenced by "vimConnectionId" applies to a
single infrastructure resource group, this attribute may be present
for new resources.
This attribute shall be absent for resources that have already been
allocated.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVim"
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
ZoneInfo:
description: >
This type provides information regarding a resource zone.
type: object
required:
- id
- zoneId
properties:
id:
description: >
The identifier of this ZoneInfo instance, for the purpose of
referencing it from other structures in the "Grant" structure.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierLocal"
zoneId:
description: >
The identifier of the resource zone, as managed by the resource
management layer (typically, the VIM).
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vimConnectionId:
description: >
Identifier of the connection to the VIM that manages the resource
zone.
The applicable "VimConnectionInfo" structure, which is referenced by
vimConnectionId, can be obtained from the " vimConnectionInfo"
attribute of the "VnfInstance" structure.
This attribute shall only be supported and present when VNF-related
Resource Management in direct mode is applicable.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
resourceProviderId:
description: >
Identifies the entity responsible for the management the resource
zone.
This attribute shall only be supported and present when VNF-related
Resource Management in indirect mode is applicable. The
identification scheme is outside the scope of the present document.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
ZoneGroupInfo:
This type provides information regarding a resource zone group. A
resource zone group is a group of one or more related resource zones
which can be used in resource placement constraints. To fulfil such
constraint, the NFVO may decide to place a resource into any zone that
belongs to a particular group.
NOTE: A resource zone group can be used to support overflow from one
resource zone into another, in case a particular deployment supports
only non-elastic resource zones.
type: object
required:
- zoneId
properties:
zoneId:
description: >
References of identifiers of "ZoneInfo" structures, each of which
provides information about a resource zone that belongs to this
group.
type: array
items:
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierLocal"
PlacementConstraint:
description: >
This type provides information regarding a resource placement
constraint. A set of such constraints may be sent by the VNFM to the
NFVO to influence the resource placement decisions made by the NFVO as
part of the granting process.
A placement constraint defines a condition to the placement of new
resources, considering other new resources as well as existing resources.
EXAMPLE:
The following rules influence the placement of a set of resources such
that they are placed in the same Network Function Virtualisation
Infrastructure Point of Presence (NFVI-PoP) but in different resource
zones:
Giacomo Bernini
committed
{type="AFFINITY"; scope="NFVI_POP"; {resource1,resource2}}
{type="ANTI_AFFINITY"; scope="ZONE"; {resource1,resource2}}
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
type: object
required:
- affinityOrAntiAffinity
- scope
- resource
properties:
affinityOrAntiAffinity:
description: >
The type of the constraint.
Permitted values:
* AFFINITY
* ANTI_AFFINITY
type: string
enum:
- AFFINITY
- ANTI_AFFINITY
scope:
description: >
The scope of the placement constraint indicating the category of the
"place" where the constraint applies.
Permitted values:
* NFVI_POP
* ZONE
* ZONE_GROUP
* NFVI_NODE
type: string
enum:
- NFVI_POP
- ZONE
- ZONE_GROUP
- NFVI_NODE
resource:
description: >
References to resources in the constraint rule.
type: array
minItems: 2
items:
$ref: "#/definitions/ConstraintResourceRef"
moscatelli
committed
fallbackBestEffort:
description: >
Indication if the constraint is handled with fall back best effort. Default value is “false”.
If set to true, the Affinity/Anti_Affinity placement constraint need not be fully satisfied,
i.e. if the allocation cannot be honoured with the placement constraint, the request is
processed in a best effort manner.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Boolean"
VimConstraint:
This type provides information regarding a VIM selection constraint. A
set of such constraints may be sent by the VNFM to the NFVO to influence
the VIM selection decisions made by the NFVO as part of the granting
process.
sameResourceGroup:
If present and set to true, this signals that the constraint applies
not only to the same VIM connection, but also to the same
infrastructure resource group.
type: boolean
resource:
References to resources in the constraint rule.
The NFVO shall ensure that all resources in this list are managed
through the same VIM connection. If "sameResourceGroup" is set to
true, the NFVO shall further ensure that all resources in this list
are part of the same infrastructure resource group in that VIM
connection.
type: array
minItems: 2
items:
$ref: "#/definitions/ConstraintResourceRef"
ConstraintResourceRef:
description: >
This type references a resource either by its VIM-level identifier for
existing resources, or by the identifier of a "ResourceDefinition"
structure in the "GrantRequest" structure for new resources.
type: object
required:
- idType
- resourceId
properties:
idType:
description: >
The type of the identifier.
* RES_MGMT: Resource-management-level identifier; this identifier is
managed by the VIM in the direct mode of VNF-related resource
management, and is managed by the NFVO in the indirect mode)
* GRANT: Reference to the identifier of a "ResourceDefinition"
structure in the "GrantRequest" structure.
- RES_MGMT
- GRANT
resourceId:
An actual resource-management-level identifier (idType=RES_MGMT),
or an identifier that references a "ResourceDefinition" structure in
the related "GrantRequest" structure (idType=GRANT).
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVim"
vimConnectionId:
Identifier of the VIM connection for managing the resource. It shall
only be present when idType = RES_MGMT.
The applicable "VimConnectionInfo" structure, which is referenced by
vimConnectionId, can be obtained from the "vimConnectionInfo"
attribute of the "VnfInstance" structure.
This attribute shall only be supported when VNF-related resource
management in direct mode is applicable.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
resourceProviderId:
Identifier of the resource provider. It shall only be present when
idType = RES_MGMT.
This attribute shall only be supported when VNF-related resource
management in indirect mode is applicable. The identification scheme
is outside the scope of the present document.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
VimComputeResourceFlavour:
description: >
If the VIM requires the use of virtual compute resource flavours during
compute resource instantiation, it is assumed that such flavours are
selected or created by the NFVO based on the information in the virtual
compute descriptor defined in the VNFD.
This type defines the mapping between a virtual compute descriptor in
the VNFD and the corresponding compute resource flavour managed by the
NFVO in the VIM.
type: object
- vnfdVirtualComputeDescId
- vimFlavourId
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
vimConnectionId:
description: >
Identifier of the VIM connection to access the flavour referenced in
this structure.
The applicable "VimConnectionInfo" structure, which is referenced by
vimConnectionId, can be obtained from the "vimConnectionInfo"
attribute of the "VnfInstance" structure.
This attribute shall only be supported and present if VNF-related
resource management in direct mode is applicable.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
resourceProviderId:
description: >
Identifies the entity responsible for the management of the
virtualised resource.
This attribute shall only be supported and present if VNF-related
resource management in indirect mode is applicable. The
identification scheme is outside the scope of the present document.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfdVirtualComputeDescId:
description: >
Identifier which references the virtual compute descriptor in the
VNFD that maps to this flavour.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnfd"
vimFlavourId:
description: >
Identifier of the compute resource flavour in the resource
management layer (i.e. VIM).
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVim"
VimSoftwareImage:
description: >
This type contains a mapping between a software image definition the
VNFD and the corresponding software image managed by the NFVO in the
VIM which is needed during compute resource instantiation.
type: object
- vnfdSoftwareImageId
- vimSoftwareImageId
vimConnectionId:
description: >
Identifier of the VIM connection to access the software image
referenced in this structure.
The applicable "VimConnectionInfo" structure, which is referenced by
vimConnectionId, can be obtained from the "vimConnectionInfo"
attribute of the "VnfInstance" structure.
This attribute shall only be supported and present if VNF-related
resource management in direct mode is applicable.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
resourceProviderId:
description: >
Identifies the entity responsible for the management of the
virtualised resource.
This attribute shall only be supported and present if VNF-related
resource management in indirect mode is applicable. The
identification scheme is outside the scope of the present document.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfdSoftwareImageId:
description: >
Identifier which references the software image descriptor in the
VNFD.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnfd"
vimSoftwareImageId:
description: >
Identifier of the software image in the resource management layer
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVim"
SnapshotResourceDefinition:
description: >
This type represents resource definition information related to a snapshot resource.
type: object
required:
- vnfSnapshotId
properties:
vnfSnapshotId:
description: >
Identifier of the VNF snapshot related to the resource change for the VNF instance.
Shall only be present if the operation to be granted concerns to creating a VNF snapshot
from the VNF or to reverting the VNF to a VNF snapshot.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfcSnapshotId:
description: >
Reference to the information about a specific VNFC snapshot (refer to "VnfcSnapshotInfo")
of the VNF snapshot. The identifier is unique within the scope of a VNF snapshot, identified
by the "vnfSnapshotId" attribute. Shall only be present if the operation to be granted
concerns to reverting the VNF to a VNF snapshot, and the resource is planned to be added
based on the VNFC snapshot, and the type of resource is "COMPUTE" or "STORAGE".
If present, the value of the "vduId" (for a related VDU) in the "VnfcResourceInfo" referred
by the "vnfcInfoId" of the "VnfcSnapshotInfo" shall match the value of the "vduId" in the
resource definition that is signalled in the granting request.
For snapshot resource definitions extracted from a VNF snapshot package, only the
"vnfcSnapshotId" and "storageSnapshotId" (in case of a storage type of resource) are applicable.
If the snapshot resource definition is generated as part of a VNF snapshot created by the VNFM
(that is, not extracted from a VNF snapshot package), the "snapshotResource" is applicable.
This is a similar specification as the one defined with the "vduId", "resourceTemplateId" and
"resource" attributes provided in the ResourceDefinition, but in this case applicable to resources
that are defined from VNF snapshots instead of VNFD.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierLocal"
storageSnapshotId:
description: >
Reference to a snapshotted storage resource associated to the VNFC snapshot. Shall only be
present if the operation to be granted concerns to reverting the VNF to a VNF snapshot,
and the storage resource is planned to be added based on the VNFC snapshot, and the type
of resource is "STORAGE".
For snapshot resource definitions extracted from a VNF snapshot package, only the
"vnfcSnapshotId" and "storageSnapshotId" (in case of a storage type of resource) are applicable.
If the snapshot resource definition is generated as part of a VNF snapshot created by the VNFM
(that is, not extracted from a VNF snapshot package), the "snapshotResource" is applicable.
This is a similar specification as the one defined with the "vduId", "resourceTemplateId" and
"resource" attributes provided in the ResourceDefinition, but in this case applicable to resources
that are defined from VNF snapshots instead of VNFD.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
snapshotResource:
description: >
Resource information for an existing snapshot resource. Shall only be present if the
operation to be granted concerns to reverting the VNF to a VNF snapshot and the resource is
planned to be added based on an existing VNF snapshot that has been created by the VNFM.
Shall be absent otherwise.
For snapshot resource definitions extracted from a VNF snapshot package, only the
"vnfcSnapshotId" and "storageSnapshotId" (in case of a storage type of resource) are applicable.
If the snapshot resource definition is generated as part of a VNF snapshot created by the VNFM
(that is, not extracted from a VNF snapshot package), the "snapshotResource" is applicable.
This is a similar specification as the one defined with the "vduId", "resourceTemplateId" and
"resource" attributes provided in the ResourceDefinition, but in this case applicable to resources
that are defined from VNF snapshots instead of VNFD.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/ResourceHandle"
VimSnapshotResource:
description: >
This type contains a mapping between a snapshot resource definition related to a VNF snapshot
and the corresponding resource managed by the NFVO in the VIM which is needed during the revert
to VNF snapshot operation.
type: object
required:
- vnfSnapshotId
- vnfcSnapshotId
- vimSnapshotResourceId
properties:
vimConnectionId:
description: >
Identifier of the VIM connection to access the software image referenced in this structure.
The applicable "VimConnectionInfo" structure, which is referenced by vimConnectionId, can be
obtained from the "vimConnectionInfo" attribute of the "VnfInstance" structure.
This attribute shall only be supported and present if VNF-related resource management in direct
mode is applicable.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
resourceProviderId:
description: >
Identifies the entity responsible for the management of the virtualised resource.
This attribute shall only be supported and present if VNF-related resource management in indirect
mode is applicable. The identification scheme is outside the scope of the present document.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfSnapshotId:
description: >
Identifier of the VNF snapshot (referring to the "id" attribute in the "VnfSnapshot" data structure)
related to this VIM snapshot resource.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/Identifier"
vnfcSnapshotId:
description: >
Identifier of the information about a specific VNFC snapshot (refer to "VnfcSnapshotInfo") of
the VNF snapshot. The identifier is unique within the scope of a VNF snapshot, identified by
the "vnfSnapshotId" attribute.
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierLocal"
storageSnapshotId:
description: >
Identifier of the virtual storage resource that has been snapshotted as referred in the VNFC
snapshot information. Shall only be present if the snapshot resource in the VIM is a storage
resource (as indicated by "type=STORAGE" in the parent resource definition).
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVnf"
vimSnapshotResourceId:
description: >
Identifier of the snapshot resource in the resource management layer (i.e. VIM).
$ref: "../../../definitions/SOL002SOL003_def.yaml#/definitions/IdentifierInVim"