Merge "a-la-carte services e2e test - add more 2 VfModules"
[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         "CREATE_INSTANCE_TEST": false,
471         "EMPTY_DRAWING_BOARD_TEST": false,
472         "FLAG_NETWORK_TO_ASYNC_INSTANTIATION": false,
473         "FLAG_ADD_MSO_TESTAPI_FIELD": true,
474         "FLAG_SERVICE_MODEL_CACHE": true,
475         "FLAG_SHOW_ASSIGNMENTS": true,
476         "FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS": true,
477         "FLAG_DEFAULT_VNF": true,
478         "FLAG_SETTING_DEFAULTS_IN_DRAWING_BOARD": true,
479         "FLAG_A_LA_CARTE_AUDIT_INFO": true,
480         "FLAG_1810_CR_ADD_CLOUD_OWNER_TO_MSO_REQUEST": true,
481         "FLAG_PRESENT_PROVIDER_NETWORKS_ASSOCIATIONS": true,
482         "FLAG_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULE": true,
483         "FLAG_1902_NEW_VIEW_EDIT": true,
484         "FLAG_1810_IDENTIFY_SERVICE_FOR_NEW_UI": false,
485         "FLAG_1902_VNF_GROUPING": true,
486         "FLAG_SHOW_VERIFY_SERVICE": true,
487         "FLAG_ASYNC_ALACARTE_VFMODULE": true,
488         "FLAG_ASYNC_ALACARTE_VNF": true,
489         "FLAG_1810_AAI_LOCAL_CACHE": true,
490         "FLAG_EXP_USE_DEFAULT_HOST_NAME_VERIFIER": false,
491         "FLAG_EXP_ANY_ALACARTE_NEW_INSTANTIATION_UI": false,
492         "FLAG_SUPPLEMENTARY_FILE": true,
493         "FLAG_5G_IN_NEW_INSTANTIATION_UI": true,
494         "FLAG_RESTRICTED_SELECT": false,
495         "FLAG_1810_CR_LET_SELECTING_COLLECTOR_TYPE_UNCONDITIONALLY": true
496       },
497       "drawingBoardStatus": "VIEW",
498       "type": "UPDATE_DRAWING_BOARD_STATUS"
499     },
500     "service": {
501       "serviceHierarchy": {
502         "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
503           "service": {
504             "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
505             "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
506             "name": "action-data",
507             "version": "1.0",
508             "toscaModelURL": null,
509             "category": "Network L1-3",
510             "serviceType": "pnf",
511             "serviceRole": "Testing",
512             "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
513             "serviceEcompNaming": "false",
514             "instantiationType": "Macro",
515             "inputs": {},
516             "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"}
517           },
518           "vnfs": {
519             "2017-388_PASQUALE-vPE 1": {
520               "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
521               "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
522               "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",
523               "name": "2017-388_PASQUALE-vPE",
524               "version": "1.0",
525               "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a",
526               "inputs": {},
527               "commands": {},
528               "properties": {
529                 "vmxvre_retype": "RE-VMX",
530                 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
531                 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
532                 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
533                 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
534                 "int_ctl_net_name": "VMX-INTXI",
535                 "vmx_int_ctl_prefix": "10.0.0.10",
536                 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
537                 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
538                 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
539                 "nf_type": "vPE",
540                 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
541                 "is_AVPN_service": "false",
542                 "vmx_RSG_name": "vREXI-affinity",
543                 "vmx_int_ctl_forwarding": "l2",
544                 "vmxvre_oam_ip_0": "10.0.0.10",
545                 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
546                 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
547                 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
548                 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
549                 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
550                 "vmxvre_instance": "0",
551                 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
552                 "vmxvre_flavor_name": "ns.c1r16d32.v5",
553                 "vmxvpfe_volume_size_0": "40.0",
554                 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
555                 "nf_naming": "{ecomp_generated_naming=true}",
556                 "multi_stage_design": "true",
557                 "nf_naming_code": "Navneet",
558                 "vmxvre_name_0": "vREXI",
559                 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
560                 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
561                 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
562                 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
563                 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
564                 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
565                 "vmxvre_console": "vidconsole",
566                 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
567                 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
568                 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
569                 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
570                 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
571                 "vf_module_id": "123",
572                 "nf_function": "JAI",
573                 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
574                 "vmxvre_int_ctl_ip_0": "10.0.0.10",
575                 "ecomp_generated_naming": "true",
576                 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
577                 "vnf_name": "mtnj309me6vre",
578                 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
579                 "vmxvre_volume_type_1": "HITACHI",
580                 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
581                 "vmxvre_volume_type_0": "HITACHI",
582                 "vmxvpfe_volume_type_0": "HITACHI",
583                 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
584                 "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
585                 "vnf_id": "123",
586                 "vmxvre_oam_prefix": "24",
587                 "availability_zone_0": "mtpocfo-kvm-az01",
588                 "ASN": "get_input:2017488_pasqualevpe0_ASN",
589                 "vmxvre_chassis_i2cid": "161",
590                 "vmxvpfe_name_0": "vPFEXI",
591                 "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
592                 "availability_zone_max_count": "1",
593                 "vmxvre_volume_size_0": "45.0",
594                 "vmxvre_volume_size_1": "50.0",
595                 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
596                 "vmxvre_oam_gateway": "10.0.0.10",
597                 "vmxvre_volume_name_1": "vREXI_FAVolume",
598                 "vmxvre_ore_present": "0",
599                 "vmxvre_volume_name_0": "vREXI_FBVolume",
600                 "vmxvre_type": "0",
601                 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
602                 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
603                 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
604                 "vmx_int_ctl_len": "24",
605                 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
606                 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
607                 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
608                 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
609                 "nf_role": "Testing",
610                 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
611                 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
612                 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
613               },
614               "type": "VF",
615               "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
616               "vfModules": {},
617               "volumeGroups": {},
618               "vfcInstanceGroups": {}
619             },
620             "2017-388_PASQUALE-vPE 0": {
621               "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
622               "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
623               "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",
624               "name": "2017-388_PASQUALE-vPE",
625               "version": "4.0",
626               "customizationUuid": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
627               "inputs": {},
628               "commands": {},
629               "properties": {
630                 "vmxvre_retype": "RE-VMX",
631                 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
632                 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
633                 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
634                 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
635                 "int_ctl_net_name": "VMX-INTXI",
636                 "vmx_int_ctl_prefix": "10.0.0.10",
637                 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
638                 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
639                 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
640                 "nf_type": "vPE",
641                 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
642                 "is_AVPN_service": "false",
643                 "vmx_RSG_name": "vREXI-affinity",
644                 "vmx_int_ctl_forwarding": "l2",
645                 "vmxvre_oam_ip_0": "10.0.0.10",
646                 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
647                 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
648                 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
649                 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
650                 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
651                 "vmxvre_instance": "0",
652                 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
653                 "vmxvre_flavor_name": "ns.c1r16d32.v5",
654                 "vmxvpfe_volume_size_0": "40.0",
655                 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
656                 "nf_naming": "{ecomp_generated_naming=true}",
657                 "multi_stage_design": "true",
658                 "nf_naming_code": "Navneet",
659                 "vmxvre_name_0": "vREXI",
660                 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
661                 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
662                 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
663                 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
664                 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
665                 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
666                 "vmxvre_console": "vidconsole",
667                 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
668                 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
669                 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
670                 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
671                 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
672                 "vf_module_id": "123",
673                 "nf_function": "JAI",
674                 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
675                 "vmxvre_int_ctl_ip_0": "10.0.0.10",
676                 "ecomp_generated_naming": "true",
677                 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
678                 "vnf_name": "mtnj309me6vre",
679                 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
680                 "vmxvre_volume_type_1": "HITACHI",
681                 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
682                 "vmxvre_volume_type_0": "HITACHI",
683                 "vmxvpfe_volume_type_0": "HITACHI",
684                 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
685                 "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
686                 "vnf_id": "123",
687                 "vmxvre_oam_prefix": "24",
688                 "availability_zone_0": "mtpocfo-kvm-az01",
689                 "ASN": "get_input:2017488_pasqualevpe0_ASN",
690                 "vmxvre_chassis_i2cid": "161",
691                 "vmxvpfe_name_0": "vPFEXI",
692                 "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
693                 "availability_zone_max_count": "1",
694                 "vmxvre_volume_size_0": "45.0",
695                 "vmxvre_volume_size_1": "50.0",
696                 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
697                 "vmxvre_oam_gateway": "10.0.0.10",
698                 "vmxvre_volume_name_1": "vREXI_FAVolume",
699                 "vmxvre_ore_present": "0",
700                 "vmxvre_volume_name_0": "vREXI_FBVolume",
701                 "vmxvre_type": "0",
702                 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
703                 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
704                 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
705                 "vmx_int_ctl_len": "24",
706                 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
707                 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
708                 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
709                 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
710                 "nf_role": "Testing",
711                 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
712                 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
713                 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
714               },
715               "type": "VF",
716               "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
717               "vfModules": {},
718               "volumeGroups": {},
719               "vfcInstanceGroups": {}
720             },
721             "2017-488_PASQUALE-vPE 0": {
722               "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
723               "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
724               "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",
725               "name": "2017-488_PASQUALE-vPE",
726               "version": "5.0",
727               "customizationUuid": "1da7b585-5e61-4993-b95e-8e6606c81e45",
728               "inputs": {},
729               "commands": {},
730               "properties": {
731                 "max_instances": 1,
732                 "vmxvre_retype": "RE-VMX",
733                 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
734                 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
735                 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
736                 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
737                 "int_ctl_net_name": "VMX-INTXI",
738                 "vmx_int_ctl_prefix": "10.0.0.10",
739                 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
740                 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
741                 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
742                 "nf_type": "vPE",
743                 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
744                 "is_AVPN_service": "false",
745                 "vmx_RSG_name": "vREXI-affinity",
746                 "vmx_int_ctl_forwarding": "l2",
747                 "vmxvre_oam_ip_0": "10.0.0.10",
748                 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
749                 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
750                 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
751                 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
752                 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
753                 "vmxvre_instance": "0",
754                 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
755                 "vmxvre_flavor_name": "ns.c1r16d32.v5",
756                 "vmxvpfe_volume_size_0": "40.0",
757                 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
758                 "nf_naming": "{ecomp_generated_naming=true}",
759                 "multi_stage_design": "true",
760                 "nf_naming_code": "Navneet",
761                 "vmxvre_name_0": "vREXI",
762                 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
763                 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
764                 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
765                 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
766                 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
767                 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
768                 "vmxvre_console": "vidconsole",
769                 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
770                 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
771                 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
772                 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
773                 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
774                 "vf_module_id": "123",
775                 "nf_function": "JAI",
776                 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
777                 "vmxvre_int_ctl_ip_0": "10.0.0.10",
778                 "ecomp_generated_naming": "true",
779                 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
780                 "vnf_name": "mtnj309me6vre",
781                 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
782                 "vmxvre_volume_type_1": "HITACHI",
783                 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
784                 "vmxvre_volume_type_0": "HITACHI",
785                 "vmxvpfe_volume_type_0": "HITACHI",
786                 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
787                 "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
788                 "vnf_id": "123",
789                 "vmxvre_oam_prefix": "24",
790                 "availability_zone_0": "mtpocfo-kvm-az01",
791                 "ASN": "get_input:2017488_pasqualevpe0_ASN",
792                 "vmxvre_chassis_i2cid": "161",
793                 "vmxvpfe_name_0": "vPFEXI",
794                 "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
795                 "availability_zone_max_count": "1",
796                 "vmxvre_volume_size_0": "45.0",
797                 "vmxvre_volume_size_1": "50.0",
798                 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
799                 "vmxvre_oam_gateway": "10.0.0.10",
800                 "vmxvre_volume_name_1": "vREXI_FAVolume",
801                 "vmxvre_ore_present": "0",
802                 "vmxvre_volume_name_0": "vREXI_FBVolume",
803                 "vmxvre_type": "0",
804                 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
805                 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
806                 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
807                 "vmx_int_ctl_len": "24",
808                 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
809                 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
810                 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
811                 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
812                 "nf_role": "Testing",
813                 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
814                 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
815                 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
816               },
817               "type": "VF",
818               "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
819               "vfModules": {
820                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
821                   "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
822                   "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
823                   "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
824                   "description": null,
825                   "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
826                   "version": "6",
827                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
828                   "properties": {
829                     "minCountInstances": 0,
830                     "maxCountInstances": null,
831                     "initialCount": 0,
832                     "vfModuleLabel": "PASQUALE_vRE_BV",
833                     "baseModule": false
834                   },
835                   "inputs": {},
836                   "volumeGroupAllowed": true
837                 },
838                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
839                   "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
840                   "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
841                   "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
842                   "description": null,
843                   "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
844                   "version": "5",
845                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
846                   "properties": {
847                     "minCountInstances": 1,
848                     "maxCountInstances": 1,
849                     "initialCount": 1,
850                     "vfModuleLabel": "PASQUALE_base_vPE_BV",
851                     "baseModule": true
852                   },
853                   "inputs": {},
854                   "volumeGroupAllowed": false
855                 },
856                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
857                   "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
858                   "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
859                   "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
860                   "description": null,
861                   "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
862                   "version": "6",
863                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
864                   "properties": {
865                     "minCountInstances": 0,
866                     "maxCountInstances": null,
867                     "initialCount": 0,
868                     "vfModuleLabel": "PASQUALE_vPFE_BV",
869                     "baseModule": false
870                   },
871                   "inputs": {},
872                   "volumeGroupAllowed": true
873                 }
874               },
875               "volumeGroups": {
876                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
877                   "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
878                   "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
879                   "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
880                   "description": null,
881                   "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
882                   "version": "6",
883                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
884                   "properties": {
885                     "minCountInstances": 0,
886                     "maxCountInstances": null,
887                     "initialCount": 0,
888                     "vfModuleLabel": "PASQUALE_vRE_BV",
889                     "baseModule": false
890                   },
891                   "inputs": {}
892                 },
893                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
894                   "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
895                   "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
896                   "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
897                   "description": null,
898                   "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
899                   "version": "6",
900                   "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
901                   "properties": {
902                     "minCountInstances": 0,
903                     "maxCountInstances": null,
904                     "initialCount": 0,
905                     "vfModuleLabel": "PASQUALE_vPFE_BV",
906                     "baseModule": false
907                   },
908                   "inputs": {}
909                 }
910               },
911               "vfcInstanceGroups": {}
912             }
913           },
914           "networks": {
915             "ExtVL 0": {
916               "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
917               "invariantUuid": "379f816b-a7aa-422f-be30-17114ff50b7c",
918               "description": "ECOMP generic virtual link (network) base type for all other service-level and global networks",
919               "name": "ExtVL",
920               "version": "37.0",
921               "customizationUuid": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
922               "inputs": {},
923               "commands": {},
924               "properties": {
925                 "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}}",
926                 "exVL_naming": "{ecomp_generated_naming=true}",
927                 "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
928                 "network_homing": "{ecomp_selected_instance_node_target=false}"
929               },
930               "type": "VL",
931               "modelCustomizationName": "ExtVL 0"
932             }
933           },
934           "collectionResources": {},
935           "configurations": {},
936           "fabricConfigurations": {},
937           "serviceProxies": {},
938           "vfModules": {
939             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
940               "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
941               "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
942               "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
943               "description": null,
944               "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
945               "version": "6",
946               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
947               "properties": {
948                 "minCountInstances": 0,
949                 "maxCountInstances": null,
950                 "initialCount": 0,
951                 "vfModuleLabel": "PASQUALE_vRE_BV",
952                 "baseModule": false
953               },
954               "inputs": {},
955               "volumeGroupAllowed": true
956             },
957             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
958               "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
959               "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
960               "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
961               "description": null,
962               "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
963               "version": "5",
964               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
965               "properties": {
966                 "minCountInstances": 1,
967                 "maxCountInstances": 1,
968                 "initialCount": 1,
969                 "vfModuleLabel": "PASQUALE_base_vPE_BV",
970                 "baseModule": true
971               },
972               "inputs": {},
973               "volumeGroupAllowed": false
974             },
975             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
976               "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
977               "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
978               "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
979               "description": null,
980               "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
981               "version": "6",
982               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
983               "properties": {
984                 "minCountInstances": 0,
985                 "maxCountInstances": null,
986                 "initialCount": 0,
987                 "vfModuleLabel": "PASQUALE_vPFE_BV",
988                 "baseModule": false
989               },
990               "inputs": {},
991               "volumeGroupAllowed": true
992             }
993           },
994           "volumeGroups": {
995             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
996               "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
997               "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
998               "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
999               "description": null,
1000               "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1001               "version": "6",
1002               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1003               "properties": {
1004                 "minCountInstances": 0,
1005                 "maxCountInstances": null,
1006                 "initialCount": 0,
1007                 "vfModuleLabel": "PASQUALE_vRE_BV",
1008                 "baseModule": false
1009               },
1010               "inputs": {}
1011             },
1012             "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
1013               "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1014               "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1015               "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1016               "description": null,
1017               "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1018               "version": "6",
1019               "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1020               "properties": {
1021                 "minCountInstances": 0,
1022                 "maxCountInstances": null,
1023                 "initialCount": 0,
1024                 "vfModuleLabel": "PASQUALE_vPFE_BV",
1025                 "baseModule": false
1026               },
1027               "inputs": {}
1028             }
1029           },
1030           "pnfs": {},
1031           "vnfGroups": {
1032             "groupingservicefortest..ResourceInstanceGroup..0": {
1033               "type": "VnfGroup",
1034               "invariantUuid": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
1035               "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48",
1036               "version": "1",
1037               "name": "groupingservicefortest..ResourceInstanceGroup..0",
1038               "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
1039               "properties": {
1040                 "contained_resource_type": "VF",
1041                 "role": "SERVICE-ACCESS",
1042                 "function": "DATA",
1043                 "description": "DDD0",
1044                 "type": "LOAD-GROUP",
1045                 "ecomp_generated_naming": "true"
1046               },
1047               "members": {
1048                 "vdorothea_svc_vprs_proxy 0": {
1049                   "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
1050                   "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
1051                   "description": "A Proxy for Service vDOROTHEA_Svc_vPRS",
1052                   "name": "vDOROTHEA_Svc_vPRS Service Proxy",
1053                   "version": "1.0",
1054                   "customizationUuid": "bdb63d23-e132-4ce7-af2c-a493b4cafac9",
1055                   "inputs": {},
1056                   "commands": {},
1057                   "properties": {},
1058                   "type": "Service Proxy",
1059                   "sourceModelUuid": "da7827a2-366d-4be6-8c68-a69153c61274",
1060                   "sourceModelInvariant": "24632e6b-584b-4f45-80d4-fefd75fd9f14",
1061                   "sourceModelName": "vDOROTHEA_Svc_vPRS"
1062                 }
1063               }
1064             },
1065             "groupingservicefortest..ResourceInstanceGroup..1": {
1066               "type": "VnfGroup",
1067               "invariantUuid": "a704112d-dbc6-4e56-8d4e-aec57e95ef9a",
1068               "uuid": "c2b300e6-45de-4e5e-abda-3032bee2de56",
1069               "version": "1",
1070               "name": "groupingservicefortest..ResourceInstanceGroup..1",
1071               "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..1",
1072               "properties": {
1073                 "contained_resource_type": "VF",
1074                 "role": "SERVICE-ACCESS",
1075                 "function": "SIGNALING",
1076                 "description": "DDD1",
1077                 "type": "LOAD-GROUP",
1078                 "ecomp_generated_naming": "true"
1079               },
1080               "members": {
1081                 "tsbc0001vm001_svc_proxy 0": {
1082                   "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
1083                   "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
1084                   "description": "A Proxy for Service tsbc0001vm001_Svc",
1085                   "name": "tsbc0001vm001_Svc Service Proxy",
1086                   "version": "1.0",
1087                   "customizationUuid": "3d814462-30fb-4c62-b997-9aa360d27ead",
1088                   "inputs": {},
1089                   "commands": {},
1090                   "properties": {},
1091                   "type": "Service Proxy",
1092                   "sourceModelUuid": "28aeb8f6-5620-4148-8bfb-a5fb406f0309",
1093                   "sourceModelInvariant": "c989ab9a-33c7-46ec-b521-1b2daef5f047",
1094                   "sourceModelName": "tsbc0001vm001_Svc"
1095                 }
1096               }
1097             }
1098           }
1099         },
1100         "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6": {
1101           "service": {
1102             "uuid": "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6",
1103             "invariantUuid": "5b9c0f33-eec1-484a-bf77-736a6644d7a8",
1104             "name": "Using VID for VoIP Network Instantiations Shani",
1105             "version": "1.0",
1106             "toscaModelURL": null,
1107             "category": "VoIP Call Control",
1108             "serviceType": "",
1109             "serviceRole": "",
1110             "description": "Using VID for VoIP Network Instantiations Shani",
1111             "serviceEcompNaming": "true",
1112             "instantiationType": "ClientConfig",
1113             "inputs": {},
1114             "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"}
1115           },
1116           "vnfs": {},
1117           "networks": {
1118             "AIC30_CONTRAIL_BASIC 0": {
1119               "uuid": "ac815c68-35b7-4ea4-9d04-92d2f844b27c",
1120               "invariantUuid": "de01afb5-532b-451d-aac4-ff9ff0644060",
1121               "description": "Basic contrail 3.0.x L3 network for AIC 3.x sites. ",
1122               "name": "AIC30_CONTRAIL_BASIC",
1123               "version": "3.0",
1124               "customizationUuid": "e94d61f7-b4b2-489a-a4a7-30b1a1a80daf",
1125               "inputs": {},
1126               "commands": {},
1127               "properties": {
1128                 "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}}",
1129                 "exVL_naming": "{ecomp_generated_naming=true}",
1130                 "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
1131                 "network_scope": "Service",
1132                 "network_type": "AIC30_CONTRAIL_BASIC",
1133                 "network_technology": "Contrail",
1134                 "network_homing": "{ecomp_selected_instance_node_target=false}"
1135               },
1136               "type": "VL",
1137               "modelCustomizationName": "AIC30_CONTRAIL_BASIC 0"
1138             }
1139           },
1140           "collectionResources": {},
1141           "configurations": {},
1142           "fabricConfigurations": {},
1143           "serviceProxies": {},
1144           "vfModules": {},
1145           "volumeGroups": {},
1146           "pnfs": {},
1147           "vnfGroups": {}
1148         }
1149       },
1150       "serviceInstance": {
1151         "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
1152           "vnfs": {
1153             "2017-488_PASQUALE-vPE 0": {
1154               "action": "None",
1155               "inMaint": false,
1156               "rollbackOnFailure": "true",
1157               "originalName": "2017-488_PASQUALE-vPE 0",
1158               "isMissingData": false,
1159               "trackById": "stigekyxrqi",
1160               "vfModules": {
1161                 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
1162                   "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0gytfi": {
1163                     "isMissingData": false,
1164                     "sdncPreReload": null,
1165                     "modelInfo": {
1166                       "modelType": "VFmodule",
1167                       "modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
1168                       "modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
1169                       "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
1170                       "modelVersion": "5",
1171                       "modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
1172                       "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0"
1173                     },
1174                     "instanceParams": [{}],
1175                     "trackById": "3oj23o7nupo"
1176                   }
1177                 }
1178               },
1179               "vnfStoreKey": "2017-488_PASQUALE-vPE 0",
1180               "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
1181               "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1182               "lcpCloudRegionId": "AAIAIC25",
1183               "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1184               "lineOfBusiness": "ONAP",
1185               "platformName": "xxx1",
1186               "modelInfo": {
1187                 "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
1188                 "modelVersionId": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
1189                 "modelName": "2017-488_PASQUALE-vPE",
1190                 "modelVersion": "5.0",
1191                 "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
1192                 "modelCustomizationId": "1da7b585-5e61-4993-b95e-8e6606c81e45",
1193                 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09"
1194               },
1195               "legacyRegion": "11111111",
1196               "instanceParams": [{}]
1197             },
1198             "2017-388_PASQUALE-vPE 0": {
1199               "action": "Create",
1200               "inMaint": false,
1201               "rollbackOnFailure": "true",
1202               "originalName": "2017-388_PASQUALE-vPE 0",
1203               "isMissingData": false,
1204               "trackById": "nib719t5vca",
1205               "vfModules": {},
1206               "vnfStoreKey": "2017-388_PASQUALE-vPE 0",
1207               "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1208               "lcpCloudRegionId": "AAIAIC25",
1209               "legacyRegion": "11111",
1210               "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1211               "platformName": "platform",
1212               "lineOfBusiness": "zzz1",
1213               "instanceParams": [{}],
1214               "modelInfo": {
1215                 "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
1216                 "modelVersionId": "afacccf6-397d-45d6-b5ae-94c39734b168",
1217                 "modelName": "2017-388_PASQUALE-vPE",
1218                 "modelVersion": "4.0",
1219                 "modelCustomizationId": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
1220                 "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
1221                 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
1222               },
1223               "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
1224             },
1225             "2017-388_PASQUALE-vPE 1": {
1226               "action": "None",
1227               "inMaint": false,
1228               "rollbackOnFailure": "true",
1229               "originalName": "2017-388_PASQUALE-vPE 1",
1230               "isMissingData": false,
1231               "trackById": "cv7l1ak8vpe",
1232               "vfModules": {},
1233               "vnfStoreKey": "2017-388_PASQUALE-vPE 1",
1234               "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1235               "lcpCloudRegionId": "AAIAIC25",
1236               "legacyRegion": "123",
1237               "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1238               "platformName": "platform",
1239               "lineOfBusiness": "ONAP",
1240               "instanceParams": [{}],
1241               "modelInfo": {
1242                 "modelInvariantId": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
1243                 "modelVersionId": "0903e1c0-8e03-4936-b5c2-260653b96413",
1244                 "modelName": "2017-388_PASQUALE-vPE",
1245                 "modelVersion": "1.0",
1246                 "modelCustomizationId": "280dec31-f16d-488b-9668-4aae55d6648a",
1247                 "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
1248                 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
1249               },
1250               "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
1251             }
1252           },
1253           "instanceParams": [{}],
1254           "validationCounter": 0,
1255           "existingNames": {"yoav": ""},
1256           "existingVNFCounterMap": {
1257             "69e09f68-8b63-4cc9-b9ff-860960b5db09": 1,
1258             "afacccf6-397d-45d6-b5ae-94c39734b168": 1,
1259             "0903e1c0-8e03-4936-b5c2-260653b96413": 1
1260           },
1261           "existingVnfGroupCounterMap": {
1262             "daeb6568-cef8-417f-9075-ed259ce59f48": 0,
1263             "c2b300e6-45de-4e5e-abda-3032bee2de56": -1
1264           },
1265           "existingNetworksCounterMap": {"ddc3f20c-08b5-40fd-af72-c6d14636b986": 1},
1266           "networks": {
1267             "ExtVL 0": {
1268               "inMaint": false,
1269               "rollbackOnFailure": "true",
1270               "originalName": "ExtVL 0",
1271               "isMissingData": false,
1272               "trackById": "s6okajvv2n8",
1273               "networkStoreKey": "ExtVL 0",
1274               "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1275               "lcpCloudRegionId": "AAIAIC25",
1276               "legacyRegion": "12355555",
1277               "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1278               "platformName": "platform",
1279               "lineOfBusiness": null,
1280               "instanceParams": [{}],
1281               "modelInfo": {
1282                 "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
1283                 "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1284                 "modelName": "ExtVL",
1285                 "modelVersion": "37.0",
1286                 "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1287                 "modelCustomizationName": "ExtVL 0",
1288                 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1289               },
1290               "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1291             }
1292           },
1293           "vnfGroups": {
1294             "groupingservicefortest..ResourceInstanceGroup..0": {
1295               "inMaint": false,
1296               "rollbackOnFailure": "true",
1297               "originalName": "groupingservicefortest..ResourceInstanceGroup..0",
1298               "isMissingData": false,
1299               "trackById": "se0obn93qq",
1300               "vnfGroupStoreKey": "groupingservicefortest..ResourceInstanceGroup..0",
1301               "instanceName": "groupingservicefortestResourceInstanceGroup0",
1302               "instanceParams": [{}],
1303               "modelInfo": {
1304                 "modelInvariantId": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
1305                 "modelVersionId": "daeb6568-cef8-417f-9075-ed259ce59f48",
1306                 "modelName": "groupingservicefortest..ResourceInstanceGroup..0",
1307                 "modelVersion": "1",
1308                 "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
1309                 "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
1310               },
1311               "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
1312             }
1313           },
1314           "instanceName": "yoav",
1315           "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
1316           "subscriptionServiceType": "TYLER SILVIA",
1317           "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
1318           "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
1319           "lcpCloudRegionId": "AAIAIC25",
1320           "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1321           "aicZoneId": "ATL53",
1322           "pause": null,
1323           "projectName": "WATKINS",
1324           "rollbackOnFailure": "true",
1325           "bulkSize": 1,
1326           "aicZoneName": "AAIATLTE-ATL53",
1327           "owningEntityName": "WayneHolland",
1328           "testApi": "VNF_API",
1329           "isEcompGeneratedNaming": false,
1330           "tenantName": "USP-SIP-IC-24335-T-01",
1331           "modelInfo": {
1332             "modelInvariantId": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
1333             "modelVersionId": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
1334             "modelName": "action-data",
1335             "modelVersion": "1.0",
1336             "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"
1337           },
1338           "isALaCarte": false,
1339           "name": "action-data",
1340           "version": "1.0",
1341           "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
1342           "category": "Network L1-3",
1343           "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
1344           "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
1345           "serviceType": "pnf",
1346           "serviceRole": "Testing",
1347           "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"},
1348           "isMultiStepDesign": true
1349         }
1350       },
1351       "lcpRegionsAndTenants": {
1352         "lcpRegionList": [{
1353           "id": "AAIAIC25",
1354           "name": "AAIAIC25 (AIC)",
1355           "isPermitted": true,
1356           "cloudOwner": "irma-aic"
1357         }, {"id": "hvf6", "name": "hvf6 (AIC)", "isPermitted": true, "cloudOwner": "irma-aic"}],
1358         "lcpRegionsTenantsMap": {
1359           "AAIAIC25": [{
1360             "id": "092eb9e8e4b7412e8787dd091bc58e86",
1361             "name": "USP-SIP-IC-24335-T-01",
1362             "isPermitted": true,
1363             "cloudOwner": "irma-aic"
1364           }],
1365           "hvf6": [{
1366             "id": "bae71557c5bb4d5aac6743a4e5f1d054",
1367             "name": "AIN Web Tool-15-D-testalexandria",
1368             "isPermitted": true,
1369             "cloudOwner": "irma-aic"
1370           }, {
1371             "id": "d0a3e3f2964542259d155a81c41aadc3",
1372             "name": "test-hvf6-09",
1373             "isPermitted": true,
1374             "cloudOwner": "irma-aic"
1375           }, {
1376             "id": "fa45ca53c80b492fa8be5477cd84fc2b",
1377             "name": "ro-T112",
1378             "isPermitted": true,
1379             "cloudOwner": "irma-aic"
1380           }, {
1381             "id": "cbb99fe4ada84631b7baf046b6fd2044",
1382             "name": "DN5242-Nov16-T3",
1383             "isPermitted": true,
1384             "cloudOwner": "irma-aic"
1385           }]
1386         }
1387       },
1388       "subscribers": [{
1389         "id": "ERICA5779-Subscriber-2",
1390         "name": "ERICA5779-Subscriber-2",
1391         "isPermitted": false
1392       }, {
1393         "id": "ERICA5779-Subscriber-3",
1394         "name": "ERICA5779-Subscriber-3",
1395         "isPermitted": false
1396       }, {
1397         "id": "ERICA5779-Subscriber-4",
1398         "name": "ERICA5779-Subscriber-5",
1399         "isPermitted": false
1400       }, {
1401         "id": "ERICA5779-TestSub-PWT-101",
1402         "name": "ERICA5779-TestSub-PWT-101",
1403         "isPermitted": false
1404       }, {
1405         "id": "ERICA5779-TestSub-PWT-102",
1406         "name": "ERICA5779-TestSub-PWT-102",
1407         "isPermitted": false
1408       }, {
1409         "id": "ERICA5779-TestSub-PWT-103",
1410         "name": "ERICA5779-TestSub-PWT-103",
1411         "isPermitted": false
1412       }, {
1413         "id": "31739f3e-526b-11e6-beb8-9e71128cae77",
1414         "name": "CRAIG/ROBERTS",
1415         "isPermitted": false
1416       }, {"id": "DHV1707-TestSubscriber-2", "name": "DALE BRIDGES", "isPermitted": false}, {
1417         "id": "jimmy-example",
1418         "name": "JimmyExampleCust-20161102",
1419         "isPermitted": false
1420       }, {"id": "jimmy-example2", "name": "JimmyExampleCust-20161103", "isPermitted": false}, {
1421         "id": "CAR_2020_ER",
1422         "name": "CAR_2020_ER",
1423         "isPermitted": true
1424       }, {
1425         "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
1426         "name": "Emanuel",
1427         "isPermitted": false
1428       }, {
1429         "id": "21014aa2-526b-11e6-beb8-9e71128cae77",
1430         "name": "JULIO ERICKSON",
1431         "isPermitted": false
1432       }, {
1433         "id": "DHV1707-TestSubscriber-1",
1434         "name": "LLOYD BRIDGES",
1435         "isPermitted": false
1436       }, {"id": "e433710f-9217-458d-a79d-1c7aff376d89", "name": "SILVIA ROBBINS", "isPermitted": true}],
1437       "productFamilies": null,
1438       "serviceTypes": {
1439         "e433710f-9217-458d-a79d-1c7aff376d89": [{
1440           "id": "17",
1441           "name": "JOHANNA_SANTOS",
1442           "isPermitted": false
1443         }, {"id": "16", "name": "LINDSEY", "isPermitted": false}, {
1444           "id": "2",
1445           "name": "Emanuel",
1446           "isPermitted": false
1447         }, {"id": "5", "name": "Kennedy", "isPermitted": false}, {
1448           "id": "14",
1449           "name": "SSD",
1450           "isPermitted": false
1451         }, {"id": "1", "name": "TYLER SILVIA", "isPermitted": true}, {
1452           "id": "12",
1453           "name": "VPMS",
1454           "isPermitted": false
1455         }, {"id": "3", "name": "vJamie", "isPermitted": false}, {
1456           "id": "0",
1457           "name": "vRichardson",
1458           "isPermitted": false
1459         }, {"id": "18", "name": "vCarroll", "isPermitted": false}, {
1460           "id": "9",
1461           "name": "vFLORENCE",
1462           "isPermitted": false
1463         }, {"id": "13", "name": "vWINIFRED", "isPermitted": false}, {
1464           "id": "10",
1465           "name": "vMNS",
1466           "isPermitted": false
1467         }, {"id": "15", "name": "vMOG", "isPermitted": false}, {
1468           "id": "8",
1469           "name": "vOTA",
1470           "isPermitted": false
1471         }, {"id": "11", "name": "vEsmeralda", "isPermitted": false}, {
1472           "id": "6",
1473           "name": "vPorfirio",
1474           "isPermitted": false
1475         }, {"id": "7", "name": "vVM", "isPermitted": false}, {"id": "4", "name": "vVoiceMail", "isPermitted": false}]
1476       },
1477       "aicZones": [
1478         {
1479           "id": "NFT1",
1480           "name": "NFTJSSSS-NFT1"
1481         },
1482         {
1483           "id": "JAG1",
1484           "name": "YUDFJULP-JAG1"
1485         },
1486         {
1487           "id": "YYY1",
1488           "name": "UUUAIAAI-YYY1"
1489         },
1490         {
1491           "id": "AVT1",
1492           "name": "AVTRFLHD-AVT1"
1493         },
1494         {
1495           "id": "ATL34",
1496           "name": "ATLSANAI-ATL34"
1497         }
1498       ],
1499       "categoryParameters": {
1500         "owningEntityList": [{
1501           "id": "aaa1",
1502           "name": "aaa1"
1503         }, {"id": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "name": "WayneHolland"}, {
1504           "id": "Melissa",
1505           "name": "Melissa"
1506         }],
1507         "projectList": [{"id": "WATKINS", "name": "WATKINS"}, {"id": "x1", "name": "x1"}, {"id": "yyy1", "name": "yyy1"}],
1508         "lineOfBusinessList": [{"id": "ONAP", "name": "ONAP"}, {"id": "zzz1", "name": "zzz1"}],
1509         "platformList": [{"id": "platform", "name": "platform"}, {"id": "xxx1", "name": "xxx1"}]
1510       },
1511       "type": "UPDATE_LCP_REGIONS_AND_TENANTS"
1512     }
1513   }
1514 }
1515
1516 function getNetworkModel(){
1517   return {
1518     "customizationUuid":"94fdd893-4a36-4d70-b16a-ec29c54c184f",
1519     "name":"ExtVL",
1520     "version":"37.0",
1521     "description":"ECOMP generic virtual link (network) base type for all other service-level and global networks",
1522     "uuid":"ddc3f20c-08b5-40fd-af72-c6d14636b986",
1523     "invariantUuid":"379f816b-a7aa-422f-be30-17114ff50b7c",
1524     "max":1,
1525     "min":0,
1526     "isEcompGeneratedNaming":false,
1527     "type":"VL",
1528     "modelCustomizationName":"ExtVL 0",
1529     "roles":["network role 1"," network role 2"],
1530     "properties":{
1531       "network_role":"network role 1, network role 2",
1532       "network_assignments":
1533         "{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}}",
1534       "exVL_naming":"{ecomp_generated_naming=true}","network_flows":"{is_network_policy=false, is_bound_to_vpn=false}",
1535       "network_homing":"{ecomp_selected_instance_node_target=false}"
1536     }
1537   };
1538
1539 }
1540
1541 function getNetworkInstance() {
1542   return {
1543     "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1544     "modelId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1545     "modelUniqueId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1546     "missingData": true,
1547     "id": "NETWORK4_INSTANCE_ID",
1548     "action": "None",
1549     "orchStatus": "Created",
1550     "provStatus": "preprov",
1551     "inMaint": false,
1552     "instanceId": "NETWORK4_INSTANCE_ID",
1553     "instanceType": "CONTRAIL30_HIMELGUARD",
1554     "instanceName": "NETWORK4_INSTANCE_NAME",
1555     "name": "NETWORK4_INSTANCE_NAME",
1556     "modelName": "ExtVL 0",
1557     "type": "VL",
1558     "isEcompGeneratedNaming": false,
1559     "networkStoreKey": "NETWORK4_INSTANCE_ID",
1560     "typeName": "N",
1561     "menuActions": {"edit": {}, "showAuditInfo": {}, "duplicate": {}, "remove": {}, "delete": {}, "undoDelete": {}},
1562     "isFailed": false,
1563     "statusMessage": "",
1564     "statusProperties": [{"key": "Prov Status:", "value": "preprov", "testId": "provStatus"}, {
1565       "key": "Orch Status:",
1566       "value": "Created",
1567       "testId": "orchStatus"
1568     }],
1569     "trackById": "1wvr73xl999",
1570     "parentType": "",
1571     "componentInfoType": "Network",
1572     "errors": {}
1573   };
1574 }