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