Extend Modern UI for pnf usecase
[vid.git] / vid-webpack-master / src / app / shared / services / defaultDataServiceGenerator / default.data.generator.service.spec.ts
1 import {getTestBed, TestBed} from '@angular/core/testing';
2 import {HttpClientTestingModule, HttpTestingController} from '@angular/common/http/testing';
3 import {NgRedux} from '@angular-redux/store';
4 import {DefaultDataGeneratorService} from './default.data.generator.service';
5 import {ServiceNodeTypes} from "../../models/ServiceNodeTypes";
6 import {VNFModel} from "../../models/vnfModel";
7 import {AppState} from "../../store/reducers";
8
9 class MockAppStore<T> {
10   dispatch() {
11
12   }
13
14   getState() {
15     return {
16       "global": {
17         "flags": {
18           "FLAG_NETWORK_TO_ASYNC_INSTANTIATION": false,
19           "FLAG_SHOW_ASSIGNMENTS": true,
20           "FLAG_FABRIC_CONFIGURATION_ASSIGNMENTS": true,
21           "FLAG_SHOW_VERIFY_SERVICE": false,
22           "FLAG_SERVICE_MODEL_CACHE": true,
23           "FLAG_ADD_MSO_TESTAPI_FIELD": true
24         }
25       },
26       "service": {
27         "serviceHierarchy": {
28           "serviceId": {
29             "service": {
30               "uuid": "6e59c5de-f052-46fa-aa7e-2fca9d674c44",
31               "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
32               "name": "action-data",
33               "version": "1.0",
34               "toscaModelURL": null,
35               "category": "Emanuel",
36               "serviceType": "",
37               "serviceRole": "",
38               "description": "action-data",
39               "serviceEcompNaming": "false",
40               "instantiationType": "Macro",
41               "vidNotions": {
42                 "instantiationType": "Macro"
43               },
44             },
45             "globalSubscriberId": "subscriberId",
46             "pnfs": {
47               "pnfInstanceV1": {
48                 "name": "pnfName",
49                 "pnfStoreKey": "pnfInstanceV1",
50                 "version": "1.0",
51                 "description": "PNF description",
52                 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
53                 "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
54                 "properties": {
55                   "min_instances": "1",
56                   "ecomp_generated_naming": "true"
57                 }
58               }
59             },
60             "modelInfo": {
61               "modelInvariantId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
62               "modelVersionId": "6b528779-44a3-4472-bdff-9cd15ec93450",
63               "modelName": "action-data",
64               "modelVersion": "1.0",
65               "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450"
66             },
67             "instanceName": "InstanceName",
68             "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
69             "productFamilyId": "17cc1042-527b-11e6-beb8-9e71128cae77",
70             "lcpCloudRegionId": "AAIAIC25",
71             "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
72             "aicZoneId": "JAG1",
73             "projectName": null,
74             "rollbackOnFailure": "true",
75             "aicZoneName": "YUDFJULP-JAG1",
76             "owningEntityName": "WayneHolland",
77             "testApi": "GR_API",
78             "tenantName": "USP-SIP-IC-24335-T-01",
79             "bulkSize": 1,
80             "isALaCarte": false,
81             "name": "action-data",
82             "version": "1.0",
83             "description": "",
84             "category": "",
85             "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450",
86             "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
87             "serviceType": "",
88             "serviceRole": "",
89             "isMultiStepDesign": false
90           }
91         },
92         "serviceInstance": {
93           "serviceId": {
94             "globalSubscriberId": "subscriberId",
95             "pnfs": {
96               "pnfInstanceV1": {
97                 "name": "pnfName",
98                 "pnfStoreKey": "pnfInstanceV1"
99               },
100               "pnfInstanceV2": {
101                 "name": "pnfName2",
102                 "pnfStoreKey": "pnfInstanceV2"
103               }
104             },
105             "modelInfo": {
106               "modelInvariantId": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
107               "modelVersionId": "6b528779-44a3-4472-bdff-9cd15ec93450",
108               "modelName": "action-data",
109               "modelVersion": "1.0",
110               "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450"
111             },
112             "instanceName": "InstanceName",
113             "owningEntityId": "d61e6f2d-12fa-4cc2-91df-7c244011d6fc",
114             "productFamilyId": "17cc1042-527b-11e6-beb8-9e71128cae77",
115             "lcpCloudRegionId": "AAIAIC25",
116             "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
117             "aicZoneId": "JAG1",
118             "projectName": null,
119             "rollbackOnFailure": "true",
120             "aicZoneName": "YUDFJULP-JAG1",
121             "owningEntityName": "WayneHolland",
122             "testApi": "GR_API",
123             "tenantName": "USP-SIP-IC-24335-T-01",
124             "bulkSize": 1,
125             "isALaCarte": false,
126             "name": "action-data",
127             "version": "1.0",
128             "description": "",
129             "category": "",
130             "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450",
131             "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
132             "serviceType": "",
133             "serviceRole": "",
134             "isMultiStepDesign": false
135           }
136         },
137         "subscribers": [
138           {
139             "id": "someSubscriberId",
140             "name": "someSubscriberName",
141             "isPermitted": true
142           },
143           {
144             "id": "subscriberId",
145             "name": "subscriberName",
146             "isPermitted": true
147           },
148           {
149             "id": "subscriberId2",
150             "name": "subscriberName2",
151             "isPermitted": true
152           }
153         ]
154       }
155     }
156   }
157 }
158
159 describe('Default Data Generator Service', () => {
160   let injector;
161   let service: DefaultDataGeneratorService;
162   let store: NgRedux<AppState>;
163   let httpMock: HttpTestingController;
164
165   beforeAll(done => (async () => {
166     TestBed.configureTestingModule({
167       imports: [HttpClientTestingModule],
168       providers: [DefaultDataGeneratorService,
169         {provide: NgRedux, useClass: MockAppStore}]
170     });
171     await TestBed.compileComponents();
172
173     injector = getTestBed();
174     service = injector.get(DefaultDataGeneratorService);
175     httpMock = injector.get(HttpTestingController);
176     store = injector.get(NgRedux);
177   })().then(done).catch(done.fail));
178
179   test('generateVFModule aLaCarte vf module object should missed data', () => {
180     const serviceHierarchy = generateServiceHierarchy();
181     const vnfUUID: string = 'VF_vGeraldine 0';
182     const vnfModuleUUID: string = 'vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0';
183
184     let result = service.generateVFModule(serviceHierarchy.vnfs[vnfUUID].vfModules[vnfModuleUUID], [], false, true);
185     expect(result.isMissingData).toBeTruthy();
186     expect(result.rollbackOnFailure).toBeTruthy();
187   });
188
189   test('generateVFModule should create vf module object', () => {
190     const serviceHierarchy = generateServiceHierarchy();
191     const vnfUUID: string = 'VF_vGeraldine 0';
192     const vnfModuleUUID: string = 'vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0';
193
194     let result = service.generateVFModule(serviceHierarchy.vnfs[vnfUUID].vfModules[vnfModuleUUID], [], false, false);
195
196     expect(result.modelInfo.modelType).toEqual('VFmodule');
197     expect(result.modelInfo.modelInvariantId).toEqual(serviceHierarchy.vnfs[vnfUUID].vfModules[vnfModuleUUID].invariantUuid);
198     expect(result.modelInfo.modelVersionId).toEqual(serviceHierarchy.vnfs[vnfUUID].vfModules[vnfModuleUUID].uuid);
199     expect(result.modelInfo.modelName).toEqual(serviceHierarchy.vnfs[vnfUUID].vfModules[vnfModuleUUID].name);
200     expect(result.modelInfo.modelVersion).toEqual(serviceHierarchy.vnfs[vnfUUID].vfModules[vnfModuleUUID].version);
201     expect(result.modelInfo.modelCustomizationId).toEqual(serviceHierarchy.vnfs[vnfUUID].vfModules[vnfModuleUUID].customizationUuid);
202     expect(result.modelInfo.modelCustomizationName).toEqual(serviceHierarchy.vnfs[vnfUUID].vfModules[vnfModuleUUID].modelCustomizationName);
203     expect(result.sdncPreReload).toBeNull();
204     expect(result.isMissingData).toBeTruthy();
205     expect(result.instanceParams).toEqual([{}]);
206     expect(result.rollbackOnFailure).toBeNull();
207   });
208
209   test('generateVNFData should create vnf object', () => {
210     const serviceHierarchy = generateServiceHierarchy();
211     const vnfName: string = 'VF_vGeraldine 0';
212     const formValues = generateVNFFormValues();
213
214     let result = service.generateVNFData(serviceHierarchy, vnfName, formValues, false);
215
216     expect(result.productFamilyId).toEqual(formValues.productFamilyId);
217     expect(result.lcpCloudRegionId).toBeNull();
218     expect(result.tenantId).toBeNull();
219     expect(result.lineOfBusiness).toBeNull();
220     expect(result.platformName).toBeNull();
221     expect(result.modelInfo.modelType).toEqual('VF');
222     expect(result.modelInfo.modelInvariantId).toEqual(serviceHierarchy.vnfs[vnfName].invariantUuid);
223     expect(result.modelInfo.modelVersionId).toEqual(serviceHierarchy.vnfs[vnfName].uuid);
224     expect(result.modelInfo.modelName).toEqual(serviceHierarchy.vnfs[vnfName].name);
225     expect(result.modelInfo.modelVersion).toEqual(serviceHierarchy.vnfs[vnfName].version);
226     expect(result.modelInfo.modelCustomizationId).toEqual(serviceHierarchy.vnfs[vnfName].customizationUuid);
227     expect(result.modelInfo.modelUniqueId).toEqual(serviceHierarchy.vnfs[vnfName].customizationUuid);
228     expect(result.modelInfo.modelCustomizationName).toEqual(serviceHierarchy.vnfs[vnfName].modelCustomizationName);
229     expect(result.isMissingData).toBeTruthy();
230   });
231
232   describe('#updateDynamicInputsVnfDataFromModel', () => {
233     test('get vfModule instance params', () => {
234       let dynamicInputs = service.updateDynamicInputsVnfDataFromModel(ServiceNodeTypes.VFmodule, generateVFModule());
235       expect(dynamicInputs).toEqual([{
236         id: '2017488_pasqualevpe0_vnf_config_template_version',
237         type: 'string',
238         name: '2017488_pasqualevpe0_vnf_config_template_version',
239         value: '17.2',
240         isRequired: true,
241         description: 'VPE Software Version'
242       }, {
243         id: '2017488_pasqualevpe0_AIC_CLLI',
244         type: 'string',
245         name: '2017488_pasqualevpe0_AIC_CLLI',
246         value: 'ATLMY8GA',
247         isRequired: true,
248         description: 'AIC Site CLLI'
249       }]);
250
251       /*get vfModule with no instance params should return empty array*/
252       dynamicInputs = service.updateDynamicInputsVnfDataFromModel(ServiceNodeTypes.VFmodule, generateVFModule2);
253       expect(dynamicInputs).toEqual([]);
254
255       /*get vf instance params should be undefined*/
256       dynamicInputs = service.updateDynamicInputsVnfDataFromModel(ServiceNodeTypes.VF, generateVNF());
257       expect(dynamicInputs).toEqual([]);
258     });
259   });
260
261   describe('#createNewVfModuleTreeNode', () => {
262     test('createNewVfModuleTreeNode with isEcompGeneratedNaming instance name not fill - missing data true', () => {
263       const vnfModuleUUID: string = 'vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0';
264       const vfModuleModel = generateServiceHierarchy().vnfs['VF_vGeraldine 0'].vfModules['vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0'];
265       const newVfModule = service.createNewVfModuleTreeNode(<any>{
266         instanceName: "",
267         instanceParams: {},
268         modelInfo: {
269           "modelCustomizationName": "VF_vGeraldine 0",
270           "modelName": "VF_vGeraldine 0",
271           "modelCustomizationId": "91415b44-753d-494c-926a-456a9172bbb9",
272           "modelInvariantId": "4160458e-f648-4b30-a176-43881ffffe9e",
273           "modelVersionId": "d6557200-ecf2-4641-8094-5393ae3aae60",
274           "modelType": "vnf",
275           "modelVersion": "1"
276         },
277         volumeGroupName: "",
278         isMissingData: false,
279         trackById: Math.random().toString()
280       }, vfModuleModel, vnfModuleUUID, false, [], "");
281       expect(newVfModule.name).toEqual('&lt;Automatically Assigned&gt;');
282       expect(newVfModule.missingData).toEqual(true);
283     });
284
285     test('createNewVfModuleTreeNode without isEcompGeneratedNaming missing data false', () => {
286       const vnfModuleUUID: string = 'vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0';
287       const vfModuleModel = generateServiceHierarchy().vnfs['VF_vGeraldine 0'].vfModules['vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0'];
288       const newVfModule = service.createNewVfModuleTreeNode(<any>{
289         instanceName: "",
290         instanceParams: {},
291         modelInfo: {
292           "modelCustomizationName": "VF_vGeraldine 0",
293           "modelName": "VF_vGeraldine 0",
294           "modelCustomizationId": "91415b44-753d-494c-926a-456a9172bbb9",
295           "modelInvariantId": "4160458e-f648-4b30-a176-43881ffffe9e",
296           "modelVersionId": "d6557200-ecf2-4641-8094-5393ae3aae60",
297           "modelType": "vnf",
298           "modelVersion": "1"
299         },
300         volumeGroupName: "",
301         isMissingData: false,
302         trackById: Math.random().toString()
303       }, vfModuleModel, vnfModuleUUID, true, [], "");
304       expect(newVfModule.name).toEqual('&lt;Automatically Assigned&gt;');
305       expect(newVfModule.missingData).toEqual(false);
306     });
307   });
308
309   describe('#createNewVnfTreeNode', () => {
310     test('createNewVnfTreeNode with isEcompGeneratedNaming instance name not filled - missing data true', () => {
311       const vnfModel = generateServiceHierarchy().vnfs['VF_vGeraldine 0'];
312       const newVnf = service.createNewTreeNode({
313         uuid: '',
314         instanceName: "",
315         productFamilyId: "productFamilyId",
316         lcpCloudRegionId: "lcpCloudRegionId",
317         legacyRegion: "legacyRegion",
318         tenantId: "tenantId",
319         platformName: "platformName",
320         lineOfBusiness: "lineOfBusiness",
321         rollbackOnFailure: "rollbackOnFailure",
322         originalName: null,
323         vfModules: {},
324         modelInfo: {
325           "modelCustomizationName": "VF_vGeraldine 0",
326           "modelName": "VF_vGeraldine 0",
327           "modelCustomizationId": "91415b44-753d-494c-926a-456a9172bbb9",
328           "modelInvariantId": "4160458e-f648-4b30-a176-43881ffffe9e",
329           "modelVersionId": "d6557200-ecf2-4641-8094-5393ae3aae60",
330           "modelType": "vnf",
331           "modelVersion": "1"
332         },
333         isMissingData: false,
334         trackById: Math.random().toString(),
335         vnfStoreKey: "abc"
336       }, new VNFModel(vnfModel), 'VF_vGeraldine 0', 'vnfs');
337       expect(newVnf.name).toEqual('VF_vGeraldine 0');
338       expect(newVnf.missingData).toEqual(true);
339     });
340
341     test('createNewVnfTreeNode with isEcompGeneratedNaming instance name filled - missing data false', () => {
342       const vnfModel = generateServiceHierarchy().vnfs['VF_vGeraldine 0'];
343       const newVnf = service.createNewTreeNode({
344         uuid: '',
345         instanceName: "instanceName",
346         productFamilyId: "productFamilyId",
347         lcpCloudRegionId: "lcpCloudRegionId",
348         legacyRegion: "legacyRegion",
349         tenantId: "tenantId",
350         platformName: "platformName",
351         lineOfBusiness: "lineOfBusiness",
352         rollbackOnFailure: "rollbackOnFailure",
353         originalName: null,
354         vfModules: {},
355         modelInfo: {
356           "modelCustomizationName": "VF_vGeraldine 0",
357           "modelName": "VF_vGeraldine 0",
358           "modelCustomizationId": "91415b44-753d-494c-926a-456a9172bbb9",
359           "modelInvariantId": "4160458e-f648-4b30-a176-43881ffffe9e",
360           "modelVersionId": "d6557200-ecf2-4641-8094-5393ae3aae60",
361           "modelType": "vnf",
362           "modelVersion": "1"
363         },
364         isMissingData: false,
365         trackById: Math.random().toString(),
366         vnfStoreKey: "abc"
367       }, vnfModel, 'VF_vGeraldine 0', 'vnfs');
368       expect(newVnf.name).toEqual("instanceName");
369       expect(newVnf.missingData).toEqual(false);
370     });
371   });
372
373   describe('#updatePnfsOnFirstSet tests', () => {
374
375     test('updatePnfsOnFirstSet should call createPNFInstanceReduxIfNotExist when pnfs exists and extended pnf flag is on', () => {
376       jest.spyOn(service, 'isExtendedMacroPnfConfigOn').mockReturnValue(true);
377       spyOn(service, 'createPNFInstanceReduxIfNotExist');
378
379       service.updatePnfsOnFirstSet("serviceId", {})
380
381       expect(service.createPNFInstanceReduxIfNotExist).toHaveBeenCalled();
382     });
383
384     test('updatePnfsOnFirstSet should not call createPNFInstanceReduxIfNotExist when pnfs exists and extended pnf flag is off', () => {
385       jest.spyOn(service, 'isExtendedMacroPnfConfigOn').mockReturnValue(false);
386       spyOn(service, 'createPNFInstanceReduxIfNotExist');
387
388       service.updatePnfsOnFirstSet("serviceId", {})
389
390       expect(service.createPNFInstanceReduxIfNotExist).not.toHaveBeenCalled();
391     });
392
393     test('updatePnfsOnFirstSet should not call createPNFInstanceReduxIfNotExist when min_instances == 0 and extended pnf flag is on', () => {
394       jest.spyOn(service, 'isExtendedMacroPnfConfigOn').mockReturnValue(true);
395       jest.spyOn(service, 'isMinInstancesGreaterThanZero').mockReturnValue(false);
396       spyOn(service, 'createPNFInstanceReduxIfNotExist');
397
398       service.updatePnfsOnFirstSet("serviceId", {})
399
400       expect(service.createPNFInstanceReduxIfNotExist).not.toHaveBeenCalled();
401     });
402
403     test('createPNFInstanceReduxIfNotExist should dispatch proper actions when pnf doesnt exist', () => {
404       let pnfData = {
405         modelInfo: {
406           modelCustomizationName: "pnfName"
407         }
408       };
409       spyOn(store, 'dispatch');
410
411       service.createPNFInstanceReduxIfNotExist("serviceId", pnfData);
412
413       expect(store.dispatch).toHaveBeenCalledWith(jasmine.objectContaining({
414         type: "CREATE_PNF_INSTANCE",
415       }));
416       expect(store.dispatch).toHaveBeenCalledWith(jasmine.objectContaining({
417         type: "CHANGE_INSTANCE_COUNTER",
418       }));
419     });
420
421     test('createPNFInstanceReduxIfNotExist should not dispatch anything when pnf exists', () => {
422       let pnfData = {
423         modelInfo: {
424           modelCustomizationName: "pnfInstanceV1"
425         }
426       };
427       spyOn(store, 'dispatch');
428
429       service.createPNFInstanceReduxIfNotExist("serviceId", pnfData);
430
431       expect(store.dispatch).not.toHaveBeenCalled();
432     });
433   });
434 });
435
436
437 function generateServiceHierarchy() {
438   return JSON.parse('{"service":{"uuid":"6e59c5de-f052-46fa-aa7e-2fca9d674c44","invariantUuid":"e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0","name":"ComplexService","version":"1.0","toscaModelURL":null,"category":"Emanuel","serviceType":"","serviceRole":"","description":"ComplexService","serviceEcompNaming":"true","instantiationType":"Macro","inputs":{}},"vnfs":{"VF_vGeraldine 0":{"uuid":"d6557200-ecf2-4641-8094-5393ae3aae60","invariantUuid":"4160458e-f648-4b30-a176-43881ffffe9e","description":"VSP_vGeraldine","name":"VF_vGeraldine","version":"2.0","customizationUuid":"91415b44-753d-494c-926a-456a9172bbb9","inputs":{},"commands":{},"properties":{"gpb2_Internal2_mac":"00:11:22:EF:AC:DF","sctp-b-ipv6-egress_src_start_port":"0","sctp-a-ipv6-egress_rule_application":"any","Internal2_allow_transit":"true","sctp-b-IPv6_ethertype":"IPv6","sctp-a-egress_rule_application":"any","sctp-b-ingress_action":"pass","sctp-b-ingress_rule_protocol":"icmp","ncb2_Internal1_mac":"00:11:22:EF:AC:DF","sctp-b-ipv6-ingress-src_start_port":"0.0","ncb1_Internal2_mac":"00:11:22:EF:AC:DF","fsb_volume_size_0":"320.0","sctp-b-egress_src_addresses":"local","sctp-a-ipv6-ingress_ethertype":"IPv4","sctp-a-ipv6-ingress-dst_start_port":"0","sctp-b-ipv6-ingress_rule_application":"any","domain_name":"default-domain","sctp-a-ingress_rule_protocol":"icmp","sctp-b-egress-src_start_port":"0.0","sctp-a-egress_src_addresses":"local","sctp-b-display_name":"epc-sctp-b-ipv4v6-sec-group","sctp-a-egress-src_start_port":"0.0","sctp-a-ingress_ethertype":"IPv4","sctp-b-ipv6-ingress-dst_end_port":"65535","sctp-b-dst_subnet_prefix_v6":"::","nf_naming":"{ecomp_generated_naming=true}","sctp-a-ipv6-ingress_src_subnet_prefix":"0.0.0.0","sctp-b-egress-dst_start_port":"0.0","ncb_flavor_name":"nv.c20r64d1","gpb1_Internal1_mac":"00:11:22:EF:AC:DF","sctp-b-egress_dst_subnet_prefix_len":"0.0","Internal2_net_cidr":"10.0.0.10","sctp-a-ingress-dst_start_port":"0.0","sctp-a-egress-dst_start_port":"0.0","fsb1_Internal2_mac":"00:11:22:EF:AC:DF","sctp-a-egress_ethertype":"IPv4","vlc_st_service_mode":"in-network-nat","sctp-a-ipv6-egress_ethertype":"IPv4","sctp-a-egress-src_end_port":"65535.0","sctp-b-ipv6-egress_rule_application":"any","sctp-b-egress_action":"pass","sctp-a-ingress-src_subnet_prefix_len":"0.0","sctp-b-ipv6-ingress-src_end_port":"65535.0","sctp-b-name":"epc-sctp-b-ipv4v6-sec-group","fsb2_Internal1_mac":"00:11:22:EF:AC:DF","sctp-a-ipv6-ingress-src_start_port":"0.0","sctp-b-ipv6-egress_ethertype":"IPv4","Internal1_net_cidr":"10.0.0.10","sctp-a-egress_dst_subnet_prefix":"0.0.0.0","fsb_flavor_name":"nv.c20r64d1","sctp_rule_protocol":"132","sctp-b-ipv6-ingress_src_subnet_prefix_len":"0","sctp-a-ipv6-ingress_rule_application":"any","ecomp_generated_naming":"false","sctp-a-IPv6_ethertype":"IPv6","vlc2_Internal1_mac":"00:11:22:EF:AC:DF","vlc_st_virtualization_type":"virtual-machine","sctp-b-ingress-dst_start_port":"0.0","sctp-b-ingress-dst_end_port":"65535.0","sctp-a-ipv6-ingress-src_end_port":"65535.0","sctp-a-display_name":"epc-sctp-a-ipv4v6-sec-group","sctp-b-ingress_rule_application":"any","int2_sec_group_name":"int2-sec-group","vlc_flavor_name":"nd.c16r64d1","sctp-b-ipv6-egress_src_addresses":"local","vlc_st_interface_type_int1":"other1","sctp-b-egress-src_end_port":"65535.0","sctp-a-ipv6-egress-dst_start_port":"0","vlc_st_interface_type_int2":"other2","sctp-a-ipv6-egress_rule_protocol":"any","Internal2_shared":"false","sctp-a-ipv6-egress_dst_subnet_prefix_len":"0","Internal2_rpf":"disable","vlc1_Internal1_mac":"00:11:22:EF:AC:DF","sctp-b-ipv6-egress_src_end_port":"65535","sctp-a-ipv6-egress_src_addresses":"local","sctp-a-ingress-dst_end_port":"65535.0","sctp-a-ipv6-egress_src_end_port":"65535","Internal1_forwarding_mode":"l2","Internal2_dhcp":"false","sctp-a-dst_subnet_prefix_v6":"::","pxe_image_name":"MME_PXE-Boot_16ACP04_GA.qcow2","vlc_st_interface_type_gtp":"other0","ncb1_Internal1_mac":"00:11:22:EF:AC:DF","sctp-b-src_subnet_prefix_v6":"::","sctp-a-egress_dst_subnet_prefix_len":"0.0","int1_sec_group_name":"int1-sec-group","Internal1_dhcp":"false","sctp-a-ipv6-egress_dst_end_port":"65535","Internal2_forwarding_mode":"l2","fsb2_Internal2_mac":"00:11:22:EF:AC:DF","sctp-b-egress_dst_subnet_prefix":"0.0.0.0","Internal1_net_cidr_len":"17","gpb2_Internal1_mac":"00:11:22:EF:AC:DF","sctp-b-ingress-src_subnet_prefix_len":"0.0","sctp-a-ingress_dst_addresses":"local","sctp-a-egress_action":"pass","fsb_volume_type_0":"SF-Default-SSD","ncb2_Internal2_mac":"00:11:22:EF:AC:DF","vlc_st_interface_type_sctp_a":"left","vlc_st_interface_type_sctp_b":"right","sctp-a-src_subnet_prefix_v6":"::","vlc_st_version":"2","sctp-b-egress_ethertype":"IPv4","sctp-a-ingress_rule_application":"any","gpb1_Internal2_mac":"00:11:22:EF:AC:DF","instance_ip_family_v6":"v6","sctp-a-ipv6-egress_src_start_port":"0","sctp-b-ingress-src_start_port":"0.0","sctp-b-ingress_dst_addresses":"local","fsb1_Internal1_mac":"00:11:22:EF:AC:DF","vlc_st_interface_type_oam":"management","multi_stage_design":"false","oam_sec_group_name":"oam-sec-group","Internal2_net_gateway":"10.0.0.10","sctp-a-ipv6-ingress-dst_end_port":"65535","sctp-b-ipv6-egress-dst_start_port":"0","Internal1_net_gateway":"10.0.0.10","sctp-b-ipv6-egress_rule_protocol":"any","gtp_sec_group_name":"gtp-sec-group","sctp-a-ipv6-egress_dst_subnet_prefix":"0.0.0.0","sctp-b-ipv6-egress_dst_subnet_prefix_len":"0","sctp-a-ipv6-ingress_dst_addresses":"local","sctp-a-egress_rule_protocol":"icmp","sctp-b-ipv6-egress_action":"pass","sctp-a-ipv6-egress_action":"pass","Internal1_shared":"false","sctp-b-ipv6-ingress_rule_protocol":"any","Internal2_net_cidr_len":"17","sctp-a-name":"epc-sctp-a-ipv4v6-sec-group","sctp-a-ingress-src_end_port":"65535.0","sctp-b-ipv6-ingress_src_subnet_prefix":"0.0.0.0","sctp-a-egress-dst_end_port":"65535.0","sctp-a-ingress_action":"pass","sctp-b-egress_rule_protocol":"icmp","sctp-b-ipv6-ingress_action":"pass","vlc_st_service_type":"firewall","sctp-b-ipv6-egress_dst_end_port":"65535","sctp-b-ipv6-ingress-dst_start_port":"0","vlc2_Internal2_mac":"00:11:22:EF:AC:DF","vlc_st_availability_zone":"true","fsb_volume_image_name_1":"MME_FSB2_16ACP04_GA.qcow2","sctp-b-ingress-src_subnet_prefix":"0.0.0.0","sctp-a-ipv6-ingress_src_subnet_prefix_len":"0","Internal1_allow_transit":"true","gpb_flavor_name":"nv.c20r64d1","availability_zone_max_count":"1","fsb_volume_image_name_0":"MME_FSB1_16ACP04_GA.qcow2","sctp-b-ipv6-ingress_dst_addresses":"local","sctp-b-ipv6-egress_dst_subnet_prefix":"0.0.0.0","sctp-b-ipv6-ingress_ethertype":"IPv4","vlc1_Internal2_mac":"00:11:22:EF:AC:DF","sctp-a-ingress-src_subnet_prefix":"0.0.0.0","sctp-a-ipv6-ingress_action":"pass","Internal1_rpf":"disable","sctp-b-ingress_ethertype":"IPv4","sctp-b-egress_rule_application":"any","sctp-b-ingress-src_end_port":"65535.0","sctp-a-ipv6-ingress_rule_protocol":"any","sctp-a-ingress-src_start_port":"0.0","sctp-b-egress-dst_end_port":"65535.0"},"type":"VF","modelCustomizationName":"VF_vGeraldine 0","vfModules":{"vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1":{"uuid":"522159d5-d6e0-4c2a-aa44-5a542a12a830","invariantUuid":"98a7c88b-b577-476a-90e4-e25a5871e02b","customizationUuid":"55b1be94-671a-403e-a26c-667e9c47d091","description":null,"name":"VfVgeraldine..vflorence_vlc..module-1","version":"2","modelCustomizationName":"VfVgeraldine..vflorence_vlc..module-1","properties":{"minCountInstances":0,"maxCountInstances":null,"initialCount":0,"vfModuleLabel":"vflorence_vlc"},"inputs":{},"volumeGroupAllowed":false},"vf_vgeraldine0..VfVgeraldine..vflorence_gpb..module-2":{"uuid":"41708296-e443-4c71-953f-d9a010f059e1","invariantUuid":"1cca90b8-3490-495e-87da-3f3e4c57d5b9","customizationUuid":"6add59e0-7fe1-4bc4-af48-f8812422ae7c","description":null,"name":"VfVgeraldine..vflorence_gpb..module-2","version":"2","modelCustomizationName":"VfVgeraldine..vflorence_gpb..module-2","properties":{"minCountInstances":0,"maxCountInstances":null,"initialCount":0,"vfModuleLabel":"vflorence_gpb"},"inputs":{},"volumeGroupAllowed":false},"vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0":{"uuid":"a27f5cfc-7f12-4f99-af08-0af9c3885c87","invariantUuid":"a6f9e51a-2b35-416a-ae15-15e58d61f36d","customizationUuid":"f8c040f1-7e51-4a11-aca8-acf256cfd861","description":null,"name":"VfVgeraldine..base_vflorence..module-0","version":"2","modelCustomizationName":"VfVgeraldine..base_vflorence..module-0","properties":{"minCountInstances":1,"maxCountInstances":1,"initialCount":1,"vfModuleLabel":"base_vflorence"},"inputs":{},"volumeGroupAllowed":true}},"volumeGroups":{"vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0":{"uuid":"a27f5cfc-7f12-4f99-af08-0af9c3885c87","invariantUuid":"a6f9e51a-2b35-416a-ae15-15e58d61f36d","customizationUuid":"f8c040f1-7e51-4a11-aca8-acf256cfd861","description":null,"name":"VfVgeraldine..base_vflorence..module-0","version":"2","modelCustomizationName":"VfVgeraldine..base_vflorence..module-0","properties":{"minCountInstances":1,"maxCountInstances":1,"initialCount":1,"vfModuleLabel":"base_vflorence"},"inputs":{}}},"vfcInstanceGroups":{}}},"networks":{"ExtVL 0":{"uuid":"ddc3f20c-08b5-40fd-af72-c6d14636b986","invariantUuid":"379f816b-a7aa-422f-be30-17114ff50b7c","description":"ECOMP generic virtual link (network) base type for all other service-level and global networks","name":"ExtVL","version":"37.0","customizationUuid":"94fdd893-4a36-4d70-b16a-ec29c54c184f","inputs":{},"commands":{},"properties":{"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}}","exVL_naming":"{ecomp_generated_naming=true}","network_flows":"{is_network_policy=false, is_bound_to_vpn=false}","network_homing":"{ecomp_selected_instance_node_target=false}"},"type":"VL","modelCustomizationName":"ExtVL 0"}},"collectionResources":{},"configurations":{"Port Mirroring Configuration By Policy 0":{"uuid":"b4398538-e89d-4f13-b33d-ca323434ba50","invariantUuid":"6ef0ca40-f366-4897-951f-abd65d25f6f7","description":"A port mirroring configuration by policy object","name":"Port Mirroring Configuration By Policy","version":"27.0","customizationUuid":"3c3b7b8d-8669-4b3b-8664-61970041fad2","inputs":{},"commands":{},"properties":{},"type":"Configuration","modelCustomizationName":"Port Mirroring Configuration By Policy 0","sourceNodes":[],"collectorNodes":null,"configurationByPolicy":false}},"serviceProxies":{},"vfModules":{"vf_vgeraldine0..VfVgeraldine..vflorence_vlc..module-1":{"uuid":"522159d5-d6e0-4c2a-aa44-5a542a12a830","invariantUuid":"98a7c88b-b577-476a-90e4-e25a5871e02b","customizationUuid":"55b1be94-671a-403e-a26c-667e9c47d091","description":null,"name":"VfVgeraldine..vflorence_vlc..module-1","version":"2","modelCustomizationName":"VfVgeraldine..vflorence_vlc..module-1","properties":{"minCountInstances":0,"maxCountInstances":null,"initialCount":0,"vfModuleLabel":"vflorence_vlc"},"inputs":{},"volumeGroupAllowed":false},"vf_vgeraldine0..VfVgeraldine..vflorence_gpb..module-2":{"uuid":"41708296-e443-4c71-953f-d9a010f059e1","invariantUuid":"1cca90b8-3490-495e-87da-3f3e4c57d5b9","customizationUuid":"6add59e0-7fe1-4bc4-af48-f8812422ae7c","description":null,"name":"VfVgeraldine..vflorence_gpb..module-2","version":"2","modelCustomizationName":"VfVgeraldine..vflorence_gpb..module-2","properties":{"minCountInstances":0,"maxCountInstances":null,"initialCount":0,"vfModuleLabel":"vflorence_gpb"},"inputs":{},"volumeGroupAllowed":false},"vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0":{"uuid":"a27f5cfc-7f12-4f99-af08-0af9c3885c87","invariantUuid":"a6f9e51a-2b35-416a-ae15-15e58d61f36d","customizationUuid":"f8c040f1-7e51-4a11-aca8-acf256cfd861","description":null,"name":"VfVgeraldine..base_vflorence..module-0","version":"2","modelCustomizationName":"VfVgeraldine..base_vflorence..module-0","properties":{"minCountInstances":1,"maxCountInstances":1,"initialCount":1,"vfModuleLabel":"base_vflorence"},"inputs":{},"volumeGroupAllowed":true}},"volumeGroups":{"vf_vgeraldine0..VfVgeraldine..base_vflorence..module-0":{"uuid":"a27f5cfc-7f12-4f99-af08-0af9c3885c87","invariantUuid":"a6f9e51a-2b35-416a-ae15-15e58d61f36d","customizationUuid":"f8c040f1-7e51-4a11-aca8-acf256cfd861","description":null,"name":"VfVgeraldine..base_vflorence..module-0","version":"2","modelCustomizationName":"VfVgeraldine..base_vflorence..module-0","properties":{"minCountInstances":1,"maxCountInstances":1,"initialCount":1,"vfModuleLabel":"base_vflorence"},"inputs":{}}},"pnfs":{}}');
439 }
440
441
442 function generateVNFFormValues() {
443   return JSON.parse('{"globalSubscriberId":"e433710f-9217-458d-a79d-1c7aff376d89","productFamilyId":"vTerrance","subscriptionServiceType":"TYLER SILVIA","lcpCloudRegionId":"hvf6","tenantId":"1178612d2b394be4834ad77f567c0af2","aicZoneId":"JAG1","projectName":"WATKINS","owningEntityId":"d61e6f2d-12fa-4cc2-91df-7c244011d6fc","rollbackOnFailure":"true","bulkSize":1,"instanceParams":[{}],"modelInfo":{"modelInvariantId":"e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0","modelVersionId":"6e59c5de-f052-46fa-aa7e-2fca9d674c44","modelName":"ComplexService","modelVersion":"1.0"},"tenantName":"AIN Web Tool-15-D-SSPtestcustome","aicZoneName":"YUDFJULP-JAG1"}');
444 }
445
446 function generateVFModule() {
447   return {
448     'uuid': '25284168-24bb-4698-8cb4-3f509146eca5',
449     'invariantUuid': '7253ff5c-97f0-4b8b-937c-77aeb4d79aa1',
450     'customizationUuid': 'f7e7c365-60cf-49a9-9ebf-a1aa11b9d401',
451     'description': null,
452     'name': '2017488PasqualeVpe..PASQUALE_vRE_BV..module-1',
453     'version': '6',
454     'modelCustomizationName': '2017488PasqualeVpe..PASQUALE_vRE_BV..module-1',
455     'properties': {'minCountInstances': 0, 'maxCountInstances': null, 'initialCount': 0},
456     'commands': {},
457     'volumeGroupAllowed': true,
458     'inputs': {
459       '2017488_pasqualevpe0_vnf_config_template_version': {
460         'type': 'string',
461         'description': 'VPE Software Version',
462         'entry_schema': null,
463         'constraints': [],
464         'required': true,
465         'default': '17.2'
466       },
467       '2017488_pasqualevpe0_AIC_CLLI': {
468         'type': 'string',
469         'description': 'AIC Site CLLI',
470         'entry_schema': null,
471         'constraints': [],
472         'required': true,
473         'default': 'ATLMY8GA'
474       }
475     }
476   };
477 }
478
479 function generateVFModule2() {
480   return {
481     'uuid': '0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a',
482     'invariantUuid': 'eff8cc59-53a1-4101-aed7-8cf24ecf8339',
483     'customizationUuid': '3cd946bb-50e0-40d8-96d3-c9023520b557',
484     'description': null,
485     'name': '2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2',
486     'version': '6',
487     'modelCustomizationName': '2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2',
488     'properties': {'minCountInstances': 0, 'maxCountInstances': null, 'initialCount': 0},
489     'commands': {},
490     'volumeGroupAllowed': true,
491     'inputs': {}
492   };
493 }
494
495 function generateVNF() {
496   return {
497     'uuid': '0903e1c0-8e03-4936-b5c2-260653b96413',
498     'invariantUuid': '00beb8f9-6d39-452f-816d-c709b9cbb87d',
499     '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',
500     'name': '2017-388_PASQUALE-vPE',
501     'version': '1.0',
502     'customizationUuid': '280dec31-f16d-488b-9668-4aae55d6648a',
503     'inputs': {
504       'vnf_config_template_version': {
505         'type': 'string',
506         'description': 'VPE Software Version',
507         'entry_schema': null,
508         'constraints': [],
509         'required': true,
510         'default': '17.2'
511       },
512       'bandwidth_units': {
513         'type': 'string',
514         'description': 'Units of bandwidth',
515         'entry_schema': null,
516         'constraints': [],
517         'required': true,
518         'default': 'Gbps'
519       },
520       'bandwidth': {
521         'type': 'string',
522         'description': 'Requested VPE bandwidth',
523         'entry_schema': null,
524         'constraints': [],
525         'required': true,
526         'default': '10'
527       },
528       'AIC_CLLI': {
529         'type': 'string',
530         'description': 'AIC Site CLLI',
531         'entry_schema': null,
532         'constraints': [],
533         'required': true,
534         'default': 'ATLMY8GA'
535       },
536       'ASN': {
537         'type': 'string',
538         'description': 'AV/PE',
539         'entry_schema': null,
540         'constraints': [],
541         'required': true,
542         'default': 'AV_vPE'
543       },
544       'vnf_instance_name': {
545         'type': 'string',
546         'description': 'The hostname assigned to the vpe.',
547         'entry_schema': null,
548         'constraints': [],
549         'required': true,
550         'default': 'mtnj309me6'
551       }
552     },
553     'commands': {
554       'vnf_config_template_version': {
555         'displayName': 'vnf_config_template_version',
556         'command': 'get_input',
557         'inputName': '2017488_pasqualevpe0_vnf_config_template_version'
558       },
559       'bandwidth_units': {
560         'displayName': 'bandwidth_units',
561         'command': 'get_input',
562         'inputName': 'pasqualevpe0_bandwidth_units'
563       },
564       'bandwidth': {'displayName': 'bandwidth', 'command': 'get_input', 'inputName': 'pasqualevpe0_bandwidth'},
565       'AIC_CLLI': {'displayName': 'AIC_CLLI', 'command': 'get_input', 'inputName': '2017488_pasqualevpe0_AIC_CLLI'},
566       'ASN': {'displayName': 'ASN', 'command': 'get_input', 'inputName': '2017488_pasqualevpe0_ASN'},
567       'vnf_instance_name': {
568         'displayName': 'vnf_instance_name',
569         'command': 'get_input',
570         'inputName': '2017488_pasqualevpe0_vnf_instance_name'
571       }
572     },
573     'properties': {
574       'vmxvre_retype': 'RE-VMX',
575       'vnf_config_template_version': 'get_input:2017488_pasqualevpe0_vnf_config_template_version',
576       'sriov44_net_id': '48d399b3-11ee-48a8-94d2-f0ea94d6be8d',
577       'int_ctl_net_id': '2f323477-6936-4d01-ac53-d849430281d9',
578       'vmxvpfe_sriov41_0_port_mac': '00:11:22:EF:AC:DF',
579       'int_ctl_net_name': 'VMX-INTXI',
580       'vmx_int_ctl_prefix': '10.0.0.10',
581       'sriov43_net_id': 'da349ca1-6de9-4548-be88-2d88e99bfef5',
582       'sriov42_net_id': '760669ba-013d-4d9b-b0e7-4151fe2e6279',
583       'sriov41_net_id': '25ad52d5-c165-40f8-b3b0-ddfc2373280a',
584       'nf_type': 'vPE',
585       'vmxvpfe_int_ctl_ip_1': '10.0.0.10',
586       'is_AVPN_service': 'false',
587       'vmx_RSG_name': 'vREXI-affinity',
588       'vmx_int_ctl_forwarding': 'l2',
589       'vmxvre_oam_ip_0': '10.0.0.10',
590       'vmxvpfe_sriov44_0_port_mac': '00:11:22:EF:AC:DF',
591       'vmxvpfe_sriov41_0_port_vlanstrip': 'false',
592       'vmxvpfe_sriov42_0_port_vlanfilter': '4001',
593       'vmxvpfe_sriov44_0_port_unknownunicastallow': 'true',
594       'vmxvre_image_name_0': 'VRE-ENGINE_17.2-S2.1.qcow2',
595       'vmxvre_instance': '0',
596       'vmxvpfe_sriov43_0_port_mac': '00:11:22:EF:AC:DF',
597       'vmxvre_flavor_name': 'ns.c1r16d32.v5',
598       'vmxvpfe_volume_size_0': '40.0',
599       'vmxvpfe_sriov43_0_port_vlanfilter': '4001',
600       'nf_naming': '{ecomp_generated_naming=true}',
601       'nf_naming_code': 'Navneet',
602       'vmxvre_name_0': 'vREXI',
603       'vmxvpfe_sriov42_0_port_vlanstrip': 'false',
604       'vmxvpfe_volume_name_0': 'vPFEXI_FBVolume',
605       'vmx_RSG_id': 'bd89a33c-13c3-4a04-8fde-1a57eb123141',
606       'vmxvpfe_image_name_0': 'VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2',
607       'vmxvpfe_sriov43_0_port_unknownunicastallow': 'true',
608       'vmxvpfe_sriov44_0_port_unknownmulticastallow': 'true',
609       'vmxvre_console': 'vidconsole',
610       'vmxvpfe_sriov44_0_port_vlanfilter': '4001',
611       'vmxvpfe_sriov42_0_port_mac': '00:11:22:EF:AC:DF',
612       'vmxvpfe_volume_id_0': '47cede15-da2f-4397-a101-aa683220aff3',
613       'vmxvpfe_sriov42_0_port_unknownmulticastallow': 'true',
614       'vmxvpfe_sriov44_0_port_vlanstrip': 'false',
615       'vf_module_id': '123',
616       'nf_function': 'JAI',
617       'vmxvpfe_sriov43_0_port_unknownmulticastallow': 'true',
618       'vmxvre_int_ctl_ip_0': '10.0.0.10',
619       'AIC_CLLI': 'get_input:2017488_pasqualevpe0_AIC_CLLI',
620       'vnf_name': 'mtnj309me6vre',
621       'vmxvpfe_sriov41_0_port_unknownunicastallow': 'true',
622       'vmxvre_volume_type_1': 'HITACHI',
623       'vmxvpfe_sriov44_0_port_broadcastallow': 'true',
624       'vmxvre_volume_type_0': 'HITACHI',
625       'vmxvpfe_volume_type_0': 'HITACHI',
626       'vmxvpfe_sriov43_0_port_broadcastallow': 'true',
627       'bandwidth_units': 'get_input:pasqualevpe0_bandwidth_units',
628       'vnf_id': '123',
629       'vmxvre_oam_prefix': '24',
630       'availability_zone_0': 'mtpocfo-kvm-az01',
631       'ASN': 'get_input:2017488_pasqualevpe0_ASN',
632       'vmxvre_chassis_i2cid': '161',
633       'vmxvpfe_name_0': 'vPFEXI',
634       'bandwidth': 'get_input:pasqualevpe0_bandwidth',
635       'availability_zone_max_count': '1',
636       'vmxvre_volume_size_0': '45.0',
637       'vmxvre_volume_size_1': '50.0',
638       'vmxvpfe_sriov42_0_port_broadcastallow': 'true',
639       'vmxvre_oam_gateway': '10.0.0.10',
640       'vmxvre_volume_name_1': 'vREXI_FAVolume',
641       'vmxvre_ore_present': '0',
642       'vmxvre_volume_name_0': 'vREXI_FBVolume',
643       'vmxvre_type': '0',
644       'vnf_instance_name': 'get_input:2017488_pasqualevpe0_vnf_instance_name',
645       'vmxvpfe_sriov41_0_port_unknownmulticastallow': 'true',
646       'oam_net_id': 'b95eeb1d-d55d-4827-abb4-8ebb94941429',
647       'vmx_int_ctl_len': '24',
648       'vmxvpfe_sriov43_0_port_vlanstrip': 'false',
649       'vmxvpfe_sriov41_0_port_broadcastallow': 'true',
650       'vmxvre_volume_id_1': '6e86797e-03cd-4fdc-ba72-2957119c746d',
651       'vmxvpfe_sriov41_0_port_vlanfilter': '4001',
652       'nf_role': 'Testing',
653       'vmxvre_volume_id_0': 'f4eacb79-f687-4e9d-b760-21847c8bb15a',
654       'vmxvpfe_sriov42_0_port_unknownunicastallow': 'true',
655       'vmxvpfe_flavor_name': 'ns.c20r16d25.v5'
656     },
657     'type': 'VF',
658     'modelCustomizationName': '2017-388_PASQUALE-vPE 1',
659     'vfModules': {},
660     'volumeGroups': {}
661   };
662 }