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