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