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