Newer
Older
leaf description {
type string;
description
"Provides a human readable description of the NS
scaling aspect.";
reference
"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";
description
"Identifier of Identifier of this
AffinityOrAntiAffinityGroup information element.";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
}
leaf affinity-type {
mandatory true;
description
"Specifies the type of relationship that the members of
the group have: 'affinity' or 'anti-affinity.'";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
}
leaf affinity-scope {
mandatory true;
description
"Specifies the scope of the affinity or anti-affinity
relationship e.g. a NFVI node, an NFVI PoP, etc.";
reference
"GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
information element";
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";
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";
description
"Identifies the profile to be used for a VNF
involved in an NS level.";
reference
"GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
information element";
}
leaf number-of-instances {
mandatory true;
type uint32;
description
"Specifies the number of VNF instances required for
an NS level.";
reference
"GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
information element";
list virtual-link-to-level-mapping {
key "virtual-link-profile-id";
description
"Specifies the profile of the VLs involved in this NS
level and, for each of them, the needed bandwidth.";
reference
"GS NFV IFA014: Section 6.3.9.2 NsLevel information
element";
leaf virtual-link-profile-id {
path "../../../virtual-link-profile/id";
description
"Identifies the profile to be used for a VL involved
in an NS level.";
reference
"GS NFV IFA014: Section 6.7.5.2
VirtualLinkToLevelMapping information element";
uses common: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 {
path "../../../ns-profile/id";
description
"Identifies the profile to be used for a nested NS
involved in the NS level.";
reference
"GS NFV IFA014: Section 6.7.6.2 NsToLevel information
element";
}
leaf number-of-instances {
mandatory true;
type uint32;
description
"Specifies the number of nested NS instances required
for the NS scale level.";
reference
"GS NFV IFA014: Section 6.7.6.2 NsToLevel information
element";
must "(count(vnf-to-level-mapping) + " +
"count(virtual-link-to-level-mapping) + " +
"count(ns-to-level-mapping)) > 0" {
error-message "At least one attribute between " +
"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
"Identifies 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";
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
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";
description
"Specifies a NS Profile supported by 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;
description
"Identifies the NSD applicable to NS instantiated
according to this profile.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
leaf ns-df-id {
mandatory true;
path "deref(../nsd-id)/../df/id";
description
"Identifies the applicable network service DF within
the scope of the NSD.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
leaf instantiation-level-id {
mandatory true;
path "deref(../ns-df-id)/../ns-instantiation-level/id";
description
"Identifies 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.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
leaf min-number-of-instances {
type uint16;
mandatory true;
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";
}
leaf max-number-of-instances {
type uint16;
mandatory true;
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";
list affinity-or-anti-affinity-group-id {
description
"Identifies an affinity or anti-affinity group the NSs
created according to this NsProfile belongs to.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
path "../../../affinity-or-anti-affinity-group/id";
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
list virtual-link-connectivity {
key "virtual-link-profile-id";
leaf virtual-link-profile-id {
type leafref {
path "../../../virtual-link-profile/id";
}
description
"Reference an NS VL profile.";
reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
}
leaf-list cpd-id {
type leafref {
path "deref(../../nsd-id)/../sapd/id";
}
description
"References the descriptor of a connection point on a
VNF/PNF or a SAP which connects to virtual links
instantiated from the profile identified in the
virtualLinkProfileId attribute.";
reference
"GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
information element.";
}
description
"Defines the connection information of the NS, it
contains connection relationship between an NS SAP and
a NS virtual Link of the composite NS.";
reference
"GS NFV IFA014: Section 6.3.11.2 NsProfile information
element";
}
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 primary-vnf-profile {
type leafref {
path "../../vnf-profile/vnfd-id";
}
}
leaf primary-ns-profile {
type leafref {
path "../../ns-profile/nsd-id";
description
"References a VnfProfile or NsProfile.";
reference
"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";
description
"References a VnfProfile or NsProfile.";
reference
"GS NFV IFA014: Section 6.3.12.2 Dependencies
information element";
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
list monitored-info {
key "id";
leaf id {
type string;
}
container vnf-indicator-info {
leaf vnfd-id {
type leafref {
path "/nfv/vnfd/id";
}
description
"Identifies a VNFD.";
reference
"GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
information element";
}
leaf vnf-indicator {
mandatory true;
type leafref {
path "deref(../vnfd-id)/../indicator/id";
}
description
"Identifies a VNF indicator within the VNFD.";
reference
"GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
information element";
}
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 {
leaf id {
type string;
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;
description
"Human readable name of the monitoring parameter.";
reference
"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";
}
}
}