Newer
Older
include etsi-nfv-vnf;
include etsi-nfv-pnf;
description
"Models for NS according to ETSI GS NFV-IFA 014.";
![Miguel Angel Reina Ortega Miguel Angel Reina Ortega's avatar](/rep/uploads/-/system/user/avatar/20/avatar.png?width=36)
Miguel Angel Reina Ortega
committed
revision 2022-03-08 {
description
"Version 3.6.1.
NSD according to ETSI GS NFV-IFA 014 Release 3.";
}
revision 2021-07-05 {
description
"Version 3.5.1.
NSD according to ETSI GS NFV-IFA 014 Release 3.";
}
revision 2020-06-10 {
"Version 3.3.1.
NSD according to ETSI GS NFV-IFA 014 Release 3.";
revision 2020-06-01 {
description
"Version 2.8.1.
NSD according to ETSI GS NFV-IFA 014 271.";
}
Common data structures to support NSD according to:
ETSI GS NFV-IFA 014 Ed271v264.";
NSD according to ETSI GS NFV-IFA 014 Ed261v252.";
"ETSI GS NFV-IFA 014 Ed261v252";
}
grouping resource-handle {
leaf vim-id {
type string;
}
type string;
}
leaf resource-id {
type string;
}
}
grouping ns-local-affinity-or-anti-affinity-rule {
list local-affinity-or-anti-affinity-rule {
key "type scope";
leaf type {
type affinity-type;
description
ppree
committed
"Specifies the rule.
Values:
• AFFINITY
• ANTI_AFFINITY.";
reference
"GS NFV IFA014: Section 6.3.8.2,
LocalAffinityOrAntiAffinityRule information element.";
}
leaf scope {
type affinity-scope;
description
ppree
committed
"Specifies the scope of the rule.
Values:
• NFVI_POP
• ZONE
• ZONE_GROUP
• NFVI_NODE
• etc.";
reference
"GS NFV IFA014: Section 6.3.8.2,
LocalAffinityOrAntiAffinityRule information element.";
}
}
}
leaf id {
type string;
description
"Identifier of this NSD information element. It Globally
uniquely identifies an instance of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
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
leaf designer {
type string;
description
"Identifies the designer of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf version {
type string;
description
"Identifies the version of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf name {
type string;
description
"Provides the human readable name of the NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf invariant-id {
type string;
description
"Identifies an NSD in a version independent manner. This
attribute is invariant across versions of the network
service descriptor.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf-list nested-nsd-id {
must ". != ../id";
type leafref {
description
"References the NSD of a constituent nested NS.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf-list vnfd-id {
type leafref {
description
"References the VNFD of a constituent VNF.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
leaf-list pnfd-id {
type leafref {
description
"References the PNFD of a constituent PNF.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
}
list sapd {
key "id";
description
"Provides the descriptor of a service access point of the
network service.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
choice cpd-or-virtual-link {
leaf virtual-link-desc {
type leafref {
path "../../virtual-link-desc/id";
}
"References the descriptor of the NS VL instance to
which the SAP instantiated from this SAPD connects to.";
reference
"GS NFV IFA014: Section 6.2.3.2 Sapd information element";
container associated-cpd {
choice constituent-base-element-id {
leaf vnfd-id {
mandatory true;
type leafref {
must "boolean(../../../vnfd-id[.=current()])";
}
leaf pnfd-id {
mandatory true;
type leafref {
must "boolean(../pnfd-id[.=current()])";
}
mandatory true;
type leafref {
path "../../../../nsd/id";
must "boolean(../nsd-id[.=current()])";
description
"References the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8 CpdInConstituentElement information element";
choice constituent-cpd-id {
leaf vnf-ext-cpd {
mandatory true;
type leafref {
path "deref(../vnfd-id)/../nfv:ext-cpd/nfv:id";
leaf pnf-ext-cpd {
mandatory true;
type leafref {
path "deref(../pnfd-id)/../nfv:ext-cpd/nfv:id";
}
}
leaf sapd {
mandatory true;
type leafref {
path "deref(../nsd-id)/../sapd/id";
description
"References the VNF external CPD for a given VnfProfile, or the PNF
external CPD for a given PnfProfile, or an NS SAPD for a given NsProfile
identified by the constituentBaseElementId.";
reference
"GS NFV IFA014: Section 6.4.8 CpdInConstituentElement information element";
description
"Describes a CPD or SAPD in the context of an NS constituent element, which
the SAPs instantiated from this SAPD are mapped to.";
reference
"GS NFV IFA014: Section 6.2.3 Sapd information element";
uses cpd;
leaf security-group-rule-id {
type leafref {
path "../../security-group-rule/id";
}
description
"Reference of the security group rules bound to this
CPD.";
reference
"GS NFV IFA014: Section 6.6.3 Cpd information element";
}
uses security-group-rule;
list virtual-link-desc {
key "id";
description
"Provides the constituent VLDs.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
leaf id {
type string;
description
"Identifier of the NsVirtualLinkDesc information element.
It uniquely identifies a VLD.";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
}
uses connectivity-type;
list df {
"The VirtualLinkDf information element specifies
properties for instantiating a VL according to a
specific flavour.";
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
"Identifies this VirtualLinkDf information element
within a VLD.";
"GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf
container qos {
presence "VL QoS parameters";
"The QoS information element specifies quality of
service parameters applicable to a VL.";
"GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf
leaf latency {
mandatory true;
type uint32;
units "ms";
"Specifies the maximum latency in ms.";
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
leaf packet-delay-variation {
mandatory true;
type uint32;
units "ms";
"Specifies the maximum jitter in ms.";
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
}
leaf packet-loss-ratio {
type decimal64 {
fraction-digits "2";
range "0..1.00";
description
"Specifies the maximum packet loss ratio.";
reference
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
leaf priority {
type uint32;
"Specifies the priority level in case of
congestion on the underlying physical links.";
"GS NFV IFA014: Section 6.5.6.2 QoS information
element";
leaf service-availability-level {
"If present, specifies the service availability level
for the VL instance created from this DF.
THE FOLLOWING STATEMENT IS SUBJECT TO CHANGE:
Either the serviceAvailabilityLevel attribute of NS DF
or the serviceAvailabilityLevel attribute of the VL DF
may be provided, but not both.";
"GS NFV IFA014: Section 6.5.4.2 VirtualLinkDf
leaf test-access {
type enumeration {
enum none;
enum passive-monitoring;
enum active;
description
"Specifies test access facilities expected on the VL.";
reference
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
information element";
leaf description {
type string;
"Provides human-readable information on the purpose of
the virtual link (e.g. VL for control plane traffic).";
"GS NFV IFA014: Section 6.5.2.2 NsVirtualLinkDesc
description
"Provides the descriptors of the applicable forwarding
graphs.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
leaf id {
type string;
description
"Identifier of this Vnffgd information element. It
uniquely identifies a VNFFGD.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
}
leaf-list vnf-profile-id {
type leafref {
path "../../df/vnf-profile/id";
description
"References the VnfProfile of a constituent VNF.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf-list pnf-profile-id {
type leafref {
path "../../df/pnf-profile/id";
description
"References the PnfProfile of a constituent PNF.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf-list nested-ns-profile-id {
type leafref {
path "../../df/ns-profile/id";
description
"References the NsProfile of a nestedNS.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
leaf virtual-link-profile-id {
type leafref {
path "../../df/virtual-link-profile/id";
description
"References the Virtual Link Profile of a constituent
VL.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
}
list nfp-position-element {
description
"Identifier of this NfpPositionElemen information
element. It uniquely identifies an
NfpPositionElemen.";
reference
"GS NFV IFA014: Section 6.4.6.2 NfpPositionElement
information element";
container desc {
choice constituent-base-element-id {
mandatory "true";
container vnf-profile {
leaf vnf-profile-id {
must ". = deref(../../vnfd-profile-id)" {
}
type leafref {
path "../../../../../../nsd/df/vnf-profile/id";
}
container pnf-profile {
leaf pnf-profile-id {
must ". = deref(../../pnfd-profile-id)" {
}
type leafref {
path "../../../../../../nsd/df/pnf-profile/id";
}
container ns-profile {
leaf ns-profile-id {
must ". = deref(../../ns-profile-id)" {
}
type leafref {
path "../../../../../../nsd/df/ns-profile/id";
}
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
choice constituent-cpd-id {
container vnf {
leaf vnfd-id {
must ". = deref(../../vnfd-profile-id)/../vnfd-id" {
}
type leafref {
path "/nfv:nfv/nfv:vnfd/nfv:id";
}
leaf cpd-id {
type leafref {
path "deref(../vnfd-id)/../nfv:ext-cpd/nfv:id";
}
container pnf {
leaf pnfd-id {
must ". = deref(../../pnfd-profile-id)/../pnfd-id" {
}
type leafref {
leaf pnf-cpd-id {
type leafref {
path "deref(../pnfd-id)/../nfv:ext-cpd/nfv:id";
}
container ns {
leaf nsd-id {
must ". = deref(../../nested-ns-profile-id)/" +
}
type leafref {
path "../../../../../../nsd/id";
}
leaf sap-cpd-id {
type leafref {
path "deref(../nsd-id)/../sapd/id";
}
description
"References the VNF external CPD for a given
VnfProfile, or the PNF external CPD for a given
PnfProfile, or a NS SAPD for a given NsProfile
identified by the constituentBaseElementId.";
reference
"GS NFV IFA014: Section 6.4.8.2
CpdInConstituentElement information element";
of an NS constituent element.";
"GS NFV IFA014: Section 6.4.6.2 NfpPositionElement
information element";
"One or a pair of CPDs or SAPDs. These descriptors
shall be members of the CpdPool associated to the
parent VNFFG.";
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
}
list nfpd {
key "id";
leaf id {
type string;
description
"Identifies this nfpd information element within a
VNFFGD.";
reference
"GS NFV IFA014: Section 6.4.3.2 Nfpd information
element";
}
leaf rule {
type string;
description
"Provides an NFP classification and selection rule.
The rule may be expressed as a criteria constructed out
of atomic assertions linked by Boolean operators AND,
OR and NOT.";
reference
"GS NFV IFA014: Section 6.4.3.2 Nfpd information
element";
}
leaf id {
type string;
description
"Identifier of this NfpPositionDesc element.";
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
leaf-list nfp-position-element-id {
type leafref {
path "../../../nfp-position-element/id";
ppree
committed
"References one or a pair of CPDs or SAPDs.";
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
leaf forwarding-behaviour {
type identityref {
base forwarding-behaviour;
}
ppree
committed
"Specifies a rule to apply to forward traffic to CP or
SAP instances corresponding to the referenced CP
profiles(s). The minimum list of rules to be supported
shall include:
• ALL = Traffic flows shall be forwarded simultaneously
to all CP or SAP instances created from the
referenced CP profile(s).
• LB = Traffic flows shall be forwarded to one CP or SAP
instance created from the referenced CP profile(s)
ppree
committed
selected based on a load-balancing algorithm
Values:
• ALL
• LB
• etc.";
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
leaf forwarding-behavior-input-parameters {
type string;
description
"Provides input parameters to configure the forwarding
behaviour (e.g. identifies a load balancing
algorithm).";
reference
"GS NFV IFA014: Section 6.4.5.2 NfpPositionDesc
information element";
description
"Describes a position in the NFP in terms of one or more
CPDs and SAPDs and rules for distributing the traffic
among CP and SAP instances created from these CPDs
and SAPDs.";
reference
"GS NFV IFA014: Section 6.4.3.2 Nfpd information
element";
description
"The network forwarding path associated to the VNFFG.";
reference
"GS NFV IFA014: Section 6.4.2.2 Vnffgd information
element";
leaf-list autoscale-rule {
type string;
}
list lifecycle-management-script {
key "event";
leaf event {
leaf script {
type string;
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
list df {
min-elements 1;
must "default-instantiation-level or " +
"count(ns-instantiation-level) = 1" {
error-message
"default-instantiation-level must be present if there " +
"multiple instantion-level";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
key "id";
description
"Identifies a DF within the scope of an NSD.";
reference
"GS NFV IFA014: Section 6.2.2.2 Network Service Descriptor
information element";
leaf id {
type string;
description
"Identifies this NsDf information element. It identifies
a NS DF within the NSD.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
leaf flavour-key {
type leafref {
path "../monitored-info/id";
description
"Assurance parameter against which this flavour is being
described.
The key can be a combination of multiple assurance
parameters with a logical relationship between them.
The parameters should be present as a monitoredInfo
attribute in the NSD.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
list vnf-profile {
must "min-number-of-instances <= max-number-of-instances";
must "boolean(../../vnfd-id[.=current()/vnfd-id])" {
error-message "VNFDs in the profile has to be listed as a " +
"dependency of the network service " +
"descriptor.";
}
"VNF profile to be used for the NS flavour.";
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
ppree
committed
"Identifier of this VnfProfile information element. It
uniquely identifies a VnfProfile.";
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
leaf vnfd-id {
mandatory true;
"References a VNFD.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf flavour-id {
mandatory true;
type leafref {
ppree
committed
"References a flavour within the VNFD.";
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
leaf instantiation-level {
mandatory true;
type leafref {
path "deref(../flavour-id)/../nfv:instantiation-level/" +
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
description
"Identifier of the instantiation level of the VNF DF
to be used for instantiation. If not present, the
default instantiation level as declared in the VNFD
shall be used.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf min-number-of-instances {
default 1;
type uint16;
description
"Minimum number of instances of the VNF based on this
VNFD that is permitted to exist for this VnfProfile.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf max-number-of-instances {
default 1;
type uint16;
description
"Maximum number of instances of the VNF based on this
VNFD that is permitted to exist for this VnfProfile.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
leaf-list affinity-or-anti-affinity-group-id {
type leafref {
path "../../affinity-or-anti-affinity-group/id";
}
ppree
committed
"Reference(s) the affinity or anti-affinity group(s)
the VnfProfile belongs to.";
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
list virtual-link-connectivity {
key "virtual-link-profile-id";
description
"Defines the connection information of the VNF, it
contains connection relationship between a VNF
connection point and a NS Virtual Link.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
leaf virtual-link-profile-id {
path "../../../virtual-link-profile/id";
"Reference an NS VL profile.";
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
list constituent-cpd-id {
key "constituent-base-element-id";
"Describes a connection point on a VNF/PNF or a SAP
which connects to virtual links instantiated from
the profile identified in the virtualLinkProfileId
attribute.";
"GS NFV IFA014: Section 6.3.7
NsVirtualLinkConnectivity information element";
leaf constituent-base-element-id {
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
path "deref(../../../vnfd-id)/../nfv:ext-cpd/nfv:id";
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
leaf service-availability-level {
must "not(../../service-availability-level)";
type uint32;
description
"If present, specifies the service availability level for
the VNF instance created from this profile.
Either the serviceAvailabilityLevel attribute of NS DF
or the serviceAvailabilityLevel attribute of the
VnfProfile may be provided, but not both.";
reference
"GS NFV IFA014: Section 6.3.3.2 VnfProfile information
element";
}
list pnf-profile {
key "id";
must "boolean(../../pnfd-id[.=current()/pnfd-id])" {
error-message "PNFDs in the profile has to be listed as a " +
"dependency of the network service " +
"descriptor.";
}
leaf id {
type string;
description
"Identifier of this PnfProfile information element.
It uniquely identifies a PnfProfile.";
reference
"GS NFV IFA014: Section 6.3.6.2 PnfProfile information
element";
}
leaf pnfd-id {
type leafref {
description
"References a PNFD.";
reference
"GS NFV IFA014: Section 6.3.6.2 PnfProfile information
element";
list virtual-link-connectivity {
key "virtual-link-profile-id";
description
"Defines the connection information of the PNF, it
contains connection relationship between a PNF
connection point and a NS Virtual Link.";
reference
"GS NFV IFA014: Section 6.3.6.2 PnfProfile information
element";
leaf virtual-link-profile-id {
path "../../../virtual-link-profile/id";
"Reference an NS VL profile.";
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
list constituent-cpd-id {
key "constituent-base-element-id";
"Describes a connection point on a VNF/PNF or a SAP
which connects to virtual links instantiated from
the profile identified in the virtualLinkProfileId
attribute.";
"GS NFV IFA014: Section 6.3.7
NsVirtualLinkConnectivity information element";
leaf constituent-base-element-id {
"Reference to the profile of an NS constituent.";
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
leaf constituent-cpd-id {
type leafref {
path "deref(../../../pnfd-id)/../nfv:ext-cpd/nfv:id";
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
list virtual-link-profile {
key "id";
description
"VL profile to be used for the NS flavour.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
"Uniquely identifies this VirtualLinkProfile
information element.";
"GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
information element";
}
leaf virtual-link-desc-id {
mandatory true;
type leafref {
path "../../../virtual-link-desc/id";
description
"Uniquely references a VLD.";
reference
"GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
information element";
}
leaf flavour-id {
mandatory true;
type leafref {
path "deref(../virtual-link-desc-id)/../df/id";
ppree
committed
"Refernces a flavour within the VLD.";
reference
"GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
information element";
}
leaf-list affinity-or-anti-affinity-group-id {
type leafref {
path "../../affinity-or-anti-affinity-group/id";
}
ppree
committed
"Reference(s) the affinity or anti-affinity group(s)
the VLs instantiated according to the VlProfile
belong to.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
}
container max-bitrate-requirements {
description
"Specifies the maximum bitrate requirements for a VL
instantiated according to this profile.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
uses link-bitrate-requirements;
}
container min-bitrate-requirements {
description
"Specifies the minimum bitrate requirements for a VL
instantiated according to this profile.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
uses link-bitrate-requirements;
}
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
container virtual-link-protocol-data {
leaf associated-layer-protocol {
type identityref {
base layer-protocol;
}
description
"One of the values of the attribute layerProtocol of
the ConnectivityType IE.
Values:
• Ethernet
• MPLS
• ODU2
• IPV4
• IPV6
• Pseudo-Wire
• etc.";
reference
"GS NFV IFA014: Section 6.3.13.2,
VirtualLinkProtocolData information element.";
}
container l2-protocol-data {
when "(../associated-layer-protocol = 'Ethernet') or " +
"(../associated-layer-protocol = 'MPLS') or " +
"(../associated-layer-protocol = 'ODU2') or " +
"(../associated-layer-protocol = 'Pseudo-Wire')";
leaf name {
type string;
description
"Network name associated with this L2 protocol.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
leaf network-type {
type enumeration {
enum flat;
enum vlan;
enum vxlan;
enum gre;
}
description
"Specifies the network type for this L2 protocol.
Values:
• FLAT
• VLAN
• VXLAN
• GRE.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
leaf vlan-transparent {
type boolean;
description
"Specifies whether to support VLAN transparency for
this L2 protocol or not.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
leaf mtu {
type uint16;
description
"Specifies the maximum transmission unit (MTU) value
for this L2 protocol.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
leaf segmentation-id {
type string;
description
"If present, specifies a specific virtualised network
segment, which depends on the network type. For e.g.,
VLAN ID for VLAN network type and tunnel ID for
GRE/VXLAN network types.";
reference
"GS NFV IFA014: Section 6.3.14.2,
L2ProtocolData information element.";
}
description
"Specifies the L2 protocol data for this virtual link.
Shall be present when the associatedLayerProtocol
attribute indicates a L2 protocol and shall be absent
otherwise.";
reference
"GS NFV IFA014: Section 6.3.13.2,
VirtualLinkProtocolData information element.";
}
container l3-protocol-data {
when "(../associated-layer-protocol = 'IPv4') or " +
"(../associated-layer-protocol = 'IPv6')";
leaf name {
type string;
description
"Network name associated with this L3 protocol.";
reference
"GS NFV IFA014: Section 6.3.15.2,
L3ProtocolData information element.";
}
leaf ip-version {
type enumeration {
enum ipv4;
enum ipv6;
}
default "ipv4";
description
"Specifies IP version of this L3 protocol.
Values:
• IPV4.
• IPV6.";
reference
"GS NFV IFA014: Section 6.3.15.2,
L3ProtocolData information element.";
}
leaf cidr {
type string;
description
"Specifies the CIDR (Classless InterDomain Routing)
of this L3 protocol.
The network address and subnet mask in
cidr format.";
reference
"GS NFV IFA014: Section 6.3.15.2,
L3ProtocolData information element.";
}
leaf-list ip-allocation-pools {
type string;
description
"Specifies the allocation pools with start and end
IP addresses for this L3 protocol.";
reference
"GS NFV IFA014: Section 6.3.15.2,
L3ProtocolData information element.";
}
description
"Specifies the L3 protocol data for this virtual link.
Shall be present when the associatedLayerProtocol
attribute indicates a L3 protocol and shall be absent
otherwise.";
reference
"GS NFV IFA014: Section 6.3.13.2,
VirtualLinkProtocolData information element.";
}
description
"Specifies the protocol data for a VL instantiated
according to this profile. Cardinality 0 is used when
no protocol data needs to be specified.";
reference
"GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
information element";
}
list scaling-aspect {
key "id";
description
"The scaling aspects supported by this DF of the NS.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
"Identifier of this NsScalingAspect information element.
It uniquely identifies the NS scaling aspect in an
NSD.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
leaf name {
type string;
description
"Provides a human readable name of the NS scaling
aspect.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
}
leaf description {
type string;
"Provides a human readable description of the NS
scaling aspect.";
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
}
leaf scaling-level {
type leafref {
path "../../ns-instantiation-level/id";
description
"Describes the details of an NS level.";
reference
"GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
information element";
}
}
list affinity-or-anti-affinity-group {
key "id";
description
"Specifies affinity or anti-affinity relationship
applicable between the VNF instances created using
different VNFDs, the Virtual Link instances created
using different NsVirtualLinkDescs or the nested NS
instances created using different NSDs in the same
affinity or anti-affinity group.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
ppree
committed
"Identifier of this AffinityOrAntiAffinityGroup
information element.";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
leaf affinityorAntiaffinity {
mandatory true;
type affinity-type;
description
"Specifies the type of relationship that the members of
the group have.
Values:
• AFFINITY
• ANTI-AFFINITY";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
}
mandatory true;
type affinity-scope;
"Specifies the scope of the affinity or anti-affinity
relationship.
Values:
• NFVI_NODE
• NFVI_POP
• NETWORK_LINK_AND_NODE
• etc.";
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
}
}
list ns-instantiation-level {
min-elements 1;
key "id";
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
description
"Describes the details of an NS level.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element
GS NFV IFA014: Section 6.7.2.2 NsScaling information
element";
leaf id {
type string;
description
"Identifier of this NsLevel information element. It
uniquely identifies an NS level within the DF.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
}
leaf description {
type string;
description
"Human readable description of the NS level.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
}
list vnf-to-level-mapping {
key "vnf-profile-id";
description
"Specifies the profile of the VNFs involved in this NS
level and, for each of them, the required number of
instances.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
leaf vnf-profile-id {
type leafref {
path "../../../vnf-profile/id";
}
ppree
committed
"References the profile to be used for a VNF
"GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
leaf number-of-instances {
default 1;
type uint32;
"Specifies the number of VNF instances required for
an NS level.";
"GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
list virtual-link-to-level-mapping {
key "virtual-link-profile-id";
"Specifies the profile of the VLs involved in this NS
level and, for each of them, the needed bandwidth.";
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
leaf virtual-link-profile-id {
type leafref {
path "../../../virtual-link-profile/id";
}
ppree
committed
"References the profile to be used for a VL involved
"GS NFV IFA014: Section 6.7.5.2
VirtualLinkToLevelMapping information element";
uses link-bitrate-requirements;
}
list ns-to-level-mapping {
key "ns-profile-id";
description
"Specifies the profile of the nested NSs involved in
this NS level and, for each of them, the required
number of instances.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
leaf ns-profile-id {
type leafref {
path "../../../ns-profile/id";
}
ppree
committed
"References the profile to be used for a nested NS
"GS NFV IFA014: Section 6.7.6.2 NsToLevel information
leaf number-of-instances {
default 1;
type uint32;
"Specifies the number of nested NS instances required
for the NS scale level.";
"GS NFV IFA014: Section 6.7.6.2 NsToLevel information
must "(count(vnf-to-level-mapping) + " +
"count(virtual-link-to-level-mapping) + " +
"count(ns-to-level-mapping)) > 0" {
error-message
"vnf-to-level-mapping, " +
"virtual-link-to-level-mapping and " +
"ns-to-level-mapping shall be present.";
description
"At least one attribute between vnfToLevelMapping,
vlirtualLinkToLevelMapping and nsToLevelMapping shall
be present.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
}
}
leaf default-instantiation-level {
type leafref {
path "../ns-instantiation-level/id";
}
description
ppree
committed
"References the NS level which represents the default NS
instantiation level for this DF. It shall be present if
there are multiple 'nsIinstantiationLevel' entries.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
container ns-lcm-additional-params {
container instantiate {
list params {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
"Array of KVP requirements for additional parameters
of NS to be passed when invoking the Instantiate Ns
operation.";
reference
"GS NFV IFA014: Section 6.2.10.3
InstantiateNsAdditionalParams information element";
}
}
container scale {
list params {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
"Array of KVP requirements for additional parameters
of NS to be passed when invoking the Scale Ns
operation.";
reference
"GS NFV IFA014: Section 6.2.10.4
ScaleNsAdditionalParams information element";
}
}
container heal {
list params {
key "key";
leaf key {
type string;
}
leaf value {
type string;
}
"Array of KVP requirements for additional parameters
of NS to be passed when invoking the Heal Ns
operation.";
reference
"GS NFV IFA014: Section 6.2.10.5
HealNsAdditionalParams information element";
}
}
}
list ns-profile {
must "min-number-of-instances <= max-number-of-instances" {
error-message
"min-number-of-instances has to be less than or equal" +
"max-number-of-instances.";
}
must "boolean(../../nested-nsd-id[.=current()/nsd-id])" {
error-message
"PNFDs in the profile has to be listed as a " +
"dependency of the network service " +
"descriptor.";
}
key "id";
ppree
committed
"Specifies nested NS Profile to be used for this NS DF.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
description
"Identifies an NS profile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf nsd-id {
mandatory true;
type leafref {
path "../../../../nsd/id";
ppree
committed
"References the NSD applicable to NS instantiated
according to this profile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
mandatory true;
type leafref {
path "deref(../nsd-id)/../df/id";
ppree
committed
"References the applicable network service DF within
the scope of the NSD.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
path "deref(../ns-df-id)/../ns-instantiation-level/id";
ppree
committed
"References the NS level within the referenced NS DF to
be used in the context of the parent NS instantiation.
If not present, the default NS instantiation level as
declared in the referenced NSD shall be used.";
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
type uint16;
default 1;
description
"Minimum number of nested NS instances based on the
referenced NSD that is permitted to exist for this
NsProfile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
type uint16;
default 1;
description
"Maximum number of nested NS instances based on the
referenced NSD that is permitted to exist for this
NsProfile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
uses ns-local-affinity-or-anti-affinity-rule;
leaf-list affinity-or-anti-affinity-group-id {
type leafref {
path "../../affinity-or-anti-affinity-group/id";
}
ppree
committed
"Reference(s) the affinity or anti-affinity group(s) the
NSs created according to this NsProfile belongs to.";
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
list virtual-link-connectivity {
key "virtual-link-profile-id";
leaf virtual-link-profile-id {
path "../../../virtual-link-profile/id";
"Reference an NS VL profile.";
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
list constituent-cpd-id {
key "constituent-base-element-id";
"Describes a connection point on a VNF/PNF or a SAP
which connects to virtual links instantiated from
the profile identified in the virtualLinkProfileId
attribute.";
"GS NFV IFA014: Section 6.3.7
NsVirtualLinkConnectivity information element";
leaf constituent-base-element-id {
description
"Reference to the profile of an NS constituent.";
reference
"GS NFV IFA014: Section 6.4.8
CpdInConstituentElement information element";
path "deref(../../../nsd-id)/../sapd/id";
"A reference to the descriptor of a connection point
attached to one of the constituent VNFs and PNFs or to
the descriptor of a NS SAP.";
"GS NFV IFA014: Section 6.4.4.2 CpdPool information
element";
list dependencies {
key "id";
description
"Specifies the order in which instances of the VNFs and/or
nested NSs have to be created.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
leaf id {
type string;
}
choice primary-id {
leaf primary-vnf-profile {
type leafref {
path "../../vnf-profile/vnfd-id";
}
leaf primary-ns-profile {
type leafref {
path "../../ns-profile/nsd-id";
}
}
"References a VnfProfile or NsProfile for
describing dependencies between VNF and/or
nested NS instances in terms of primary
entities.";
"GS NFV IFA014: Section 6.3.12.2 Dependencies
information element";
}
leaf secondary-vnf-profile {
type leafref {
path "../../vnf-profile/vnfd-id";
}
leaf secondary-ns-profile {
type leafref {
path "../../ns-profile/nsd-id";
"References a VnfProfile or NsProfile for
describing dependencies between VNF and/or
nested NS instances in terms of secondary
entities.";
reference
"GS NFV IFA014: Section 6.3.12.2 Dependencies
information element";
}
}
list monitored-info {
key "id";
leaf id {
type string;
}
container vnf-indicator-info {
leaf vnfd-id {
type leafref {
ppree
committed
"References a VNFD.";
"GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
mandatory true;
type leafref {
path "deref(../vnfd-id)/../nfv:indicator/nfv:id";
ppree
committed
"References a VNF indicator within the VNFD.";
"GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
description
"Uniquely identifies this VNF Indicator information
element.";
reference
"GS NFV IFA014: Section 6.2.6.2 MonitoredData
information element";
// monitoringParameter in IFA014 is defined by MonitoredData
// whereas monitoringParameter in IFA011 is defined by
// MonitoringParameter.
container monitoring-parameter {
description
"Unique identifier of this monitoring parameter
information element.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
leaf name {
type string;
"Human readable name of the monitoring parameter.";
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}
leaf performance-metric {
mandatory true;
type string;
description
"Defines the virtualised resource-related performance
metric.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
}
leaf collection-period {
type string;
description
"An attribute that describes the periodicity at
which to collect the performance information.";
reference
"GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
information element";
leaf priority {
type uint32;
description
"Specifies the priority for the NS instance.
The allowed range will be reasonably high. The 'zero'
value will express the highest priority and the fact
that the NS instance based on this DF cannot be
pre-empted during resource allocation.
Examples for the usage of priority include conflict
resolution in case of resource shortage.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}
leaf service-availability-level {
type uint32;
description
"If present, specifies the service availability level for
the NS instance created from this DF.
THE FOLLOWING STATEMENT IS SUBJECT TO CHANGE:
Either the serviceAvailabilityLevel attribute of NS DF or
the serviceAvailabilityLevel attribute of the NS
constituents of the NS may be provided, but not both.
When a SAL information is assigned to an NS, this
information does not apply to any constituents of type
‘nested NS’.";
reference
"GS NFV IFA014: Section 6.3.2.2 NsDf information element";
}