aboutsummaryrefslogtreecommitdiffstats
path: root/vid-webpack-master/src/app/drawingBoard/service-planning/objectsToTree/shared.tree.service.spec.ts
blob: 89e20a2d69c0c537e192127df39ef9889e3facf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
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
1568
1569
1570
1571
1572
import {HttpClientTestingModule} from "@angular/common/http/testing";
import {getTestBed, TestBed} from "@angular/core/testing";
import {NgReduxTestingModule} from "@angular-redux/store/testing";
import {SharedTreeService} from "./shared.tree.service";
import {ObjectToInstanceTreeService} from "./objectToInstanceTree/objectToInstanceTree.service";
import {ObjectToTreeService} from "./objectToTree.service";
import {DefaultDataGeneratorService} from "../../../shared/services/defaultDataServiceGenerator/default.data.generator.service";
import {DynamicInputsService} from "./dynamicInputs.service";
import {DialogService} from "ng2-bootstrap-modal";
import {VnfPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vnf/vnf.popup.service";
import {BasicControlGenerator} from "../../../shared/components/genericForm/formControlsServices/basic.control.generator";
import {AaiService} from "../../../shared/services/aaiService/aai.service";
import {NetworkPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/network/network.popup.service";
import {NetworkControlGenerator} from "../../../shared/components/genericForm/formControlsServices/networkGenerator/network.control.generator";
import {VfModulePopuopService} from "../../../shared/components/genericFormPopup/genericFormServices/vfModule/vfModule.popuop.service";
import {VfModuleControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vfModuleGenerator/vfModule.control.generator";
import {VnfGroupControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vnfGroupGenerator/vnfGroup.control.generator";
import {FeatureFlagsService} from "../../../shared/services/featureFlag/feature-flags.service";
import {VnfControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vnfGenerator/vnf.control.generator";
import {NgRedux} from "@angular-redux/store";
import {GenericFormService} from "../../../shared/components/genericForm/generic-form.service";
import {FormBuilder} from "@angular/forms";
import {SdcUiComponentsModule} from "onap-ui-angular";
import {LogService} from "../../../shared/utils/log/log.service";
import {IframeService} from "../../../shared/utils/iframe.service";
import {BasicPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/basic.popup.service";
import {VnfGroupPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vnfGroup/vnfGroup.popup.service";
import {DuplicateService} from "../duplicate/duplicate.service";
import {AppState} from "../../../shared/store/reducers";
import {MessageBoxService} from "../../../shared/components/messageBox/messageBox.service";
import {ErrorMsgService} from "../../../shared/components/error-msg/error-msg.service";
import {AuditInfoModalComponent} from "../../../shared/components/auditInfoModal/auditInfoModal.component";
import {ILevelNodeInfo} from "./models/basic.model.info";
import {VnfModelInfo} from "./models/vnf/vnf.model.info";
import {ServiceInstanceActions} from "../../../shared/models/serviceInstanceActions";
import each from "jest-each";
import {DrawingBoardModes} from "../drawing-board.modes";
import {ComponentInfoService} from "../component-info/component-info.service";
import {ComponentInfoModel, ComponentInfoType} from "../component-info/component-info-model";
import {ModelInformationItem} from "../../../shared/components/model-information/model-information.component";
import {VpnStepService} from "./models/vrf/vrfModal/vpnStep/vpn.step.service";
import {NetworkStepService} from "./models/vrf/vrfModal/networkStep/network.step.service";

class MockAppStore<T> {
  getState() {
    return getStore()
  }

  dispatch() {
  }
}




function getNodeWithData(menuAction:string){
  const nodeData = {
    menuActions: {}
  };
  nodeData['menuActions'][menuAction] =  {
    method: (node, serviceModelId) => {}
  }
  const node = {
    parent: {
      data: nodeData,
      parent: {
        data: nodeData
      }
    }
  };
  return node
}

describe('Shared Tree Service', () => {
  let injector;
  let service: SharedTreeService;
  let _objectToInstanceTreeService: ObjectToInstanceTreeService;
  let store: NgRedux<AppState>;
  beforeAll(done => (async () => {
    TestBed.configureTestingModule({
      imports: [HttpClientTestingModule, NgReduxTestingModule, SdcUiComponentsModule],
      providers: [
        SharedTreeService,
        ObjectToTreeService,
        DefaultDataGeneratorService,
        DialogService,
        VnfPopupService,
        BasicControlGenerator,
        AaiService,
        LogService,
        BasicPopupService,
        VnfGroupPopupService,
        DuplicateService,
        IframeService,
        DynamicInputsService,
        NetworkPopupService,
        NetworkControlGenerator,
        VfModulePopuopService,
        VfModuleControlGenerator,
        VnfGroupControlGenerator,
        DialogService,
        FeatureFlagsService,
        VnfControlGenerator,
        AaiService,
        DialogService,
        GenericFormService,
        FormBuilder,
        ErrorMsgService,
        ObjectToInstanceTreeService,
        ComponentInfoService,
        NetworkStepService,
        VpnStepService,
        {provide: NgRedux, useClass: MockAppStore}
      ]
    });
    await TestBed.compileComponents();
    injector = getTestBed();
    service = injector.get(SharedTreeService);
    _objectToInstanceTreeService = injector.get(ObjectToInstanceTreeService);
    store = injector.get(NgRedux);
  })().then(done).catch(done.fail));

  test('SharedTreeService should be defined', () => {
    expect(service).toBeDefined();
  });

  test('SharedTreeService upgradeBottomUp should call redux actions', () => {
    const serviceModelId = "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd";
    const node = getNodeWithData("upgrade")
    spyOn(node.parent.data.menuActions['upgrade'], 'method');
    service.upgradeBottomUp(node, serviceModelId);
    expect(node.parent.data.menuActions['upgrade'].method).toBeCalledWith(node.parent, serviceModelId);
    expect(node.parent.data.menuActions['upgrade'].method).toBeCalledTimes(2);

  });

  test('SharedTreeService undoUpgradeBottomUp should call redux actions', () => {
    const serviceModelId = "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd";
    const node = getNodeWithData("undoUpgrade")
    spyOn(node.parent.data.menuActions['undoUpgrade'], 'method');
    service.undoUpgradeBottomUp(node, serviceModelId);
    expect(node.parent.data.menuActions['undoUpgrade'].method).toBeCalledWith(node.parent, serviceModelId);
    expect(node.parent.data.menuActions['undoUpgrade'].method).toBeCalledTimes(2);
  });

  test('shouldShowDeleteInstanceWithChildrenModal should open modal if child exist with action create', () => {
    jest.spyOn(MessageBoxService.openModal, 'next');
    let foo = () => {

    };
    let node = <any>{
      children: [{action: "Create"}, {action: "None"}],
      data: {
        typeName: 'VNF'
      }
    };
    service.shouldShowDeleteInstanceWithChildrenModal(node, "serviceModelId", foo);
    expect(MessageBoxService.openModal.next).toHaveBeenCalled();
  });

  test('openAuditInfoModal should open modal for failed instance', () => {
    jest.spyOn(AuditInfoModalComponent.openInstanceAuditInfoModal, 'next');

    let modelInfoServiceMock: ILevelNodeInfo = new VnfModelInfo(null, null,
      null, null, null, null,
      null, null, null, null,null);
    const modelMock = {"a": "a"};
    const instanceMock = {"instance": "instance", "trackById": "123456789"};
    const instanceTypeMock = "instanceTypeMock";
    jest.spyOn(modelInfoServiceMock, 'getModel').mockReturnValue(modelMock);
    let node = <any>{
      data: {
        modelId: '6b528779-44a3-4472-bdff-9cd15ec93450',
        trackById: '1245df21',
        isFailed: true
      }
    };
    service.openAuditInfoModal(node, "serviceModelId", instanceMock, instanceTypeMock, <any>modelInfoServiceMock);
    expect(AuditInfoModalComponent.openInstanceAuditInfoModal.next).toHaveBeenCalledWith(
      {
        "instance": instanceMock,
        "instanceId": "serviceModelId",
        "model": modelMock,
        "type": instanceTypeMock
      });
  });

  test('shouldShowDeleteInstanceWithChildrfenModal should not open modal if all childs with action None', () => {
    let foo = () => {
    };
    spyOn(MessageBoxService.openModal, 'next');

    let node = <any>{
      children: [{action: "None"}, {action: "None"}],
      data: {
        typeName: 'VNF'
      }
    };
    service.shouldShowDeleteInstanceWithChildrenModal(node, "serviceModelId", foo);
    expect(MessageBoxService.openModal.next).not.toHaveBeenCalled();
  });

  test ('addGeneralInfoItems should return correct info - ordered',()=>{
    let specificNetworkInfo = [
      ModelInformationItem.createInstance('Network role', "network role 1, network role 2")
    ];
    const actualInfoModel: ComponentInfoModel = service.addGeneralInfoItems(specificNetworkInfo,ComponentInfoType.NETWORK, getNetworkModel(),getNetworkInstance());

    let expectedGeneralInfo = [
      ModelInformationItem.createInstance('Model version', '37.0'),
      ModelInformationItem.createInstance('Model customization ID', '94fdd893-4a36-4d70-b16a-ec29c54c184f'),
      ModelInformationItem.createInstance('Instance ID', 'NETWORK4_INSTANCE_ID'),
      ModelInformationItem.createInstance('Instance type', 'CONTRAIL30_HIMELGUARD'),
      ModelInformationItem.createInstance('In maintenance', false),
      ModelInformationItem.createInstance('Network role', 'network role 1, network role 2')
    ];
    expect(actualInfoModel.modelInfoItems).toEqual(expectedGeneralInfo);
  });



  test('statusProperties should be prop on node according to node properties', () => {
    let node = service.addingStatusProperty({orchStatus: 'completed', provStatus: 'inProgress', inMaint: false});
    expect(node.statusProperties).toBeDefined();
    expect(node.statusProperties).toEqual([Object({
      key: 'Prov Status:',
      value: 'inProgress',
      testId: 'provStatus'
    }), Object({key: 'Orch Status:', value: 'completed', testId: 'orchStatus'})]);
    node = service.addingStatusProperty({orchStatus: 'completed', provStatus: 'inProgress', inMaint: true});
    expect(node.statusProperties).toEqual([Object({
      key: 'Prov Status:',
      value: 'inProgress',
      testId: 'provStatus'
    }), Object({key: 'Orch Status:', value: 'completed', testId: 'orchStatus'}), Object({
      key: 'In-maintenance',
      value: '',
      testId: 'inMaint'
    })]);
  });
  const enableRemoveAndEditItemsDataProvider = [
    ['Create action CREATE mode', DrawingBoardModes.CREATE ,ServiceInstanceActions.Create, true],
    ['Create action VIEW mode',DrawingBoardModes.VIEW , ServiceInstanceActions.Create,false],
    ['Create action RETRY_EDIT mode',DrawingBoardModes.RETRY_EDIT,  ServiceInstanceActions.Create,  true],
    ['Create action EDIT mode',DrawingBoardModes.EDIT, ServiceInstanceActions.Create,  true],
    ['Create action RETRY mode',DrawingBoardModes.RETRY, ServiceInstanceActions.Create,  false],
    ['None action EDIT mode',DrawingBoardModes.EDIT,  ServiceInstanceActions.None, false],
    ['None action RETRY_EDIT mode', DrawingBoardModes.RETRY_EDIT, ServiceInstanceActions.None, false]];
  each(enableRemoveAndEditItemsDataProvider).test('shouldShowEditAndDelete if child exist with %s', (description, mode, action, enabled) => {
    jest.spyOn(store, 'getState').mockReturnValue(<any>{
        global: {
          drawingBoardStatus: mode
        }
      });
      let node = <any>{
        data:{
          action: action
        },
      };
      let res = service.shouldShowRemoveAndEdit(node);
      expect(res).toBe(enabled);
    });
});
function generateService() {
  return {
    "vnfs": {
      "2017-488_PASQUALE-vPE 0": {
        "inMaint": false,
        "rollbackOnFailure": "true",
        "originalName": "2017-488_PASQUALE-vPE 0",
        "isMissingData": false,
        "trackById": "stigekyxrqi",
        "vfModules": {
          "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
            "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0gytfi": {
              "isMissingData": false,
              "sdncPreReload": null,
              "modelInfo": {
                "modelType": "VFmodule",
                "modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
                "modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
                "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
                "modelVersion": "5",
                "modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
                "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0"
              },
              "instanceParams": [{}],
              "trackById": "3oj23o7nupo"
            }
          }
        },
        "vnfStoreKey": "2017-488_PASQUALE-vPE 0",
        "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
        "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
        "lcpCloudRegionId": "AAIAIC25",
        "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
        "lineOfBusiness": "ONAP",
        "platformName": "xxx1",
        "modelInfo": {
          "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
          "modelVersionId": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
          "modelName": "2017-488_PASQUALE-vPE",
          "modelVersion": "5.0",
          "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
          "modelCustomizationId": "1da7b585-5e61-4993-b95e-8e6606c81e45",
          "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09"
        },
        "legacyRegion": "11111111",
        "instanceParams": [{}]
      },
      "2017-388_PASQUALE-vPE 0": {
        "inMaint": false,
        "rollbackOnFailure": "true",
        "originalName": "2017-388_PASQUALE-vPE 0",
        "isMissingData": false,
        "trackById": "nib719t5vca",
        "vfModules": {},
        "vnfStoreKey": "2017-388_PASQUALE-vPE 0",
        "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
        "lcpCloudRegionId": "AAIAIC25",
        "legacyRegion": "11111",
        "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
        "platformName": "platform",
        "lineOfBusiness": "zzz1",
        "instanceParams": [{}],
        "modelInfo": {
          "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
          "modelVersionId": "afacccf6-397d-45d6-b5ae-94c39734b168",
          "modelName": "2017-388_PASQUALE-vPE",
          "modelVersion": "4.0",
          "modelCustomizationId": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
          "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
          "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
        },
        "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
      },
      "2017-388_PASQUALE-vPE 1": {
        "inMaint": false,
        "rollbackOnFailure": "true",
        "originalName": "2017-388_PASQUALE-vPE 1",
        "isMissingData": false,
        "trackById": "cv7l1ak8vpe",
        "vfModules": {},
        "vnfStoreKey": "2017-388_PASQUALE-vPE 1",
        "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
        "lcpCloudRegionId": "AAIAIC25",
        "legacyRegion": "123",
        "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
        "platformName": "platform",
        "lineOfBusiness": "ONAP",
        "instanceParams": [{}],
        "modelInfo": {
          "modelInvariantId": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
          "modelVersionId": "0903e1c0-8e03-4936-b5c2-260653b96413",
          "modelName": "2017-388_PASQUALE-vPE",
          "modelVersion": "1.0",
          "modelCustomizationId": "280dec31-f16d-488b-9668-4aae55d6648a",
          "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
          "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
        },
        "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
      }
    },
    "instanceParams": [{}],
    "validationCounter": 0,
    "existingNames": {"yoav": ""},
    "existingVNFCounterMap": {
      "69e09f68-8b63-4cc9-b9ff-860960b5db09": 1,
      "afacccf6-397d-45d6-b5ae-94c39734b168": 1,
      "0903e1c0-8e03-4936-b5c2-260653b96413": 1
    },
    "existingVnfGroupCounterMap": {
      "daeb6568-cef8-417f-9075-ed259ce59f48": 0,
      "c2b300e6-45de-4e5e-abda-3032bee2de56": -1
    },
    "existingNetworksCounterMap": {"ddc3f20c-08b5-40fd-af72-c6d14636b986": 1},
    "networks": {
      "ExtVL 0": {
        "inMaint": false,
        "rollbackOnFailure": "true",
        "originalName": "ExtVL 0",
        "isMissingData": false,
        "trackById": "s6okajvv2n8",
        "networkStoreKey": "ExtVL 0",
        "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
        "lcpCloudRegionId": "AAIAIC25",
        "legacyRegion": "12355555",
        "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
        "platformName": "platform",
        "lineOfBusiness": null,
        "instanceParams": [{}],
        "modelInfo": {
          "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
          "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
          "modelName": "ExtVL",
          "modelVersion": "37.0",
          "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
          "modelCustomizationName": "ExtVL 0",
          "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
        },
        "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
      }
    },
    "vnfGroups": {
      "groupingservicefortest..ResourceInstanceGroup..0": {
        "inMaint": false,
        "rollbackOnFailure": "true",
        "originalName": "groupingservicefortest..ResourceInstanceGroup..0",
        "isMissingData": false,
        "trackById": "se0obn93qq",
        "vnfGroupStoreKey": "groupingservicefortest..ResourceInstanceGroup..0",
        "instanceName": "groupingservicefortestResourceInstanceGroup0",
        "instanceParams": [{}],
        "modelInfo": {
          "modelInvariantId": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
          "modelVersionId": "daeb6568-cef8-417f-9075-ed259ce59f48",
          "modelName": "groupingservicefortest..ResourceInstanceGroup..0",
          "modelVersion": "1",
          "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
          "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
        },
        "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
      }
    },
    "instanceName": "yoav",
    "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
    "subscriptionServiceType": "TYLER SILVIA",
    "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
    "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
    "lcpCloudRegionId": "AAIAIC25",
    "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
    "aicZoneId": "ATL53",
    "pause": null,
    "projectName": "WATKINS",
    "rollbackOnFailure": "true",
    "bulkSize": 1,
    "aicZoneName": "AAIATLTE-ATL53",
    "owningEntityName": "WayneHolland",
    "testApi": "VNF_API",
    "isEcompGeneratedNaming": false,
    "tenantName": "USP-SIP-IC-24335-T-01",
    "modelInfo": {
      "modelInvariantId": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
      "modelVersionId": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
      "modelName": "action-data",
      "modelVersion": "1.0",
      "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"
    },
    "isALaCarte": false,
    "name": "action-data",
    "version": "1.0",
    "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
    "category": "Network L1-3",
    "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
    "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
    "serviceType": "pnf",
    "serviceRole": "Testing",
    "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"},
    "isMultiStepDesign": true
  };
}

function getStore() {
  return {
    "global": {
      "name": null,
      "flags": {
        "CREATE_INSTANCE_TEST": false,
        "EMPTY_DRAWING_BOARD_TEST": false,
        "FLAG_NETWORK_TO_ASYNC_INSTANTIATION": false,
        "FLAG_ADD_MSO_TESTAPI_FIELD": true,
        "FLAG_SERVICE_MODEL_CACHE": true,
        "FLAG_SHOW_ASSIGNMENTS": true,
        "FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS": true,
        "FLAG_DEFAULT_VNF": true,
        "FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARD": true,
        "FLAG_A_LA_CARTE_AUDIT_INFO": true,
        "FLAG_1810_CR_ADD_CLOUD_OWNER_TO_MSO_REQUEST": true,
        "FLAG_PRESENT_PROVIDER_NETWORKS_ASSOCIATIONS": true,
        "FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULE": true,
        "FLAG_1902_NEW_VIEW_EDIT": true,
        "FLAG_1810_IDENTIFY_SERVICE_FOR_NEW_UI": false,
        "FLAG_1902_VNF_GROUPING": true,
        "FLAG_SHOW_VERIFY_SERVICE": true,
        "FLAG_ASYNC_ALACARTE_VFMODULE": true,
        "FLAG_ASYNC_ALACARTE_VNF": true,
        "FLAG_1810_AAI_LOCAL_CACHE": true,
        "FLAG_EXP_USE_DEFAULT_HOST_NAME_VERIFIER": false,
        "FLAG_EXP_ANY_ALACARTE_NEW_INSTANTIATION_UI": false,
        "FLAG_SUPPLEMENTARY_FILE": true,
        "FLAG_5G_IN_NEW_INSTANTIATION_UI": true,
        "FLAG_RESTRICTED_SELECT": false,
        "FLAG_1810_CR_LET_SELECTING_COLLECTOR_TYPE_UNCONDITIONALLY": true
      },
      "drawingBoardStatus": "VIEW",
      "type": "UPDATE_DRAWING_BOARD_STATUS"
    },
    "service": {
      "serviceHierarchy": {
        "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
          "service": {
            "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
            "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
            "name": "action-data",
            "version": "1.0",
            "toscaModelURL": null,
            "category": "Network L1-3",
            "serviceType": "pnf",
            "serviceRole": "Testing",
            "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
            "serviceEcompNaming": "false",
            "instantiationType": "Macro",
            "inputs": {},
            "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"}
          },
          "vnfs": {
            "2017-388_PASQUALE-vPE 1": {
              "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
              "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
              "description": "Name PASQUALE vPE Description The provider edge function for the PASQUALE service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM",
              "name": "2017-388_PASQUALE-vPE",
              "version": "1.0",
              "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a",
              "inputs": {},
              "commands": {},
              "properties": {
                "vmxvre_retype": "RE-VMX",
                "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
                "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
                "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
                "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
                "int_ctl_net_name": "VMX-INTXI",
                "vmx_int_ctl_prefix": "10.0.0.10",
                "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
                "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
                "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
                "nf_type": "vPE",
                "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
                "is_AVPN_service": "false",
                "vmx_RSG_name": "vREXI-affinity",
                "vmx_int_ctl_forwarding": "l2",
                "vmxvre_oam_ip_0": "10.0.0.10",
                "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
                "vmxvpfe_sriov41_0_port_vlanstrip": "false",
                "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
                "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
                "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
                "vmxvre_instance": "0",
                "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
                "vmxvre_flavor_name": "ns.c1r16d32.v5",
                "vmxvpfe_volume_size_0": "40.0",
                "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
                "nf_naming": "{ecomp_generated_naming=true}",
                "multi_stage_design": "true",
                "nf_naming_code": "Navneet",
                "vmxvre_name_0": "vREXI",
                "vmxvpfe_sriov42_0_port_vlanstrip": "false",
                "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
                "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
                "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
                "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
                "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
                "vmxvre_console": "vidconsole",
                "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
                "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
                "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
                "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
                "vmxvpfe_sriov44_0_port_vlanstrip": "false",
                "vf_module_id": "123",
                "nf_function": "JAI",
                "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
                "vmxvre_int_ctl_ip_0": "10.0.0.10",
                "ecomp_generated_naming": "true",
                "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
                "vnf_name": "mtnj309me6vre",
                "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
                "vmxvre_volume_type_1": "HITACHI",
                "vmxvpfe_sriov44_0_port_broadcastallow": "true",
                "vmxvre_volume_type_0": "HITACHI",
                "vmxvpfe_volume_type_0": "HITACHI",
                "vmxvpfe_sriov43_0_port_broadcastallow": "true",
                "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
                "vnf_id": "123",
                "vmxvre_oam_prefix": "24",
                "availability_zone_0": "mtpocfo-kvm-az01",
                "ASN": "get_input:2017488_pasqualevpe0_ASN",
                "vmxvre_chassis_i2cid": "161",
                "vmxvpfe_name_0": "vPFEXI",
                "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
                "availability_zone_max_count": "1",
                "vmxvre_volume_size_0": "45.0",
                "vmxvre_volume_size_1": "50.0",
                "vmxvpfe_sriov42_0_port_broadcastallow": "true",
                "vmxvre_oam_gateway": "10.0.0.10",
                "vmxvre_volume_name_1": "vREXI_FAVolume",
                "vmxvre_ore_present": "0",
                "vmxvre_volume_name_0": "vREXI_FBVolume",
                "vmxvre_type": "0",
                "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
                "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
                "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
                "vmx_int_ctl_len": "24",
                "vmxvpfe_sriov43_0_port_vlanstrip": "false",
                "vmxvpfe_sriov41_0_port_broadcastallow": "true",
                "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
                "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
                "nf_role": "Testing",
                "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
                "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
                "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
              },
              "type": "VF",
              "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
              "vfModules": {},
              "volumeGroups": {},
              "vfcInstanceGroups": {}
            },
            "2017-388_PASQUALE-vPE 0": {
              "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
              "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
              "description": "Name PASQUALE vPE Description The provider edge function for the PASQUALE service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM",
              "name": "2017-388_PASQUALE-vPE",
              "version": "4.0",
              "customizationUuid": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
              "inputs": {},
              "commands": {},
              "properties": {
                "vmxvre_retype": "RE-VMX",
                "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
                "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
                "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
                "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
                "int_ctl_net_name": "VMX-INTXI",
                "vmx_int_ctl_prefix": "10.0.0.10",
                "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
                "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
                "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
                "nf_type": "vPE",
                "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
                "is_AVPN_service": "false",
                "vmx_RSG_name": "vREXI-affinity",
                "vmx_int_ctl_forwarding": "l2",
                "vmxvre_oam_ip_0": "10.0.0.10",
                "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
                "vmxvpfe_sriov41_0_port_vlanstrip": "false",
                "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
                "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
                "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
                "vmxvre_instance": "0",
                "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
                "vmxvre_flavor_name": "ns.c1r16d32.v5",
                "vmxvpfe_volume_size_0": "40.0",
                "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
                "nf_naming": "{ecomp_generated_naming=true}",
                "multi_stage_design": "true",
                "nf_naming_code": "Navneet",
                "vmxvre_name_0": "vREXI",
                "vmxvpfe_sriov42_0_port_vlanstrip": "false",
                "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
                "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
                "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
                "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
                "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
                "vmxvre_console": "vidconsole",
                "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
                "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
                "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
                "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
                "vmxvpfe_sriov44_0_port_vlanstrip": "false",
                "vf_module_id": "123",
                "nf_function": "JAI",
                "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
                "vmxvre_int_ctl_ip_0": "10.0.0.10",
                "ecomp_generated_naming": "true",
                "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
                "vnf_name": "mtnj309me6vre",
                "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
                "vmxvre_volume_type_1": "HITACHI",
                "vmxvpfe_sriov44_0_port_broadcastallow": "true",
                "vmxvre_volume_type_0": "HITACHI",
                "vmxvpfe_volume_type_0": "HITACHI",
                "vmxvpfe_sriov43_0_port_broadcastallow": "true",
                "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
                "vnf_id": "123",
                "vmxvre_oam_prefix": "24",
                "availability_zone_0": "mtpocfo-kvm-az01",
                "ASN": "get_input:2017488_pasqualevpe0_ASN",
                "vmxvre_chassis_i2cid": "161",
                "vmxvpfe_name_0": "vPFEXI",
                "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
                "availability_zone_max_count": "1",
                "vmxvre_volume_size_0": "45.0",
                "vmxvre_volume_size_1": "50.0",
                "vmxvpfe_sriov42_0_port_broadcastallow": "true",
                "vmxvre_oam_gateway": "10.0.0.10",
                "vmxvre_volume_name_1": "vREXI_FAVolume",
                "vmxvre_ore_present": "0",
                "vmxvre_volume_name_0": "vREXI_FBVolume",
                "vmxvre_type": "0",
                "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
                "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
                "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
                "vmx_int_ctl_len": "24",
                "vmxvpfe_sriov43_0_port_vlanstrip": "false",
                "vmxvpfe_sriov41_0_port_broadcastallow": "true",
                "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
                "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
                "nf_role": "Testing",
                "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
                "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
                "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
              },
              "type": "VF",
              "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
              "vfModules": {},
              "volumeGroups": {},
              "vfcInstanceGroups": {}
            },
            "2017-488_PASQUALE-vPE 0": {
              "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
              "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
              "description": "Name PASQUALE vPE Description The provider edge function for the PASQUALE service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM",
              "name": "2017-488_PASQUALE-vPE",
              "version": "5.0",
              "customizationUuid": "1da7b585-5e61-4993-b95e-8e6606c81e45",
              "inputs": {},
              "commands": {},
              "properties": {
                "max_instances": 1,
                "vmxvre_retype": "RE-VMX",
                "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
                "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
                "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
                "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
                "int_ctl_net_name": "VMX-INTXI",
                "vmx_int_ctl_prefix": "10.0.0.10",
                "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
                "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
                "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
                "nf_type": "vPE",
                "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
                "is_AVPN_service": "false",
                "vmx_RSG_name": "vREXI-affinity",
                "vmx_int_ctl_forwarding": "l2",
                "vmxvre_oam_ip_0": "10.0.0.10",
                "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
                "vmxvpfe_sriov41_0_port_vlanstrip": "false",
                "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
                "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
                "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
                "vmxvre_instance": "0",
                "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
                "vmxvre_flavor_name": "ns.c1r16d32.v5",
                "vmxvpfe_volume_size_0": "40.0",
                "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
                "nf_naming": "{ecomp_generated_naming=true}",
                "multi_stage_design": "true",
                "nf_naming_code": "Navneet",
                "vmxvre_name_0": "vREXI",
                "vmxvpfe_sriov42_0_port_vlanstrip": "false",
                "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
                "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
                "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
                "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
                "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
                "vmxvre_console": "vidconsole",
                "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
                "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
                "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
                "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
                "vmxvpfe_sriov44_0_port_vlanstrip": "false",
                "vf_module_id": "123",
                "nf_function": "JAI",
                "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
                "vmxvre_int_ctl_ip_0": "10.0.0.10",
                "ecomp_generated_naming": "true",
                "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
                "vnf_name": "mtnj309me6vre",
                "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
                "vmxvre_volume_type_1": "HITACHI",
                "vmxvpfe_sriov44_0_port_broadcastallow": "true",
                "vmxvre_volume_type_0": "HITACHI",
                "vmxvpfe_volume_type_0": "HITACHI",
                "vmxvpfe_sriov43_0_port_broadcastallow": "true",
                "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
                "vnf_id": "123",
                "vmxvre_oam_prefix": "24",
                "availability_zone_0": "mtpocfo-kvm-az01",
                "ASN": "get_input:2017488_pasqualevpe0_ASN",
                "vmxvre_chassis_i2cid": "161",
                "vmxvpfe_name_0": "vPFEXI",
                "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
                "availability_zone_max_count": "1",
                "vmxvre_volume_size_0": "45.0",
                "vmxvre_volume_size_1": "50.0",
                "vmxvpfe_sriov42_0_port_broadcastallow": "true",
                "vmxvre_oam_gateway": "10.0.0.10",
                "vmxvre_volume_name_1": "vREXI_FAVolume",
                "vmxvre_ore_present": "0",
                "vmxvre_volume_name_0": "vREXI_FBVolume",
                "vmxvre_type": "0",
                "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
                "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
                "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
                "vmx_int_ctl_len": "24",
                "vmxvpfe_sriov43_0_port_vlanstrip": "false",
                "vmxvpfe_sriov41_0_port_broadcastallow": "true",
                "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
                "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
                "nf_role": "Testing",
                "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
                "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
                "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
              },
              "type": "VF",
              "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
              "vfModules": {
                "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
                  "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
                  "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
                  "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
                  "description": null,
                  "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
                  "version": "6",
                  "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
                  "properties": {
                    "minCountInstances": 0,
                    "maxCountInstances": null,
                    "initialCount": 0,
                    "vfModuleLabel": "PASQUALE_vRE_BV",
                    "baseModule": false
                  },
                  "inputs": {},
                  "volumeGroupAllowed": true
                },
                "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
                  "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
                  "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
                  "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
                  "description": null,
                  "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
                  "version": "5",
                  "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
                  "properties": {
                    "minCountInstances": 1,
                    "maxCountInstances": 1,
                    "initialCount": 1,
                    "vfModuleLabel": "PASQUALE_base_vPE_BV",
                    "baseModule": true
                  },
                  "inputs": {},
                  "volumeGroupAllowed": false
                },
                "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
                  "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
                  "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
                  "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
                  "description": null,
                  "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
                  "version": "6",
                  "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
                  "properties": {
                    "minCountInstances": 0,
                    "maxCountInstances": null,
                    "initialCount": 0,
                    "vfModuleLabel": "PASQUALE_vPFE_BV",
                    "baseModule": false
                  },
                  "inputs": {},
                  "volumeGroupAllowed": true
                }
              },
              "volumeGroups": {
                "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
                  "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
                  "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
                  "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
                  "description": null,
                  "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
                  "version": "6",
                  "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
                  "properties": {
                    "minCountInstances": 0,
                    "maxCountInstances": null,
                    "initialCount": 0,
                    "vfModuleLabel": "PASQUALE_vRE_BV",
                    "baseModule": false
                  },
                  "inputs": {}
                },
                "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
                  "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
                  "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
                  "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
                  "description": null,
                  "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
                  "version": "6",
                  "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
                  "properties": {
                    "minCountInstances": 0,
                    "maxCountInstances": null,
                    "initialCount": 0,
                    "vfModuleLabel": "PASQUALE_vPFE_BV",
                    "baseModule": false
                  },
                  "inputs": {}
                }
              },
              "vfcInstanceGroups": {}
            }
          },
          "networks": {
            "ExtVL 0": {
              "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
              "invariantUuid": "379f816b-a7aa-422f-be30-17114ff50b7c",
              "description": "ECOMP generic virtual link (network) base type for all other service-level and global networks",
              "name": "ExtVL",
              "version": "37.0",
              "customizationUuid": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
              "inputs": {},
              "commands": {},
              "properties": {
                "network_assignments": "{is_external_network=false, ipv4_subnet_default_assignment={min_subnets_count=1}, ecomp_generated_network_assignment=false, ipv6_subnet_default_assignment={min_subnets_count=1}}",
                "exVL_naming": "{ecomp_generated_naming=true}",
                "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
                "network_homing": "{ecomp_selected_instance_node_target=false}"
              },
              "type": "VL",
              "modelCustomizationName": "ExtVL 0"
            }
          },
          "collectionResources": {},
          "configurations": {},
          "fabricConfigurations": {},
          "serviceProxies": {},
          "vfModules": {
            "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
              "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
              "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
              "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
              "description": null,
              "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
              "version": "6",
              "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
              "properties": {
                "minCountInstances": 0,
                "maxCountInstances": null,
                "initialCount": 0,
                "vfModuleLabel": "PASQUALE_vRE_BV",
                "baseModule": false
              },
              "inputs": {},
              "volumeGroupAllowed": true
            },
            "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
              "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
              "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
              "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
              "description": null,
              "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
              "version": "5",
              "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
              "properties": {
                "minCountInstances": 1,
                "maxCountInstances": 1,
                "initialCount": 1,
                "vfModuleLabel": "PASQUALE_base_vPE_BV",
                "baseModule": true
              },
              "inputs": {},
              "volumeGroupAllowed": false
            },
            "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
              "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
              "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
              "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
              "description": null,
              "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
              "version": "6",
              "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
              "properties": {
                "minCountInstances": 0,
                "maxCountInstances": null,
                "initialCount": 0,
                "vfModuleLabel": "PASQUALE_vPFE_BV",
                "baseModule": false
              },
              "inputs": {},
              "volumeGroupAllowed": true
            }
          },
          "volumeGroups": {
            "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
              "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
              "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
              "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
              "description": null,
              "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
              "version": "6",
              "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
              "properties": {
                "minCountInstances": 0,
                "maxCountInstances": null,
                "initialCount": 0,
                "vfModuleLabel": "PASQUALE_vRE_BV",
                "baseModule": false
              },
              "inputs": {}
            },
            "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
              "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
              "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
              "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
              "description": null,
              "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
              "version": "6",
              "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
              "properties": {
                "minCountInstances": 0,
                "maxCountInstances": null,
                "initialCount": 0,
                "vfModuleLabel": "PASQUALE_vPFE_BV",
                "baseModule": false
              },
              "inputs": {}
            }
          },
          "pnfs": {},
          "vnfGroups": {
            "groupingservicefortest..ResourceInstanceGroup..0": {
              "type": "VnfGroup",
              "invariantUuid": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
              "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48",
              "version": "1",
              "name": "groupingservicefortest..ResourceInstanceGroup..0",
              "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
              "properties": {
                "contained_resource_type": "VF",
                "role": "SERVICE-ACCESS",
                "function": "DATA",
                "description": "DDD0",
                "type": "LOAD-GROUP",
                "ecomp_generated_naming": "true"
              },
              "members": {
                "vdorothea_svc_vprs_proxy 0": {
                  "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
                  "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
                  "description": "A Proxy for Service vDOROTHEA_Svc_vPRS",
                  "name": "vDOROTHEA_Svc_vPRS Service Proxy",
                  "version": "1.0",
                  "customizationUuid": "bdb63d23-e132-4ce7-af2c-a493b4cafac9",
                  "inputs": {},
                  "commands": {},
                  "properties": {},
                  "type": "Service Proxy",
                  "sourceModelUuid": "da7827a2-366d-4be6-8c68-a69153c61274",
                  "sourceModelInvariant": "24632e6b-584b-4f45-80d4-fefd75fd9f14",
                  "sourceModelName": "vDOROTHEA_Svc_vPRS"
                }
              }
            },
            "groupingservicefortest..ResourceInstanceGroup..1": {
              "type": "VnfGroup",
              "invariantUuid": "a704112d-dbc6-4e56-8d4e-aec57e95ef9a",
              "uuid": "c2b300e6-45de-4e5e-abda-3032bee2de56",
              "version": "1",
              "name": "groupingservicefortest..ResourceInstanceGroup..1",
              "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..1",
              "properties": {
                "contained_resource_type": "VF",
                "role": "SERVICE-ACCESS",
                "function": "SIGNALING",
                "description": "DDD1",
                "type": "LOAD-GROUP",
                "ecomp_generated_naming": "true"
              },
              "members": {
                "tsbc0001vm001_svc_proxy 0": {
                  "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
                  "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
                  "description": "A Proxy for Service tsbc0001vm001_Svc",
                  "name": "tsbc0001vm001_Svc Service Proxy",
                  "version": "1.0",
                  "customizationUuid": "3d814462-30fb-4c62-b997-9aa360d27ead",
                  "inputs": {},
                  "commands": {},
                  "properties": {},
                  "type": "Service Proxy",
                  "sourceModelUuid": "28aeb8f6-5620-4148-8bfb-a5fb406f0309",
                  "sourceModelInvariant": "c989ab9a-33c7-46ec-b521-1b2daef5f047",
                  "sourceModelName": "tsbc0001vm001_Svc"
                }
              }
            }
          }
        },
        "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6": {
          "service": {
            "uuid": "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6",
            "invariantUuid": "5b9c0f33-eec1-484a-bf77-736a6644d7a8",
            "name": "Using VID for VoIP Network Instantiations Shani",
            "version": "1.0",
            "toscaModelURL": null,
            "category": "VoIP Call Control",
            "serviceType": "",
            "serviceRole": "",
            "description": "Using VID for VoIP Network Instantiations Shani",
            "serviceEcompNaming": "true",
            "instantiationType": "ClientConfig",
            "inputs": {},
            "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"}
          },
          "vnfs": {},
          "networks": {
            "AIC30_CONTRAIL_BASIC 0": {
              "uuid": "ac815c68-35b7-4ea4-9d04-92d2f844b27c",
              "invariantUuid": "de01afb5-532b-451d-aac4-ff9ff0644060",
              "description": "Basic contrail 3.0.x L3 network for AIC 3.x sites. ",
              "name": "AIC30_CONTRAIL_BASIC",
              "version": "3.0",
              "customizationUuid": "e94d61f7-b4b2-489a-a4a7-30b1a1a80daf",
              "inputs": {},
              "commands": {},
              "properties": {
                "network_assignments": "{is_external_network=false, ipv4_subnet_default_assignment={min_subnets_count=1}, ecomp_generated_network_assignment=false, ipv6_subnet_default_assignment={min_subnets_count=1}}",
                "exVL_naming": "{ecomp_generated_naming=true}",
                "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
                "network_scope": "Service",
                "network_type": "AIC30_CONTRAIL_BASIC",
                "network_technology": "Contrail",
                "network_homing": "{ecomp_selected_instance_node_target=false}"
              },
              "type": "VL",
              "modelCustomizationName": "AIC30_CONTRAIL_BASIC 0"
            }
          },
          "collectionResources": {},
          "configurations": {},
          "fabricConfigurations": {},
          "serviceProxies": {},
          "vfModules": {},
          "volumeGroups": {},
          "pnfs": {},
          "vnfGroups": {}
        }
      },
      "serviceInstance": {
        "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
          "vnfs": {
            "2017-488_PASQUALE-vPE 0": {
              "action": "None",
              "inMaint": false,
              "rollbackOnFailure": "true",
              "originalName": "2017-488_PASQUALE-vPE 0",
              "isMissingData": false,
              "trackById": "stigekyxrqi",
              "vfModules": {
                "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
                  "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0gytfi": {
                    "isMissingData": false,
                    "sdncPreReload": null,
                    "modelInfo": {
                      "modelType": "VFmodule",
                      "modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
                      "modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
                      "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
                      "modelVersion": "5",
                      "modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
                      "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0"
                    },
                    "instanceParams": [{}],
                    "trackById": "3oj23o7nupo"
                  }
                }
              },
              "vnfStoreKey": "2017-488_PASQUALE-vPE 0",
              "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
              "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
              "lcpCloudRegionId": "AAIAIC25",
              "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
              "lineOfBusiness": "ONAP",
              "platformName": "xxx1",
              "modelInfo": {
                "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
                "modelVersionId": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
                "modelName": "2017-488_PASQUALE-vPE",
                "modelVersion": "5.0",
                "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
                "modelCustomizationId": "1da7b585-5e61-4993-b95e-8e6606c81e45",
                "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09"
              },
              "legacyRegion": "11111111",
              "instanceParams": [{}]
            },
            "2017-388_PASQUALE-vPE 0": {
              "action": "Create",
              "inMaint": false,
              "rollbackOnFailure": "true",
              "originalName": "2017-388_PASQUALE-vPE 0",
              "isMissingData": false,
              "trackById": "nib719t5vca",
              "vfModules": {},
              "vnfStoreKey": "2017-388_PASQUALE-vPE 0",
              "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
              "lcpCloudRegionId": "AAIAIC25",
              "legacyRegion": "11111",
              "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
              "platformName": "platform",
              "lineOfBusiness": "zzz1",
              "instanceParams": [{}],
              "modelInfo": {
                "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
                "modelVersionId": "afacccf6-397d-45d6-b5ae-94c39734b168",
                "modelName": "2017-388_PASQUALE-vPE",
                "modelVersion": "4.0",
                "modelCustomizationId": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
                "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
                "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
              },
              "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
            },
            "2017-388_PASQUALE-vPE 1": {
              "action": "None",
              "inMaint": false,
              "rollbackOnFailure": "true",
              "originalName": "2017-388_PASQUALE-vPE 1",
              "isMissingData": false,
              "trackById": "cv7l1ak8vpe",
              "vfModules": {},
              "vnfStoreKey": "2017-388_PASQUALE-vPE 1",
              "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
              "lcpCloudRegionId": "AAIAIC25",
              "legacyRegion": "123",
              "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
              "platformName": "platform",
              "lineOfBusiness": "ONAP",
              "instanceParams": [{}],
              "modelInfo": {
                "modelInvariantId": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
                "modelVersionId": "0903e1c0-8e03-4936-b5c2-260653b96413",
                "modelName": "2017-388_PASQUALE-vPE",
                "modelVersion": "1.0",
                "modelCustomizationId": "280dec31-f16d-488b-9668-4aae55d6648a",
                "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
                "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
              },
              "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
            }
          },
          "instanceParams": [{}],
          "validationCounter": 0,
          "existingNames": {"yoav": ""},
          "existingVNFCounterMap": {
            "69e09f68-8b63-4cc9-b9ff-860960b5db09": 1,
            "afacccf6-397d-45d6-b5ae-94c39734b168": 1,
            "0903e1c0-8e03-4936-b5c2-260653b96413": 1
          },
          "existingVnfGroupCounterMap": {
            "daeb6568-cef8-417f-9075-ed259ce59f48": 0,
            "c2b300e6-45de-4e5e-abda-3032bee2de56": -1
          },
          "existingNetworksCounterMap": {"ddc3f20c-08b5-40fd-af72-c6d14636b986": 1},
          "networks": {
            "ExtVL 0": {
              "inMaint": false,
              "rollbackOnFailure": "true",
              "originalName": "ExtVL 0",
              "isMissingData": false,
              "trackById": "s6okajvv2n8",
              "networkStoreKey": "ExtVL 0",
              "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
              "lcpCloudRegionId": "AAIAIC25",
              "legacyRegion": "12355555",
              "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
              "platformName": "platform",
              "lineOfBusiness": null,
              "instanceParams": [{}],
              "modelInfo": {
                "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
                "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
                "modelName": "ExtVL",
                "modelVersion": "37.0",
                "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
                "modelCustomizationName": "ExtVL 0",
                "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
              },
              "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
            }
          },
          "vnfGroups": {
            "groupingservicefortest..ResourceInstanceGroup..0": {
              "inMaint": false,
              "rollbackOnFailure": "true",
              "originalName": "groupingservicefortest..ResourceInstanceGroup..0",
              "isMissingData": false,
              "trackById": "se0obn93qq",
              "vnfGroupStoreKey": "groupingservicefortest..ResourceInstanceGroup..0",
              "instanceName": "groupingservicefortestResourceInstanceGroup0",
              "instanceParams": [{}],
              "modelInfo": {
                "modelInvariantId": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
                "modelVersionId": "daeb6568-cef8-417f-9075-ed259ce59f48",
                "modelName": "groupingservicefortest..ResourceInstanceGroup..0",
                "modelVersion": "1",
                "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
                "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
              },
              "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
            }
          },
          "instanceName": "yoav",
          "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
          "subscriptionServiceType": "TYLER SILVIA",
          "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
          "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
          "lcpCloudRegionId": "AAIAIC25",
          "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
          "aicZoneId": "ATL53",
          "pause": null,
          "projectName": "WATKINS",
          "rollbackOnFailure": "true",
          "bulkSize": 1,
          "aicZoneName": "AAIATLTE-ATL53",
          "owningEntityName": "WayneHolland",
          "testApi": "VNF_API",
          "isEcompGeneratedNaming": false,
          "tenantName": "USP-SIP-IC-24335-T-01",
          "modelInfo": {
            "modelInvariantId": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
            "modelVersionId": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
            "modelName": "action-data",
            "modelVersion": "1.0",
            "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"
          },
          "isALaCarte": false,
          "name": "action-data",
          "version": "1.0",
          "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
          "category": "Network L1-3",
          "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
          "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
          "serviceType": "pnf",
          "serviceRole": "Testing",
          "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"},
          "isMultiStepDesign": true
        }
      },
      "lcpRegionsAndTenants": {
        "lcpRegionList": [{
          "id": "AAIAIC25",
          "name": "AAIAIC25 (AIC)",
          "isPermitted": true,
          "cloudOwner": "irma-aic"
        }, {"id": "hvf6", "name": "hvf6 (AIC)", "isPermitted": true, "cloudOwner": "irma-aic"}],
        "lcpRegionsTenantsMap": {
          "AAIAIC25": [{
            "id": "092eb9e8e4b7412e8787dd091bc58e86",
            "name": "USP-SIP-IC-24335-T-01",
            "isPermitted": true,
            "cloudOwner": "irma-aic"
          }],
          "hvf6": [{
            "id": "bae71557c5bb4d5aac6743a4e5f1d054",
            "name": "AIN Web Tool-15-D-testalexandria",
            "isPermitted": true,
            "cloudOwner": "irma-aic"
          }, {
            "id": "d0a3e3f2964542259d155a81c41aadc3",
            "name": "test-hvf6-09",
            "isPermitted": true,
            "cloudOwner": "irma-aic"
          }, {
            "id": "fa45ca53c80b492fa8be5477cd84fc2b",
            "name": "ro-T112",
            "isPermitted": true,
            "cloudOwner": "irma-aic"
          }, {
            "id": "cbb99fe4ada84631b7baf046b6fd2044",
            "name": "DN5242-Nov16-T3",
            "isPermitted": true,
            "cloudOwner": "irma-aic"
          }]
        }
      },
      "subscribers": [{
        "id": "ERICA5779-Subscriber-2",
        "name": "ERICA5779-Subscriber-2",
        "isPermitted": false
      }, {
        "id": "ERICA5779-Subscriber-3",
        "name": "ERICA5779-Subscriber-3",
        "isPermitted": false
      }, {
        "id": "ERICA5779-Subscriber-4",
        "name": "ERICA5779-Subscriber-5",
        "isPermitted": false
      }, {
        "id": "ERICA5779-TestSub-PWT-101",
        "name": "ERICA5779-TestSub-PWT-101",
        "isPermitted": false
      }, {
        "id": "ERICA5779-TestSub-PWT-102",
        "name": "ERICA5779-TestSub-PWT-102",
        "isPermitted": false
      }, {
        "id": "ERICA5779-TestSub-PWT-103",
        "name": "ERICA5779-TestSub-PWT-103",
        "isPermitted": false
      }, {
        "id": "31739f3e-526b-11e6-beb8-9e71128cae77",
        "name": "CRAIG/ROBERTS",
        "isPermitted": false
      }, {"id": "DHV1707-TestSubscriber-2", "name": "DALE BRIDGES", "isPermitted": false}, {
        "id": "jimmy-example",
        "name": "JimmyExampleCust-20161102",
        "isPermitted": false
      }, {"id": "jimmy-example2", "name": "JimmyExampleCust-20161103", "isPermitted": false}, {
        "id": "CAR_2020_ER",
        "name": "CAR_2020_ER",
        "isPermitted": true
      }, {
        "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
        "name": "Emanuel",
        "isPermitted": false
      }, {
        "id": "21014aa2-526b-11e6-beb8-9e71128cae77",
        "name": "JULIO ERICKSON",
        "isPermitted": false
      }, {
        "id": "DHV1707-TestSubscriber-1",
        "name": "LLOYD BRIDGES",
        "isPermitted": false
      }, {"id": "e433710f-9217-458d-a79d-1c7aff376d89", "name": "SILVIA ROBBINS", "isPermitted": true}],
      "productFamilies": null,
      "serviceTypes": {
        "e433710f-9217-458d-a79d-1c7aff376d89": [{
          "id": "17",
          "name": "JOHANNA_SANTOS",
          "isPermitted": false
        }, {"id": "16", "name": "LINDSEY", "isPermitted": false}, {
          "id": "2",
          "name": "Emanuel",
          "isPermitted": false
        }, {"id": "5", "name": "Kennedy", "isPermitted": false}, {
          "id": "14",
          "name": "SSD",
          "isPermitted": false
        }, {"id": "1", "name": "TYLER SILVIA", "isPermitted": true}, {
          "id": "12",
          "name": "VPMS",
          "isPermitted": false
        }, {"id": "3", "name": "vJamie", "isPermitted": false}, {
          "id": "0",
          "name": "vRichardson",
          "isPermitted": false
        }, {"id": "18", "name": "vCarroll", "isPermitted": false}, {
          "id": "9",
          "name": "vFLORENCE",
          "isPermitted": false
        }, {"id": "13", "name": "vWINIFRED", "isPermitted": false}, {
          "id": "10",
          "name": "vMNS",
          "isPermitted": false
        }, {"id": "15", "name": "vMOG", "isPermitted": false}, {
          "id": "8",
          "name": "vOTA",
          "isPermitted": false
        }, {"id": "11", "name": "vEsmeralda", "isPermitted": false}, {
          "id": "6",
          "name": "vPorfirio",
          "isPermitted": false
        }, {"id": "7", "name": "vVM", "isPermitted": false}, {"id": "4", "name": "vVoiceMail", "isPermitted": false}]
      },
      "aicZones": [
        {
          "id": "NFT1",
          "name": "NFTJSSSS-NFT1"
        },
        {
          "id": "JAG1",
          "name": "YUDFJULP-JAG1"
        },
        {
          "id": "YYY1",
          "name": "UUUAIAAI-YYY1"
        },
        {
          "id": "AVT1",
          "name": "AVTRFLHD-AVT1"
        },
        {
          "id": "ATL34",
          "name": "ATLSANAI-ATL34"
        }
      ],
      "categoryParameters": {
        "owningEntityList": [{
          "id": "aaa1",
          "name": "aaa1"
        }, {"id": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "name": "WayneHolland"}, {
          "id": "Melissa",
          "name": "Melissa"
        }],
        "projectList": [{"id": "WATKINS", "name": "WATKINS"}, {"id": "x1", "name": "x1"}, {"id": "yyy1", "name": "yyy1"}],
        "lineOfBusinessList": [{"id": "ONAP", "name": "ONAP"}, {"id": "zzz1", "name": "zzz1"}],
        "platformList": [{"id": "platform", "name": "platform"}, {"id": "xxx1", "name": "xxx1"}]
      },
      "type": "UPDATE_LCP_REGIONS_AND_TENANTS"
    }
  }
}

function getNetworkModel(){
  return {
    "customizationUuid":"94fdd893-4a36-4d70-b16a-ec29c54c184f",
    "name":"ExtVL",
    "version":"37.0",
    "description":"ECOMP generic virtual link (network) base type for all other service-level and global networks",
    "uuid":"ddc3f20c-08b5-40fd-af72-c6d14636b986",
    "invariantUuid":"379f816b-a7aa-422f-be30-17114ff50b7c",
    "max":1,
    "min":0,
    "isEcompGeneratedNaming":false,
    "type":"VL",
    "modelCustomizationName":"ExtVL 0",
    "roles":["network role 1"," network role 2"],
    "properties":{
      "network_role":"network role 1, network role 2",
      "network_assignments":
        "{is_external_network=false, ipv4_subnet_default_assignment={min_subnets_count=1}, ecomp_generated_network_assignment=false, ipv6_subnet_default_assignment={min_subnets_count=1}}",
      "exVL_naming":"{ecomp_generated_naming=true}","network_flows":"{is_network_policy=false, is_bound_to_vpn=false}",
      "network_homing":"{ecomp_selected_instance_node_target=false}"
    }
  };

}

function getNetworkInstance() {
  return {
    "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
    "modelId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
    "modelUniqueId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
    "missingData": true,
    "id": "NETWORK4_INSTANCE_ID",
    "action": "None",
    "orchStatus": "Created",
    "provStatus": "preprov",
    "inMaint": false,
    "instanceId": "NETWORK4_INSTANCE_ID",
    "instanceType": "CONTRAIL30_HIMELGUARD",
    "instanceName": "NETWORK4_INSTANCE_NAME",
    "name": "NETWORK4_INSTANCE_NAME",
    "modelName": "ExtVL 0",
    "type": "VL",
    "isEcompGeneratedNaming": false,
    "networkStoreKey": "NETWORK4_INSTANCE_ID",
    "typeName": "N",
    "menuActions": {"edit": {}, "showAuditInfo": {}, "duplicate": {}, "remove": {}, "delete": {}, "undoDelete": {}},
    "isFailed": false,
    "statusMessage": "",
    "statusProperties": [{"key": "Prov Status:", "value": "preprov", "testId": "provStatus"}, {
      "key": "Orch Status:",
      "value": "Created",
      "testId": "orchStatus"
    }],
    "trackById": "1wvr73xl999",
    "parentType": "",
    "componentInfoType": "Network",
    "errors": {}
  };
}