SOL005NSLifecycleManagement_def.yaml 270 KB
Newer Older
1001

1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
  NsMonitoringParameter:
    description: >
      This type represents a monitoring parameter that is tracked by the NFVO, for example, 
      for auto-scaling purposes. It shall comply with the provisions defined in Table 6.5.3.68-1.
    type: object
    required:
      - id
      - performanceMetric
    properties:
      id:
        description: >
          Identifier of the monitoring parameter defined in the NSD.
1014
        $ref: "#/definitions/IdentifierInNsd"
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
      name:
        description: >
          Human readable name of the monitoring parameter, as defined in the NSD.
        type: string
      performanceMetric:
        description: >
          Performance metric that is monitored. This attribute shall contain the related 
          "Measurement Name" value as defined in clause 7.2 of ETSI GS NFV-IFA 027.
        type: string

1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
  VnfMonitoringParameter:
    description: >
      This type represents a monitoring parameter that is tracked by the VNFM, for example, 
      for auto-scaling purposes. It shall comply with the provisions defined in Table 6.5.3.69-1.
    type: object
    required:
      - id
      - performanceMetric
    properties:
      id:
        description: >
          Identifier of the monitoring parameter defined in the VNFD.
1037
        $ref: "#/definitions/IdentifierInNsd"
1038
1039
1040
1041
1042
1043
      vnfdId:
        description: >
          Identifier of the VNFD.
          Shall be present in case the value differs from the vnfdId attribute of the VnfInstance (e.g. during a
          "Change current VNF package" operation or due to its final failure).
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
      name:
        description: >
          Human readable name of the monitoring parameter, as defined in the VNFD.
        type: string
      performanceMetric:
        description: >
          Performance metric that is monitored. This attribute shall contain the related 
          "Measurement Name" value as defined in clause 7.2 of ETSI GS NFV-IFA 027.
        type: string

1054
1055
1056
1057
  VnfExtCpInfo:
    description: >
      This type represents information about an external CP of a VNF. It shall comply 
      with the provisions defined in Table 6.5.3.70-1.
piscione's avatar
piscione committed
1058
1059
1060
1061
1062
      NOTE 1:	The attributes "associatedVnfcCpId", "associatedVipCpId" and
      "associatedVnfVirtualLinkId" are mutually exclusive. Exactly one shall be present.
      NOTE 2:	An external CP instance is not associated to a link
      port in the cases indicated for the “extLinkPorts” attribute in clause 6.5.3.26.

1063
1064
1065
1066
    type: object
    required:
      - id
      - cpdId
1067
    oneOf:
1068
1069
1070
1071
      - required:
        - associatedVnfcCpId
      - required:
        - associatedVnfVirtualLinkId
1072
1073
1074
1075
    properties:
      id:
        description: >
          Identifier of the external CP instance and the related information instance.
1076
        $ref: "#/definitions/IdentifierInVnf"
1077
1078
1079
      cpdId:
        description: >
          Identifier of the external CPD, VnfExtCpd, in the VNFD.
1080
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
      cpConfigId:
        description: >
          Identifier that references the applied "VnfExtCpConfig" entry in the "cpConfig"
          map of the "currentVnfExtCpData" in the "ExtVirtualLinkInfo" structure.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
      vnfdId:
        description: >
          Identifier of the VNFD.
          Shall be present in case the value differs from the vnfdId attribute of the
          VnfInstance (e.g. during a "Change current VNF package" operation or due to
          its final failure).
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1093
1094
1095
1096
1097
1098
      cpProtocolInfo:
        description: >
          Network protocol information for this CP.
        type: array
        minItems: 1
        items:
1099
          $ref: "#/definitions/CpProtocolInfo"
1100
1101
1102
1103
      extLinkPortId:
        description: >
          Identifier of the "extLinkPortInfo" structure inside the "extVirtualLinkInfo" 
          structure. Shall be present if the CP is associated to a link port.
piscione's avatar
piscione committed
1104
          See note 2.
1105
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1106
1107
1108
      metadata:
        description: >
          Metadata about this external CP.
1109
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
1110
1111
      associatedVnfcCpId:
        description: >
1112
1113
1114
1115
1116
1117
1118
          Identifier of the "vnfcCpInfo" structure in "VnfcResourceInfo" structure that
          represents the VNFC CP which is exposed by this external CP instance, either
          directly or via a floating IP address. Shall be present in case this CP instance
          maps to a VNFC CP.
          The attributes "associatedVnfcCpId", "associatedVipCpId" and "associatedVnfVirtualLinkId"
          are mutually exclusive. Exactly one shall be present.
        $ref: "#/definitions/IdentifierInVnf"
piscione's avatar
piscione committed
1119
1120
1121
1122
1123
1124
1125
      associatedVipCpId:
        description: >
          Identifier of the VIP CP instance that is exposed as this VnfExtCp instance, either
          directly or via a floating IP address, and the related "VipCpInfo" structure
          in "VnfInstance". Shall be present if the cpdId of this VnfExtCp has a vipCpd
          attribute. See note 1.
        $ref: "#/definitions/IdentifierInVnf"
1126
1127
1128
      associatedVnfVirtualLinkId:
        description: >
          Identifier of the "VnfVirtualLinkResourceInfo" structure that represents 
1129
1130
1131
1132
1133
1134
1135
          the internal VL or of the "ExtManagedVirtualLinkInfo" structure that represents
          the externally-managed internal VL, which is exposed by this external CP instance.
          Shall be present in case this CP instance maps to an internal VL (including
          externally-managed internal VL).
          The attributes "associatedVnfcCpId", "associatedVipCpId" and
          "associatedVnfVirtualLinkId" are mutually exclusive. Exactly one shall be present.
        $ref: "#/definitions/IdentifierInVnf"
1136

1137
1138
1139
1140
1141
  CpGroupInfo:
    description: >
      This type represents describes a group of CPs and/or SAPs pairs associated to 
      the same position in an NFP. It shall comply with the provisions defined in 
      Table 6.5.3.71-1.
piscione's avatar
piscione committed
1142
1143
1144
      NOTE:	All CP or SAP pairs in a group shall be instantiated from connection
      point descriptors or service access point descriptors referenced in the corresponding
      NfpPositionDesc.
1145
1146
1147
1148
1149
1150
1151
1152
    type: object
    properties:
      cpPairInfo:
        description: >
          One or more pair(s) of ingress and egress CPs or SAPs which the NFP passes by.
          All CP or SAP pairs in a group shall be instantiated from connection point 
          descriptors or service access point descriptors referenced in the corresponding 
          NfpPositionDesc.
piscione's avatar
piscione committed
1153
1154

          See note.
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
        type: array
        minItems: 1
        items:
          $ref: "#/definitions/CpPairInfo"
      forwardingBehaviour:
        description: >
          Identifies a rule to apply to forward traffic to the ingress CPs or SAPs of 
          the group.
          Permitted values:
          * ALL = Traffic flows shall be forwarded simultaneously to all CPs or SAPs 
          of the group.
          * LB = Traffic flows shall be forwarded to one CP or SAP of the group selected 
          based on a loadbalancing algorithm.
        type: string
        enum:
          - ALL
          - LB
      forwardingBehaviourInputParameters:
        description: >
          Provides input parameters to configure the forwarding behaviour (e.g. identifies 
          a load balancing algorithm and criteria).
        $ref: "#/definitions/ForwardingBehaviourInputParameters"

1178
  CpPairInfo:
1179
1180
1181
    description: >
      This type represents describes a pair of ingress and egress CPs or SAPs which 
      the NFP passes by. It shall comply with the provisions defined in Table 6.5.3.72-1.
piscione's avatar
piscione committed
1182
1183
1184

      NOTE 1:	The presence of a single vnfExpCpId, pnfExtCpId, or sapId occurrence indicates that the CP or SAP is used both as an ingress and egress port at a particular NFP position.
      NOTE 2:	Only one of these three attributes shall be present.
1185
1186
1187
1188
1189
    type: object
    properties:
      vnfExtCpIds:
        description: >
          Identifier(s) of the VNF CP(s) which form the pair.
piscione's avatar
piscione committed
1190
1191

          See note 1 and note 2.
1192
1193
1194
        type: array
        maxItems: 2
        items:
1195
          $ref: "#/definitions/IdentifierInVnf"
1196
1197
1198
      pnfExtCpIds:
        description: >
          Identifier(s) of the PNF CP(s) which form the pair.
piscione's avatar
piscione committed
1199
1200

          See note 1 and note 2.
1201
1202
1203
        type: array
        maxItems: 2
        items:
1204
          $ref: "#/definitions/IdentifierInPnf"
1205
1206
1207
      sapIds:
        description: >
          Identifier(s) of the SAP(s) which form the pair.
piscione's avatar
piscione committed
1208
1209

          See note 1 and note 2.
1210
1211
1212
        type: array
        maxItems: 2
        items:
1213
          $ref: "#/definitions/IdentifierInNs"
1214

1215
1216
1217
1218
  ForwardingBehaviourInputParameters:
    description: >
      This type represents provides input parameters to configure the forwarding behaviour. 
      It shall comply with the provisions defined in Table 6.5.3.73-1.
piscione's avatar
piscione committed
1219
1220
      NOTE 1:	If applicable to the algorithm but not provided, default values determined by the VIM or NFVI are expected to be used.
      NOTE 2:	Weight applies to the CP instances in the order they have been created.
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
    type: object
    properties:
      algortihmName:
        description: >
          May be included if forwarding behaviour is equal to LB. Shall not be included otherwise.
          Permitted values:
          * ROUND_ROBIN
          * LEAST_CONNECTION
          * LEAST_TRAFFIC
          * LEAST_RESPONSE_TIME
          * CHAINED_FAILOVER
          * SOURCE_IP_HASH
          * SOURCE_MAC_HASH
        type: string
        enum:
          - ROUND_ROBIN
          - LEAST_CONNECTION
          - LEAST_TRAFFIC
          - LEAST_RESPONSE_TIME
          - CHAINED_FAILOVER
          - SOURCE_IP_HASH
1242
          - SOURCE_MAC_HASH
1243
1244
1245
1246
      algorithmWeights:
        description: >
          Percentage of messages sent to a CP instance. May be included if applicable to 
          the algorithm.
piscione's avatar
piscione committed
1247
          See note 1 and note 2.
1248
1249
1250
1251
        type: array
        items:
          type: integer

1252
1253
1254
1255
  CpProtocolInfo:
    description: >
      This type describes the protocol layer(s) that a CP or SAP uses together with protocol-related information, like
      addresses. It shall comply with the provisions defined in Table 6.5.3.58-1.
piscione's avatar
piscione committed
1256
1257
1258
      NOTE:	This attribute allows to signal the addition of further types of layer and
      protocol in future versions of the present document in a backwards-compatible way.
      In the current version of the present document, only IP over Ethernet is supported.
1259
1260
1261
1262
1263
1264
1265
1266
1267
    type: object
    required:
      - layerProtocol
      - ipOverEthernet
    properties:
      layerProtocol:
        description: >
          The identifier of layer(s) and protocol(s)
          associated to the network address information.
1268
1269
1270
1271
          Permitted values:
            - IP_OVER_ETHERNET

          See note.
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
        type: string
        enum:
          - IP_OVER_ETHERNET
      ipOverEthernet:
        description: >
          IP addresses over Ethernet to assign to the CP
          or SAP instance. Shall be present if
          layerProtocol is equal to "
          IP_OVER_ETHERNET", and shall be absent otherwise.
        $ref: "#/definitions/IpOverEthernetAddressInfo"

  IpOverEthernetAddressInfo:
1284
1285
    description: >
      This type represents information about a network address that has been assigned.
piscione's avatar
piscione committed
1286
1287
1288
1289
1290
1291
1292
1293
1294

      NOTE 1:	At least one of "macAddress" or "ipAddresses" shall be present.
      NOTE 2:	Exactly one of "addresses" or "addressRange" shall be present.
      NOTE 3:	If the Cp instance represents a subport in a trunk, "segmentationId" shall be present. Otherwise it shall not be present.
      NOTE 4:	Depending on the NFVI networking infrastructure, the "segmentationId" may indicate the actual network segment value
      (e.g. vlan Id, Vxlan segmentation id, etc.) used in the transport header of the packets or it may be an identifier
      used between the application and the NFVI networking infrastructure to identify the network sub-interface
      of the trunk port in question. In the latter case the NFVI infrastructure will map this local
      "segmentationId" to whatever "segmentationId" is actually used by the NFVI's transport technology.
1295
    type: object
1296
1297
1298
1299
1300
    anyOf:
      - required:
        - macAddress
      - required:
        - ipAddresses
1301
1302
1303
1304
    properties:
      macAddress:
        description: >
          Assigned MAC address.
piscione's avatar
piscione committed
1305
1306

          See note 1.
1307
        $ref: "#/definitions/MacAddress"
1308
1309
1310
      segmentationId:
        description: >
          Identification of the network segment to which the Cp instance connects to.
piscione's avatar
piscione committed
1311
          See note 3 and note 4.
1312
        type: string
1313
1314
1315
1316
1317
      ipAddresses:
        description: >
          Addresses assigned to the CP instance. Each entry represents IP
          addresses assigned by fixed or dynamic IP address assignment per
          subnet.
piscione's avatar
piscione committed
1318
          See note 1.
1319
1320
1321
1322
1323
        type: array
        items:
          type: object
          required:
            - type
1324
1325
1326
1327
1328
          oneOf:
            - required:
                - addresses
            - required:
                - addressRange
1329
1330
1331
1332
          properties:
            type:
              description: >
                The type of the IP addresses.
1333
1334
1335
                Permitted values:
                - IPV4
                - IPV6
1336
1337
1338
1339
1340
1341
1342
1343
              type: string
              enum:
                - IPV4
                - IPV6
            addresses:
              description: >
                Fixed addresses assigned (from the subnet defined by
                "subnetId" if provided).
piscione's avatar
piscione committed
1344
                See note 2.
1345
1346
              type: array
              items:
1347
                $ref: "#/definitions/IpAddress"
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
            isDynamic:
              description: >
                Indicates whether this set of addresses was assigned
                dynamically (true) or based on address information provided as
                input from the API consumer (false). Shall be present if
                "addresses" is present and shall be absent otherwise.
              type: boolean
            addressRange:
              description: >
                An IP address range used, e.g., in case of egress connections.
                Exactly one of "addresses" or "addressRange" shall be present.
piscione's avatar
piscione committed
1359
                See note 2.
1360
1361
1362
1363
1364
1365
1366
1367
              type: object
              required:
                - minAddress
                - maxAddress
              properties:
                minAddress:
                  description: >
                    Lowest IP address belonging to the range.
1368
                  $ref: "#/definitions/IpAddress"
1369
1370
1371
                maxAddress:
                  description: >
                    Highest IP address belonging to the range
1372
                  $ref: "#/definitions/IpAddress"
1373
1374
1375
1376
1377
1378
            subnetId:
              description: >
                Subnet defined by the identifier of the subnet resource in
                the VIM.
                In case this attribute is present, IP addresses are bound
                to that subnet.
1379
              $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVim"
Samir Medjiah's avatar
Samir Medjiah committed
1380
1381


1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
      type:
        description: >
          The type of the IP addresses
        type: string
        enum:
          - PV4
          - PV6
      addresses:
        description: >
          Fixed addresses assigned (from the subnet
          defined by "subnetId" if provided). See note.
        type: array
        items:
1395
        $ref: "#/definitions/IpAddress"
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
      isDynamic:
        description: >
          Indicates whether this set of addresses was
          assigned dynamically (true) or based on address
          information provided as input from the API
          consumer (false). Shall be present if "addresses"
          is present and shall be absent otherwise.
        type: boolean
      addressRange:
        description: >
          An IP address range used, e.g. in case of egress
          connections. See note.
        type: object
        required:
          - minAddress
          - maxAddress
        properties:
          minAddress:
            description: >
              Lowest IP address belonging to the range.
1416
            $ref: "#/definitions/IpAddress"
1417
1418
1419
          maxAddress:
            description: >
              Highest IP address belonging to the range
1420
            $ref: "#/definitions/IpAddress"
1421
1422
1423
      minAddress:
        description: >
          Lowest IP address belonging to the range
1424
        $ref: "#/definitions/IpAddress"
1425
1426
1427
      maxAddress:
        description: >
          Highest IP address belonging to the range.
1428
        $ref: "#/definitions/IpAddress"
1429
1430
1431
1432
1433
1434
      subnetId:
        description: >
          Subnet defined by the identifier of the subnet
          resource in the VIM.
          In case this attribute is present, IP addresses
          are bound to that subnet.
1435
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVim"
1436

1437
1438
1439
1440
1441
1442
1443
  ExtVirtualLinkInfo:
    type: object
    required:
      - id
      - resourceHandle
    properties:
      id:
1444
1445
1446
1447
1448
        description: >
          Identifier of the external VL and the related external VL
          information instance.
          The identifier is assigned by the NFV-MANO entity that manages this
          VL instance.
1449
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1450
1451
1452
      resourceHandle:
        description: >
          Reference to the resource realizing this VL.
1453
        $ref: "../../definitions/SOL005_def.yaml#/definitions/ResourceHandle"
1454
1455
1456
1457
1458
1459
      extLinkPorts:
        description: >
          Link ports of this VL.
        type: array
        items:
          $ref: "#/definitions/ExtLinkPortInfo"
1460
1461
1462
1463
1464
1465
      currentVnfExtCpData:
        description: >
          Allows the API consumer to read the current CP configuration information
          for the connection of external CPs to the external virtual link, as
          specified in clause 5.5.3.2 of ETSI GS NFV-SOL 003.
        $ref: "#/definitions/VnfExtCpData"
1466
1467
1468
1469

  ExtLinkPortInfo:
    description: >
      This type represents information about a link port of an external VL,
piscione's avatar
piscione committed
1470
1471
1472
1473
1474
      i.e. a port providing connectivity for the VNF to an NS VL.
      NOTE 1:	The use cases UC#4 and UC#5 in Annex A.4 of ETSI GS NFV-IFA 007
      provide examples for such a configuration.
      NOTE 2:	The value of "trunkResourceId" is scoped by the value of
      "vimConnectionId" in the "resourceHandle" attribute.
1475
1476
1477
1478
1479
1480
1481
1482
1483
    type: object
    required:
      - id
      - resourceHandle
    properties:
      id:
        description: >
          Identifier of this link port as provided by the entity that has
          created the link port.
1484
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1485
1486
1487
      resourceHandle:
        description: >
          Reference to the virtualised resource realizing this link port.
1488
        $ref: "../../definitions/SOL005_def.yaml#/definitions/ResourceHandle"
1489
1490
1491
1492
1493
1494
      cpInstanceId:
        description: >
          Identifier of the external CP of the VNF connected to this link
          port. There shall be at most one link port associated with any
          external connection point instance. The value refers to an
          "extCpInfo" item in the VnfInstance.
1495
        $ref: "#/definitions/IdentifierInVnf"
1496
1497
1498
1499
1500
1501
      secondaryCpInstanceId:
        description: >
          Additional external CP of the VNF connected to this link port.
          If present, this attribute shall refer to a "secondary" ExtCpInfo item in the VNF instance that exposes
          a virtual IP CP instance which shares this linkport with the external CP instance referenced by the
          "cpInstanceId" attribute.
piscione's avatar
piscione committed
1502
1503

          See note 1.
1504
1505
1506
1507
1508
1509
        $ref: "#/definitions/IdentifierInVnf"
      trunkResourceId:
        description: >
          Identifier of the trunk resource in the VIM.
          Shall be present if the present link port corresponds to the parent port that the trunk resource is associated
          with.
piscione's avatar
piscione committed
1510
1511

          See note 2.
1512
        $ref: "#/definitions/IdentifierInVim"
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525

  ExtManagedVirtualLinkInfo:
    type: object
    required:
      - id
      - vnfVirtualLinkDescId
    properties:
      id:
        description: >
          Identifier of the externally-managed internal VL and the related
          externally-managed VL information instance.
          The identifier is assigned by the NFV-MANO entity that manages this
          VL instance.
1526
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1527
1528
1529
1530
1531
1532
      vnfdId:
        description: >
          Identifier of the VNFD.
          Shall be present in case the value differs from the vnfdId attribute of the VnfInstance (e.g. during a
          "Change current VNF package" operation or due to its final failure).
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1533
1534
1535
      vnfVirtualLinkDescId:
        description: >
          Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.
1536
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
1537
1538
      networkResource:
        description: >
1539
          Reference to the VirtualNetwork resource or multi-site connectivity service providing this VL.
1540
        $ref: "../../definitions/SOL005_def.yaml#/definitions/ResourceHandle"
1541
1542
1543
1544
1545
1546
      vnfLinkPorts:
        description: >
          Link ports of this VL.
        type: array
        items:
          $ref: "#/definitions/VnfLinkPortInfo"
1547
1548
1549
1550
1551
1552
1553
1554
      extManagedMultisiteVirtualLinkId:
        description: >
          Identifier of the externally-managed multi-site VL instance. The identifier is assigned by the NFV-MANO entity
          that manages the externally managed multi-site VL instance. It shall be present when the present externally-managed
          internal VL is part of a multi-site VL, e.g., in support of multi-site VNF spanning several VIMs.
          All externally-managed internal VL instances corresponding to an internal VL created based on the same virtualLinkDescId
          shall refer to the same extManagedMultisiteVirtualLinkId.
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1555
1556
1557

  VnfLinkPortInfo:
    type: object
piscione's avatar
piscione committed
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
    description: >
      This type represents a link port of an internal VL of a VNF.
      It shall comply with the provisions defined in table 6.5.3.64-1.
      NOTE 1:	Either cpInstanceId with cpInstanceType set to "EXT_CP"
      or any combination of cpInstanceId with cpInstanceType set to "VNFC_CP"
      and vipCpInstanceId (i.e. one or both of them) shall be present
      for a VnfLinkPortInfo. In case both cpInstanceId with cpInstanceType.
      NOTE 2:	Annex A.4 of ETSI GS NFV-IFA 007 [19] provides examples for
      configurations where both vipCpInstanceId and vnfcCpInstanceId are
      present (UC#5 and UC#5-b), only vnfcCpInstanceId is present (UC#2),
      or only vipCpInstanceId is present (UC#6 and UC#6-b).
      NOTE 3:	The value of "trunkResourceId" is scoped by the value of
      "vimConnectionId" in the "resourceHandle" attribute.
1571
1572
1573
1574
1575
1576
1577
    required:
      - id
      - resourceHandle
    properties:
      id:
        description: >
          Identifier of this link port as provided by the entity that has created the link port.
1578
        $ref: "#/definitions/IdentifierInVnf"
1579
1580
      resourceHandle:
        description: >
1581
          Reference to the virtualised resource realizing this link port.
1582
        $ref: "../../definitions/SOL005_def.yaml#/definitions/ResourceHandle"
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
      cpInstanceId:
        description: >
          When the link port is used for external connectivity by the VNF,
          this attribute represents the identifier of the external CP of the
          VNF to be connected to this link port.
          When the link port is used for internal connectivity in the VNF,
          this attribute represents the VNFC CP to be connected to this link
          port.
          Shall be present when the link port is used for external
          connectivity by the VNF.
          may be present if used to reference a VNFC CP instance.
          There shall be at most one link port associated with any external
          connection point instance or internal connection point
          (i.e. VNFC CP) instance.
          The value refers to an "extCpInfo" item in the VnfInstance or a
          "vnfcCpInfo" item of a "vnfcResouceInfo" item in the VnfInstance.
piscione's avatar
piscione committed
1599
          See note 1.
1600
        $ref: "#/definitions/IdentifierInVnf"
1601
1602
1603
1604
1605
1606
1607
1608
      cpInstanceType:
        description: >
          Type of the CP instance that is identified by cpInstanceId.
          Shall be present if "cpInstanceId" is present, and shall be
          absent otherwise.
          Permitted values:
          * VNFC_CP: The link port is connected to a VNFC CP
          * EXT_CP: The link port is associated to an external CP.
piscione's avatar
piscione committed
1609
          See note 1.
1610
1611
1612
1613
        type: string
        enum:
          - VNFC_CP
          - EXT_CP
1614
1615
1616
      vipCpInstanceId:
        description: >
          VIP CP instance of the VNF connected to this link port. May be present.
piscione's avatar
piscione committed
1617
          See notes 1 and 2.
1618
1619
1620
1621
1622
1623
        $ref: "#/definitions/IdentifierInVnf"
      trunkResourceId:
        description: >
          Identifier of the trunk resource in the VIM.
          Shall be present if the present link port corresponds to the parent port that the trunk resource
          is associated with.
piscione's avatar
piscione committed
1624
          See note 3.
1625
        $ref: "#/definitions/IdentifierInVim"
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636

  MonitoringParameter:
    type: object
    required:
      - id
      - value
      - timeStamp
    properties:
      id:
        description: >
          Identifier of the monitoring parameter defined in the VNFD.
1637
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
1638
1639
1640
1641
1642
1643
1644
      name:
        description: >
          Human readable name of the monitoring parameter, as defined in the VNFD.
        type: string
      value:
        description: >
          Value of the monitoring parameter known to the VNFM (e.g. obtained
1645
          for auto-scaling purposes).
1646
1647
1648
1649
          The type of the "value" attribute (i.e. scalar, structure (Object in
          JSON), or array (of scalars, arrays or structures/Objects)) is
          assumed to be defined in an external measurement specification.
        type: object
1650
1651
1652
1653
1654
1655
      timeStamp:
        description: >
          Represents the point in time when the measurement has been performed,
          as known to the VNFM.
          Should be formatted according to ETF RFC 3339.
        type: string
1656
1657
1658
1659
1660

  VnfcResourceInfo:
    description: >
      This type represents the information on virtualised compute and storage
      resources used by a VNFC in a VNF instance.
piscione's avatar
piscione committed
1661
1662
1663
1664
1665
1666
1667
1668
      NOTE 1:	ETSI GS NFV-SOL 001 (Available at
      https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/001/03.03.01_60/gs_NFV-SOL001v030301p.pdf)
      specifies the structure and format of the VNFD based on TOSCA specifications.
      NOTE 2:	A VNFC CP is "connected to" an external CP if the VNFC CP
      is connected to an internal VL that exposes an external CP. A VNFC CP
      is "exposed as" an external CP if it is connected directly to an external VL.
      NOTE 3:	The information can be omitted because it is already available
      as part of the external CP information. 
1669
1670
1671
1672
1673
1674
1675
1676
1677
    type: object
    required:
      - id
      - vduId
      - computeResource
    properties:
      id:
        description: >
          Identifier of this VnfcResourceInfo instance.
1678
        $ref: "#/definitions/IdentifierInVnf"
1679
1680
1681
1682
1683
1684
      vnfdId:
        description: >
          Identifier of the VNFD.
          Shall be present in case the value differs from the vnfdId attribute of the VnfInstance (e.g. during a
          "Change current VNF package" operation or due to its final failure).
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1685
1686
      vduId:
        description: >
piscione's avatar
piscione committed
1687
          Reference to the applicable VDU in the VNFD. See note 1.
1688
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
1689
1690
1691
      computeResource:
        description: >
          Reference to the VirtualCompute resource.
1692
        $ref: "../../definitions/SOL005_def.yaml#/definitions/ResourceHandle"
1693
1694
1695
1696
1697
1698
      storageResourceIds:
        description: >
          References to the VirtualStorage resources. The value refers to a
          VirtualStorageResourceInfo item in the VnfInstance.
        type: array
        items:
1699
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1700
1701
1702
1703
      reservationId:
        description: >
          The reservation identifier applicable to the resource. It shall be
          present when an applicable reservation exists.
1704
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1705
1706
1707
1708
      vnfcCpInfo:
        description: >
          CPs of the VNFC instance.
          Shall be present when that particular CP of the VNFC instance is
1709
          exposed as an external CP of the VNF instance or is connected to
piscione's avatar
piscione committed
1710
1711
          an external CP of the VNF instance.See note 2.
          May be present otherwise.
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
        type: array
        items:
          type: object
          required:
            - id
            - cpdId
          properties:
            id:
              description: >
                Identifier of this VNFC CP instance and the associated array
                entry.
1723
              $ref: "#/definitions/IdentifierInVnf"
1724
1725
            cpdId:
              description: >
piscione's avatar
piscione committed
1726
                Identifier of the VDU CPD, cpdId, in the VNFD. See note 1.
1727
              $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
1728
1729
            vnfExtCpId:
              description: >
piscione's avatar
piscione committed
1730
1731
1732
1733
                Identifier of the related external CP. Shall be present when
                the VNFC CP is exposed as an external CP of the VNF instance
                or connected to an external CP of the VNF instance (see note 2)
                and shall be absent otherwise.
1734
              $ref: "#/definitions/IdentifierInVnf"
1735
1736
1737
            cpProtocolInfo:
              description: >
                Network protocol information for this CP.
1738
                May be omitted if the VNFC CP is exposed as an external CP.
piscione's avatar
piscione committed
1739
                See note 3.
1740
1741
1742
              type: array
              items:
                $ref: "#/definitions/CpProtocolInfo"
1743
1744
1745
1746
1747
1748
1749
            parentCpId:
              description: >
                Identifier of another VNFC CP instance that corresponds to the parent port of a trunk that the present VNFC
                CP instance participates in.
                Shall be provided if the present CP instance participates in a trunk as subport, and the referred VNFC
                CP instances are also present in the vnfcCpInfo attribute.
              $ref: "#/definitions/IdentifierInVnf"
1750
1751
            vnfLinkPortId:
              description: >
1752
1753
1754
                Identifier of the "vnfLinkPorts" structure in the "VnfVirtualLinkResourceInfo" or "ExtManagedVirtualLinkInfo"
                structure. Shall be present if the CP is associated to a link port on an internal VL (including
                externally-managed internal VL) of the VNF instance and shall be absent otherwise.
1755
              $ref: "#/definitions/IdentifierInVnf"
1756
1757
1758
            metadata:
              description: >
                Metadata about this CP.
1759
              $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
1760
1761
1762
      metadata:
        description: >
          Metadata about this resource.
1763
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
1764
1765

  VnfVirtualLinkResourceInfo:
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
    description: >
      This type represents the information that allows addressing a virtualised
      resource that is used by an internal VL instance in a VNF instance.
    type: object
    required:
      - id
      - vnfVirtualLinkDescId
      - networkResource
    properties:
      id:
        description: >
          Identifier of this VnfVirtualLinkResourceInfo instance.
1778
        $ref: "#/definitions/IdentifierInVnf"
1779
1780
1781
1782
1783
1784
      vnfdId:
        description: >
          Identifier of the VNFD.
          Shall be present in case the value differs from the vnfdId attribute of the VnfInstance (e.g. during a
          "Change current VNF package" operation or due to its final failure).
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1785
1786
1787
      vnfVirtualLinkDescId:
        description: >
          Identifier of the VNF Virtual Link Descriptor (VLD) in the VNFD.
1788
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
1789
1790
1791
      networkResource:
        description: >
          Reference to the VirtualNetwork resource.
1792
        $ref: "../../definitions/SOL005_def.yaml#/definitions/ResourceHandle"
1793
1794
1795
1796
      reservationId:
        description: >
          The reservation identifier applicable to the resource. It shall be
          present when an applicable reservation exists.
1797
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
      vnfLinkPorts:
        description: >
          Links ports of this VL.
          Shall be present when the linkPort is used for external connectivity
          by the VNF (refer to VnfLinkPortInfo).
          May be present otherwise.
        type: array
        items:
          $ref: "#/definitions/VnfLinkPortInfo"
      metadata:
        description: >
          Metadata about this resource.
1810
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
1811

1812
  VirtualStorageResourceInfo:
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
    description: >
      This type represents the information that allows addressing a virtualised
      resource that is used by a VNF instance.
    type: object
    required:
      - id
      - virtualStorageDescId
      - storageResource
    properties:
      id:
        description: >
          Identifier of this VirtualStorageResourceInfo instance.
1825
        $ref: "#/definitions/IdentifierInVnf"
1826
1827
1828
      virtualStorageDescId:
        description: >
          Identifier of the VirtualStorageDesc in the VNFD.
1829
        $ref: "../../definitions/SOL005_def.yaml#/definitions/IdentifierInVnfd"
1830
1831
1832
1833
1834
1835
      vnfdId:
        description: >
          Identifier of the VNFD.
          Shall be present in case the value differs from the vnfdId attribute of the VnfInstance
          (e.g. during a "Change current VNF package" operation or due to its final failure).
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1836
1837
1838
      storageResource:
        description: >
          Reference to the VirtualStorage resource.
1839
        $ref: "../../definitions/SOL005_def.yaml#/definitions/ResourceHandle"
1840
1841
1842
1843
      reservationId:
        description: >
          The reservation identifier applicable to the resource. It shall be
          present when an applicable reservation exists.
1844
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1845
1846
1847
      metadata:
        description: >
          Metadata about this resource.
1848
        $ref: "../../definitions/SOL005_def.yaml#/definitions/KeyValuePairs"
1849

1850
  NsLinkPortInfo:
1851
1852
1853
    description: >
      This type represents information about a link port of a VL instance.
      It shall comply with the provisions defined in Table 6.5.3.55-1.
piscione's avatar
piscione committed
1854
1855
1856
      NOTE:	When the NsVirtualLink, from which the present NsLinkPort is part of,
      is provided as an ExtVirtualLink as input of a VNF LCM operation, the id
      of the ExtLinkPort shall be the same as the corresponding NsLinkPort.
1857
1858
1859
1860
1861
1862
1863
1864
1865
    type: object
    required:
      - id
      - resourceHandle
    properties:
      id:
        description: >
          Identifier of this link port as provided by the entity that
          has created the link port.
1866
        $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1867
1868
      resourceHandle:
        description: >
1869
          Identifier of the virtualised resource realizing
1870
          this link port.
1871
        $ref: "../../definitions/SOL005_def.yaml#/definitions/ResourceHandle"
1872
1873
1874
1875
1876
1877
1878
1879
      nsCpHandle:
        description: >
          Identifier of the CP/SAP instance to be connected to this
          link port. The value refers to a vnfExtCpInfo item in the
          VnfInstance, or a pnfExtCpInfo item in the PnfInfo, or a
          sapInfo item in the NS instance.
          There shall be at most one link port associated with any
          connection point instance.
Giacomo Bernini's avatar
Giacomo Bernini committed
1880
        $ref: "#/definitions/NsCpHandle"
1881

1882
  AffinityOrAntiAffinityRule:
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
    description: >
      This type describes the additional affinity or anti-affinity rule
      applicable between the VNF instances to be instantiated
      in the NS instantiation operation request or between the VNF instances
      to be instantiated in the NS instantiation
      operation request and the existing VNF instances..
    type: object
    required:
      - affinityOrAntiAffiinty
      - scope
    properties:
      vnfdId:
        description: >
          Reference to a VNFD.
          When the VNFD which is not used to instantiate VNF, it
          presents all VNF instances of this type as the subjects
          of the affinity or anti-affinity rule. The VNF instance
          which the VNFD presents is not necessary as a part of
          the NS to be instantiated.
        type: array
        items:
1904
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
      vnfProfileId:
        description: >
          Reference to a vnfProfile defined in the NSD.
          At least one VnfProfile which is used to instantiate VNF
          for the NS to be instantiated as the subject of the affinity
          or anti-affinity rule shall be present. When the VnfProfile
          which is not used to instantiate VNF, it presents all VNF
          instances of this type as the subjects of the affinity or
          anti-affinity rule. The VNF instance which the VnfProfile
          presents is not necessary as a part of the NS to be instantiated.
        type: array
        items:
1917
          $ref: "#/definitions/IdentifierInNsd"
1918
1919
1920
1921
1922
1923
1924
      vnfInstanceId:
        description: >
          Reference to the existing VNF instance as the subject of
          the affinity or anti-affinity rule. The existing VNF instance
          is not necessary as a part of the NS to be instantiated.
        type: array
        items:
1925
          $ref: "../../definitions/SOL005_def.yaml#/definitions/Identifier"
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
      affinityOrAntiAffiinty:
        description: >
          The type of the constraint.
          Permitted values:
          AFFINITY
          ANTI_AFFINITY.
        type: string
        enum:
          - AFFINITY
          - ANTI_AFFINITY
      scope:
        description: >
          Specifies the scope of the rule where the placement
          constraint applies.
          Permitted values:
          NFVI_POP
          ZONE
          ZONE_GROUP
          NFVI_NODE.
        type: string
        enum:
          - NFVI_POP
          - ZONE
          - ZONE_GROUP
          - NFVI_NODE
1951
1952
1953

  InstantiateNsRequest:
    type: object
piscione's avatar
piscione committed
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
    description: >
      This type represents request parameters for the "Instantiate NS" operation.

      NOTE 1: The DF of the VNF instance shall match the VNF DF present in the associated VNF Profile.
      NOTE 2:	The NS DF of each nested NS shall be one of the allowed flavours in the associated
        NSD (as referenced in the nestedNsd attribute of the NSD of the NS to be instantiated).
      NOTE 3:	The NSD of each referenced NSs (i.e. each nestedInstanceId) shall match the one of the
      nested NSD in the composite NSD.
      NOTE 4:	When the NS is deployed over several sites, the VLs of this NS will include VNs
      in each site connected over the WAN. In this case, the "wanConnectionData" provides the needed
      information required to connect each VN to the WAN. Annex E provides additional information and
      guidelines about the usage of the "wanConnectionData" attribute.
1966
    required:
1967
      - nsFlavourId
1968
1969
1970
1971
    properties:
      nsFlavourId:
        description: >
          Identifier of the NS deployment flavor to be instantiated.
1972
        $ref: "#/definitions/IdentifierInNsd"
1973
1974
      sapData:
        description: >
1975
          Create data concerning the SAPs of this NS.
1976
        type: array
1977
1978
        items:
          $ref: "#/definitions/SapData"
1979
1980
1981
1982
      addpnfData:
        description: >
          Information on the PNF(s) that are part of this NS.
        type: array
1983
1984
        items:
          $ref: "#/definitions/AddPnfData"
1985
1986
1987
1988
1989
      vnfInstanceData:
        description: >
          Specify an existing VNF instance to be used in the NS.
          If needed, the VNF Profile to be used for this VNF
          instance is also provided.
piscione's avatar
piscione committed
1990
          See note 1.
1991
        type: array
1992
        items:
1993
          $ref: "#/definitions/VnfInstanceData"
1994
      nestedNsInstanceData:
1995
1996
1997
        description: >
          Specify an existing NS instance to be used as a nested
          NS within the NS.
1998
1999
          If needed, the NS Profile to be used for this nested NS 
          instance is also provided.
piscione's avatar
piscione committed
2000
          See note 2 and note 3.
For faster browsing, not all history is shown. View entire blame