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