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