blob: 89e20a2d69c0c537e192127df39ef9889e3facf7 [file] [log] [blame]
Ittay Stern6f900cc2018-08-29 17:01:32 +03001import {HttpClientTestingModule} from "@angular/common/http/testing";
2import {getTestBed, TestBed} from "@angular/core/testing";
Ittay Stern77d00162019-02-27 19:23:10 +02003import {NgReduxTestingModule} from "@angular-redux/store/testing";
Ittay Stern6f900cc2018-08-29 17:01:32 +03004import {SharedTreeService} from "./shared.tree.service";
5import {ObjectToInstanceTreeService} from "./objectToInstanceTree/objectToInstanceTree.service";
6import {ObjectToTreeService} from "./objectToTree.service";
7import {DefaultDataGeneratorService} from "../../../shared/services/defaultDataServiceGenerator/default.data.generator.service";
8import {DynamicInputsService} from "./dynamicInputs.service";
9import {DialogService} from "ng2-bootstrap-modal";
10import {VnfPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vnf/vnf.popup.service";
11import {BasicControlGenerator} from "../../../shared/components/genericForm/formControlsServices/basic.control.generator";
12import {AaiService} from "../../../shared/services/aaiService/aai.service";
13import {NetworkPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/network/network.popup.service";
14import {NetworkControlGenerator} from "../../../shared/components/genericForm/formControlsServices/networkGenerator/network.control.generator";
15import {VfModulePopuopService} from "../../../shared/components/genericFormPopup/genericFormServices/vfModule/vfModule.popuop.service";
16import {VfModuleControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vfModuleGenerator/vfModule.control.generator";
17import {VnfGroupControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vnfGroupGenerator/vnfGroup.control.generator";
18import {FeatureFlagsService} from "../../../shared/services/featureFlag/feature-flags.service";
19import {VnfControlGenerator} from "../../../shared/components/genericForm/formControlsServices/vnfGenerator/vnf.control.generator";
20import {NgRedux} from "@angular-redux/store";
21import {GenericFormService} from "../../../shared/components/genericForm/generic-form.service";
22import {FormBuilder} from "@angular/forms";
23import {SdcUiComponentsModule} from "onap-ui-angular";
24import {LogService} from "../../../shared/utils/log/log.service";
25import {IframeService} from "../../../shared/utils/iframe.service";
26import {BasicPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/basic.popup.service";
27import {VnfGroupPopupService} from "../../../shared/components/genericFormPopup/genericFormServices/vnfGroup/vnfGroup.popup.service";
28import {DuplicateService} from "../duplicate/duplicate.service";
29import {AppState} from "../../../shared/store/reducers";
30import {MessageBoxService} from "../../../shared/components/messageBox/messageBox.service";
31import {ErrorMsgService} from "../../../shared/components/error-msg/error-msg.service";
32import {AuditInfoModalComponent} from "../../../shared/components/auditInfoModal/auditInfoModal.component";
33import {ILevelNodeInfo} from "./models/basic.model.info";
34import {VnfModelInfo} from "./models/vnf/vnf.model.info";
35import {ServiceInstanceActions} from "../../../shared/models/serviceInstanceActions";
36import each from "jest-each";
37import {DrawingBoardModes} from "../drawing-board.modes";
38import {ComponentInfoService} from "../component-info/component-info.service";
Ittay Sternf7926712019-07-07 19:23:03 +030039import {ComponentInfoModel, ComponentInfoType} from "../component-info/component-info-model";
40import {ModelInformationItem} from "../../../shared/components/model-information/model-information.component";
41import {VpnStepService} from "./models/vrf/vrfModal/vpnStep/vpn.step.service";
42import {NetworkStepService} from "./models/vrf/vrfModal/networkStep/network.step.service";
Ittay Stern6f900cc2018-08-29 17:01:32 +030043
44class MockAppStore<T> {
45 getState() {
46 return getStore()
47 }
48
49 dispatch() {
50 }
51}
52
Ittay Stern6f900cc2018-08-29 17:01:32 +030053
54
Einat Vinouzee1f79742019-08-27 16:01:01 +030055
56function getNodeWithData(menuAction:string){
57 const nodeData = {
58 menuActions: {}
59 };
60 nodeData['menuActions'][menuAction] = {
61 method: (node, serviceModelId) => {}
62 }
63 const node = {
64 parent: {
65 data: nodeData,
66 parent: {
67 data: nodeData
68 }
69 }
70 };
71 return node
72}
73
Ittay Stern6f900cc2018-08-29 17:01:32 +030074describe('Shared Tree Service', () => {
75 let injector;
76 let service: SharedTreeService;
77 let _objectToInstanceTreeService: ObjectToInstanceTreeService;
78 let store: NgRedux<AppState>;
79 beforeAll(done => (async () => {
80 TestBed.configureTestingModule({
81 imports: [HttpClientTestingModule, NgReduxTestingModule, SdcUiComponentsModule],
82 providers: [
83 SharedTreeService,
84 ObjectToTreeService,
85 DefaultDataGeneratorService,
86 DialogService,
87 VnfPopupService,
88 BasicControlGenerator,
89 AaiService,
90 LogService,
91 BasicPopupService,
92 VnfGroupPopupService,
93 DuplicateService,
94 IframeService,
95 DynamicInputsService,
96 NetworkPopupService,
97 NetworkControlGenerator,
98 VfModulePopuopService,
99 VfModuleControlGenerator,
100 VnfGroupControlGenerator,
101 DialogService,
102 FeatureFlagsService,
103 VnfControlGenerator,
104 AaiService,
105 DialogService,
106 GenericFormService,
107 FormBuilder,
108 ErrorMsgService,
109 ObjectToInstanceTreeService,
110 ComponentInfoService,
Ittay Sternf7926712019-07-07 19:23:03 +0300111 NetworkStepService,
112 VpnStepService,
Ittay Stern6f900cc2018-08-29 17:01:32 +0300113 {provide: NgRedux, useClass: MockAppStore}
114 ]
115 });
116 await TestBed.compileComponents();
117 injector = getTestBed();
118 service = injector.get(SharedTreeService);
119 _objectToInstanceTreeService = injector.get(ObjectToInstanceTreeService);
120 store = injector.get(NgRedux);
121 })().then(done).catch(done.fail));
122
123 test('SharedTreeService should be defined', () => {
124 expect(service).toBeDefined();
125 });
126
Einat Vinouzee1f79742019-08-27 16:01:01 +0300127 test('SharedTreeService upgradeBottomUp should call redux actions', () => {
128 const serviceModelId = "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd";
129 const node = getNodeWithData("upgrade")
130 spyOn(node.parent.data.menuActions['upgrade'], 'method');
131 service.upgradeBottomUp(node, serviceModelId);
132 expect(node.parent.data.menuActions['upgrade'].method).toBeCalledWith(node.parent, serviceModelId);
133 expect(node.parent.data.menuActions['upgrade'].method).toBeCalledTimes(2);
134
135 });
136
137 test('SharedTreeService undoUpgradeBottomUp should call redux actions', () => {
138 const serviceModelId = "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd";
139 const node = getNodeWithData("undoUpgrade")
140 spyOn(node.parent.data.menuActions['undoUpgrade'], 'method');
141 service.undoUpgradeBottomUp(node, serviceModelId);
142 expect(node.parent.data.menuActions['undoUpgrade'].method).toBeCalledWith(node.parent, serviceModelId);
143 expect(node.parent.data.menuActions['undoUpgrade'].method).toBeCalledTimes(2);
144 });
145
Ittay Stern6f900cc2018-08-29 17:01:32 +0300146 test('shouldShowDeleteInstanceWithChildrenModal should open modal if child exist with action create', () => {
147 jest.spyOn(MessageBoxService.openModal, 'next');
148 let foo = () => {
149
150 };
151 let node = <any>{
152 children: [{action: "Create"}, {action: "None"}],
153 data: {
154 typeName: 'VNF'
155 }
156 };
157 service.shouldShowDeleteInstanceWithChildrenModal(node, "serviceModelId", foo);
158 expect(MessageBoxService.openModal.next).toHaveBeenCalled();
159 });
160
161 test('openAuditInfoModal should open modal for failed instance', () => {
162 jest.spyOn(AuditInfoModalComponent.openInstanceAuditInfoModal, 'next');
163
Einat Vinouzee1f79742019-08-27 16:01:01 +0300164 let modelInfoServiceMock: ILevelNodeInfo = new VnfModelInfo(null, null,
165 null, null, null, null,
166 null, null, null, null,null);
Ittay Stern6f900cc2018-08-29 17:01:32 +0300167 const modelMock = {"a": "a"};
168 const instanceMock = {"instance": "instance", "trackById": "123456789"};
169 const instanceTypeMock = "instanceTypeMock";
170 jest.spyOn(modelInfoServiceMock, 'getModel').mockReturnValue(modelMock);
171 let node = <any>{
172 data: {
173 modelId: '6b528779-44a3-4472-bdff-9cd15ec93450',
174 trackById: '1245df21',
175 isFailed: true
176 }
177 };
178 service.openAuditInfoModal(node, "serviceModelId", instanceMock, instanceTypeMock, <any>modelInfoServiceMock);
179 expect(AuditInfoModalComponent.openInstanceAuditInfoModal.next).toHaveBeenCalledWith(
180 {
181 "instance": instanceMock,
182 "instanceId": "serviceModelId",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300183 "model": modelMock,
Ittay Stern6f900cc2018-08-29 17:01:32 +0300184 "type": instanceTypeMock
185 });
186 });
187
188 test('shouldShowDeleteInstanceWithChildrfenModal should not open modal if all childs with action None', () => {
189 let foo = () => {
190 };
191 spyOn(MessageBoxService.openModal, 'next');
192
193 let node = <any>{
194 children: [{action: "None"}, {action: "None"}],
195 data: {
196 typeName: 'VNF'
197 }
198 };
199 service.shouldShowDeleteInstanceWithChildrenModal(node, "serviceModelId", foo);
200 expect(MessageBoxService.openModal.next).not.toHaveBeenCalled();
201 });
202
Ittay Sternf7926712019-07-07 19:23:03 +0300203 test ('addGeneralInfoItems should return correct info - ordered',()=>{
204 let specificNetworkInfo = [
205 ModelInformationItem.createInstance('Network role', "network role 1, network role 2")
206 ];
207 const actualInfoModel: ComponentInfoModel = service.addGeneralInfoItems(specificNetworkInfo,ComponentInfoType.NETWORK, getNetworkModel(),getNetworkInstance());
208
209 let expectedGeneralInfo = [
210 ModelInformationItem.createInstance('Model version', '37.0'),
211 ModelInformationItem.createInstance('Model customization ID', '94fdd893-4a36-4d70-b16a-ec29c54c184f'),
212 ModelInformationItem.createInstance('Instance ID', 'NETWORK4_INSTANCE_ID'),
213 ModelInformationItem.createInstance('Instance type', 'CONTRAIL30_HIMELGUARD'),
214 ModelInformationItem.createInstance('In maintenance', false),
215 ModelInformationItem.createInstance('Network role', 'network role 1, network role 2')
216 ];
217 expect(actualInfoModel.modelInfoItems).toEqual(expectedGeneralInfo);
218 });
219
220
221
Ittay Stern6f900cc2018-08-29 17:01:32 +0300222 test('statusProperties should be prop on node according to node properties', () => {
223 let node = service.addingStatusProperty({orchStatus: 'completed', provStatus: 'inProgress', inMaint: false});
224 expect(node.statusProperties).toBeDefined();
225 expect(node.statusProperties).toEqual([Object({
226 key: 'Prov Status:',
227 value: 'inProgress',
228 testId: 'provStatus'
229 }), Object({key: 'Orch Status:', value: 'completed', testId: 'orchStatus'})]);
230 node = service.addingStatusProperty({orchStatus: 'completed', provStatus: 'inProgress', inMaint: true});
231 expect(node.statusProperties).toEqual([Object({
232 key: 'Prov Status:',
233 value: 'inProgress',
234 testId: 'provStatus'
235 }), Object({key: 'Orch Status:', value: 'completed', testId: 'orchStatus'}), Object({
236 key: 'In-maintenance',
237 value: '',
238 testId: 'inMaint'
239 })]);
240 });
241 const enableRemoveAndEditItemsDataProvider = [
242 ['Create action CREATE mode', DrawingBoardModes.CREATE ,ServiceInstanceActions.Create, true],
243 ['Create action VIEW mode',DrawingBoardModes.VIEW , ServiceInstanceActions.Create,false],
244 ['Create action RETRY_EDIT mode',DrawingBoardModes.RETRY_EDIT, ServiceInstanceActions.Create, true],
245 ['Create action EDIT mode',DrawingBoardModes.EDIT, ServiceInstanceActions.Create, true],
246 ['Create action RETRY mode',DrawingBoardModes.RETRY, ServiceInstanceActions.Create, false],
247 ['None action EDIT mode',DrawingBoardModes.EDIT, ServiceInstanceActions.None, false],
248 ['None action RETRY_EDIT mode', DrawingBoardModes.RETRY_EDIT, ServiceInstanceActions.None, false]];
249 each(enableRemoveAndEditItemsDataProvider).test('shouldShowEditAndDelete if child exist with %s', (description, mode, action, enabled) => {
Ittay Sternf7926712019-07-07 19:23:03 +0300250 jest.spyOn(store, 'getState').mockReturnValue(<any>{
Ittay Stern6f900cc2018-08-29 17:01:32 +0300251 global: {
252 drawingBoardStatus: mode
253 }
254 });
255 let node = <any>{
256 data:{
257 action: action
258 },
259 };
260 let res = service.shouldShowRemoveAndEdit(node);
261 expect(res).toBe(enabled);
262 });
263});
264function generateService() {
265 return {
266 "vnfs": {
Ittay Sternf7926712019-07-07 19:23:03 +0300267 "2017-488_PASQUALE-vPE 0": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300268 "inMaint": false,
269 "rollbackOnFailure": "true",
Ittay Sternf7926712019-07-07 19:23:03 +0300270 "originalName": "2017-488_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300271 "isMissingData": false,
272 "trackById": "stigekyxrqi",
273 "vfModules": {
Ittay Sternf7926712019-07-07 19:23:03 +0300274 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
275 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0gytfi": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300276 "isMissingData": false,
277 "sdncPreReload": null,
278 "modelInfo": {
279 "modelType": "VFmodule",
280 "modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
281 "modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
Ittay Sternf7926712019-07-07 19:23:03 +0300282 "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300283 "modelVersion": "5",
284 "modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
Ittay Sternf7926712019-07-07 19:23:03 +0300285 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0"
Ittay Stern6f900cc2018-08-29 17:01:32 +0300286 },
287 "instanceParams": [{}],
288 "trackById": "3oj23o7nupo"
289 }
290 }
291 },
Ittay Sternf7926712019-07-07 19:23:03 +0300292 "vnfStoreKey": "2017-488_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300293 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
294 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +0300295 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300296 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
297 "lineOfBusiness": "ONAP",
298 "platformName": "xxx1",
299 "modelInfo": {
300 "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
301 "modelVersionId": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
Ittay Sternf7926712019-07-07 19:23:03 +0300302 "modelName": "2017-488_PASQUALE-vPE",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300303 "modelVersion": "5.0",
Ittay Sternf7926712019-07-07 19:23:03 +0300304 "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300305 "modelCustomizationId": "1da7b585-5e61-4993-b95e-8e6606c81e45",
306 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09"
307 },
308 "legacyRegion": "11111111",
309 "instanceParams": [{}]
310 },
Ittay Sternf7926712019-07-07 19:23:03 +0300311 "2017-388_PASQUALE-vPE 0": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300312 "inMaint": false,
313 "rollbackOnFailure": "true",
Ittay Sternf7926712019-07-07 19:23:03 +0300314 "originalName": "2017-388_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300315 "isMissingData": false,
316 "trackById": "nib719t5vca",
317 "vfModules": {},
Ittay Sternf7926712019-07-07 19:23:03 +0300318 "vnfStoreKey": "2017-388_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300319 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +0300320 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300321 "legacyRegion": "11111",
322 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
323 "platformName": "platform",
324 "lineOfBusiness": "zzz1",
325 "instanceParams": [{}],
326 "modelInfo": {
327 "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
328 "modelVersionId": "afacccf6-397d-45d6-b5ae-94c39734b168",
Ittay Sternf7926712019-07-07 19:23:03 +0300329 "modelName": "2017-388_PASQUALE-vPE",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300330 "modelVersion": "4.0",
331 "modelCustomizationId": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
Ittay Sternf7926712019-07-07 19:23:03 +0300332 "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300333 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
334 },
335 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
336 },
Ittay Sternf7926712019-07-07 19:23:03 +0300337 "2017-388_PASQUALE-vPE 1": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300338 "inMaint": false,
339 "rollbackOnFailure": "true",
Ittay Sternf7926712019-07-07 19:23:03 +0300340 "originalName": "2017-388_PASQUALE-vPE 1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300341 "isMissingData": false,
342 "trackById": "cv7l1ak8vpe",
343 "vfModules": {},
Ittay Sternf7926712019-07-07 19:23:03 +0300344 "vnfStoreKey": "2017-388_PASQUALE-vPE 1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300345 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +0300346 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300347 "legacyRegion": "123",
348 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
349 "platformName": "platform",
350 "lineOfBusiness": "ONAP",
351 "instanceParams": [{}],
352 "modelInfo": {
353 "modelInvariantId": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
354 "modelVersionId": "0903e1c0-8e03-4936-b5c2-260653b96413",
Ittay Sternf7926712019-07-07 19:23:03 +0300355 "modelName": "2017-388_PASQUALE-vPE",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300356 "modelVersion": "1.0",
357 "modelCustomizationId": "280dec31-f16d-488b-9668-4aae55d6648a",
Ittay Sternf7926712019-07-07 19:23:03 +0300358 "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300359 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
360 },
361 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
362 }
363 },
364 "instanceParams": [{}],
365 "validationCounter": 0,
366 "existingNames": {"yoav": ""},
367 "existingVNFCounterMap": {
368 "69e09f68-8b63-4cc9-b9ff-860960b5db09": 1,
369 "afacccf6-397d-45d6-b5ae-94c39734b168": 1,
370 "0903e1c0-8e03-4936-b5c2-260653b96413": 1
371 },
372 "existingVnfGroupCounterMap": {
373 "daeb6568-cef8-417f-9075-ed259ce59f48": 0,
374 "c2b300e6-45de-4e5e-abda-3032bee2de56": -1
375 },
376 "existingNetworksCounterMap": {"ddc3f20c-08b5-40fd-af72-c6d14636b986": 1},
377 "networks": {
378 "ExtVL 0": {
379 "inMaint": false,
380 "rollbackOnFailure": "true",
381 "originalName": "ExtVL 0",
382 "isMissingData": false,
383 "trackById": "s6okajvv2n8",
384 "networkStoreKey": "ExtVL 0",
385 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +0300386 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300387 "legacyRegion": "12355555",
388 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
389 "platformName": "platform",
390 "lineOfBusiness": null,
391 "instanceParams": [{}],
392 "modelInfo": {
393 "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
394 "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
395 "modelName": "ExtVL",
396 "modelVersion": "37.0",
397 "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
398 "modelCustomizationName": "ExtVL 0",
399 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
400 },
401 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
402 }
403 },
404 "vnfGroups": {
405 "groupingservicefortest..ResourceInstanceGroup..0": {
406 "inMaint": false,
407 "rollbackOnFailure": "true",
408 "originalName": "groupingservicefortest..ResourceInstanceGroup..0",
409 "isMissingData": false,
410 "trackById": "se0obn93qq",
411 "vnfGroupStoreKey": "groupingservicefortest..ResourceInstanceGroup..0",
412 "instanceName": "groupingservicefortestResourceInstanceGroup0",
413 "instanceParams": [{}],
414 "modelInfo": {
415 "modelInvariantId": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
416 "modelVersionId": "daeb6568-cef8-417f-9075-ed259ce59f48",
417 "modelName": "groupingservicefortest..ResourceInstanceGroup..0",
418 "modelVersion": "1",
419 "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
420 "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
421 },
422 "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
423 }
424 },
425 "instanceName": "yoav",
426 "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
427 "subscriptionServiceType": "TYLER SILVIA",
428 "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
429 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +0300430 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300431 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
432 "aicZoneId": "ATL53",
433 "pause": null,
434 "projectName": "WATKINS",
435 "rollbackOnFailure": "true",
436 "bulkSize": 1,
437 "aicZoneName": "AAIATLTE-ATL53",
438 "owningEntityName": "WayneHolland",
439 "testApi": "VNF_API",
440 "isEcompGeneratedNaming": false,
441 "tenantName": "USP-SIP-IC-24335-T-01",
442 "modelInfo": {
443 "modelInvariantId": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
444 "modelVersionId": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
445 "modelName": "action-data",
446 "modelVersion": "1.0",
447 "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"
448 },
449 "isALaCarte": false,
450 "name": "action-data",
451 "version": "1.0",
Ittay Sternf7926712019-07-07 19:23:03 +0300452 "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300453 "category": "Network L1-3",
454 "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
455 "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
456 "serviceType": "pnf",
457 "serviceRole": "Testing",
458 "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"},
459 "isMultiStepDesign": true
460 };
461}
462
463function getStore() {
464 return {
465 "global": {
466 "name": null,
467 "flags": {
468 "CREATE_INSTANCE_TEST": false,
469 "EMPTY_DRAWING_BOARD_TEST": false,
470 "FLAG_NETWORK_TO_ASYNC_INSTANTIATION": false,
Ittay Stern6f900cc2018-08-29 17:01:32 +0300471 "FLAG_ADD_MSO_TESTAPI_FIELD": true,
Ittay Stern6f900cc2018-08-29 17:01:32 +0300472 "FLAG_SERVICE_MODEL_CACHE": true,
Ittay Stern6f900cc2018-08-29 17:01:32 +0300473 "FLAG_SHOW_ASSIGNMENTS": true,
474 "FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS": true,
Ittay Stern6f900cc2018-08-29 17:01:32 +0300475 "FLAG_DEFAULT_VNF": 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_1810_CR_SOFT_DELETE_ALACARTE_VF_MODULE": true,
481 "FLAG_1902_NEW_VIEW_EDIT": true,
482 "FLAG_1810_IDENTIFY_SERVICE_FOR_NEW_UI": false,
483 "FLAG_1902_VNF_GROUPING": true,
484 "FLAG_SHOW_VERIFY_SERVICE": true,
485 "FLAG_ASYNC_ALACARTE_VFMODULE": true,
486 "FLAG_ASYNC_ALACARTE_VNF": true,
Ittay Stern6f900cc2018-08-29 17:01:32 +0300487 "FLAG_1810_AAI_LOCAL_CACHE": true,
488 "FLAG_EXP_USE_DEFAULT_HOST_NAME_VERIFIER": false,
489 "FLAG_EXP_ANY_ALACARTE_NEW_INSTANTIATION_UI": false,
490 "FLAG_SUPPLEMENTARY_FILE": true,
491 "FLAG_5G_IN_NEW_INSTANTIATION_UI": true,
492 "FLAG_RESTRICTED_SELECT": false,
493 "FLAG_1810_CR_LET_SELECTING_COLLECTOR_TYPE_UNCONDITIONALLY": true
494 },
495 "drawingBoardStatus": "VIEW",
496 "type": "UPDATE_DRAWING_BOARD_STATUS"
497 },
498 "service": {
499 "serviceHierarchy": {
500 "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
501 "service": {
502 "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
503 "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
504 "name": "action-data",
505 "version": "1.0",
506 "toscaModelURL": null,
507 "category": "Network L1-3",
508 "serviceType": "pnf",
509 "serviceRole": "Testing",
Ittay Sternf7926712019-07-07 19:23:03 +0300510 "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300511 "serviceEcompNaming": "false",
512 "instantiationType": "Macro",
513 "inputs": {},
514 "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"}
515 },
516 "vnfs": {
Ittay Sternf7926712019-07-07 19:23:03 +0300517 "2017-388_PASQUALE-vPE 1": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300518 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
519 "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
Ittay Sternf7926712019-07-07 19:23:03 +0300520 "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",
521 "name": "2017-388_PASQUALE-vPE",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300522 "version": "1.0",
523 "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a",
524 "inputs": {},
525 "commands": {},
526 "properties": {
527 "vmxvre_retype": "RE-VMX",
Ittay Sternf7926712019-07-07 19:23:03 +0300528 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300529 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
530 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
531 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
532 "int_ctl_net_name": "VMX-INTXI",
533 "vmx_int_ctl_prefix": "10.0.0.10",
534 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
535 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
536 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
537 "nf_type": "vPE",
538 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
539 "is_AVPN_service": "false",
540 "vmx_RSG_name": "vREXI-affinity",
541 "vmx_int_ctl_forwarding": "l2",
542 "vmxvre_oam_ip_0": "10.0.0.10",
543 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
544 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
545 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
546 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
547 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
548 "vmxvre_instance": "0",
549 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
550 "vmxvre_flavor_name": "ns.c1r16d32.v5",
551 "vmxvpfe_volume_size_0": "40.0",
552 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
553 "nf_naming": "{ecomp_generated_naming=true}",
554 "multi_stage_design": "true",
555 "nf_naming_code": "Navneet",
556 "vmxvre_name_0": "vREXI",
557 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
558 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
559 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
560 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
561 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
562 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
563 "vmxvre_console": "vidconsole",
564 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
565 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
566 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
567 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
568 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
569 "vf_module_id": "123",
570 "nf_function": "JAI",
571 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
572 "vmxvre_int_ctl_ip_0": "10.0.0.10",
573 "ecomp_generated_naming": "true",
Ittay Sternf7926712019-07-07 19:23:03 +0300574 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300575 "vnf_name": "mtnj309me6vre",
576 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
577 "vmxvre_volume_type_1": "HITACHI",
578 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
579 "vmxvre_volume_type_0": "HITACHI",
580 "vmxvpfe_volume_type_0": "HITACHI",
581 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
Ittay Sternf7926712019-07-07 19:23:03 +0300582 "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300583 "vnf_id": "123",
584 "vmxvre_oam_prefix": "24",
585 "availability_zone_0": "mtpocfo-kvm-az01",
Ittay Sternf7926712019-07-07 19:23:03 +0300586 "ASN": "get_input:2017488_pasqualevpe0_ASN",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300587 "vmxvre_chassis_i2cid": "161",
588 "vmxvpfe_name_0": "vPFEXI",
Ittay Sternf7926712019-07-07 19:23:03 +0300589 "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300590 "availability_zone_max_count": "1",
591 "vmxvre_volume_size_0": "45.0",
592 "vmxvre_volume_size_1": "50.0",
593 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
594 "vmxvre_oam_gateway": "10.0.0.10",
595 "vmxvre_volume_name_1": "vREXI_FAVolume",
596 "vmxvre_ore_present": "0",
597 "vmxvre_volume_name_0": "vREXI_FBVolume",
598 "vmxvre_type": "0",
Ittay Sternf7926712019-07-07 19:23:03 +0300599 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300600 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
601 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
602 "vmx_int_ctl_len": "24",
603 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
604 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
605 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
606 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
607 "nf_role": "Testing",
608 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
609 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
610 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
611 },
612 "type": "VF",
Ittay Sternf7926712019-07-07 19:23:03 +0300613 "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300614 "vfModules": {},
615 "volumeGroups": {},
616 "vfcInstanceGroups": {}
617 },
Ittay Sternf7926712019-07-07 19:23:03 +0300618 "2017-388_PASQUALE-vPE 0": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300619 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
620 "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
Ittay Sternf7926712019-07-07 19:23:03 +0300621 "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",
622 "name": "2017-388_PASQUALE-vPE",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300623 "version": "4.0",
624 "customizationUuid": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
625 "inputs": {},
626 "commands": {},
627 "properties": {
628 "vmxvre_retype": "RE-VMX",
Ittay Sternf7926712019-07-07 19:23:03 +0300629 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300630 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
631 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
632 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
633 "int_ctl_net_name": "VMX-INTXI",
634 "vmx_int_ctl_prefix": "10.0.0.10",
635 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
636 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
637 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
638 "nf_type": "vPE",
639 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
640 "is_AVPN_service": "false",
641 "vmx_RSG_name": "vREXI-affinity",
642 "vmx_int_ctl_forwarding": "l2",
643 "vmxvre_oam_ip_0": "10.0.0.10",
644 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
645 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
646 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
647 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
648 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
649 "vmxvre_instance": "0",
650 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
651 "vmxvre_flavor_name": "ns.c1r16d32.v5",
652 "vmxvpfe_volume_size_0": "40.0",
653 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
654 "nf_naming": "{ecomp_generated_naming=true}",
655 "multi_stage_design": "true",
656 "nf_naming_code": "Navneet",
657 "vmxvre_name_0": "vREXI",
658 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
659 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
660 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
661 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
662 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
663 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
664 "vmxvre_console": "vidconsole",
665 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
666 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
667 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
668 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
669 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
670 "vf_module_id": "123",
671 "nf_function": "JAI",
672 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
673 "vmxvre_int_ctl_ip_0": "10.0.0.10",
674 "ecomp_generated_naming": "true",
Ittay Sternf7926712019-07-07 19:23:03 +0300675 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300676 "vnf_name": "mtnj309me6vre",
677 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
678 "vmxvre_volume_type_1": "HITACHI",
679 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
680 "vmxvre_volume_type_0": "HITACHI",
681 "vmxvpfe_volume_type_0": "HITACHI",
682 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
Ittay Sternf7926712019-07-07 19:23:03 +0300683 "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300684 "vnf_id": "123",
685 "vmxvre_oam_prefix": "24",
686 "availability_zone_0": "mtpocfo-kvm-az01",
Ittay Sternf7926712019-07-07 19:23:03 +0300687 "ASN": "get_input:2017488_pasqualevpe0_ASN",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300688 "vmxvre_chassis_i2cid": "161",
689 "vmxvpfe_name_0": "vPFEXI",
Ittay Sternf7926712019-07-07 19:23:03 +0300690 "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300691 "availability_zone_max_count": "1",
692 "vmxvre_volume_size_0": "45.0",
693 "vmxvre_volume_size_1": "50.0",
694 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
695 "vmxvre_oam_gateway": "10.0.0.10",
696 "vmxvre_volume_name_1": "vREXI_FAVolume",
697 "vmxvre_ore_present": "0",
698 "vmxvre_volume_name_0": "vREXI_FBVolume",
699 "vmxvre_type": "0",
Ittay Sternf7926712019-07-07 19:23:03 +0300700 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300701 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
702 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
703 "vmx_int_ctl_len": "24",
704 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
705 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
706 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
707 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
708 "nf_role": "Testing",
709 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
710 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
711 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
712 },
713 "type": "VF",
Ittay Sternf7926712019-07-07 19:23:03 +0300714 "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300715 "vfModules": {},
716 "volumeGroups": {},
717 "vfcInstanceGroups": {}
718 },
Ittay Sternf7926712019-07-07 19:23:03 +0300719 "2017-488_PASQUALE-vPE 0": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300720 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
721 "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
Ittay Sternf7926712019-07-07 19:23:03 +0300722 "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",
723 "name": "2017-488_PASQUALE-vPE",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300724 "version": "5.0",
725 "customizationUuid": "1da7b585-5e61-4993-b95e-8e6606c81e45",
726 "inputs": {},
727 "commands": {},
728 "properties": {
729 "max_instances": 1,
730 "vmxvre_retype": "RE-VMX",
Ittay Sternf7926712019-07-07 19:23:03 +0300731 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300732 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
733 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
734 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
735 "int_ctl_net_name": "VMX-INTXI",
736 "vmx_int_ctl_prefix": "10.0.0.10",
737 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
738 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
739 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
740 "nf_type": "vPE",
741 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
742 "is_AVPN_service": "false",
743 "vmx_RSG_name": "vREXI-affinity",
744 "vmx_int_ctl_forwarding": "l2",
745 "vmxvre_oam_ip_0": "10.0.0.10",
746 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
747 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
748 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
749 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
750 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
751 "vmxvre_instance": "0",
752 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
753 "vmxvre_flavor_name": "ns.c1r16d32.v5",
754 "vmxvpfe_volume_size_0": "40.0",
755 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
756 "nf_naming": "{ecomp_generated_naming=true}",
757 "multi_stage_design": "true",
758 "nf_naming_code": "Navneet",
759 "vmxvre_name_0": "vREXI",
760 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
761 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
762 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
763 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
764 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
765 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
766 "vmxvre_console": "vidconsole",
767 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
768 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
769 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
770 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
771 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
772 "vf_module_id": "123",
773 "nf_function": "JAI",
774 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
775 "vmxvre_int_ctl_ip_0": "10.0.0.10",
776 "ecomp_generated_naming": "true",
Ittay Sternf7926712019-07-07 19:23:03 +0300777 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300778 "vnf_name": "mtnj309me6vre",
779 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
780 "vmxvre_volume_type_1": "HITACHI",
781 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
782 "vmxvre_volume_type_0": "HITACHI",
783 "vmxvpfe_volume_type_0": "HITACHI",
784 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
Ittay Sternf7926712019-07-07 19:23:03 +0300785 "bandwidth_units": "get_input:2017488_pasqualevpe0_bandwidth_units",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300786 "vnf_id": "123",
787 "vmxvre_oam_prefix": "24",
788 "availability_zone_0": "mtpocfo-kvm-az01",
Ittay Sternf7926712019-07-07 19:23:03 +0300789 "ASN": "get_input:2017488_pasqualevpe0_ASN",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300790 "vmxvre_chassis_i2cid": "161",
791 "vmxvpfe_name_0": "vPFEXI",
Ittay Sternf7926712019-07-07 19:23:03 +0300792 "bandwidth": "get_input:2017488_pasqualevpe0_bandwidth",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300793 "availability_zone_max_count": "1",
794 "vmxvre_volume_size_0": "45.0",
795 "vmxvre_volume_size_1": "50.0",
796 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
797 "vmxvre_oam_gateway": "10.0.0.10",
798 "vmxvre_volume_name_1": "vREXI_FAVolume",
799 "vmxvre_ore_present": "0",
800 "vmxvre_volume_name_0": "vREXI_FBVolume",
801 "vmxvre_type": "0",
Ittay Sternf7926712019-07-07 19:23:03 +0300802 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300803 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
804 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
805 "vmx_int_ctl_len": "24",
806 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
807 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
808 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
809 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
810 "nf_role": "Testing",
811 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
812 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
813 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
814 },
815 "type": "VF",
Ittay Sternf7926712019-07-07 19:23:03 +0300816 "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300817 "vfModules": {
Ittay Sternf7926712019-07-07 19:23:03 +0300818 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300819 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
820 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
821 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
822 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +0300823 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300824 "version": "6",
Ittay Sternf7926712019-07-07 19:23:03 +0300825 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300826 "properties": {
827 "minCountInstances": 0,
828 "maxCountInstances": null,
829 "initialCount": 0,
Ittay Sternf7926712019-07-07 19:23:03 +0300830 "vfModuleLabel": "PASQUALE_vRE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300831 "baseModule": false
832 },
833 "inputs": {},
834 "volumeGroupAllowed": true
835 },
Ittay Sternf7926712019-07-07 19:23:03 +0300836 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300837 "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
838 "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
839 "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
840 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +0300841 "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300842 "version": "5",
Ittay Sternf7926712019-07-07 19:23:03 +0300843 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300844 "properties": {
845 "minCountInstances": 1,
846 "maxCountInstances": 1,
847 "initialCount": 1,
Ittay Sternf7926712019-07-07 19:23:03 +0300848 "vfModuleLabel": "PASQUALE_base_vPE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300849 "baseModule": true
850 },
851 "inputs": {},
852 "volumeGroupAllowed": false
853 },
Ittay Sternf7926712019-07-07 19:23:03 +0300854 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300855 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
856 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
857 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
858 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +0300859 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300860 "version": "6",
Ittay Sternf7926712019-07-07 19:23:03 +0300861 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300862 "properties": {
863 "minCountInstances": 0,
864 "maxCountInstances": null,
865 "initialCount": 0,
Ittay Sternf7926712019-07-07 19:23:03 +0300866 "vfModuleLabel": "PASQUALE_vPFE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300867 "baseModule": false
868 },
869 "inputs": {},
870 "volumeGroupAllowed": true
871 }
872 },
873 "volumeGroups": {
Ittay Sternf7926712019-07-07 19:23:03 +0300874 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300875 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
876 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
877 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
878 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +0300879 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300880 "version": "6",
Ittay Sternf7926712019-07-07 19:23:03 +0300881 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300882 "properties": {
883 "minCountInstances": 0,
884 "maxCountInstances": null,
885 "initialCount": 0,
Ittay Sternf7926712019-07-07 19:23:03 +0300886 "vfModuleLabel": "PASQUALE_vRE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300887 "baseModule": false
888 },
889 "inputs": {}
890 },
Ittay Sternf7926712019-07-07 19:23:03 +0300891 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300892 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
893 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
894 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
895 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +0300896 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300897 "version": "6",
Ittay Sternf7926712019-07-07 19:23:03 +0300898 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300899 "properties": {
900 "minCountInstances": 0,
901 "maxCountInstances": null,
902 "initialCount": 0,
Ittay Sternf7926712019-07-07 19:23:03 +0300903 "vfModuleLabel": "PASQUALE_vPFE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300904 "baseModule": false
905 },
906 "inputs": {}
907 }
908 },
909 "vfcInstanceGroups": {}
910 }
911 },
912 "networks": {
913 "ExtVL 0": {
914 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
915 "invariantUuid": "379f816b-a7aa-422f-be30-17114ff50b7c",
916 "description": "ECOMP generic virtual link (network) base type for all other service-level and global networks",
917 "name": "ExtVL",
918 "version": "37.0",
919 "customizationUuid": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
920 "inputs": {},
921 "commands": {},
922 "properties": {
923 "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}}",
924 "exVL_naming": "{ecomp_generated_naming=true}",
925 "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
926 "network_homing": "{ecomp_selected_instance_node_target=false}"
927 },
928 "type": "VL",
929 "modelCustomizationName": "ExtVL 0"
930 }
931 },
Ittay Sternf7926712019-07-07 19:23:03 +0300932 "collectionResources": {},
Ittay Stern6f900cc2018-08-29 17:01:32 +0300933 "configurations": {},
934 "fabricConfigurations": {},
935 "serviceProxies": {},
936 "vfModules": {
Ittay Sternf7926712019-07-07 19:23:03 +0300937 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300938 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
939 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
940 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
941 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +0300942 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300943 "version": "6",
Ittay Sternf7926712019-07-07 19:23:03 +0300944 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300945 "properties": {
946 "minCountInstances": 0,
947 "maxCountInstances": null,
948 "initialCount": 0,
Ittay Sternf7926712019-07-07 19:23:03 +0300949 "vfModuleLabel": "PASQUALE_vRE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300950 "baseModule": false
951 },
952 "inputs": {},
953 "volumeGroupAllowed": true
954 },
Ittay Sternf7926712019-07-07 19:23:03 +0300955 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300956 "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
957 "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
958 "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
959 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +0300960 "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300961 "version": "5",
Ittay Sternf7926712019-07-07 19:23:03 +0300962 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300963 "properties": {
964 "minCountInstances": 1,
965 "maxCountInstances": 1,
966 "initialCount": 1,
Ittay Sternf7926712019-07-07 19:23:03 +0300967 "vfModuleLabel": "PASQUALE_base_vPE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300968 "baseModule": true
969 },
970 "inputs": {},
971 "volumeGroupAllowed": false
972 },
Ittay Sternf7926712019-07-07 19:23:03 +0300973 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300974 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
975 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
976 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
977 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +0300978 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300979 "version": "6",
Ittay Sternf7926712019-07-07 19:23:03 +0300980 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300981 "properties": {
982 "minCountInstances": 0,
983 "maxCountInstances": null,
984 "initialCount": 0,
Ittay Sternf7926712019-07-07 19:23:03 +0300985 "vfModuleLabel": "PASQUALE_vPFE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300986 "baseModule": false
987 },
988 "inputs": {},
989 "volumeGroupAllowed": true
990 }
991 },
992 "volumeGroups": {
Ittay Sternf7926712019-07-07 19:23:03 +0300993 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
Ittay Stern6f900cc2018-08-29 17:01:32 +0300994 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
995 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
996 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
997 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +0300998 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
Ittay Stern6f900cc2018-08-29 17:01:32 +0300999 "version": "6",
Ittay Sternf7926712019-07-07 19:23:03 +03001000 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001001 "properties": {
1002 "minCountInstances": 0,
1003 "maxCountInstances": null,
1004 "initialCount": 0,
Ittay Sternf7926712019-07-07 19:23:03 +03001005 "vfModuleLabel": "PASQUALE_vRE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001006 "baseModule": false
1007 },
1008 "inputs": {}
1009 },
Ittay Sternf7926712019-07-07 19:23:03 +03001010 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
Ittay Stern6f900cc2018-08-29 17:01:32 +03001011 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1012 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1013 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1014 "description": null,
Ittay Sternf7926712019-07-07 19:23:03 +03001015 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001016 "version": "6",
Ittay Sternf7926712019-07-07 19:23:03 +03001017 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001018 "properties": {
1019 "minCountInstances": 0,
1020 "maxCountInstances": null,
1021 "initialCount": 0,
Ittay Sternf7926712019-07-07 19:23:03 +03001022 "vfModuleLabel": "PASQUALE_vPFE_BV",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001023 "baseModule": false
1024 },
1025 "inputs": {}
1026 }
1027 },
1028 "pnfs": {},
1029 "vnfGroups": {
1030 "groupingservicefortest..ResourceInstanceGroup..0": {
1031 "type": "VnfGroup",
1032 "invariantUuid": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
1033 "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48",
1034 "version": "1",
1035 "name": "groupingservicefortest..ResourceInstanceGroup..0",
1036 "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
1037 "properties": {
1038 "contained_resource_type": "VF",
1039 "role": "SERVICE-ACCESS",
1040 "function": "DATA",
1041 "description": "DDD0",
1042 "type": "LOAD-GROUP",
1043 "ecomp_generated_naming": "true"
1044 },
1045 "members": {
Ittay Sternf7926712019-07-07 19:23:03 +03001046 "vdorothea_svc_vprs_proxy 0": {
Ittay Stern6f900cc2018-08-29 17:01:32 +03001047 "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
1048 "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
Ittay Sternf7926712019-07-07 19:23:03 +03001049 "description": "A Proxy for Service vDOROTHEA_Svc_vPRS",
1050 "name": "vDOROTHEA_Svc_vPRS Service Proxy",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001051 "version": "1.0",
1052 "customizationUuid": "bdb63d23-e132-4ce7-af2c-a493b4cafac9",
1053 "inputs": {},
1054 "commands": {},
1055 "properties": {},
1056 "type": "Service Proxy",
1057 "sourceModelUuid": "da7827a2-366d-4be6-8c68-a69153c61274",
1058 "sourceModelInvariant": "24632e6b-584b-4f45-80d4-fefd75fd9f14",
Ittay Sternf7926712019-07-07 19:23:03 +03001059 "sourceModelName": "vDOROTHEA_Svc_vPRS"
Ittay Stern6f900cc2018-08-29 17:01:32 +03001060 }
1061 }
1062 },
1063 "groupingservicefortest..ResourceInstanceGroup..1": {
1064 "type": "VnfGroup",
1065 "invariantUuid": "a704112d-dbc6-4e56-8d4e-aec57e95ef9a",
1066 "uuid": "c2b300e6-45de-4e5e-abda-3032bee2de56",
1067 "version": "1",
1068 "name": "groupingservicefortest..ResourceInstanceGroup..1",
1069 "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..1",
1070 "properties": {
1071 "contained_resource_type": "VF",
1072 "role": "SERVICE-ACCESS",
1073 "function": "SIGNALING",
1074 "description": "DDD1",
1075 "type": "LOAD-GROUP",
1076 "ecomp_generated_naming": "true"
1077 },
1078 "members": {
1079 "tsbc0001vm001_svc_proxy 0": {
1080 "uuid": "65fadfa8-a0d9-443f-95ad-836cd044e26c",
1081 "invariantUuid": "f4baae0c-b3a5-4ca1-a777-afbffe7010bc",
1082 "description": "A Proxy for Service tsbc0001vm001_Svc",
1083 "name": "tsbc0001vm001_Svc Service Proxy",
1084 "version": "1.0",
1085 "customizationUuid": "3d814462-30fb-4c62-b997-9aa360d27ead",
1086 "inputs": {},
1087 "commands": {},
1088 "properties": {},
1089 "type": "Service Proxy",
1090 "sourceModelUuid": "28aeb8f6-5620-4148-8bfb-a5fb406f0309",
1091 "sourceModelInvariant": "c989ab9a-33c7-46ec-b521-1b2daef5f047",
1092 "sourceModelName": "tsbc0001vm001_Svc"
1093 }
1094 }
1095 }
1096 }
1097 },
1098 "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6": {
1099 "service": {
1100 "uuid": "b75e0d22-05ff-4448-9266-5f0d4e1dbbd6",
1101 "invariantUuid": "5b9c0f33-eec1-484a-bf77-736a6644d7a8",
1102 "name": "Using VID for VoIP Network Instantiations Shani",
1103 "version": "1.0",
1104 "toscaModelURL": null,
1105 "category": "VoIP Call Control",
1106 "serviceType": "",
1107 "serviceRole": "",
1108 "description": "Using VID for VoIP Network Instantiations Shani",
1109 "serviceEcompNaming": "true",
1110 "instantiationType": "ClientConfig",
1111 "inputs": {},
1112 "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"}
1113 },
1114 "vnfs": {},
1115 "networks": {
1116 "AIC30_CONTRAIL_BASIC 0": {
1117 "uuid": "ac815c68-35b7-4ea4-9d04-92d2f844b27c",
1118 "invariantUuid": "de01afb5-532b-451d-aac4-ff9ff0644060",
1119 "description": "Basic contrail 3.0.x L3 network for AIC 3.x sites. ",
1120 "name": "AIC30_CONTRAIL_BASIC",
1121 "version": "3.0",
1122 "customizationUuid": "e94d61f7-b4b2-489a-a4a7-30b1a1a80daf",
1123 "inputs": {},
1124 "commands": {},
1125 "properties": {
1126 "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}}",
1127 "exVL_naming": "{ecomp_generated_naming=true}",
1128 "network_flows": "{is_network_policy=false, is_bound_to_vpn=false}",
1129 "network_scope": "Service",
1130 "network_type": "AIC30_CONTRAIL_BASIC",
1131 "network_technology": "Contrail",
1132 "network_homing": "{ecomp_selected_instance_node_target=false}"
1133 },
1134 "type": "VL",
1135 "modelCustomizationName": "AIC30_CONTRAIL_BASIC 0"
1136 }
1137 },
Ittay Sternf7926712019-07-07 19:23:03 +03001138 "collectionResources": {},
Ittay Stern6f900cc2018-08-29 17:01:32 +03001139 "configurations": {},
1140 "fabricConfigurations": {},
1141 "serviceProxies": {},
1142 "vfModules": {},
1143 "volumeGroups": {},
1144 "pnfs": {},
1145 "vnfGroups": {}
1146 }
1147 },
1148 "serviceInstance": {
1149 "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd": {
1150 "vnfs": {
Ittay Sternf7926712019-07-07 19:23:03 +03001151 "2017-488_PASQUALE-vPE 0": {
Ittay Stern6f900cc2018-08-29 17:01:32 +03001152 "action": "None",
1153 "inMaint": false,
1154 "rollbackOnFailure": "true",
Ittay Sternf7926712019-07-07 19:23:03 +03001155 "originalName": "2017-488_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001156 "isMissingData": false,
1157 "trackById": "stigekyxrqi",
1158 "vfModules": {
Ittay Sternf7926712019-07-07 19:23:03 +03001159 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
1160 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0gytfi": {
Ittay Stern6f900cc2018-08-29 17:01:32 +03001161 "isMissingData": false,
1162 "sdncPreReload": null,
1163 "modelInfo": {
1164 "modelType": "VFmodule",
1165 "modelInvariantId": "b34833bb-6aa9-4ad6-a831-70b06367a091",
1166 "modelVersionId": "f8360508-3f17-4414-a2ed-6bc71161e8db",
Ittay Sternf7926712019-07-07 19:23:03 +03001167 "modelName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001168 "modelVersion": "5",
1169 "modelCustomizationId": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
Ittay Sternf7926712019-07-07 19:23:03 +03001170 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0"
Ittay Stern6f900cc2018-08-29 17:01:32 +03001171 },
1172 "instanceParams": [{}],
1173 "trackById": "3oj23o7nupo"
1174 }
1175 }
1176 },
Ittay Sternf7926712019-07-07 19:23:03 +03001177 "vnfStoreKey": "2017-488_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001178 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
1179 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +03001180 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001181 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1182 "lineOfBusiness": "ONAP",
1183 "platformName": "xxx1",
1184 "modelInfo": {
1185 "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
1186 "modelVersionId": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
Ittay Sternf7926712019-07-07 19:23:03 +03001187 "modelName": "2017-488_PASQUALE-vPE",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001188 "modelVersion": "5.0",
Ittay Sternf7926712019-07-07 19:23:03 +03001189 "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001190 "modelCustomizationId": "1da7b585-5e61-4993-b95e-8e6606c81e45",
1191 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09"
1192 },
1193 "legacyRegion": "11111111",
1194 "instanceParams": [{}]
1195 },
Ittay Sternf7926712019-07-07 19:23:03 +03001196 "2017-388_PASQUALE-vPE 0": {
Ittay Stern6f900cc2018-08-29 17:01:32 +03001197 "action": "Create",
1198 "inMaint": false,
1199 "rollbackOnFailure": "true",
Ittay Sternf7926712019-07-07 19:23:03 +03001200 "originalName": "2017-388_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001201 "isMissingData": false,
1202 "trackById": "nib719t5vca",
1203 "vfModules": {},
Ittay Sternf7926712019-07-07 19:23:03 +03001204 "vnfStoreKey": "2017-388_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001205 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +03001206 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001207 "legacyRegion": "11111",
1208 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1209 "platformName": "platform",
1210 "lineOfBusiness": "zzz1",
1211 "instanceParams": [{}],
1212 "modelInfo": {
1213 "modelInvariantId": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
1214 "modelVersionId": "afacccf6-397d-45d6-b5ae-94c39734b168",
Ittay Sternf7926712019-07-07 19:23:03 +03001215 "modelName": "2017-388_PASQUALE-vPE",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001216 "modelVersion": "4.0",
1217 "modelCustomizationId": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
Ittay Sternf7926712019-07-07 19:23:03 +03001218 "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001219 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
1220 },
1221 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168"
1222 },
Ittay Sternf7926712019-07-07 19:23:03 +03001223 "2017-388_PASQUALE-vPE 1": {
Ittay Stern6f900cc2018-08-29 17:01:32 +03001224 "action": "None",
1225 "inMaint": false,
1226 "rollbackOnFailure": "true",
Ittay Sternf7926712019-07-07 19:23:03 +03001227 "originalName": "2017-388_PASQUALE-vPE 1",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001228 "isMissingData": false,
1229 "trackById": "cv7l1ak8vpe",
1230 "vfModules": {},
Ittay Sternf7926712019-07-07 19:23:03 +03001231 "vnfStoreKey": "2017-388_PASQUALE-vPE 1",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001232 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +03001233 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001234 "legacyRegion": "123",
1235 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1236 "platformName": "platform",
1237 "lineOfBusiness": "ONAP",
1238 "instanceParams": [{}],
1239 "modelInfo": {
1240 "modelInvariantId": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
1241 "modelVersionId": "0903e1c0-8e03-4936-b5c2-260653b96413",
Ittay Sternf7926712019-07-07 19:23:03 +03001242 "modelName": "2017-388_PASQUALE-vPE",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001243 "modelVersion": "1.0",
1244 "modelCustomizationId": "280dec31-f16d-488b-9668-4aae55d6648a",
Ittay Sternf7926712019-07-07 19:23:03 +03001245 "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001246 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
1247 },
1248 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413"
1249 }
1250 },
1251 "instanceParams": [{}],
1252 "validationCounter": 0,
1253 "existingNames": {"yoav": ""},
1254 "existingVNFCounterMap": {
1255 "69e09f68-8b63-4cc9-b9ff-860960b5db09": 1,
1256 "afacccf6-397d-45d6-b5ae-94c39734b168": 1,
1257 "0903e1c0-8e03-4936-b5c2-260653b96413": 1
1258 },
1259 "existingVnfGroupCounterMap": {
1260 "daeb6568-cef8-417f-9075-ed259ce59f48": 0,
1261 "c2b300e6-45de-4e5e-abda-3032bee2de56": -1
1262 },
1263 "existingNetworksCounterMap": {"ddc3f20c-08b5-40fd-af72-c6d14636b986": 1},
1264 "networks": {
1265 "ExtVL 0": {
1266 "inMaint": false,
1267 "rollbackOnFailure": "true",
1268 "originalName": "ExtVL 0",
1269 "isMissingData": false,
1270 "trackById": "s6okajvv2n8",
1271 "networkStoreKey": "ExtVL 0",
1272 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +03001273 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001274 "legacyRegion": "12355555",
1275 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1276 "platformName": "platform",
1277 "lineOfBusiness": null,
1278 "instanceParams": [{}],
1279 "modelInfo": {
1280 "modelInvariantId": "379f816b-a7aa-422f-be30-17114ff50b7c",
1281 "modelVersionId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1282 "modelName": "ExtVL",
1283 "modelVersion": "37.0",
1284 "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1285 "modelCustomizationName": "ExtVL 0",
1286 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1287 },
1288 "uuid": "ddc3f20c-08b5-40fd-af72-c6d14636b986"
1289 }
1290 },
1291 "vnfGroups": {
1292 "groupingservicefortest..ResourceInstanceGroup..0": {
1293 "inMaint": false,
1294 "rollbackOnFailure": "true",
1295 "originalName": "groupingservicefortest..ResourceInstanceGroup..0",
1296 "isMissingData": false,
1297 "trackById": "se0obn93qq",
1298 "vnfGroupStoreKey": "groupingservicefortest..ResourceInstanceGroup..0",
1299 "instanceName": "groupingservicefortestResourceInstanceGroup0",
1300 "instanceParams": [{}],
1301 "modelInfo": {
1302 "modelInvariantId": "4bb2e27e-ddab-4790-9c6d-1f731bc14a45",
1303 "modelVersionId": "daeb6568-cef8-417f-9075-ed259ce59f48",
1304 "modelName": "groupingservicefortest..ResourceInstanceGroup..0",
1305 "modelVersion": "1",
1306 "modelCustomizationName": "groupingservicefortest..ResourceInstanceGroup..0",
1307 "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
1308 },
1309 "uuid": "daeb6568-cef8-417f-9075-ed259ce59f48"
1310 }
1311 },
1312 "instanceName": "yoav",
1313 "globalSubscriberId": "e433710f-9217-458d-a79d-1c7aff376d89",
1314 "subscriptionServiceType": "TYLER SILVIA",
1315 "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
1316 "productFamilyId": "d8a6ed93-251c-47ca-adc9-86671fd19f4c",
Ittay Sternf7926712019-07-07 19:23:03 +03001317 "lcpCloudRegionId": "AAIAIC25",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001318 "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
1319 "aicZoneId": "ATL53",
1320 "pause": null,
1321 "projectName": "WATKINS",
1322 "rollbackOnFailure": "true",
1323 "bulkSize": 1,
1324 "aicZoneName": "AAIATLTE-ATL53",
1325 "owningEntityName": "WayneHolland",
1326 "testApi": "VNF_API",
1327 "isEcompGeneratedNaming": false,
1328 "tenantName": "USP-SIP-IC-24335-T-01",
1329 "modelInfo": {
1330 "modelInvariantId": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
1331 "modelVersionId": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
1332 "modelName": "action-data",
1333 "modelVersion": "1.0",
1334 "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd"
1335 },
1336 "isALaCarte": false,
1337 "name": "action-data",
1338 "version": "1.0",
Ittay Sternf7926712019-07-07 19:23:03 +03001339 "description": "PASQUALE vMX vPE based on Juniper 17.2 release. Updated with updated VF for v8.0 of VLM",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001340 "category": "Network L1-3",
1341 "uuid": "1a80c596-27e5-4ca9-b5bb-e03a7fd4c0fd",
1342 "invariantUuid": "cdb90b57-ed78-4d44-a5b4-7f43a02ec632",
1343 "serviceType": "pnf",
1344 "serviceRole": "Testing",
1345 "vidNotions": {"instantiationUI": "legacy", "modelCategory": "other", "viewEditUI": "legacy"},
1346 "isMultiStepDesign": true
1347 }
1348 },
1349 "lcpRegionsAndTenants": {
1350 "lcpRegionList": [{
Ittay Sternf7926712019-07-07 19:23:03 +03001351 "id": "AAIAIC25",
1352 "name": "AAIAIC25 (AIC)",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001353 "isPermitted": true,
1354 "cloudOwner": "irma-aic"
1355 }, {"id": "hvf6", "name": "hvf6 (AIC)", "isPermitted": true, "cloudOwner": "irma-aic"}],
1356 "lcpRegionsTenantsMap": {
Ittay Sternf7926712019-07-07 19:23:03 +03001357 "AAIAIC25": [{
Ittay Stern6f900cc2018-08-29 17:01:32 +03001358 "id": "092eb9e8e4b7412e8787dd091bc58e86",
1359 "name": "USP-SIP-IC-24335-T-01",
1360 "isPermitted": true,
1361 "cloudOwner": "irma-aic"
1362 }],
1363 "hvf6": [{
1364 "id": "bae71557c5bb4d5aac6743a4e5f1d054",
1365 "name": "AIN Web Tool-15-D-testalexandria",
1366 "isPermitted": true,
1367 "cloudOwner": "irma-aic"
1368 }, {
Einat Vinouzee1f79742019-08-27 16:01:01 +03001369 "id": "d0a3e3f2964542259d155a81c41aadc3",
1370 "name": "test-hvf6-09",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001371 "isPermitted": true,
1372 "cloudOwner": "irma-aic"
1373 }, {
1374 "id": "fa45ca53c80b492fa8be5477cd84fc2b",
1375 "name": "ro-T112",
1376 "isPermitted": true,
1377 "cloudOwner": "irma-aic"
1378 }, {
Ittay Stern6f900cc2018-08-29 17:01:32 +03001379 "id": "cbb99fe4ada84631b7baf046b6fd2044",
1380 "name": "DN5242-Nov16-T3",
1381 "isPermitted": true,
1382 "cloudOwner": "irma-aic"
1383 }]
1384 }
1385 },
1386 "subscribers": [{
1387 "id": "ERICA5779-Subscriber-2",
1388 "name": "ERICA5779-Subscriber-2",
1389 "isPermitted": false
1390 }, {
1391 "id": "ERICA5779-Subscriber-3",
1392 "name": "ERICA5779-Subscriber-3",
1393 "isPermitted": false
1394 }, {
1395 "id": "ERICA5779-Subscriber-4",
1396 "name": "ERICA5779-Subscriber-5",
1397 "isPermitted": false
1398 }, {
1399 "id": "ERICA5779-TestSub-PWT-101",
1400 "name": "ERICA5779-TestSub-PWT-101",
1401 "isPermitted": false
1402 }, {
1403 "id": "ERICA5779-TestSub-PWT-102",
1404 "name": "ERICA5779-TestSub-PWT-102",
1405 "isPermitted": false
1406 }, {
1407 "id": "ERICA5779-TestSub-PWT-103",
1408 "name": "ERICA5779-TestSub-PWT-103",
1409 "isPermitted": false
1410 }, {
1411 "id": "31739f3e-526b-11e6-beb8-9e71128cae77",
1412 "name": "CRAIG/ROBERTS",
1413 "isPermitted": false
1414 }, {"id": "DHV1707-TestSubscriber-2", "name": "DALE BRIDGES", "isPermitted": false}, {
1415 "id": "jimmy-example",
1416 "name": "JimmyExampleCust-20161102",
1417 "isPermitted": false
1418 }, {"id": "jimmy-example2", "name": "JimmyExampleCust-20161103", "isPermitted": false}, {
1419 "id": "CAR_2020_ER",
1420 "name": "CAR_2020_ER",
1421 "isPermitted": true
1422 }, {
1423 "id": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb",
1424 "name": "Emanuel",
1425 "isPermitted": false
1426 }, {
1427 "id": "21014aa2-526b-11e6-beb8-9e71128cae77",
1428 "name": "JULIO ERICKSON",
1429 "isPermitted": false
1430 }, {
1431 "id": "DHV1707-TestSubscriber-1",
1432 "name": "LLOYD BRIDGES",
1433 "isPermitted": false
1434 }, {"id": "e433710f-9217-458d-a79d-1c7aff376d89", "name": "SILVIA ROBBINS", "isPermitted": true}],
1435 "productFamilies": null,
1436 "serviceTypes": {
1437 "e433710f-9217-458d-a79d-1c7aff376d89": [{
1438 "id": "17",
1439 "name": "JOHANNA_SANTOS",
1440 "isPermitted": false
1441 }, {"id": "16", "name": "LINDSEY", "isPermitted": false}, {
1442 "id": "2",
1443 "name": "Emanuel",
1444 "isPermitted": false
1445 }, {"id": "5", "name": "Kennedy", "isPermitted": false}, {
1446 "id": "14",
1447 "name": "SSD",
1448 "isPermitted": false
1449 }, {"id": "1", "name": "TYLER SILVIA", "isPermitted": true}, {
1450 "id": "12",
1451 "name": "VPMS",
1452 "isPermitted": false
1453 }, {"id": "3", "name": "vJamie", "isPermitted": false}, {
1454 "id": "0",
1455 "name": "vRichardson",
1456 "isPermitted": false
1457 }, {"id": "18", "name": "vCarroll", "isPermitted": false}, {
1458 "id": "9",
Ittay Sternf7926712019-07-07 19:23:03 +03001459 "name": "vFLORENCE",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001460 "isPermitted": false
Ittay Sternf7926712019-07-07 19:23:03 +03001461 }, {"id": "13", "name": "vWINIFRED", "isPermitted": false}, {
Ittay Stern6f900cc2018-08-29 17:01:32 +03001462 "id": "10",
1463 "name": "vMNS",
1464 "isPermitted": false
1465 }, {"id": "15", "name": "vMOG", "isPermitted": false}, {
1466 "id": "8",
1467 "name": "vOTA",
1468 "isPermitted": false
Ittay Sternf7926712019-07-07 19:23:03 +03001469 }, {"id": "11", "name": "vEsmeralda", "isPermitted": false}, {
Ittay Stern6f900cc2018-08-29 17:01:32 +03001470 "id": "6",
Ittay Sternf7926712019-07-07 19:23:03 +03001471 "name": "vPorfirio",
Ittay Stern6f900cc2018-08-29 17:01:32 +03001472 "isPermitted": false
1473 }, {"id": "7", "name": "vVM", "isPermitted": false}, {"id": "4", "name": "vVoiceMail", "isPermitted": false}]
1474 },
Einat Vinouzee1f79742019-08-27 16:01:01 +03001475 "aicZones": [
1476 {
1477 "id": "NFT1",
1478 "name": "NFTJSSSS-NFT1"
1479 },
1480 {
1481 "id": "JAG1",
1482 "name": "YUDFJULP-JAG1"
1483 },
1484 {
1485 "id": "YYY1",
1486 "name": "UUUAIAAI-YYY1"
1487 },
1488 {
1489 "id": "AVT1",
1490 "name": "AVTRFLHD-AVT1"
1491 },
1492 {
1493 "id": "ATL34",
1494 "name": "ATLSANAI-ATL34"
1495 }
1496 ],
Ittay Stern6f900cc2018-08-29 17:01:32 +03001497 "categoryParameters": {
1498 "owningEntityList": [{
1499 "id": "aaa1",
1500 "name": "aaa1"
1501 }, {"id": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc", "name": "WayneHolland"}, {
1502 "id": "Melissa",
1503 "name": "Melissa"
1504 }],
1505 "projectList": [{"id": "WATKINS", "name": "WATKINS"}, {"id": "x1", "name": "x1"}, {"id": "yyy1", "name": "yyy1"}],
1506 "lineOfBusinessList": [{"id": "ONAP", "name": "ONAP"}, {"id": "zzz1", "name": "zzz1"}],
1507 "platformList": [{"id": "platform", "name": "platform"}, {"id": "xxx1", "name": "xxx1"}]
1508 },
1509 "type": "UPDATE_LCP_REGIONS_AND_TENANTS"
1510 }
1511 }
1512}
Ittay Sternf7926712019-07-07 19:23:03 +03001513
1514function getNetworkModel(){
1515 return {
1516 "customizationUuid":"94fdd893-4a36-4d70-b16a-ec29c54c184f",
1517 "name":"ExtVL",
1518 "version":"37.0",
1519 "description":"ECOMP generic virtual link (network) base type for all other service-level and global networks",
1520 "uuid":"ddc3f20c-08b5-40fd-af72-c6d14636b986",
1521 "invariantUuid":"379f816b-a7aa-422f-be30-17114ff50b7c",
1522 "max":1,
1523 "min":0,
1524 "isEcompGeneratedNaming":false,
1525 "type":"VL",
1526 "modelCustomizationName":"ExtVL 0",
1527 "roles":["network role 1"," network role 2"],
1528 "properties":{
1529 "network_role":"network role 1, network role 2",
1530 "network_assignments":
1531 "{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}}",
1532 "exVL_naming":"{ecomp_generated_naming=true}","network_flows":"{is_network_policy=false, is_bound_to_vpn=false}",
1533 "network_homing":"{ecomp_selected_instance_node_target=false}"
1534 }
1535 };
1536
1537}
1538
1539function getNetworkInstance() {
1540 return {
1541 "modelCustomizationId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1542 "modelId": "ddc3f20c-08b5-40fd-af72-c6d14636b986",
1543 "modelUniqueId": "94fdd893-4a36-4d70-b16a-ec29c54c184f",
1544 "missingData": true,
1545 "id": "NETWORK4_INSTANCE_ID",
1546 "action": "None",
1547 "orchStatus": "Created",
1548 "provStatus": "preprov",
1549 "inMaint": false,
1550 "instanceId": "NETWORK4_INSTANCE_ID",
1551 "instanceType": "CONTRAIL30_HIMELGUARD",
1552 "instanceName": "NETWORK4_INSTANCE_NAME",
1553 "name": "NETWORK4_INSTANCE_NAME",
1554 "modelName": "ExtVL 0",
1555 "type": "VL",
1556 "isEcompGeneratedNaming": false,
1557 "networkStoreKey": "NETWORK4_INSTANCE_ID",
1558 "typeName": "N",
1559 "menuActions": {"edit": {}, "showAuditInfo": {}, "duplicate": {}, "remove": {}, "delete": {}, "undoDelete": {}},
1560 "isFailed": false,
1561 "statusMessage": "",
1562 "statusProperties": [{"key": "Prov Status:", "value": "preprov", "testId": "provStatus"}, {
1563 "key": "Orch Status:",
1564 "value": "Created",
1565 "testId": "orchStatus"
1566 }],
1567 "trackById": "1wvr73xl999",
1568 "parentType": "",
1569 "componentInfoType": "Network",
1570 "errors": {}
1571 };
1572}