Merge "Add filter for serviceInfo by service model id"
[vid.git] / vid-webpack-master / src / app / drawingBoard / service-planning / objectsToTree / shared.tree.service.spec.ts
1 import {HttpClientTestingModule} from "@angular/common/http/testing";
2 import {getTestBed, TestBed} from "@angular/core/testing";
3 import {NgReduxTestingModule} from "@angular-redux/store/testing";
4 import {SharedTreeService} from "./shared.tree.service";
5 import {ObjectToInstanceTreeService} from "./objectToInstanceTree/objectToInstanceTree.service";
6 import {ObjectToTreeService} from "./objectToTree.service";
7 import {DefaultDataGeneratorService} from "../../../shared/services/defaultDataServiceGenerator/default.data.generator.service";
8 import {DynamicInputsService} from "./dynamicInputs.service";
9 import {DialogService} from "ng2-bootstrap-modal";
10 import {VnfPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vnf/vnf.popup.service";
11 import {BasicControlGenerator} from "../../../shared/components/genericForm/formControlsServices/basic.control.generator";
12 import {AaiService} from "../../../shared/services/aaiService/aai.service";
13 import {NetworkPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/network/network.popup.service";
14 import {NetworkControlGenerator} from "../../../shared/components/genericForm/formControlsServices/networkGenerator/network.control.generator";
15 import {VfModulePopuopService} from "../../../shared/components/genericFormPopup/genericFormServices/vfModule/vfModule.popuop.service";
16 import {VfModuleControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vfModuleGenerator/vfModule.control.generator";
17 import {VnfGroupControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vnfGroupGenerator/vnfGroup.control.generator";
18 import {FeatureFlagsService} from "../../../shared/services/featureFlag/feature-flags.service";
19 import {VnfControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vnfGenerator/vnf.control.generator";
20 import {NgRedux} from "@angular-redux/store";
21 import {GenericFormService} from "../../../shared/components/genericForm/generic-form.service";
22 import {FormBuilder} from "@angular/forms";
23 import {SdcUiComponentsModule} from "onap-ui-angular";
24 import {LogService} from "../../../shared/utils/log/log.service";
25 import {IframeService} from "../../../shared/utils/iframe.service";
26 import {BasicPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/basic.popup.service";
27 import {VnfGroupPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vnfGroup/vnfGroup.popup.service";
28 import {DuplicateService} from "../duplicate/duplicate.service";
29 import {AppState} from "../../../shared/store/reducers";
30 import {MessageBoxService} from "../../../shared/components/messageBox/messageBox.service";
31 import {ErrorMsgService} from "../../../shared/components/error-msg/error-msg.service";
32 import {AuditInfoModalComponent} from "../../../shared/components/auditInfoModal/auditInfoModal.component";
33 import {ILevelNodeInfo} from "./models/basic.model.info";
34 import {VnfModelInfo} from "./models/vnf/vnf.model.info";
35 import {ServiceInstanceActions} from "../../../shared/models/serviceInstanceActions";
36 import each from "jest-each";
37 import {DrawingBoardModes} from "../drawing-board.modes";
38 import {ComponentInfoService} from "../component-info/component-info.service";
39 import {ComponentInfoModel, ComponentInfoType} from "../component-info/component-info-model";
40 import {ModelInformationItem} from "../../../shared/components/model-information/model-information.component";
41 import {VpnStepService} from "./models/vrf/vrfModal/vpnStep/vpn.step.service";
42 import {NetworkStepService} from "./models/vrf/vrfModal/networkStep/network.step.service";
43 import {VfModuleUpgradePopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service";
44
45 class MockAppStore<T> {
46   getState() {
47     return getStore()
48   }
49
50   dispatch() {
51   }
52 }
53
54
55
56
57 function getNodeWithData(menuAction:string){
58   const nodeData = {
59     menuActions: {}
60   };
61   nodeData['menuActions'][menuAction] =  {
62     method: (node, serviceModelId) => {}
63   }
64   const node = {
65     parent: {
66       data: nodeData,
67       parent: {
68         data: nodeData
69       }
70     }
71   };
72   return node
73 }
74
75 describe('Shared Tree Service', () => {
76   let injector;
77   let service: SharedTreeService;
78   let _objectToInstanceTreeService: ObjectToInstanceTreeService;
79   let store: NgRedux<AppState>;
80   beforeAll(done => (async () => {
81     TestBed.configureTestingModule({
82       imports: [HttpClientTestingModule, NgReduxTestingModule, SdcUiComponentsModule],
83       providers: [
84         SharedTreeService,
85         ObjectToTreeService,
86         DefaultDataGeneratorService,
87         DialogService,
88         VnfPopupService,
89         BasicControlGenerator,
90         AaiService,
91         LogService,
92         BasicPopupService,
93         VnfGroupPopupService,
94         DuplicateService,
95         IframeService,
96         DynamicInputsService,
97         NetworkPopupService,
98         NetworkControlGenerator,
99         VfModulePopuopService,
100         VfModuleUpgradePopupService,
101         VfModuleControlGenerator,
102         VnfGroupControlGenerator,
103         DialogService,
104         FeatureFlagsService,
105         VnfControlGenerator,
106         AaiService,
107         DialogService,
108         GenericFormService,
109         FormBuilder,
110         ErrorMsgService,
111         ObjectToInstanceTreeService,
112         ComponentInfoService,
113         NetworkStepService,
114         VpnStepService,
115         {provide: NgRedux, useClass: MockAppStore}
116       ]
117     });
118     await TestBed.compileComponents();
119     injector = getTestBed();
120     service = injector.get(SharedTreeService);
121     _objectToInstanceTreeService = injector.get(ObjectToInstanceTreeService);
122     store = injector.get(NgRedux);
123   })().then(done).catch(done.fail));
124
125   test('SharedTreeService should be defined', () => {
126     expect(service).toBeDefined();
127   });
128
129   test('SharedTreeService upgradeBottomUp should call redux actions', () => {
130     const serviceModelId = "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd";
131     const node = getNodeWithData("upgrade")
132     spyOn(node.parent.data.menuActions['upgrade'], 'method');
133     service.upgradeBottomUp(node, serviceModelId);
134     expect(node.parent.data.menuActions['upgrade'].method).toBeCalledWith(node.parent, serviceModelId);
135     expect(node.parent.data.menuActions['upgrade'].method).toBeCalledTimes(2);
136
137   });
138
139   test('SharedTreeService undoUpgradeBottomUp should call redux actions', () => {
140     const serviceModelId = "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd";
141     const node = getNodeWithData("undoUpgrade")
142     spyOn(node.parent.data.menuActions['undoUpgrade'], 'method');
143     service.undoUpgradeBottomUp(node, serviceModelId);
144     expect(node.parent.data.menuActions['undoUpgrade'].method).toBeCalledWith(node.parent, serviceModelId);
145     expect(node.parent.data.menuActions['undoUpgrade'].method).toBeCalledTimes(2);
146   });
147
148   test('shouldShowDeleteInstanceWithChildrenModal should open modal if child exist with action create', () => {
149     jest.spyOn(MessageBoxService.openModal, 'next');
150     let foo = () => {
151
152     };
153     let node = <any>{
154       children: [{action: "Create"}, {action: "None"}],
155       data: {
156         typeName: 'VNF'
157       }
158     };
159     service.shouldShowDeleteInstanceWithChildrenModal(node, "serviceModelId", foo);
160     expect(MessageBoxService.openModal.next).toHaveBeenCalled();
161   });
162
163   test('openAuditInfoModal should open modal for failed instance', () => {
164     jest.spyOn(AuditInfoModalComponent.openInstanceAuditInfoModal, 'next');
165
166     let modelInfoServiceMock: ILevelNodeInfo = new VnfModelInfo(null, null,
167       null, null, null, null, null,
168       null, null, null, null,null);
169     const modelMock = {"a": "a"};
170     const instanceMock = {"instance": "instance", "trackById": "123456789"};
171     const instanceTypeMock = "instanceTypeMock";
172     jest.spyOn(modelInfoServiceMock, 'getModel').mockReturnValue(modelMock);
173     let node = <any>{
174       data: {
175         modelId: '6b528779-44a3-4472-bdff-9cd15ec93450',
176         trackById: '1245df21',
177         isFailed: true
178       }
179     };
180     service.openAuditInfoModal(node, "serviceModelId", instanceMock, instanceTypeMock, <any>modelInfoServiceMock);
181     expect(AuditInfoModalComponent.openInstanceAuditInfoModal.next).toHaveBeenCalledWith(
182       {
183         "instance": instanceMock,
184         "instanceId": "serviceModelId",
185         "model": modelMock,
186         "type": instanceTypeMock
187       });
188   });
189
190   test('shouldShowDeleteInstanceWithChildrfenModal should not open modal if all childs with action None', () => {
191     let foo = () => {
192     };
193     spyOn(MessageBoxService.openModal, 'next');
194
195     let node = <any>{
196       children: [{action: "None"}, {action: "None"}],
197       data: {
198         typeName: 'VNF'
199       }
200     };
201     service.shouldShowDeleteInstanceWithChildrenModal(node, "serviceModelId", foo);
202     expect(MessageBoxService.openModal.next).not.toHaveBeenCalled();
203   });
204
205   test ('addGeneralInfoItems should return correct info - ordered',()=>{
206     let specificNetworkInfo = [
207       ModelInformationItem.createInstance('Network role', "network role 1, network role 2")
208     ];
209     const actualInfoModel: ComponentInfoModel = service.addGeneralInfoItems(specificNetworkInfo,ComponentInfoType.NETWORK, getNetworkModel(),getNetworkInstance());
210
211     let expectedGeneralInfo = [
212       ModelInformationItem.createInstance('Model version', '37.0'),
213       ModelInformationItem.createInstance('Model customization ID', '94fdd893-4a36-4d70-b16a-ec29c54c184f'),
214       ModelInformationItem.createInstance('Instance ID', 'NETWORK4_INSTANCE_ID'),
215       ModelInformationItem.createInstance('Instance type', 'CONTRAIL30_HIMELGUARD'),
216       ModelInformationItem.createInstance('In maintenance', false),
217       ModelInformationItem.createInstance('Network role', 'network role 1, network role 2')
218     ];
219     expect(actualInfoModel.modelInfoItems).toEqual(expectedGeneralInfo);
220   });
221
222
223
224   test('statusProperties should be prop on node according to node properties', () => {
225     let node = service.addingStatusProperty({orchStatus: 'completed', provStatus: 'inProgress', inMaint: false});
226     expect(node.statusProperties).toBeDefined();
227     expect(node.statusProperties).toEqual([Object({
228       key: 'Prov Status:',
229       value: 'inProgress',
230       testId: 'provStatus'
231     }), Object({key: 'Orch Status:', value: 'completed', testId: 'orchStatus'})]);
232     node = service.addingStatusProperty({orchStatus: 'completed', provStatus: 'inProgress', inMaint: true});
233     expect(node.statusProperties).toEqual([Object({
234       key: 'Prov Status:',
235       value: 'inProgress',
236       testId: 'provStatus'
237     }), Object({key: 'Orch Status:', value: 'completed', testId: 'orchStatus'}), Object({
238       key: 'In-maintenance',
239       value: '',
240       testId: 'inMaint'
241     })]);
242   });
243   const enableRemoveAndEditItemsDataProvider = [
244     ['Create action CREATE mode', DrawingBoardModes.CREATE ,ServiceInstanceActions.Create, true],
245     ['Create action VIEW mode',DrawingBoardModes.VIEW , ServiceInstanceActions.Create,false],
246     ['Create action RETRY_EDIT mode',DrawingBoardModes.RETRY_EDIT,  ServiceInstanceActions.Create,  true],
247     ['Create action EDIT mode',DrawingBoardModes.EDIT, ServiceInstanceActions.Create,  true],
248     ['Create action RETRY mode',DrawingBoardModes.RETRY, ServiceInstanceActions.Create,  false],
249     ['None action EDIT mode',DrawingBoardModes.EDIT,  ServiceInstanceActions.None, false],
250     ['None action RETRY_EDIT mode', DrawingBoardModes.RETRY_EDIT, ServiceInstanceActions.None, false]];
251   each(enableRemoveAndEditItemsDataProvider).test('shouldShowEditAndDelete if child exist with %s', (description, mode, action, enabled) => {
252     jest.spyOn(store, 'getState').mockReturnValue(<any>{
253         global: {
254           drawingBoardStatus: mode
255         }
256       });
257       let node = <any>{
258         data:{
259           action: action
260         },
261       };
262       let res = service.shouldShowRemoveAndEdit(node);
263       expect(res).toBe(enabled);
264     });
265 });
266 function generateService() {
267   return {
268     "vnfs": {
269       "2017-488_PASQUALE-vPE 0": {
270         "inMaint": false,
271         "rollbackOnFailure": "true",
272         "originalName": "2017-488_PASQUALE-vPE 0",
273         "isMissingData": false,
274         "trackById": "stigekyxrqi",
275         "vfModules": {
276           "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
277             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0gytfi": {
278               "isMissingData": false,
279               "sdncPreReload": null,
280               "modelInfo": {
281                 "modelType": "VFmodule",
282                 "modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
283                 "modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
284                 "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
285                 "modelVersion": "5",
286                 "modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
287                 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0"
288               },
289               "instanceParams": [{}],
290               "trackById": "3oj23o7nupo"
291             }
292           }
293         },
294         "vnfStoreKey": "2017-488_PASQUALE-vPE 0",
295         "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
296         "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
297         "lcpCloudRegionId": "AAIAIC25",
298         "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
299         "lineOfBusiness": "ONAP",
300         "platformName": "xxx1",
301         "modelInfo": {
302           "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
303           "modelVersionId": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
304           "modelName": "2017-488_PASQUALE-vPE",
305           "modelVersion": "5.0",
306           "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
307           "modelCustomizationId": "1da7b585-5e61-4993-b95e-8e6606c81e45",
308           "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09"
309         },
310         "legacyRegion": "11111111",
311         "instanceParams": [{}]
312       },
313       "2017-388_PASQUALE-vPE 0": {
314         "inMaint": false,
315         "rollbackOnFailure": "true",
316         "originalName": "2017-388_PASQUALE-vPE 0",
317         "isMissingData": false,
318         "trackById": "nib719t5vca",
319         "vfModules": {},
320         "vnfStoreKey": "2017-388_PASQUALE-vPE 0",
321         "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
322         "lcpCloudRegionId": "AAIAIC25",
323         "legacyRegion": "11111",
324         "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
325         "platformName": "platform",
326         "lineOfBusiness": "zzz1",
327         "instanceParams": [{}],
328         "modelInfo": {
329           "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
330           "modelVersionId": "afacccf6-397d-45d6-b5ae-94c39734b168",
331           "modelName": "2017-388_PASQUALE-vPE",
332           "modelVersion": "4.0",
333           "modelCustomizationId": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
334           "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
335           "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
336         },
337         "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
338       },
339       "2017-388_PASQUALE-vPE 1": {
340         "inMaint": false,
341         "rollbackOnFailure": "true",
342         "originalName": "2017-388_PASQUALE-vPE 1",
343         "isMissingData": false,
344         "trackById": "cv7l1ak8vpe",
345         "vfModules": {},
346         "vnfStoreKey": "2017-388_PASQUALE-vPE 1",
347         "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
348         "lcpCloudRegionId": "AAIAIC25",
349         "legacyRegion": "123",
350         "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
351         "platformName": "platform",
352         "lineOfBusiness": "ONAP",
353         "instanceParams": [{}],
354         "modelInfo": {
355           "modelInvariantId": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
356           "modelVersionId": "0903e1c0-8e03-4936-b5c2-260653b96413",
357           "modelName": "2017-388_PASQUALE-vPE",
358           "modelVersion": "1.0",
359           "modelCustomizationId": "280dec31-f16d-488b-9668-4aae55d6648a",
360           "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
361           "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
362         },
363         "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
364       }
365     },
366     "instanceParams": [{}],
367     "validationCounter": 0,
368     "existingNames": {"yoav": ""},
369     "existingVNFCounterMap": {
370       "69e09f68-8b63-4cc9-b9ff-860960b5db09": 1,
371       "afacccf6-397d-45d6-b5ae-94c39734b168": 1,
372       "0903e1c0-8e03-4936-b5c2-260653b96413": 1
373     },
374     "existingVnfGroupCounterMap": {
375       "daeb6568-cef8-417f-9075-ed259ce59f48": 0,
376       "c2b300e6-45de-4e5e-abda-3032bee2de56": -1
377     },
378     "existingNetworksCounterMap": {"ddc3f20c-08b5-40fd-af72-c6d14636b986": 1},
379     "networks": {
380       "ExtVL 0": {
381         "inMaint": false,
382         "rollbackOnFailure": "true",
383         "originalName": "ExtVL 0",
384         "isMissingData": false,
385         "trackById": "s6okajvv2n8",
386         "networkStoreKey": "ExtVL 0",
387         "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
388         "lcpCloudRegionId": "AAIAIC25",
389         "legacyRegion": "12355555",
390         "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
391         "platformName": "platform",
392         "lineOfBusiness": null,
393         "instanceParams": [{}],
394         "modelInfo": {
395           "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
396           "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
397           "modelName": "ExtVL",
398           "modelVersion": "37.0",
399           "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
400           "modelCustomizationName": "ExtVL 0",
401           "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
402         },
403         "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
404       }
405     },
406     "vnfGroups": {
407       "groupingservicefortest..ResourceInstanceGroup..0": {
408         "inMaint": false,
409         "rollbackOnFailure": "true",
410         "originalName": "groupingservicefortest..ResourceInstanceGroup..0",
411         "isMissingData": false,
412         "trackById": "se0obn93qq",
413         "vnfGroupStoreKey": "groupingservicefortest..ResourceInstanceGroup..0",
414         "instanceName": "groupingservicefortestResourceInstanceGroup0",
415         "instanceParams": [{}],
416         "modelInfo": {
417           "modelInvariantId": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
418           "modelVersionId": "daeb6568-cef8-417f-9075-ed259ce59f48",
419           "modelName": "groupingservicefortest..ResourceInstanceGroup..0",
420           "modelVersion": "1",
421           "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
422           "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
423         },
424         "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
425       }
426     },
427     "instanceName": "yoav",
428     "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
429     "subscriptionServiceType": "TYLER SILVIA",
430     "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
431     "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
432     "lcpCloudRegionId": "AAIAIC25",
433     "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
434     "aicZoneId": "ATL53",
435     "pause": null,
436     "projectName": "WATKINS",
437     "rollbackOnFailure": "true",
438     "bulkSize": 1,
439     "aicZoneName": "AAIATLTE-ATL53",
440     "owningEntityName": "WayneHolland",
441     "testApi": "VNF_API",
442     "isEcompGeneratedNaming": false,
443     "tenantName": "USP-SIP-IC-24335-T-01",
444     "modelInfo": {
445       "modelInvariantId": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
446       "modelVersionId": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
447       "modelName": "action-data",
448       "modelVersion": "1.0",
449       "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"
450     },
451     "isALaCarte": false,
452     "name": "action-data",
453     "version": "1.0",
454     "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
455     "category": "Network L1-3",
456     "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
457     "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
458     "serviceType": "pnf",
459     "serviceRole": "Testing",
460     "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"},
461     "isMultiStepDesign": true
462   };
463 }
464
465 function getStore() {
466   return {
467     "global": {
468       "name": null,
469       "flags": {
470         "EMPTY_DRAWING_BOARD_TEST": false,
471         "FLAG_NETWORK_TO_ASYNC_INSTANTIATION": false,
472         "FLAG_ADD_MSO_TESTAPI_FIELD": true,
473         "FLAG_SERVICE_MODEL_CACHE": true,
474         "FLAG_SHOW_ASSIGNMENTS": true,
475         "FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS": true,
476         "FLAG_A_LA_CARTE_AUDIT_INFO": true,
477         "FLAG_1810_CR_ADD_CLOUD_OWNER_TO_MSO_REQUEST": true,
478         "FLAG_PRESENT_PROVIDER_NETWORKS_ASSOCIATIONS": true,
479         "FLAG_1902_NEW_VIEW_EDIT": true,
480         "FLAG_1810_IDENTIFY_SERVICE_FOR_NEW_UI": false,
481         "FLAG_1902_VNF_GROUPING": true,
482         "FLAG_SHOW_VERIFY_SERVICE": true,
483         "FLAG_ASYNC_ALACARTE_VFMODULE": true,
484         "FLAG_ASYNC_ALACARTE_VNF": true,
485         "FLAG_1810_AAI_LOCAL_CACHE": true,
486         "FLAG_EXP_USE_DEFAULT_HOST_NAME_VERIFIER": false,
487         "FLAG_EXP_ANY_ALACARTE_NEW_INSTANTIATION_UI": false,
488         "FLAG_SUPPLEMENTARY_FILE": true,
489         "FLAG_5G_IN_NEW_INSTANTIATION_UI": true,
490         "FLAG_RESTRICTED_SELECT": false,
491         "FLAG_1810_CR_LET_SELECTING_COLLECTOR_TYPE_UNCONDITIONALLY": true
492       },
493       "drawingBoardStatus": "VIEW",
494       "type": "UPDATE_DRAWING_BOARD_STATUS"
495     },
496     "service": {
497       "serviceHierarchy": {
498         "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
499           "service": {
500             "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
501             "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
502             "name": "action-data",
503             "version": "1.0",
504             "toscaModelURL": null,
505             "category": "Network L1-3",
506             "serviceType": "pnf",
507             "serviceRole": "Testing",
508             "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
509             "serviceEcompNaming": "false",
510             "instantiationType": "Macro",
511             "inputs": {},
512             "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"}
513           },
514           "vnfs": {
515             "2017-388_PASQUALE-vPE 1": {
516               "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
517               "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
518               "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",
519               "name": "2017-388_PASQUALE-vPE",
520               "version": "1.0",
521               "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a",
522               "inputs": {},
523               "commands": {},
524               "properties": {
525                 "vmxvre_retype": "RE-VMX",
526                 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
527                 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
528                 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
529                 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
530                 "int_ctl_net_name": "VMX-INTXI",
531                 "vmx_int_ctl_prefix": "10.0.0.10",
532                 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
533                 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
534                 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
535                 "nf_type": "vPE",
536                 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
537                 "is_AVPN_service": "false",
538                 "vmx_RSG_name": "vREXI-affinity",
539                 "vmx_int_ctl_forwarding": "l2",
540                 "vmxvre_oam_ip_0": "10.0.0.10",
541                 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
542                 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
543                 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
544                 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
545                 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
546                 "vmxvre_instance": "0",
547                 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
548                 "vmxvre_flavor_name": "ns.c1r16d32.v5",
549                 "vmxvpfe_volume_size_0": "40.0",
550                 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
551                 "nf_naming": "{ecomp_generated_naming=true}",
552                 "multi_stage_design": "true",
553                 "nf_naming_code": "Navneet",
554                 "vmxvre_name_0": "vREXI",
555                 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
556                 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
557                 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
558                 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
559                 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
560                 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
561                 "vmxvre_console": "vidconsole",
562                 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
563                 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
564                 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
565                 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
566                 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
567                 "vf_module_id": "123",
568                 "nf_function": "JAI",
569                 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
570                 "vmxvre_int_ctl_ip_0": "10.0.0.10",
571                 "ecomp_generated_naming": "true",
572                 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
573                 "vnf_name": "mtnj309me6vre",
574                 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
575                 "vmxvre_volume_type_1": "HITACHI",
576                 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
577                 "vmxvre_volume_type_0": "HITACHI",
578                 "vmxvpfe_volume_type_0": "HITACHI",
579                 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
580                 "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
581                 "vnf_id": "123",
582                 "vmxvre_oam_prefix": "24",
583                 "availability_zone_0": "mtpocfo-kvm-az01",
584                 "ASN": "get_input:2017488_pasqualevpe0_ASN",
585                 "vmxvre_chassis_i2cid": "161",
586                 "vmxvpfe_name_0": "vPFEXI",
587                 "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
588                 "availability_zone_max_count": "1",
589                 "vmxvre_volume_size_0": "45.0",
590                 "vmxvre_volume_size_1": "50.0",
591                 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
592                 "vmxvre_oam_gateway": "10.0.0.10",
593                 "vmxvre_volume_name_1": "vREXI_FAVolume",
594                 "vmxvre_ore_present": "0",
595                 "vmxvre_volume_name_0": "vREXI_FBVolume",
596                 "vmxvre_type": "0",
597                 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
598                 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
599                 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
600                 "vmx_int_ctl_len": "24",
601                 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
602                 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
603                 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
604                 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
605                 "nf_role": "Testing",
606                 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
607                 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
608                 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
609               },
610               "type": "VF",
611               "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
612               "vfModules": {},
613               "volumeGroups": {},
614               "vfcInstanceGroups": {}
615             },
616             "2017-388_PASQUALE-vPE 0": {
617               "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
618               "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
619               "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",
620               "name": "2017-388_PASQUALE-vPE",
621               "version": "4.0",
622               "customizationUuid": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
623               "inputs": {},
624               "commands": {},
625               "properties": {
626                 "vmxvre_retype": "RE-VMX",
627                 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
628                 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
629                 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
630                 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
631                 "int_ctl_net_name": "VMX-INTXI",
632                 "vmx_int_ctl_prefix": "10.0.0.10",
633                 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
634                 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
635                 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
636                 "nf_type": "vPE",
637                 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
638                 "is_AVPN_service": "false",
639                 "vmx_RSG_name": "vREXI-affinity",
640                 "vmx_int_ctl_forwarding": "l2",
641                 "vmxvre_oam_ip_0": "10.0.0.10",
642                 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
643                 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
644                 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
645                 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
646                 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
647                 "vmxvre_instance": "0",
648                 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
649                 "vmxvre_flavor_name": "ns.c1r16d32.v5",
650                 "vmxvpfe_volume_size_0": "40.0",
651                 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
652                 "nf_naming": "{ecomp_generated_naming=true}",
653                 "multi_stage_design": "true",
654                 "nf_naming_code": "Navneet",
655                 "vmxvre_name_0": "vREXI",
656                 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
657                 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
658                 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
659                 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
660                 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
661                 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
662                 "vmxvre_console": "vidconsole",
663                 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
664                 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
665                 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
666                 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
667                 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
668                 "vf_module_id": "123",
669                 "nf_function": "JAI",
670                 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
671                 "vmxvre_int_ctl_ip_0": "10.0.0.10",
672                 "ecomp_generated_naming": "true",
673                 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
674                 "vnf_name": "mtnj309me6vre",
675                 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
676                 "vmxvre_volume_type_1": "HITACHI",
677                 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
678                 "vmxvre_volume_type_0": "HITACHI",
679                 "vmxvpfe_volume_type_0": "HITACHI",
680                 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
681                 "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
682                 "vnf_id": "123",
683                 "vmxvre_oam_prefix": "24",
684                 "availability_zone_0": "mtpocfo-kvm-az01",
685                 "ASN": "get_input:2017488_pasqualevpe0_ASN",
686                 "vmxvre_chassis_i2cid": "161",
687                 "vmxvpfe_name_0": "vPFEXI",
688                 "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
689                 "availability_zone_max_count": "1",
690                 "vmxvre_volume_size_0": "45.0",
691                 "vmxvre_volume_size_1": "50.0",
692                 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
693                 "vmxvre_oam_gateway": "10.0.0.10",
694                 "vmxvre_volume_name_1": "vREXI_FAVolume",
695                 "vmxvre_ore_present": "0",
696                 "vmxvre_volume_name_0": "vREXI_FBVolume",
697                 "vmxvre_type": "0",
698                 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
699                 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
700                 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
701                 "vmx_int_ctl_len": "24",
702                 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
703                 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
704                 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
705                 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
706                 "nf_role": "Testing",
707                 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
708                 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
709                 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
710               },
711               "type": "VF",
712               "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
713               "vfModules": {},
714               "volumeGroups": {},
715               "vfcInstanceGroups": {}
716             },
717             "2017-488_PASQUALE-vPE 0": {
718               "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
719               "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
720               "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",
721               "name": "2017-488_PASQUALE-vPE",
722               "version": "5.0",
723               "customizationUuid": "1da7b585-5e61-4993-b95e-8e6606c81e45",
724               "inputs": {},
725               "commands": {},
726               "properties": {
727                 "max_instances": 1,
728                 "vmxvre_retype": "RE-VMX",
729                 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
730                 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
731                 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
732                 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
733                 "int_ctl_net_name": "VMX-INTXI",
734                 "vmx_int_ctl_prefix": "10.0.0.10",
735                 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
736                 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
737                 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
738                 "nf_type": "vPE",
739                 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
740                 "is_AVPN_service": "false",
741                 "vmx_RSG_name": "vREXI-affinity",
742                 "vmx_int_ctl_forwarding": "l2",
743                 "vmxvre_oam_ip_0": "10.0.0.10",
744                 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
745                 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
746                 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
747                 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
748                 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
749                 "vmxvre_instance": "0",
750                 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
751                 "vmxvre_flavor_name": "ns.c1r16d32.v5",
752                 "vmxvpfe_volume_size_0": "40.0",
753                 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
754                 "nf_naming": "{ecomp_generated_naming=true}",
755                 "multi_stage_design": "true",
756                 "nf_naming_code": "Navneet",
757                 "vmxvre_name_0": "vREXI",
758                 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
759                 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
760                 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
761                 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
762                 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
763                 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
764                 "vmxvre_console": "vidconsole",
765                 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
766                 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
767                 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
768                 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
769                 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
770                 "vf_module_id": "123",
771                 "nf_function": "JAI",
772                 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
773                 "vmxvre_int_ctl_ip_0": "10.0.0.10",
774                 "ecomp_generated_naming": "true",
775                 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
776                 "vnf_name": "mtnj309me6vre",
777                 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
778                 "vmxvre_volume_type_1": "HITACHI",
779                 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
780                 "vmxvre_volume_type_0": "HITACHI",
781                 "vmxvpfe_volume_type_0": "HITACHI",
782                 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
783                 "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
784                 "vnf_id": "123",
785                 "vmxvre_oam_prefix": "24",
786                 "availability_zone_0": "mtpocfo-kvm-az01",
787                 "ASN": "get_input:2017488_pasqualevpe0_ASN",
788                 "vmxvre_chassis_i2cid": "161",
789                 "vmxvpfe_name_0": "vPFEXI",
790                 "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
791                 "availability_zone_max_count": "1",
792                 "vmxvre_volume_size_0": "45.0",
793                 "vmxvre_volume_size_1": "50.0",
794                 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
795                 "vmxvre_oam_gateway": "10.0.0.10",
796                 "vmxvre_volume_name_1": "vREXI_FAVolume",
797                 "vmxvre_ore_present": "0",
798                 "vmxvre_volume_name_0": "vREXI_FBVolume",
799                 "vmxvre_type": "0",
800                 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
801                 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
802                 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
803                 "vmx_int_ctl_len": "24",
804                 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
805                 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
806                 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
807                 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
808                 "nf_role": "Testing",
809                 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
810                 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
811                 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
812               },
813               "type": "VF",
814               "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
815               "vfModules": {
816                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
817                   "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
818                   "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
819                   "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
820                   "description": null,
821                   "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
822                   "version": "6",
823                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
824                   "properties": {
825                     "minCountInstances": 0,
826                     "maxCountInstances": null,
827                     "initialCount": 0,
828                     "vfModuleLabel": "PASQUALE_vRE_BV",
829                     "baseModule": false
830                   },
831                   "inputs": {},
832                   "volumeGroupAllowed": true
833                 },
834                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
835                   "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
836                   "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
837                   "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
838                   "description": null,
839                   "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
840                   "version": "5",
841                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
842                   "properties": {
843                     "minCountInstances": 1,
844                     "maxCountInstances": 1,
845                     "initialCount": 1,
846                     "vfModuleLabel": "PASQUALE_base_vPE_BV",
847                     "baseModule": true
848                   },
849                   "inputs": {},
850                   "volumeGroupAllowed": false
851                 },
852                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
853                   "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
854                   "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
855                   "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
856                   "description": null,
857                   "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
858                   "version": "6",
859                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
860                   "properties": {
861                     "minCountInstances": 0,
862                     "maxCountInstances": null,
863                     "initialCount": 0,
864                     "vfModuleLabel": "PASQUALE_vPFE_BV",
865                     "baseModule": false
866                   },
867                   "inputs": {},
868                   "volumeGroupAllowed": true
869                 }
870               },
871               "volumeGroups": {
872                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
873                   "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
874                   "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
875                   "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
876                   "description": null,
877                   "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
878                   "version": "6",
879                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
880                   "properties": {
881                     "minCountInstances": 0,
882                     "maxCountInstances": null,
883                     "initialCount": 0,
884                     "vfModuleLabel": "PASQUALE_vRE_BV",
885                     "baseModule": false
886                   },
887                   "inputs": {}
888                 },
889                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
890                   "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
891                   "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
892                   "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
893                   "description": null,
894                   "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
895                   "version": "6",
896                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
897                   "properties": {
898                     "minCountInstances": 0,
899                     "maxCountInstances": null,
900                     "initialCount": 0,
901                     "vfModuleLabel": "PASQUALE_vPFE_BV",
902                     "baseModule": false
903                   },
904                   "inputs": {}
905                 }
906               },
907               "vfcInstanceGroups": {}
908             }
909           },
910           "networks": {
911             "ExtVL 0": {
912               "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
913               "invariantUuid": "379f816b-a7aa-422f-be30-17114ff50b7c",
914               "description": "ECOMP generic virtual link (network) base type for all other service-level and global networks",
915               "name": "ExtVL",
916               "version": "37.0",
917               "customizationUuid": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
918               "inputs": {},
919               "commands": {},
920               "properties": {
921                 "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}}",
922                 "exVL_naming": "{ecomp_generated_naming=true}",
923                 "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
924                 "network_homing": "{ecomp_selected_instance_node_target=false}"
925               },
926               "type": "VL",
927               "modelCustomizationName": "ExtVL 0"
928             }
929           },
930           "collectionResources": {},
931           "configurations": {},
932           "fabricConfigurations": {},
933           "serviceProxies": {},
934           "vfModules": {
935             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
936               "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
937               "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
938               "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
939               "description": null,
940               "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
941               "version": "6",
942               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
943               "properties": {
944                 "minCountInstances": 0,
945                 "maxCountInstances": null,
946                 "initialCount": 0,
947                 "vfModuleLabel": "PASQUALE_vRE_BV",
948                 "baseModule": false
949               },
950               "inputs": {},
951               "volumeGroupAllowed": true
952             },
953             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
954               "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
955               "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
956               "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
957               "description": null,
958               "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
959               "version": "5",
960               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
961               "properties": {
962                 "minCountInstances": 1,
963                 "maxCountInstances": 1,
964                 "initialCount": 1,
965                 "vfModuleLabel": "PASQUALE_base_vPE_BV",
966                 "baseModule": true
967               },
968               "inputs": {},
969               "volumeGroupAllowed": false
970             },
971             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
972               "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
973               "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
974               "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
975               "description": null,
976               "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
977               "version": "6",
978               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
979               "properties": {
980                 "minCountInstances": 0,
981                 "maxCountInstances": null,
982                 "initialCount": 0,
983                 "vfModuleLabel": "PASQUALE_vPFE_BV",
984                 "baseModule": false
985               },
986               "inputs": {},
987               "volumeGroupAllowed": true
988             }
989           },
990           "volumeGroups": {
991             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
992               "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
993               "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
994               "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
995               "description": null,
996               "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
997               "version": "6",
998               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
999               "properties": {
1000                 "minCountInstances": 0,
1001                 "maxCountInstances": null,
1002                 "initialCount": 0,
1003                 "vfModuleLabel": "PASQUALE_vRE_BV",
1004                 "baseModule": false
1005               },
1006               "inputs": {}
1007             },
1008             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
1009               "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1010               "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1011               "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1012               "description": null,
1013               "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1014               "version": "6",
1015               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1016               "properties": {
1017                 "minCountInstances": 0,
1018                 "maxCountInstances": null,
1019                 "initialCount": 0,
1020                 "vfModuleLabel": "PASQUALE_vPFE_BV",
1021                 "baseModule": false
1022               },
1023               "inputs": {}
1024             }
1025           },
1026           "pnfs": {},
1027           "vnfGroups": {
1028             "groupingservicefortest..ResourceInstanceGroup..0": {
1029               "type": "VnfGroup",
1030               "invariantUuid": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
1031               "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48",
1032               "version": "1",
1033               "name": "groupingservicefortest..ResourceInstanceGroup..0",
1034               "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
1035               "properties": {
1036                 "contained_resource_type": "VF",
1037                 "role": "SERVICE-ACCESS",
1038                 "function": "DATA",
1039                 "description": "DDD0",
1040                 "type": "LOAD-GROUP",
1041                 "ecomp_generated_naming": "true"
1042               },
1043               "members": {
1044                 "vdorothea_svc_vprs_proxy 0": {
1045                   "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
1046                   "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
1047                   "description": "A Proxy for Service vDOROTHEA_Svc_vPRS",
1048                   "name": "vDOROTHEA_Svc_vPRS Service Proxy",
1049                   "version": "1.0",
1050                   "customizationUuid": "bdb63d23-e132-4ce7-af2c-a493b4cafac9",
1051                   "inputs": {},
1052                   "commands": {},
1053                   "properties": {},
1054                   "type": "Service Proxy",
1055                   "sourceModelUuid": "da7827a2-366d-4be6-8c68-a69153c61274",
1056                   "sourceModelInvariant": "24632e6b-584b-4f45-80d4-fefd75fd9f14",
1057                   "sourceModelName": "vDOROTHEA_Svc_vPRS"
1058                 }
1059               }
1060             },
1061             "groupingservicefortest..ResourceInstanceGroup..1": {
1062               "type": "VnfGroup",
1063               "invariantUuid": "a704112d-dbc6-4e56-8d4e-aec57e95ef9a",
1064               "uuid": "c2b300e6-45de-4e5e-abda-3032bee2de56",
1065               "version": "1",
1066               "name": "groupingservicefortest..ResourceInstanceGroup..1",
1067               "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..1",
1068               "properties": {
1069                 "contained_resource_type": "VF",
1070                 "role": "SERVICE-ACCESS",
1071                 "function": "SIGNALING",
1072                 "description": "DDD1",
1073                 "type": "LOAD-GROUP",
1074                 "ecomp_generated_naming": "true"
1075               },
1076               "members": {
1077                 "tsbc0001vm001_svc_proxy 0": {
1078                   "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
1079                   "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
1080                   "description": "A Proxy for Service tsbc0001vm001_Svc",
1081                   "name": "tsbc0001vm001_Svc Service Proxy",
1082                   "version": "1.0",
1083                   "customizationUuid": "3d814462-30fb-4c62-b997-9aa360d27ead",
1084                   "inputs": {},
1085                   "commands": {},
1086                   "properties": {},
1087                   "type": "Service Proxy",
1088                   "sourceModelUuid": "28aeb8f6-5620-4148-8bfb-a5fb406f0309",
1089                   "sourceModelInvariant": "c989ab9a-33c7-46ec-b521-1b2daef5f047",
1090                   "sourceModelName": "tsbc0001vm001_Svc"
1091                 }
1092               }
1093             }
1094           }
1095         },
1096         "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6": {
1097           "service": {
1098             "uuid": "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6",
1099             "invariantUuid": "5b9c0f33-eec1-484a-bf77-736a6644d7a8",
1100             "name": "Using VID for VoIP Network Instantiations Shani",
1101             "version": "1.0",
1102             "toscaModelURL": null,
1103             "category": "VoIP Call Control",
1104             "serviceType": "",
1105             "serviceRole": "",
1106             "description": "Using VID for VoIP Network Instantiations Shani",
1107             "serviceEcompNaming": "true",
1108             "instantiationType": "ClientConfig",
1109             "inputs": {},
1110             "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"}
1111           },
1112           "vnfs": {},
1113           "networks": {
1114             "AIC30_CONTRAIL_BASIC 0": {
1115               "uuid": "ac815c68-35b7-4ea4-9d04-92d2f844b27c",
1116               "invariantUuid": "de01afb5-532b-451d-aac4-ff9ff0644060",
1117               "description": "Basic contrail 3.0.x L3 network for AIC 3.x sites. ",
1118               "name": "AIC30_CONTRAIL_BASIC",
1119               "version": "3.0",
1120               "customizationUuid": "e94d61f7-b4b2-489a-a4a7-30b1a1a80daf",
1121               "inputs": {},
1122               "commands": {},
1123               "properties": {
1124                 "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}}",
1125                 "exVL_naming": "{ecomp_generated_naming=true}",
1126                 "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
1127                 "network_scope": "Service",
1128                 "network_type": "AIC30_CONTRAIL_BASIC",
1129                 "network_technology": "Contrail",
1130                 "network_homing": "{ecomp_selected_instance_node_target=false}"
1131               },
1132               "type": "VL",
1133               "modelCustomizationName": "AIC30_CONTRAIL_BASIC 0"
1134             }
1135           },
1136           "collectionResources": {},
1137           "configurations": {},
1138           "fabricConfigurations": {},
1139           "serviceProxies": {},
1140           "vfModules": {},
1141           "volumeGroups": {},
1142           "pnfs": {},
1143           "vnfGroups": {}
1144         }
1145       },
1146       "serviceInstance": {
1147         "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
1148           "vnfs": {
1149             "2017-488_PASQUALE-vPE 0": {
1150               "action": "None",
1151               "inMaint": false,
1152               "rollbackOnFailure": "true",
1153               "originalName": "2017-488_PASQUALE-vPE 0",
1154               "isMissingData": false,
1155               "trackById": "stigekyxrqi",
1156               "vfModules": {
1157                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
1158                   "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0gytfi": {
1159                     "isMissingData": false,
1160                     "sdncPreReload": null,
1161                     "modelInfo": {
1162                       "modelType": "VFmodule",
1163                       "modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
1164                       "modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
1165                       "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
1166                       "modelVersion": "5",
1167                       "modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
1168                       "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0"
1169                     },
1170                     "instanceParams": [{}],
1171                     "trackById": "3oj23o7nupo"
1172                   }
1173                 }
1174               },
1175               "vnfStoreKey": "2017-488_PASQUALE-vPE 0",
1176               "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
1177               "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1178               "lcpCloudRegionId": "AAIAIC25",
1179               "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1180               "lineOfBusiness": "ONAP",
1181               "platformName": "xxx1",
1182               "modelInfo": {
1183                 "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
1184                 "modelVersionId": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
1185                 "modelName": "2017-488_PASQUALE-vPE",
1186                 "modelVersion": "5.0",
1187                 "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
1188                 "modelCustomizationId": "1da7b585-5e61-4993-b95e-8e6606c81e45",
1189                 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09"
1190               },
1191               "legacyRegion": "11111111",
1192               "instanceParams": [{}]
1193             },
1194             "2017-388_PASQUALE-vPE 0": {
1195               "action": "Create",
1196               "inMaint": false,
1197               "rollbackOnFailure": "true",
1198               "originalName": "2017-388_PASQUALE-vPE 0",
1199               "isMissingData": false,
1200               "trackById": "nib719t5vca",
1201               "vfModules": {},
1202               "vnfStoreKey": "2017-388_PASQUALE-vPE 0",
1203               "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1204               "lcpCloudRegionId": "AAIAIC25",
1205               "legacyRegion": "11111",
1206               "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1207               "platformName": "platform",
1208               "lineOfBusiness": "zzz1",
1209               "instanceParams": [{}],
1210               "modelInfo": {
1211                 "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
1212                 "modelVersionId": "afacccf6-397d-45d6-b5ae-94c39734b168",
1213                 "modelName": "2017-388_PASQUALE-vPE",
1214                 "modelVersion": "4.0",
1215                 "modelCustomizationId": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
1216                 "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
1217                 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
1218               },
1219               "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
1220             },
1221             "2017-388_PASQUALE-vPE 1": {
1222               "action": "None",
1223               "inMaint": false,
1224               "rollbackOnFailure": "true",
1225               "originalName": "2017-388_PASQUALE-vPE 1",
1226               "isMissingData": false,
1227               "trackById": "cv7l1ak8vpe",
1228               "vfModules": {},
1229               "vnfStoreKey": "2017-388_PASQUALE-vPE 1",
1230               "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1231               "lcpCloudRegionId": "AAIAIC25",
1232               "legacyRegion": "123",
1233               "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1234               "platformName": "platform",
1235               "lineOfBusiness": "ONAP",
1236               "instanceParams": [{}],
1237               "modelInfo": {
1238                 "modelInvariantId": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
1239                 "modelVersionId": "0903e1c0-8e03-4936-b5c2-260653b96413",
1240                 "modelName": "2017-388_PASQUALE-vPE",
1241                 "modelVersion": "1.0",
1242                 "modelCustomizationId": "280dec31-f16d-488b-9668-4aae55d6648a",
1243                 "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
1244                 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
1245               },
1246               "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
1247             }
1248           },
1249           "instanceParams": [{}],
1250           "validationCounter": 0,
1251           "existingNames": {"yoav": ""},
1252           "existingVNFCounterMap": {
1253             "69e09f68-8b63-4cc9-b9ff-860960b5db09": 1,
1254             "afacccf6-397d-45d6-b5ae-94c39734b168": 1,
1255             "0903e1c0-8e03-4936-b5c2-260653b96413": 1
1256           },
1257           "existingVnfGroupCounterMap": {
1258             "daeb6568-cef8-417f-9075-ed259ce59f48": 0,
1259             "c2b300e6-45de-4e5e-abda-3032bee2de56": -1
1260           },
1261           "existingNetworksCounterMap": {"ddc3f20c-08b5-40fd-af72-c6d14636b986": 1},
1262           "networks": {
1263             "ExtVL 0": {
1264               "inMaint": false,
1265               "rollbackOnFailure": "true",
1266               "originalName": "ExtVL 0",
1267               "isMissingData": false,
1268               "trackById": "s6okajvv2n8",
1269               "networkStoreKey": "ExtVL 0",
1270               "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1271               "lcpCloudRegionId": "AAIAIC25",
1272               "legacyRegion": "12355555",
1273               "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1274               "platformName": "platform",
1275               "lineOfBusiness": null,
1276               "instanceParams": [{}],
1277               "modelInfo": {
1278                 "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
1279                 "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1280                 "modelName": "ExtVL",
1281                 "modelVersion": "37.0",
1282                 "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1283                 "modelCustomizationName": "ExtVL 0",
1284                 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1285               },
1286               "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1287             }
1288           },
1289           "vnfGroups": {
1290             "groupingservicefortest..ResourceInstanceGroup..0": {
1291               "inMaint": false,
1292               "rollbackOnFailure": "true",
1293               "originalName": "groupingservicefortest..ResourceInstanceGroup..0",
1294               "isMissingData": false,
1295               "trackById": "se0obn93qq",
1296               "vnfGroupStoreKey": "groupingservicefortest..ResourceInstanceGroup..0",
1297               "instanceName": "groupingservicefortestResourceInstanceGroup0",
1298               "instanceParams": [{}],
1299               "modelInfo": {
1300                 "modelInvariantId": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
1301                 "modelVersionId": "daeb6568-cef8-417f-9075-ed259ce59f48",
1302                 "modelName": "groupingservicefortest..ResourceInstanceGroup..0",
1303                 "modelVersion": "1",
1304                 "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
1305                 "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
1306               },
1307               "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
1308             }
1309           },
1310           "instanceName": "yoav",
1311           "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
1312           "subscriptionServiceType": "TYLER SILVIA",
1313           "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
1314           "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1315           "lcpCloudRegionId": "AAIAIC25",
1316           "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1317           "aicZoneId": "ATL53",
1318           "pause": null,
1319           "projectName": "WATKINS",
1320           "rollbackOnFailure": "true",
1321           "bulkSize": 1,
1322           "aicZoneName": "AAIATLTE-ATL53",
1323           "owningEntityName": "WayneHolland",
1324           "testApi": "VNF_API",
1325           "isEcompGeneratedNaming": false,
1326           "tenantName": "USP-SIP-IC-24335-T-01",
1327           "modelInfo": {
1328             "modelInvariantId": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
1329             "modelVersionId": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
1330             "modelName": "action-data",
1331             "modelVersion": "1.0",
1332             "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"
1333           },
1334           "isALaCarte": false,
1335           "name": "action-data",
1336           "version": "1.0",
1337           "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
1338           "category": "Network L1-3",
1339           "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
1340           "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
1341           "serviceType": "pnf",
1342           "serviceRole": "Testing",
1343           "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"},
1344           "isMultiStepDesign": true
1345         }
1346       },
1347       "lcpRegionsAndTenants": {
1348         "lcpRegionList": [{
1349           "id": "AAIAIC25",
1350           "name": "AAIAIC25 (AIC)",
1351           "isPermitted": true,
1352           "cloudOwner": "irma-aic"
1353         }, {"id": "hvf6", "name": "hvf6 (AIC)", "isPermitted": true, "cloudOwner": "irma-aic"}],
1354         "lcpRegionsTenantsMap": {
1355           "AAIAIC25": [{
1356             "id": "092eb9e8e4b7412e8787dd091bc58e86",
1357             "name": "USP-SIP-IC-24335-T-01",
1358             "isPermitted": true,
1359             "cloudOwner": "irma-aic"
1360           }],
1361           "hvf6": [{
1362             "id": "bae71557c5bb4d5aac6743a4e5f1d054",
1363             "name": "AIN Web Tool-15-D-testalexandria",
1364             "isPermitted": true,
1365             "cloudOwner": "irma-aic"
1366           }, {
1367             "id": "d0a3e3f2964542259d155a81c41aadc3",
1368             "name": "test-hvf6-09",
1369             "isPermitted": true,
1370             "cloudOwner": "irma-aic"
1371           }, {
1372             "id": "fa45ca53c80b492fa8be5477cd84fc2b",
1373             "name": "ro-T112",
1374             "isPermitted": true,
1375             "cloudOwner": "irma-aic"
1376           }, {
1377             "id": "cbb99fe4ada84631b7baf046b6fd2044",
1378             "name": "DN5242-Nov16-T3",
1379             "isPermitted": true,
1380             "cloudOwner": "irma-aic"
1381           }]
1382         }
1383       },
1384       "subscribers": [{
1385         "id": "ERICA5779-Subscriber-2",
1386         "name": "ERICA5779-Subscriber-2",
1387         "isPermitted": false
1388       }, {
1389         "id": "ERICA5779-Subscriber-3",
1390         "name": "ERICA5779-Subscriber-3",
1391         "isPermitted": false
1392       }, {
1393         "id": "ERICA5779-Subscriber-4",
1394         "name": "ERICA5779-Subscriber-5",
1395         "isPermitted": false
1396       }, {
1397         "id": "ERICA5779-TestSub-PWT-101",
1398         "name": "ERICA5779-TestSub-PWT-101",
1399         "isPermitted": false
1400       }, {
1401         "id": "ERICA5779-TestSub-PWT-102",
1402         "name": "ERICA5779-TestSub-PWT-102",
1403         "isPermitted": false
1404       }, {
1405         "id": "ERICA5779-TestSub-PWT-103",
1406         "name": "ERICA5779-TestSub-PWT-103",
1407         "isPermitted": false
1408       }, {
1409         "id": "31739f3e-526b-11e6-beb8-9e71128cae77",
1410         "name": "CRAIG/ROBERTS",
1411         "isPermitted": false
1412       }, {"id": "DHV1707-TestSubscriber-2", "name": "DALE BRIDGES", "isPermitted": false}, {
1413         "id": "jimmy-example",
1414         "name": "JimmyExampleCust-20161102",
1415         "isPermitted": false
1416       }, {"id": "jimmy-example2", "name": "JimmyExampleCust-20161103", "isPermitted": false}, {
1417         "id": "CAR_2020_ER",
1418         "name": "CAR_2020_ER",
1419         "isPermitted": true
1420       }, {
1421         "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
1422         "name": "Emanuel",
1423         "isPermitted": false
1424       }, {
1425         "id": "21014aa2-526b-11e6-beb8-9e71128cae77",
1426         "name": "JULIO ERICKSON",
1427         "isPermitted": false
1428       }, {
1429         "id": "DHV1707-TestSubscriber-1",
1430         "name": "LLOYD BRIDGES",
1431         "isPermitted": false
1432       }, {"id": "e433710f-9217-458d-a79d-1c7aff376d89", "name": "SILVIA ROBBINS", "isPermitted": true}],
1433       "productFamilies": null,
1434       "serviceTypes": {
1435         "e433710f-9217-458d-a79d-1c7aff376d89": [{
1436           "id": "17",
1437           "name": "JOHANNA_SANTOS",
1438           "isPermitted": false
1439         }, {"id": "16", "name": "LINDSEY", "isPermitted": false}, {
1440           "id": "2",
1441           "name": "Emanuel",
1442           "isPermitted": false
1443         }, {"id": "5", "name": "Kennedy", "isPermitted": false}, {
1444           "id": "14",
1445           "name": "SSD",
1446           "isPermitted": false
1447         }, {"id": "1", "name": "TYLER SILVIA", "isPermitted": true}, {
1448           "id": "12",
1449           "name": "VPMS",
1450           "isPermitted": false
1451         }, {"id": "3", "name": "vJamie", "isPermitted": false}, {
1452           "id": "0",
1453           "name": "vRichardson",
1454           "isPermitted": false
1455         }, {"id": "18", "name": "vCarroll", "isPermitted": false}, {
1456           "id": "9",
1457           "name": "vFLORENCE",
1458           "isPermitted": false
1459         }, {"id": "13", "name": "vWINIFRED", "isPermitted": false}, {
1460           "id": "10",
1461           "name": "vMNS",
1462           "isPermitted": false
1463         }, {"id": "15", "name": "vMOG", "isPermitted": false}, {
1464           "id": "8",
1465           "name": "vOTA",
1466           "isPermitted": false
1467         }, {"id": "11", "name": "vEsmeralda", "isPermitted": false}, {
1468           "id": "6",
1469           "name": "vPorfirio",
1470           "isPermitted": false
1471         }, {"id": "7", "name": "vVM", "isPermitted": false}, {"id": "4", "name": "vVoiceMail", "isPermitted": false}]
1472       },
1473       "aicZones": [
1474         {
1475           "id": "NFT1",
1476           "name": "NFTJSSSS-NFT1"
1477         },
1478         {
1479           "id": "JAG1",
1480           "name": "YUDFJULP-JAG1"
1481         },
1482         {
1483           "id": "YYY1",
1484           "name": "UUUAIAAI-YYY1"
1485         },
1486         {
1487           "id": "AVT1",
1488           "name": "AVTRFLHD-AVT1"
1489         },
1490         {
1491           "id": "ATL34",
1492           "name": "ATLSANAI-ATL34"
1493         }
1494       ],
1495       "categoryParameters": {
1496         "owningEntityList": [{
1497           "id": "aaa1",
1498           "name": "aaa1"
1499         }, {"id": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "name": "WayneHolland"}, {
1500           "id": "Melissa",
1501           "name": "Melissa"
1502         }],
1503         "projectList": [{"id": "WATKINS", "name": "WATKINS"}, {"id": "x1", "name": "x1"}, {"id": "yyy1", "name": "yyy1"}],
1504         "lineOfBusinessList": [{"id": "ONAP", "name": "ONAP"}, {"id": "zzz1", "name": "zzz1"}],
1505         "platformList": [{"id": "platform", "name": "platform"}, {"id": "xxx1", "name": "xxx1"}]
1506       },
1507       "type": "UPDATE_LCP_REGIONS_AND_TENANTS"
1508     }
1509   }
1510 }
1511
1512 function getNetworkModel(){
1513   return {
1514     "customizationUuid":"94fdd893-4a36-4d70-b16a-ec29c54c184f",
1515     "name":"ExtVL",
1516     "version":"37.0",
1517     "description":"ECOMP generic virtual link (network) base type for all other service-level and global networks",
1518     "uuid":"ddc3f20c-08b5-40fd-af72-c6d14636b986",
1519     "invariantUuid":"379f816b-a7aa-422f-be30-17114ff50b7c",
1520     "max":1,
1521     "min":0,
1522     "isEcompGeneratedNaming":false,
1523     "type":"VL",
1524     "modelCustomizationName":"ExtVL 0",
1525     "roles":["network role 1"," network role 2"],
1526     "properties":{
1527       "network_role":"network role 1, network role 2",
1528       "network_assignments":
1529         "{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}}",
1530       "exVL_naming":"{ecomp_generated_naming=true}","network_flows":"{is_network_policy=false, is_bound_to_vpn=false}",
1531       "network_homing":"{ecomp_selected_instance_node_target=false}"
1532     }
1533   };
1534
1535 }
1536
1537 function getNetworkInstance() {
1538   return {
1539     "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1540     "modelId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1541     "modelUniqueId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1542     "missingData": true,
1543     "id": "NETWORK4_INSTANCE_ID",
1544     "action": "None",
1545     "orchStatus": "Created",
1546     "provStatus": "preprov",
1547     "inMaint": false,
1548     "instanceId": "NETWORK4_INSTANCE_ID",
1549     "instanceType": "CONTRAIL30_HIMELGUARD",
1550     "instanceName": "NETWORK4_INSTANCE_NAME",
1551     "name": "NETWORK4_INSTANCE_NAME",
1552     "modelName": "ExtVL 0",
1553     "type": "VL",
1554     "isEcompGeneratedNaming": false,
1555     "networkStoreKey": "NETWORK4_INSTANCE_ID",
1556     "typeName": "N",
1557     "menuActions": {"edit": {}, "showAuditInfo": {}, "duplicate": {}, "remove": {}, "delete": {}, "undoDelete": {}},
1558     "isFailed": false,
1559     "statusMessage": "",
1560     "statusProperties": [{"key": "Prov Status:", "value": "preprov", "testId": "provStatus"}, {
1561       "key": "Orch Status:",
1562       "value": "Created",
1563       "testId": "orchStatus"
1564     }],
1565     "trackById": "1wvr73xl999",
1566     "parentType": "",
1567     "componentInfoType": "Network",
1568     "errors": {}
1569   };
1570 }