etsi-nfv-ns.yang 50.9 KB
Newer Older
1001
                 the descriptor of a NS SAP.";
1002
              reference
1003
1004
                "GS NFV IFA014: Section 6.4.4.2 CpdPool information
                 element";
1005
1006
1007
            }
          }
        }
1008
      }
1009

1010
1011
      list virtual-link-profile {
        key "id";
1012

1013
1014
1015
1016
1017
1018
1019
        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;
1020
          description
1021
1022
            "Uniquely identifies this VirtualLinkProfile
             information element.";
1023
          reference
1024
1025
1026
            "GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
             information element";
        }
1027

1028
1029
1030
1031
        leaf virtual-link-desc-id {
          mandatory true;
          type leafref {
            path "../../../virtual-link-desc/id";
1032
          }
1033
1034
1035
1036
1037
1038
          description
            "Uniquely references a VLD.";
          reference
            "GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
             information element";
        }
1039

1040
1041
1042
1043
        leaf flavour-id {
          mandatory true;
          type leafref {
            path "deref(../virtual-link-desc-id)/../df/id";
1044
          }
1045
1046
1047
1048
1049
1050
          description
            "Identifies a flavour within the VLD.";
          reference
            "GS NFV IFA014: Section 6.3.2.2 VirtualLinkProfile
             information element";
        }
1051

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1052
        uses ns-local-affinity-or-anti-affinity-rule;
1053

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1054
1055
1056
1057
        leaf-list affinity-or-anti-affinity-group-id {
          type leafref {
            path "../../affinity-or-anti-affinity-group/id";
          }
1058
1059
1060
1061
1062
1063
1064
1065
          description
            "Identifies an affinity or anti-affinity group the
             VLs instantiated according to the VlProfile belong
             to.";
          reference
            "GS NFV IFA014: Section 6.3.4.2 VirtualLinkProfile
             information element";
        }
1066

1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
        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;
        }
      }
1086

1087
1088
      list scaling-aspect {
        key "id";
1089

1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
        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";
1104
1105
        }

1106
1107
1108
1109
1110
1111
1112
1113
1114
        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";
        }
1115

1116
1117
        leaf description {
          type string;
1118
          description
1119
1120
            "Provides a human readable description of the NS
             scaling aspect.";
1121
          reference
1122
1123
1124
            "GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
             information element";
        }
1125

1126
1127
1128
        leaf scaling-level {
          type leafref {
            path "../../ns-instantiation-level/id";
1129
          }
1130
1131
1132
1133
1134
1135
1136
          description
            "Describes the details of an NS level.";
          reference
            "GS NFV IFA014: Section 6.7.2.2 NsScalingAspect
             information element";
        }
      }
1137

1138
1139
      list affinity-or-anti-affinity-group {
        key "id";
1140

1141
1142
1143
1144
1145
1146
1147
1148
1149
        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";
1150

1151
1152
1153
1154
1155
1156
1157
1158
        leaf id {
          type string;
          description
            "Identifier of Identifier of this
             AffinityOrAntiAffinityGroup information element.";
          reference
            "GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
             information element";
1159
1160
        }

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1161
        leaf type {
1162
1163
1164
1165
1166
1167
1168
1169
1170
          mandatory true;
          type affinity-type;
          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";
        }
1171

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1172
        leaf scope {
1173
1174
          mandatory true;
          type affinity-scope;
1175
          description
1176
            "Specifies the scope of the affinity or anti-affinity
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1177
1178
             relationship e.g. a NFVI node, an NFVI PoP,
             network-link-and-node etc.";
1179
          reference
1180
1181
1182
1183
            "GS NFV IFA014: Section 6.3.5.2 AffinityOrAntiAffinity
             information element";
        }
      }
1184

1185
1186
1187
      list ns-instantiation-level {
        min-elements 1;
        key "id";
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
        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";
            }
1230
            description
1231
1232
              "Identifies the profile to be used for a VNF
               involved in an NS level.";
1233
            reference
1234
              "GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
1235
               information element";
1236
1237
          }

1238
1239
1240
          leaf number-of-instances {
            default 1;
            type uint32;
1241
            description
1242
1243
              "Specifies the number of VNF instances required for
               an NS level.";
1244
            reference
1245
              "GS NFV IFA014: Section 6.7.4.2 VnfToLevelMapping
1246
               information element";
1247
1248
1249
          }
        }

1250
1251
        list virtual-link-to-level-mapping {
          key "virtual-link-profile-id";
1252
1253

          description
1254
1255
            "Specifies the profile of the VLs involved in this NS
             level and, for each of them, the needed bandwidth.";
1256
          reference
1257
            "GS NFV IFA014: Section 6.3.9.2 NsLevel information
1258
1259
             element";

1260
1261
1262
1263
          leaf virtual-link-profile-id {
            type leafref {
              path "../../../virtual-link-profile/id";
            }
1264
            description
1265
1266
              "Identifies the profile to be used for a VL involved
               in an NS level.";
1267
            reference
1268
1269
              "GS NFV IFA014: Section 6.7.5.2
               VirtualLinkToLevelMapping information element";
1270
1271
          }

1272
1273
1274
1275
1276
          uses link-bitrate-requirements;
        }

        list ns-to-level-mapping {
          key "ns-profile-id";
1277

1278
1279
1280
1281
1282
1283
1284
          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";
1285

1286
1287
1288
1289
          leaf ns-profile-id {
            type leafref {
              path "../../../ns-profile/id";
            }
1290
            description
1291
1292
              "Identifies the profile to be used for a nested NS
               involved in the NS level.";
1293
            reference
1294
              "GS NFV IFA014: Section 6.7.6.2 NsToLevel information
1295
               element";
1296
1297
          }

1298
1299
1300
          leaf number-of-instances {
            default 1;
            type uint32;
1301
            description
1302
1303
              "Specifies the number of nested NS instances required
               for the NS scale level.";
1304
            reference
1305
              "GS NFV IFA014: Section 6.7.6.2 NsToLevel information
1306
               element";
1307
1308
          }
        }
1309

1310
1311
1312
1313
        must "(count(vnf-to-level-mapping) + " +
             "count(virtual-link-to-level-mapping) + " +
             "count(ns-to-level-mapping)) > 0" {
          error-message
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1314
            "At least one attribute between " +
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
            "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";
        }
      }
1327

1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
      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";
      }
1339

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
      container ns-lcm-additional-params {
        container instantiate {
          list params {
            key "key";

            leaf key {
              type string;
            }

            leaf value {
              type string;
            }
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1352
            description
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
              "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;
            }
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1373
            description
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
              "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;
            }
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1394
            description
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
              "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";
          }
        }
      }

1405
1406
1407
1408
1409
1410
1411
1412
      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
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1413
            "PNFDs in the profile has to be listed as a " +
1414
1415
1416
1417
            "dependency of the network service " +
            "descriptor.";
        }
        key "id";
1418

1419
1420
1421
1422
        description
          "Specifies a NS Profile supported by this NS DF.";
        reference
          "GS NFV IFA014: Section 6.3.2.2 NsDf information element";
1423

1424
1425
1426
1427
1428
1429
1430
1431
        leaf id {
          type string;
          description
            "Identifies an NS profile.";
          reference
            "GS NFV IFA014: Section 6.3.11.2 NsProfile information
             element";
        }
1432

1433
1434
1435
        leaf nsd-id {
          mandatory true;
          type leafref {
1436
            path "../../../../nsd/id";
1437
          }
1438
1439
1440
1441
1442
1443
1444
          description
            "Identifies the NSD applicable to NS instantiated
             according to this profile.";
          reference
            "GS NFV IFA014: Section 6.3.11.2 NsProfile information
             element";
        }
1445

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1446
        leaf ns-df-id {
1447
1448
1449
          mandatory true;
          type leafref {
            path "deref(../nsd-id)/../df/id";
1450
          }
1451
1452
1453
1454
1455
1456
          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";
1457
1458
        }

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1459
        leaf instantiation-level-id {
1460
          mandatory true;
1461
          type leafref {
1462
            path "deref(../ns-df-id)/../ns-instantiation-level/id";
1463
          }
1464
          description
1465
1466
1467
1468
            "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.";
1469
          reference
1470
1471
            "GS NFV IFA014: Section 6.3.11.2 NsProfile information
             element";
1472
1473
        }

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1474
        leaf min-number-of-instances {
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
          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";
        }

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1486
        leaf max-number-of-instances {
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
          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";
        }

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1498
1499
1500
1501
        leaf-list affinity-or-anti-affinity-group-id {
          type leafref {
            path "../../affinity-or-anti-affinity-group/id";
          }
1502
          description
1503
1504
            "Identifies an affinity or anti-affinity group the NSs
             created according to this NsProfile belongs to.";
1505
          reference
1506
1507
1508
1509
1510
1511
1512
1513
            "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 {
1514
            type leafref {
1515
              path "../../../virtual-link-profile/id";
1516
            }
1517
            description
1518
              "Reference an NS VL profile.";
1519
            reference
1520
1521
              "GS NFV IFA014: Section 6.3.7.2, NsVirutalLinkConnectivity
               information element.";
1522
          }
1523

1524
1525
          list constituent-cpd-id {
            key "constituent-base-element-id";
1526

1527
            description
1528
1529
1530
1531
              "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.";
1532
            reference
1533
1534
              "GS NFV IFA014: Section 6.3.7
               NsVirtualLinkConnectivity information element";
1535

1536
            leaf constituent-base-element-id {
1537
              type leafref {
1538
                path "../../../id";
1539
              }
1540
1541
1542
1543
1544
              description
                "Reference to the profile of an NS constituent.";
              reference
                "GS NFV IFA014: Section 6.4.8
                 CpdInConstituentElement information element";
1545
            }
1546

1547
            leaf constituent-cpd-id {
1548
              type leafref {
1549
                path "deref(../../../nsd-id)/../sapd/id";
1550
1551
              }
              description
1552
1553
1554
                "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.";
1555
              reference
1556
1557
                "GS NFV IFA014: Section 6.4.4.2 CpdPool information
                 element";
1558
            }
1559
1560
1561
          }
        }
      }
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1562

1563
1564
      list dependencies {
        key "id";
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1565

1566
1567
1568
1569
1570
        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";
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1571

1572
1573
1574
        leaf id {
          type string;
        }
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1575

1576
1577
1578
1579
        choice primary-id {
          leaf primary-vnf-profile {
            type leafref {
              path "../../vnf-profile/vnfd-id";
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1580
            }
1581
1582
1583
1584
1585
1586
          }
          leaf primary-ns-profile {
            type leafref {
              path "../../ns-profile/nsd-id";
            }
          }
1587
          description
1588
            "References a VnfProfile or NsProfile.";
1589
          reference
1590
1591
1592
            "GS NFV IFA014: Section 6.3.12.2 Dependencies
             information element";
        }
1593

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1594
        choice secondary-id {
1595
1596
1597
1598
          leaf secondary-vnf-profile {
            type leafref {
              path "../../vnf-profile/vnfd-id";
            }
1599
          }
1600
1601
1602
          leaf secondary-ns-profile {
            type leafref {
              path "../../ns-profile/nsd-id";
1603
            }
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
          }
          description
            "References a VnfProfile or NsProfile.";
          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 {
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1623
              path "/nfv:nfv/nfv:vnfd/nfv:id";
1624
            }
1625
            description
1626
              "Identifies a VNFD.";
1627
            reference
1628
              "GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
1629
               information element";
1630
          }
1631

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1632
          leaf vnf-indicator {
1633
1634
            mandatory true;
            type leafref {
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1635
              path "deref(../vnfd-id)/../nfv:indicator/nfv:id";
1636
            }
1637
            description
1638
              "Identifies a VNF indicator within the VNFD.";
1639
            reference
1640
              "GS NFV IFA014: Section 6.2.7.2 VnfIndicatorData
1641
               information element";
1642
          }
1643
1644
1645
1646
1647
1648
          description
            "Uniquely identifies this VNF Indicator information
             element.";
          reference
            "GS NFV IFA014: Section 6.2.6.2 MonitoredData
             information element";
1649
        }
1650

1651
1652
1653
1654
        // monitoringParameter in IFA014 is defined by MonitoredData
        // whereas monitoringParameter in IFA011 is defined by
        // MonitoringParameter.
        container monitoring-parameter {
1655
1656
          leaf id {
            type string;
1657
1658
1659
1660
1661
1662
            description
              "Unique identifier of this monitoring parameter
               information element.";
            reference
              "GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
               information element";
1663
1664
          }

1665
1666
          leaf name {
            type string;
1667
            description
1668
              "Human readable name of the monitoring parameter.";
1669
            reference
1670
              "GS NFV IFA014: Section 6.2.8.2 MonitoringParameter
1671
1672
1673
               information element";
          }

1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
          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";
          }
Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1684

1685
1686
1687
1688
1689
1690
1691
1692
          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";
1693
          }
1694
        }
1695
      }
1696

Mahesh Jethanandani's avatar
Mahesh Jethanandani committed
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
      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";
      }
1714
    }
1715
    uses security-parameters;
1716
1717
  }
}
For faster browsing, not all history is shown. View entire blame