Newer
Older
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
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
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
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
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
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
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
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
"listen": "test",
"script": {
"id": "4e25e847-bd58-44d7-b81d-58645984bbde",
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var res_schema = '{\"description\":\"This type represents a VNF lifecycle management operation occurrence. \",\"type\":\"object\",\"required\":[\"id\",\"operationState\",\"stateEnteredTime\",\"startTime\",\"vnfInstanceId\",\"operation\",\"isAutomaticInvocation\",\"operationParams\",\"isCancelPending\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operationState\":{\"description\":\"Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won\\'t succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]},\"stateEnteredTime\":{\"description\":\"Date-time when the current state was entered. \",\"type\":\"string\",\"format\":\"date-time\"},\"startTime\":{\"description\":\"Date-time of the start of the operation. \",\"type\":\"string\",\"format\":\"date-time\"},\"vnfInstanceId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"grantId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operation\":{\"description\":\"Value | Description ------|------------ INSTANTIATE | Represents the \\\"Instantiate VNF\\\" LCM operation. SCALE | Represents the \\\"Scale VNF\\\" LCM operation. SCALE_TO_LEVEL | Represents the \\\"Scale VNF to Level\\\" LCM operation. CHANGE_FLAVOUR | Represents the \\\"Change VNF Flavour\\\" LCM operation. TERMINATE | Represents the \\\"Terminate VNF\\\" LCM operation. HEAL | Represents the \\\"Heal VNF\\\" LCM operation. OPERATE | Represents the \\\"Operate VNF\\\" LCM operation. CHANGE_EXT_CONN | Represents the \\\"Change external VNF connectivity\\\" LCM operation. MODIFY_INFO | Represents the \\\"Modify VNF Information\\\" LCM operation. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]},\"isAutomaticInvocation\":{\"description\":\"Set to true if this VNF LCM operation occurrence has been triggered by an automated procedure inside the VNFM (i.e. ScaleVnf / ScaleVnfToLevel triggered by auto-scale, or HealVnf triggered by auto-heal). Set to false otherwise. \",\"type\":\"boolean\"},\"operationParams\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"isCancelPending\":{\"description\":\"If the VNF LCM operation occurrence is in \\\"STARTING\\\", \\\"PROCESSING\\\" or \\\"ROLLING_BACK\\\" state and the operation is being cancelled, this attribute shall be set to true. Otherwise, it shall be set to false. \",\"type\":\"boolean\"},\"cancelMode\":{\"description\":\"Cancellation mode. GRACEFUL: If the VNF LCM operation occurrence is in \\\"PROCESSING\\\" or \\\"ROLLING_BACK\\\" state, the VNFM shall not start any new resource management operation and shall wait for the ongoing resource management operations in the underlying system, typically the VIM, to finish execution or to time out. After that, the VNFM shall put the operation occurrence into the FAILED_TEMP state. If the VNF LCM operation occurrence is in \\\"STARTING\\\" state, the VNFM shall not start any resource management operation and shall wait for the granting request to finish execution or time out. After that, the VNFM shall put the operation occurrence into the ROLLED_BACK state. FORCEFUL: If the VNF LCM operation occurrence is in \\\"PROCESSING\\\" or \\\"ROLLING_BACK\\\" state, the VNFM shall not start any new resource management operation, shall cancel the ongoing resource management operations in the underlying system, typically the VIM, and shall wait for the cancellation to finish or to time out. After that, the VNFM shall put the operation occurrence into the FAILED_TEMP state. If the VNF LCM operation occurrence is in \\\"STARTING\\\" state, the VNFM shall not start any resource management operation and put the operation occurrence into the ROLLED_BACK state. \",\"type\":\"string\",\"enum\":[\"GRACEFUL\",\"FORCEFUL\"]},\"error\":{\"description\":\"The definition of the general \\\"ProblemDetails\\\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \\\"status\\\" and \\\"detail\\\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \\\"ProblemDetails\\\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19]. \",\"type\":\"object\",\"required\":[\"status\",\"detail\"],\"properties\":{\"type\":{\"description\":\"A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \\\"about:blank\\\". \",\"type\":\"string\",\"format\":\"URI\"},\"title\":{\"description\":\"A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \\\"about:blank\\\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4). \",\"type\":\"string\"},\"status\":{\"description\":\"The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. \",\"type\":\"integer\"},\"detail\":{\"description\":\"A human-readable explanation specific to this occurrence of the problem. \",\"type\":\"string\"},\"instance\":{\"description\":\"A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced. \",\"type\":\"string\",\"format\":\"URI\"}}},\"resourceChanges\":{\"description\":\"This attribute contains information about the cumulative changes to virtualised resources that were performed so far by the LCM operation since its start, if applicable. \",\"type\":\"object\",\"properties\":{\"affectedVnfcs\":{\"description\":\"Information about VNFC instances that were affected during the lifecycle operation. This allows the NFVO to obtain the information contained in the latest \\\"result\\\" notification if it has not received it due to an error or a wrongly configured subscription filter. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VNFCs. \",\"type\":\"object\",\"required\":[\"id\",\"vduId\",\"changeType\",\"computeResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"vduId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"description\":\"Signals the type of change. Permitted values: * ADDED * REMOVED * MODIFIED * TEMPORARY For a temporary resource, an AffectedVnfc structure exists as long as the temporary resource exists. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"computeResource\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"metadata\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"affectedVnfcCpIds\":{\"description\":\"Identifiers of CP(s) of the VNFC instance that were affected by the change. Shall be present for those affected CPs of the VNFC instance that are associated to an external CP of the VNF instance. May be present for further affected CPs of the VNFC instance. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"addedStorageResourceIds\":{\"description\":\"References to VirtualStorage resources that have been added. Each value refers to a VirtualStorageResourceInfo item in the VnfInstance that was added to the VNFC. It shall be provided if at least one storage resource was added to the VNFC. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"removedStorageResourceIds\":{\"description\":\"References to VirtualStorage resources that have been removed. The value contains the identifier of a VirtualStorageResourceInfo item that has been removed from the VNFC, and might no longer exist in the VnfInstance. It shall be provided if at least one storage resource was removed from the VNFC. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}},\"affectedVirtualLinks\":{\"description\":\"Information about VL instances that were affected during the lifecycle operation. This allows the NFVO to obtain the information contained in the latest \\\"result\\\" notification if it has not received it due to an error or a wrongly configured subscription filter. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VLs. \",\"type\":\"object\",\"required\":[\"id\",\"virtualLinkDescId\",\"changeType\",\"networkResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualLinkDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"description\":\"Signals the type of change. Permitted values: * ADDED * REMOVED * MODIFIED * TEMPORARY * LINK_PORT_ADDED * LINK_PORT_REMOVED For a temporary resource, an AffectedVirtualLink structure exists as long as the temporary resource exists. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\",\"LINK_PORT_ADDED\",\"LINK_PORT_REMOVED\"]},\"networkResource\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"metadata\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"}}}},\"affectedVirtualStorages\":{\"description\":\"Information about virtualised storage instances that were affected during the lifecycle operation. This allows the NFVO to obtain the information contained in the latest \\\"result\\\" notification if it has not received it due to an error or a wrongly configured subscription filter. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary virtual storage resources. \",\"type\":\"object\",\"required\":[\"id\",\"virtualStorageDescId\",\"changeType\",\"storageResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualStorageDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"description\":\"Signals the type of change. Permitted values: * ADDED * REMOVED * MODIFIED * TEMPORARY For a temporary resource, an AffectedVirtualStorage structure exists as long as the temporary resource exists. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"storageResource\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"metadata\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"}}}}}},\"changedInfo\":{\"description\":\"This type represents attribute modifications that were performed on an \\\"Individual VNF instance\\\" resource. The attributes that can be included consist of those requested to be modified explicitly in the \\\"VnfInfoModificationRequest\\\" data structure, and additional attributes of the \\\"VnfInstance\\\" data structure that were modified implicitly e.g. when modifying the referenced VNF package. \",\"type\":\"object\",\"properties\":{\"vnfInstanceName\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceName\\\" attribute in \\\"VnfInstance\\\". \",\"type\":\"string\"},\"vnfInstanceDescription\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceDescription\\\" attribute in \\\"VnfInstance\\\". \",\"type\":\"string\"},\"vnfConfigurableProperties\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"metadata\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"extensions\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"vimConnectionInfo\":{\"description\":\"If present, this attribute signals modifications of certain entries in the \\\"vimConnectionInfo\\\" attribute array in \\\"VnfInstance\\\". \",\"type\":\"array\",\"items\":{\"description\":\"This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM. \",\"type\":\"object\",\"required\":[\"id\",\"vimType\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vimId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vimType\":{\"description\":\"Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \\\"interfaceInfo\\\" and \\\"accessInfo\\\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003. \",\"type\":\"string\"},\"interfaceInfo\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"accessInfo\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"extra\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"}}}},\"vnfPkgId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfdId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfProvider\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfProvider\\\" attribute in \\\"VnfInstance\\\". If present, this attribute (which depends on the value of the \\\"vnfPkgId\\\" attribute) was modified implicitly following a request to modify the \\\"vnfPkgId\\\" attribute, by copying the value of this attribute from the VNFD in the VNF Package identified by the \\\"vnfPkgId” attribute. \",\"type\":\"string\"},\"vnfProductName\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfProductName\\\" attribute in \\\"VnfInstance\\\". If present, this attribute (which depends on the value of the \\\"vnfPkgId\\\" attribute) was modified implicitly following a request to modify the \\\"vnfPkgId\\\" attribute, by copying the value of this attribute from the VNFD in the VNF Package identified by the \\\"vnfPkgId” attribute. \",\"type\":\"string\"},\"vnfSoftwareVersion\":{\"description\":\"A Version. \",\"type\":\"string\"},\"vnfdVersion\":{\"description\":\"A Version. \",\"type\":\"string\"}}},\"changedExtConnectivity\":{\"description\":\"Information about changed external connectivity, if applicable. This allows the NFVO to obtain the information contained in the latest \\\"result\\\" notification if it has not received it due to an error or a wrongly configured subscription filter. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceHandle\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"extLinkPorts\":{\"description\":\"Link ports of this VL. \",\"type\":\"array\",\"items\":{\"description\":\"This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL. \",\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceHandle\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"cpInstanceId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}}}},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\",\"vnfInstance\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"vnfInstance\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"grant\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"cancel\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"retry\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"rollback\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"fail\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}}';",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});",
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://vnflcm/v1/vnf_lcm_op_occs/:vnfLcmOpOccId",
"protocol": "https",
"host": [
"vnflcm"
],
"path": [
"v1",
"vnf_lcm_op_occs",
":vnfLcmOpOccId"
],
"variable": [
{
"key": "vnfLcmOpOccId",
"value": ""
}
]
},
"description": "The client can use this method to retrieve status information about a VNF lifecycle management operation occurrence by reading an individual \"VNF LCM operation occurrence\" resource.\n"
},
"response": []
},
{
"name": "retry",
"event": [
{
"listen": "test",
"script": {
"id": "2d071e18-dfb6-48f1-98cf-149a0dba07a8",
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 202\", function () {",
" pm.response.to.have.status(202);",
"});",
"",
"",
"var res_schema = 'null';",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://vnflcm/v1/vnf_lcm_op_occs/:vnfLcmOpOccId/retry",
"protocol": "https",
"host": [
"vnflcm"
],
"path": [
"v1",
"vnf_lcm_op_occs",
":vnfLcmOpOccId",
"retry"
],
"variable": [
{
"key": "vnfLcmOpOccId",
"value": ""
}
]
},
"description": "The POST method initiates retrying a VNF lifecycle operation if that operation has experienced a temporary failure, i.e. the related \"VNF LCM operation occurrence\" resource is in \"FAILED_TEMP\" state.\n"
},
"response": []
},
{
"name": "rollback",
"event": [
{
"listen": "test",
"script": {
"id": "fc65cfa3-7b1b-492c-b1c8-60f86c8464e2",
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 202\", function () {",
" pm.response.to.have.status(202);",
"});",
"",
"",
"var res_schema = 'null';",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://vnflcm/v1/vnf_lcm_op_occs/:vnfLcmOpOccId/rollback",
"protocol": "https",
"host": [
"vnflcm"
],
"path": [
"v1",
"vnf_lcm_op_occs",
":vnfLcmOpOccId",
"rollback"
],
"variable": [
{
"key": "vnfLcmOpOccId",
"value": ""
}
]
},
"description": "The POST method initiates rolling back a VNF lifecycle operation if that operation has experienced a temporary failure, i.e. the related \"VNF LCM operation occurrence\" resource is in \"FAILED_TEMP\" state.\n"
},
"response": []
},
{
"name": "fail",
"event": [
{
"listen": "test",
"script": {
"id": "422e1325-0189-411a-b0cb-c40791388eec",
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var res_schema = '{\"description\":\"This type represents a VNF lifecycle management operation occurrence. \",\"type\":\"object\",\"required\":[\"id\",\"operationState\",\"stateEnteredTime\",\"startTime\",\"vnfInstanceId\",\"operation\",\"isAutomaticInvocation\",\"operationParams\",\"isCancelPending\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operationState\":{\"description\":\"Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won\\'t succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]},\"stateEnteredTime\":{\"description\":\"Date-time when the current state was entered. \",\"type\":\"string\",\"format\":\"date-time\"},\"startTime\":{\"description\":\"Date-time of the start of the operation. \",\"type\":\"string\",\"format\":\"date-time\"},\"vnfInstanceId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"grantId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"operation\":{\"description\":\"Value | Description ------|------------ INSTANTIATE | Represents the \\\"Instantiate VNF\\\" LCM operation. SCALE | Represents the \\\"Scale VNF\\\" LCM operation. SCALE_TO_LEVEL | Represents the \\\"Scale VNF to Level\\\" LCM operation. CHANGE_FLAVOUR | Represents the \\\"Change VNF Flavour\\\" LCM operation. TERMINATE | Represents the \\\"Terminate VNF\\\" LCM operation. HEAL | Represents the \\\"Heal VNF\\\" LCM operation. OPERATE | Represents the \\\"Operate VNF\\\" LCM operation. CHANGE_EXT_CONN | Represents the \\\"Change external VNF connectivity\\\" LCM operation. MODIFY_INFO | Represents the \\\"Modify VNF Information\\\" LCM operation. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]},\"isAutomaticInvocation\":{\"description\":\"Set to true if this VNF LCM operation occurrence has been triggered by an automated procedure inside the VNFM (i.e. ScaleVnf / ScaleVnfToLevel triggered by auto-scale, or HealVnf triggered by auto-heal). Set to false otherwise. \",\"type\":\"boolean\"},\"operationParams\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"isCancelPending\":{\"description\":\"If the VNF LCM operation occurrence is in \\\"STARTING\\\", \\\"PROCESSING\\\" or \\\"ROLLING_BACK\\\" state and the operation is being cancelled, this attribute shall be set to true. Otherwise, it shall be set to false. \",\"type\":\"boolean\"},\"cancelMode\":{\"description\":\"Cancellation mode. GRACEFUL: If the VNF LCM operation occurrence is in \\\"PROCESSING\\\" or \\\"ROLLING_BACK\\\" state, the VNFM shall not start any new resource management operation and shall wait for the ongoing resource management operations in the underlying system, typically the VIM, to finish execution or to time out. After that, the VNFM shall put the operation occurrence into the FAILED_TEMP state. If the VNF LCM operation occurrence is in \\\"STARTING\\\" state, the VNFM shall not start any resource management operation and shall wait for the granting request to finish execution or time out. After that, the VNFM shall put the operation occurrence into the ROLLED_BACK state. FORCEFUL: If the VNF LCM operation occurrence is in \\\"PROCESSING\\\" or \\\"ROLLING_BACK\\\" state, the VNFM shall not start any new resource management operation, shall cancel the ongoing resource management operations in the underlying system, typically the VIM, and shall wait for the cancellation to finish or to time out. After that, the VNFM shall put the operation occurrence into the FAILED_TEMP state. If the VNF LCM operation occurrence is in \\\"STARTING\\\" state, the VNFM shall not start any resource management operation and put the operation occurrence into the ROLLED_BACK state. \",\"type\":\"string\",\"enum\":[\"GRACEFUL\",\"FORCEFUL\"]},\"error\":{\"description\":\"The definition of the general \\\"ProblemDetails\\\" data structure from IETF RFC 7807 [19] is reproduced inthis structure. Compared to the general framework defined in IETF RFC 7807 [19], the \\\"status\\\" and \\\"detail\\\" attributes are mandated to be included by the present document, to ensure that the response contains additional textual information about an error. IETF RFC 7807 [19] foresees extensibility of the \\\"ProblemDetails\\\" type. It is possible that particular APIs in the present document, or particular implementations, define extensions to define additional attributes that provide more information about the error. The description column only provides some explanation of the meaning to Facilitate understanding of the design. For a full description, see IETF RFC 7807 [19]. \",\"type\":\"object\",\"required\":[\"status\",\"detail\"],\"properties\":{\"type\":{\"description\":\"A URI reference according to IETF RFC 3986 [5] that identifies the problem type. It is encouraged that the URI provides human-readable documentation for the problem (e.g. using HTML) when dereferenced. When this member is not present, its value is assumed to be \\\"about:blank\\\". \",\"type\":\"string\",\"format\":\"URI\"},\"title\":{\"description\":\"A short, human-readable summary of the problem type. It should not change from occurrence to occurrence of the problem, except for purposes of localization. If type is given and other than \\\"about:blank\\\", this attribute shall also be provided. A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231], Section 3.4). \",\"type\":\"string\"},\"status\":{\"description\":\"The HTTP status code for this occurrence of the problem. The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. \",\"type\":\"integer\"},\"detail\":{\"description\":\"A human-readable explanation specific to this occurrence of the problem. \",\"type\":\"string\"},\"instance\":{\"description\":\"A URI reference that identifies the specific occurrence of the problem. It may yield further information if dereferenced. \",\"type\":\"string\",\"format\":\"URI\"}}},\"resourceChanges\":{\"description\":\"This attribute contains information about the cumulative changes to virtualised resources that were performed so far by the LCM operation since its start, if applicable. \",\"type\":\"object\",\"properties\":{\"affectedVnfcs\":{\"description\":\"Information about VNFC instances that were affected during the lifecycle operation. This allows the NFVO to obtain the information contained in the latest \\\"result\\\" notification if it has not received it due to an error or a wrongly configured subscription filter. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VNFCs. \",\"type\":\"object\",\"required\":[\"id\",\"vduId\",\"changeType\",\"computeResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"vduId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"description\":\"Signals the type of change. Permitted values: * ADDED * REMOVED * MODIFIED * TEMPORARY For a temporary resource, an AffectedVnfc structure exists as long as the temporary resource exists. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"computeResource\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"metadata\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"affectedVnfcCpIds\":{\"description\":\"Identifiers of CP(s) of the VNFC instance that were affected by the change. Shall be present for those affected CPs of the VNFC instance that are associated to an external CP of the VNF instance. May be present for further affected CPs of the VNFC instance. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"addedStorageResourceIds\":{\"description\":\"References to VirtualStorage resources that have been added. Each value refers to a VirtualStorageResourceInfo item in the VnfInstance that was added to the VNFC. It shall be provided if at least one storage resource was added to the VNFC. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}},\"removedStorageResourceIds\":{\"description\":\"References to VirtualStorage resources that have been removed. The value contains the identifier of a VirtualStorageResourceInfo item that has been removed from the VNFC, and might no longer exist in the VnfInstance. It shall be provided if at least one storage resource was removed from the VNFC. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}},\"affectedVirtualLinks\":{\"description\":\"Information about VL instances that were affected during the lifecycle operation. This allows the NFVO to obtain the information contained in the latest \\\"result\\\" notification if it has not received it due to an error or a wrongly configured subscription filter. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary VLs. \",\"type\":\"object\",\"required\":[\"id\",\"virtualLinkDescId\",\"changeType\",\"networkResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualLinkDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"description\":\"Signals the type of change. Permitted values: * ADDED * REMOVED * MODIFIED * TEMPORARY * LINK_PORT_ADDED * LINK_PORT_REMOVED For a temporary resource, an AffectedVirtualLink structure exists as long as the temporary resource exists. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\",\"LINK_PORT_ADDED\",\"LINK_PORT_REMOVED\"]},\"networkResource\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"metadata\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"}}}},\"affectedVirtualStorages\":{\"description\":\"Information about virtualised storage instances that were affected during the lifecycle operation. This allows the NFVO to obtain the information contained in the latest \\\"result\\\" notification if it has not received it due to an error or a wrongly configured subscription filter. \",\"type\":\"array\",\"items\":{\"description\":\"This type provides information about added, deleted, modified and temporary virtual storage resources. \",\"type\":\"object\",\"required\":[\"id\",\"virtualStorageDescId\",\"changeType\",\"storageResource\"],\"properties\":{\"id\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"},\"virtualStorageDescId\":{\"description\":\"An identifier that is unique within a VNF descriptor. \",\"type\":\"string\"},\"changeType\":{\"description\":\"Signals the type of change. Permitted values: * ADDED * REMOVED * MODIFIED * TEMPORARY For a temporary resource, an AffectedVirtualStorage structure exists as long as the temporary resource exists. \",\"type\":\"string\",\"enum\":[\"ADDED\",\"REMOVED\",\"MODIFIED\",\"TEMPORARY\"]},\"storageResource\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"metadata\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"}}}}}},\"changedInfo\":{\"description\":\"This type represents attribute modifications that were performed on an \\\"Individual VNF instance\\\" resource. The attributes that can be included consist of those requested to be modified explicitly in the \\\"VnfInfoModificationRequest\\\" data structure, and additional attributes of the \\\"VnfInstance\\\" data structure that were modified implicitly e.g. when modifying the referenced VNF package. \",\"type\":\"object\",\"properties\":{\"vnfInstanceName\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceName\\\" attribute in \\\"VnfInstance\\\". \",\"type\":\"string\"},\"vnfInstanceDescription\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfInstanceDescription\\\" attribute in \\\"VnfInstance\\\". \",\"type\":\"string\"},\"vnfConfigurableProperties\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"metadata\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"extensions\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"vimConnectionInfo\":{\"description\":\"If present, this attribute signals modifications of certain entries in the \\\"vimConnectionInfo\\\" attribute array in \\\"VnfInstance\\\". \",\"type\":\"array\",\"items\":{\"description\":\"This type represents parameters to connect to a VIM for managing the resources of a VNF instance. This structure is used to convey VIM-related parameters over the Or-Vnfm interface. Additional parameters for a VIM may be configured into the VNFM by means outside the scope of the present document, and bound to the identifier of that VIM. \",\"type\":\"object\",\"required\":[\"id\",\"vimType\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vimId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vimType\":{\"description\":\"Discriminator for the different types of the VIM information. The value of this attribute determines the structure of the \\\"interfaceInfo\\\" and \\\"accessInfo\\\" attributes, based on the type of the VIM. The set of permitted values is expected to change over time as new types or versions of VIMs become available. The ETSI NFV registry of VIM-related information provides access to information about VimConnectionInfo definitions for various VIM types. The structure of the registry is defined in Annex C of SOL003. \",\"type\":\"string\"},\"interfaceInfo\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"accessInfo\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"},\"extra\":{\"description\":\"This type represents a list of key-value pairs. The order of the pairs in the list is not significant. In JSON, a set of key- value pairs is represented as an object. It shall comply with the provisions defined in clause 4 of IETF RFC 7159. \",\"type\":\"object\"}}}},\"vnfPkgId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfdId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"vnfProvider\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfProvider\\\" attribute in \\\"VnfInstance\\\". If present, this attribute (which depends on the value of the \\\"vnfPkgId\\\" attribute) was modified implicitly following a request to modify the \\\"vnfPkgId\\\" attribute, by copying the value of this attribute from the VNFD in the VNF Package identified by the \\\"vnfPkgId” attribute. \",\"type\":\"string\"},\"vnfProductName\":{\"description\":\"If present, this attribute signals modifications of the \\\"vnfProductName\\\" attribute in \\\"VnfInstance\\\". If present, this attribute (which depends on the value of the \\\"vnfPkgId\\\" attribute) was modified implicitly following a request to modify the \\\"vnfPkgId\\\" attribute, by copying the value of this attribute from the VNFD in the VNF Package identified by the \\\"vnfPkgId” attribute. \",\"type\":\"string\"},\"vnfSoftwareVersion\":{\"description\":\"A Version. \",\"type\":\"string\"},\"vnfdVersion\":{\"description\":\"A Version. \",\"type\":\"string\"}}},\"changedExtConnectivity\":{\"description\":\"Information about changed external connectivity, if applicable. This allows the NFVO to obtain the information contained in the latest \\\"result\\\" notification if it has not received it due to an error or a wrongly configured subscription filter. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceHandle\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"extLinkPorts\":{\"description\":\"Link ports of this VL. \",\"type\":\"array\",\"items\":{\"description\":\"This type represents information about a link port of an external VL, i.e. a port providing connectivity for the VNF to an NS VL. \",\"type\":\"object\",\"required\":[\"id\",\"resourceHandle\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceHandle\":{\"required\":[\"vimConnectionId\",\"resourceId\"],\"type\":\"object\",\"description\":\"This type represents the information that allows addressing a virtualised resource that is used by a VNF instance. Information about the resource is available from the VIM. \",\"properties\":{\"vimConnectionId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceProviderId\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"resourceId\":{\"description\":\"An identifier maintained by the VIM or other resource provider. It is expected to be unique within the VIM instance. \",\"type\":\"string\"},\"vimLevelResourceType\":{\"description\":\"Type of the resource in the scope of the VIM or the resource provider. \",\"type\":\"string\"}}},\"cpInstanceId\":{\"description\":\"An identifier that is unique for the respective type within a VNF instance, but may not be globally unique. \",\"type\":\"string\"}}}}}}},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\",\"vnfInstance\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"vnfInstance\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"grant\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"cancel\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"retry\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"rollback\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}},\"fail\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}}';",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://vnflcm/v1/vnf_lcm_op_occs/:vnfLcmOpOccId/fail",
"protocol": "https",
"host": [
"vnflcm"
],
"path": [
"v1",
"vnf_lcm_op_occs",
":vnfLcmOpOccId",
"fail"
],
"variable": [
{
"key": "vnfLcmOpOccId",
"value": ""
}
]
},
"description": "The POST method marks a VNF lifecycle management operation occurrence as \"finally failed\" if that operation occurrence is in \"FAILED_TEMP\" state.\n"
},
"response": []
},
{
"name": "cancel",
"event": [
{
"listen": "test",
"script": {
"id": "d89afe20-bca8-4052-98a6-7264f4a38f28",
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 202\", function () {",
" pm.response.to.have.status(202);",
"});",
"",
"",
"var res_schema = 'null';",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://vnflcm/v1/vnf_lcm_op_occs/:vnfLcmOpOccId/cancel",
"protocol": "https",
"host": [
"vnflcm"
],
"path": [
"v1",
"vnf_lcm_op_occs",
":vnfLcmOpOccId",
"cancel"
],
"variable": [
{
"key": "vnfLcmOpOccId",
"value": ""
}
]
},
"description": "The POST method initiates cancelling an ongoing VNF lifecycle operation while it is being executed or rolled back, i.e. the related \"VNF LCM operation occurrence\" is either in \"PROCESSING\" or \"ROLLING_BACK\" state.\n"
},
"response": []
}
]
},
{
"name": "subscriptions",
"description": "Folder for subscriptions",
"item": [
{
"name": "post subscription",
"event": [
{
"listen": "test",
"script": {
"id": "0c8e9a4a-562a-4de5-bfb8-6d6bb984bdef",
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 201\", function () {",
" pm.response.to.have.status(201);",
"});",
"",
"var res_schema = '{\"description\":\"This type represents a subscription related to notifications about VNF lifecycle changes. \",\"type\":\"object\",\"required\":[\"id\",\"callbackUri\",\"_links\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"filter\":{\"description\":\"This type represents a subscription filter related to notifications about VNF lifecycle changes. At a particular nesting level in the filter structure, the following applies: All attributes shall match in order for the filter to match (logical \\\"and\\\" between different filter attributes). If an attribute is an array, the attribute shall match if at least one of the values in the array matches (logical \\\"or\\\" between the values of one filter attribute). \",\"type\":\"object\",\"properties\":{\"vnfInstanceSubscriptionFilter\":{\"description\":\"This type represents subscription filter criteria to match VNF instances. \",\"type\":\"object\",\"properties\":{\"vnfdIds\":{\"description\":\"If present, match VNF instances that were created based on a VNFD identified by one of the vnfdId values listed in this attribute. The attributes \\\"vnfdIds\\\" and \\\"vnfProductsFromProviders\\\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfProductsFromProviders\":{\"description\":\"If present, match VNF instances that belong to VNF products from certain providers. The attributes \\\"vnfdIds\\\" and \\\"vnfProductsFromProviders\\\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProvider\"],\"properties\":{\"vnfProvider\":{\"description\":\"Name of the VNF provider to match. \",\"type\":\"string\"},\"vnfProducts\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain product names, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProductName\"],\"properties\":{\"vnfProductName\":{\"description\":\"Name of the VNF product to match. \",\"type\":\"string\"},\"versions\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain versions and a certain product name, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfSoftwareVersion\"],\"properties\":{\"vnfSoftwareVersion\":{\"description\":\"A version. \",\"type\":\"string\"},\"vnfdVersions\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain VNFD versions, a certain software version and a certain product name, from one particular provider. \",\"type\":\"array\",\"items\":{\"description\":\"A version. \",\"type\":\"string\"}}}}}}}}}}},\"vnfInstanceIds\":{\"description\":\"If present, match VNF instances with an instance identifier listed in this attribute. The attributes \\\"vnfInstanceIds\\\" and \\\"vnfInstanceNames\\\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfInstanceNames\":{\"description\":\"If present, match VNF instances with a VNF Instance Name listed in this attribute. The attributes \\\"vnfInstanceIds\\\" and \\\"vnfInstanceNames\\\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"notificationTypes\":{\"description\":\"Match particular notification types. Permitted values: * VnfLcmOperationOccurrenceNotification * VnfIdentifierCreationNotification * VnfIdentifierDeletionNotification The permitted values of the \\\"notificationTypes\\\" attribute are spelled exactly as the names of the notification types to facilitate automated code generation systems. \",\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"VnfLcmOperationOccurrenceNotification\",\"VnfIdentifierCreationNotification\",\"VnfIdentifierDeletionNotification\"]}},\"operationTypes\":{\"description\":\"Match particular VNF lifecycle operation types for the notification of type VnfLcmOperationOccurrenceNotification. May be present if the \\\"notificationTypes\\\" attribute contains the value \\\"VnfLcmOperationOccurrenceNotification\\\", and shall be absent otherwise. \",\"type\":\"array\",\"items\":{\"description\":\"Value | Description ------|------------ INSTANTIATE | Represents the \\\"Instantiate VNF\\\" LCM operation. SCALE | Represents the \\\"Scale VNF\\\" LCM operation. SCALE_TO_LEVEL | Represents the \\\"Scale VNF to Level\\\" LCM operation. CHANGE_FLAVOUR | Represents the \\\"Change VNF Flavour\\\" LCM operation. TERMINATE | Represents the \\\"Terminate VNF\\\" LCM operation. HEAL | Represents the \\\"Heal VNF\\\" LCM operation. OPERATE | Represents the \\\"Operate VNF\\\" LCM operation. CHANGE_EXT_CONN | Represents the \\\"Change external VNF connectivity\\\" LCM operation. MODIFY_INFO | Represents the \\\"Modify VNF Information\\\" LCM operation. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]}},\"operationStates\":{\"description\":\"Match particular LCM operation state values as reported in notifications of type VnfLcmOperationOccurrenceNotification. May be present if the \\\"notificationTypes\\\" attribute contains the value \\\"VnfLcmOperationOccurrenceNotification\\\", and shall be absent otherwise. \",\"type\":\"array\",\"items\":{\"description\":\"Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won\\'t succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]}}}},\"callbackUri\":{\"description\":\"String formatted according to IETF RFC 3986. \",\"type\":\"string\"},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}}';",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});"
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"callbackUri\" : \"http://10.100.60.57:9988/notify\"\n}"
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/subscriptions",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"subscriptions"
]
},
"description": "The POST method creates a new subscription. Creation of two subscription resources with the same callbackURI and the same filter can result in performance degradation and will provide duplicates of notifications to the NFVO, and might make sense only in very rare use cases. Consequently, the VNFM may either allow creating a subscription resource if another subscription resource with the same filter and callbackUri already exists (in which case it shall return the “201 Created” response code), or may decide to not create a duplicate subscription resource (in which case it shall return a “303 See Other” response code referencing the existing subscription resource with the same filter and callbackUri).\n"
},
"response": []
},
{
"name": "get subscriptions",
"event": [
{
"listen": "test",
"script": {
"id": "2b881f79-f091-4999-a95f-020314645ae0",
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var res_schema = '{\"description\":\"This type represents a subscription related to notifications about VNF lifecycle changes. \",\"type\":\"object\",\"required\":[\"id\",\"callbackUri\",\"_links\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"filter\":{\"description\":\"This type represents a subscription filter related to notifications about VNF lifecycle changes. At a particular nesting level in the filter structure, the following applies: All attributes shall match in order for the filter to match (logical \\\"and\\\" between different filter attributes). If an attribute is an array, the attribute shall match if at least one of the values in the array matches (logical \\\"or\\\" between the values of one filter attribute). \",\"type\":\"object\",\"properties\":{\"vnfInstanceSubscriptionFilter\":{\"description\":\"This type represents subscription filter criteria to match VNF instances. \",\"type\":\"object\",\"properties\":{\"vnfdIds\":{\"description\":\"If present, match VNF instances that were created based on a VNFD identified by one of the vnfdId values listed in this attribute. The attributes \\\"vnfdIds\\\" and \\\"vnfProductsFromProviders\\\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfProductsFromProviders\":{\"description\":\"If present, match VNF instances that belong to VNF products from certain providers. The attributes \\\"vnfdIds\\\" and \\\"vnfProductsFromProviders\\\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProvider\"],\"properties\":{\"vnfProvider\":{\"description\":\"Name of the VNF provider to match. \",\"type\":\"string\"},\"vnfProducts\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain product names, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProductName\"],\"properties\":{\"vnfProductName\":{\"description\":\"Name of the VNF product to match. \",\"type\":\"string\"},\"versions\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain versions and a certain product name, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfSoftwareVersion\"],\"properties\":{\"vnfSoftwareVersion\":{\"description\":\"A version. \",\"type\":\"string\"},\"vnfdVersions\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain VNFD versions, a certain software version and a certain product name, from one particular provider. \",\"type\":\"array\",\"items\":{\"description\":\"A version. \",\"type\":\"string\"}}}}}}}}}}},\"vnfInstanceIds\":{\"description\":\"If present, match VNF instances with an instance identifier listed in this attribute. The attributes \\\"vnfInstanceIds\\\" and \\\"vnfInstanceNames\\\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfInstanceNames\":{\"description\":\"If present, match VNF instances with a VNF Instance Name listed in this attribute. The attributes \\\"vnfInstanceIds\\\" and \\\"vnfInstanceNames\\\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"notificationTypes\":{\"description\":\"Match particular notification types. Permitted values: * VnfLcmOperationOccurrenceNotification * VnfIdentifierCreationNotification * VnfIdentifierDeletionNotification The permitted values of the \\\"notificationTypes\\\" attribute are spelled exactly as the names of the notification types to facilitate automated code generation systems. \",\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"VnfLcmOperationOccurrenceNotification\",\"VnfIdentifierCreationNotification\",\"VnfIdentifierDeletionNotification\"]}},\"operationTypes\":{\"description\":\"Match particular VNF lifecycle operation types for the notification of type VnfLcmOperationOccurrenceNotification. May be present if the \\\"notificationTypes\\\" attribute contains the value \\\"VnfLcmOperationOccurrenceNotification\\\", and shall be absent otherwise. \",\"type\":\"array\",\"items\":{\"description\":\"Value | Description ------|------------ INSTANTIATE | Represents the \\\"Instantiate VNF\\\" LCM operation. SCALE | Represents the \\\"Scale VNF\\\" LCM operation. SCALE_TO_LEVEL | Represents the \\\"Scale VNF to Level\\\" LCM operation. CHANGE_FLAVOUR | Represents the \\\"Change VNF Flavour\\\" LCM operation. TERMINATE | Represents the \\\"Terminate VNF\\\" LCM operation. HEAL | Represents the \\\"Heal VNF\\\" LCM operation. OPERATE | Represents the \\\"Operate VNF\\\" LCM operation. CHANGE_EXT_CONN | Represents the \\\"Change external VNF connectivity\\\" LCM operation. MODIFY_INFO | Represents the \\\"Modify VNF Information\\\" LCM operation. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]}},\"operationStates\":{\"description\":\"Match particular LCM operation state values as reported in notifications of type VnfLcmOperationOccurrenceNotification. May be present if the \\\"notificationTypes\\\" attribute contains the value \\\"VnfLcmOperationOccurrenceNotification\\\", and shall be absent otherwise. \",\"type\":\"array\",\"items\":{\"description\":\"Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won\\'t succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]}}}},\"callbackUri\":{\"description\":\"String formatted according to IETF RFC 3986. \",\"type\":\"string\"},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}}';",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});"
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "https://vnflcm/v1/subscriptions",
"protocol": "https",
"host": [
"vnflcm"
],
"path": [
"v1",
"subscriptions"
]
},
"description": "The GET method queries the list of active subscriptions of the functional block that invokes the method. It can be used e.g. for resynchronization after error situations.\n"
},
"response": []
},
{
"name": "get single subscription",
"event": [
{
"listen": "test",
"script": {
"id": "5b4afb9d-3a83-454a-98ca-95882904eb6b",
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 200\", function () {",
" pm.response.to.have.status(200);",
"});",
"",
"var res_schema = '{\"description\":\"This type represents a subscription related to notifications about VNF lifecycle changes. \",\"type\":\"object\",\"required\":[\"id\",\"callbackUri\",\"_links\"],\"properties\":{\"id\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"},\"filter\":{\"description\":\"This type represents a subscription filter related to notifications about VNF lifecycle changes. At a particular nesting level in the filter structure, the following applies: All attributes shall match in order for the filter to match (logical \\\"and\\\" between different filter attributes). If an attribute is an array, the attribute shall match if at least one of the values in the array matches (logical \\\"or\\\" between the values of one filter attribute). \",\"type\":\"object\",\"properties\":{\"vnfInstanceSubscriptionFilter\":{\"description\":\"This type represents subscription filter criteria to match VNF instances. \",\"type\":\"object\",\"properties\":{\"vnfdIds\":{\"description\":\"If present, match VNF instances that were created based on a VNFD identified by one of the vnfdId values listed in this attribute. The attributes \\\"vnfdIds\\\" and \\\"vnfProductsFromProviders\\\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfProductsFromProviders\":{\"description\":\"If present, match VNF instances that belong to VNF products from certain providers. The attributes \\\"vnfdIds\\\" and \\\"vnfProductsFromProviders\\\" are alternatives to reference to VNF instances that are based on certain VNFDs in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProvider\"],\"properties\":{\"vnfProvider\":{\"description\":\"Name of the VNF provider to match. \",\"type\":\"string\"},\"vnfProducts\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain product names, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfProductName\"],\"properties\":{\"vnfProductName\":{\"description\":\"Name of the VNF product to match. \",\"type\":\"string\"},\"versions\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain versions and a certain product name, from one particular provider. \",\"type\":\"array\",\"items\":{\"type\":\"object\",\"required\":[\"vnfSoftwareVersion\"],\"properties\":{\"vnfSoftwareVersion\":{\"description\":\"A version. \",\"type\":\"string\"},\"vnfdVersions\":{\"description\":\"If present, match VNF instances that belong to VNF products with certain VNFD versions, a certain software version and a certain product name, from one particular provider. \",\"type\":\"array\",\"items\":{\"description\":\"A version. \",\"type\":\"string\"}}}}}}}}}}},\"vnfInstanceIds\":{\"description\":\"If present, match VNF instances with an instance identifier listed in this attribute. The attributes \\\"vnfInstanceIds\\\" and \\\"vnfInstanceNames\\\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"description\":\"An identifier with the intention of being globally unique. \",\"type\":\"string\"}},\"vnfInstanceNames\":{\"description\":\"If present, match VNF instances with a VNF Instance Name listed in this attribute. The attributes \\\"vnfInstanceIds\\\" and \\\"vnfInstanceNames\\\" are alternatives to reference to particular VNF Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. \",\"type\":\"array\",\"items\":{\"type\":\"string\"}}}},\"notificationTypes\":{\"description\":\"Match particular notification types. Permitted values: * VnfLcmOperationOccurrenceNotification * VnfIdentifierCreationNotification * VnfIdentifierDeletionNotification The permitted values of the \\\"notificationTypes\\\" attribute are spelled exactly as the names of the notification types to facilitate automated code generation systems. \",\"type\":\"array\",\"items\":{\"type\":\"string\",\"enum\":[\"VnfLcmOperationOccurrenceNotification\",\"VnfIdentifierCreationNotification\",\"VnfIdentifierDeletionNotification\"]}},\"operationTypes\":{\"description\":\"Match particular VNF lifecycle operation types for the notification of type VnfLcmOperationOccurrenceNotification. May be present if the \\\"notificationTypes\\\" attribute contains the value \\\"VnfLcmOperationOccurrenceNotification\\\", and shall be absent otherwise. \",\"type\":\"array\",\"items\":{\"description\":\"Value | Description ------|------------ INSTANTIATE | Represents the \\\"Instantiate VNF\\\" LCM operation. SCALE | Represents the \\\"Scale VNF\\\" LCM operation. SCALE_TO_LEVEL | Represents the \\\"Scale VNF to Level\\\" LCM operation. CHANGE_FLAVOUR | Represents the \\\"Change VNF Flavour\\\" LCM operation. TERMINATE | Represents the \\\"Terminate VNF\\\" LCM operation. HEAL | Represents the \\\"Heal VNF\\\" LCM operation. OPERATE | Represents the \\\"Operate VNF\\\" LCM operation. CHANGE_EXT_CONN | Represents the \\\"Change external VNF connectivity\\\" LCM operation. MODIFY_INFO | Represents the \\\"Modify VNF Information\\\" LCM operation. \",\"type\":\"string\",\"enum\":[\"INSTANTIATE\",\"SCALE\",\"SCALE_TO_LEVEL\",\"CHANGE_FLAVOUR\",\"TERMINATE\",\"HEAL\",\"OPERATE\",\"CHANGE_EXT_CONN\",\"MODIFY_INFO\"]}},\"operationStates\":{\"description\":\"Match particular LCM operation state values as reported in notifications of type VnfLcmOperationOccurrenceNotification. May be present if the \\\"notificationTypes\\\" attribute contains the value \\\"VnfLcmOperationOccurrenceNotification\\\", and shall be absent otherwise. \",\"type\":\"array\",\"items\":{\"description\":\"Value | Description ------|------------ STARTING | The LCM operation is starting. PROCESSING | The LCM operation is currently in execution. COMPLETED | he LCM operation has been completed successfully. FAILED_TEMP | The LCM operation has failed and execution has stopped, but the execution of the operation is not considered to be closed. FAILED | The LCM operation has failed and it cannot be retried or rolled back, as it is determined that such action won\\'t succeed. ROLLING_BACK | The LCM operation is currently being rolled back. ROLLED_BACK | The LCM operation has been successfully rolled back, i.e. The state of the VNF prior to the original operation invocation has been restored as closely as possible. \",\"type\":\"string\",\"enum\":[\"STARTING\",\"PROCESSING\",\"COMPLETED\",\"FAILED_TEMP\",\"FAILED\",\"ROLLING_BACK\",\"ROLLED_BACK\"]}}}},\"callbackUri\":{\"description\":\"String formatted according to IETF RFC 3986. \",\"type\":\"string\"},\"_links\":{\"description\":\"Links to resources related to this resource. \",\"type\":\"object\",\"required\":[\"self\"],\"properties\":{\"self\":{\"description\":\"This type represents a link to a resource. \",\"type\":\"object\",\"required\":[\"href\"],\"properties\":{\"href\":{\"description\":\"URI of the referenced resource. \",\"type\":\"string\",\"format\":\"url\"}}}}}}}';",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});"
]
}
}
],
"request": {
"auth": {
"type": "noauth"
},
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/subscriptions/{{subscriptionId}}",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"subscriptions",
"{{subscriptionId}}"
]
},
"description": "The GET method retrieves information about a subscription by reading an individual subscription resource.\n"
},
"response": []
},
{
"name": "Delete subscription",
"event": [
{
"listen": "test",
"script": {
"id": "9a13467d-6f84-4c9a-918e-5483f7bbd23d",
"type": "text/javascript",
"exec": [
"pm.test(\"Status code is 204\", function () {",
" pm.response.to.have.status(204);",
"});",
"",
"var res_schema = 'null';",
"",
"pm.test('Schema is valid', function() {",
" pm.expect(tv4.validate(pm.response.json(), res_schema)).to.be.true;",
"});"
]
}
}
],
"request": {
"auth": {
"type": "noauth"
},
"method": "DELETE",
"header": [
{
"key": "Accept",
"value": "application/json"
},
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{Authorization}}"
}
],
"body": {
"mode": "raw",
"raw": ""
},
"url": {
"raw": "{{scheme}}://{{host}}{{port}}/{{uri_prefix}}vnflcm/v1/subscriptions/{{subscriptionId}}",
"protocol": "{{scheme}}",
"host": [
"{{host}}{{port}}"
],
"path": [
"{{uri_prefix}}vnflcm",
"v1",
"subscriptions",
"{{subscriptionId}}"
]
},
"description": "The DELETE method terminates an individual subscription.\n"
},
"response": []
}
]
}
],
"event": [
{
"listen": "prerequest",
"script": {
"id": "3ff46579-868f-4c6d-8871-29435b6954b3",
"type": "text/javascript",
"exec": [
""
]
}
},
{
"listen": "test",
"script": {
"id": "539ad894-0c3f-4149-a802-d10f5cdf36fd",
"type": "text/javascript",
"exec": [
""
]
}
}
]
}