206adb6d15f8665219fa9b027cdd941c607945a7
[vid.git] / vid-webpack-master / src / app / drawingBoard / service-planning / objectsToTree / models / network / network.model.info.spec.ts
1 import {HttpClientTestingModule, HttpTestingController} from "@angular/common/http/testing";
2 import {getTestBed, TestBed} from "@angular/core/testing";
3 import {MockNgRedux, NgReduxTestingModule} from "@angular-redux/store/testing";
4 import {NetworkModelInfo} from "./network.model.info";
5 import {DynamicInputsService} from "../../dynamicInputs.service";
6 import {SharedTreeService} from "../../shared.tree.service";
7 import {NgRedux} from "@angular-redux/store";
8 import {NetworkPopupService} from "../../../../../shared/components/genericFormPopup/genericFormServices/network/network.popup.service";
9 import {DialogService} from "ng2-bootstrap-modal";
10 import {AvailableNodeIcons} from "../../../available-models-tree/available-models-tree.service";
11 import {DrawingBoardModes} from "../../../drawing-board.modes";
12 import {IframeService} from "../../../../../shared/utils/iframe.service";
13 import {DuplicateService} from "../../../duplicate/duplicate.service";
14 class MockAppStore<T> {
15   getState() {
16     return {
17       global: {
18         'drawingBoardStatus': DrawingBoardModes.CREATE
19       },
20       service : {
21         serviceHierarchy : {
22           'servicedId' : {
23             'networks' : {
24               'networkName' : {
25                 'properties' : {
26                   'max_instances' : 1
27                 }
28               }
29             }
30           }
31         },
32         serviceInstance : {
33           'servicedId' : {
34             'existingNetworksCounterMap' : {
35               'networkId' : 1
36             },
37             'networks' : {
38               'networkName' :{
39                 'action': 'Create',
40                 'originalName' : 'networkName'
41               }
42             }
43           }
44         }
45       }
46     }
47   }
48 }
49 describe('Network Model Info', () => {
50   let injector;
51   let  _dynamicInputsService : DynamicInputsService;
52   let  _sharedTreeService : SharedTreeService;
53   let networkModel: NetworkModelInfo;
54   let _dialogService : DialogService;
55   let _networkPopupService :  NetworkPopupService;
56   let _duplicateService : DuplicateService;
57   let _iframeService : IframeService;
58
59   beforeAll(done => (async () => {
60     TestBed.configureTestingModule({
61       imports: [HttpClientTestingModule, NgReduxTestingModule],
62       providers: [
63         DynamicInputsService,
64         SharedTreeService,
65         DialogService,
66         NetworkPopupService,
67         IframeService,
68         DuplicateService,
69         {provide: NgRedux, useClass: MockAppStore},
70         MockNgRedux]
71     });
72     await TestBed.compileComponents();
73
74     injector = getTestBed();
75     _sharedTreeService = injector.get(SharedTreeService);
76     networkModel = new NetworkModelInfo(_dynamicInputsService, _sharedTreeService, _dialogService, _networkPopupService, _duplicateService, null, _iframeService, MockNgRedux.getInstance());
77   })().then(done).catch(done.fail));
78
79   test('NetworkModelInfo should be defined', () => {
80     expect(NetworkModelInfo).toBeDefined();
81   });
82
83   test('NetworkModelInfo should defined extra details', () => {
84     expect(networkModel.name).toEqual('networks');
85     expect(networkModel.type).toEqual('Network');
86   });
87
88   test('isEcompGeneratedNaming should return true if = isEcompGeneratedNaming is "true" ', () => {
89     let isEcompGeneratedNaming: boolean = networkModel.isEcompGeneratedNaming({
90       properties: {
91         ecomp_generated_naming: 'true'
92       }
93     });
94     expect(isEcompGeneratedNaming).toBeTruthy();
95   });
96
97   test('isEcompGeneratedNaming should return false if isEcompGeneratedNaming is "false"', () => {
98     let isEcompGeneratedNaming: boolean = networkModel.isEcompGeneratedNaming({
99       properties: {
100         ecomp_generated_naming: 'false'
101       }
102     });
103     expect(isEcompGeneratedNaming).toBeFalsy();
104   });
105
106   test('isEcompGeneratedNaming should return false if isEcompGeneratedNaming is not defined', () => {
107     let isEcompGeneratedNaming: boolean = networkModel.isEcompGeneratedNaming({
108       properties: {}
109     });
110     expect(isEcompGeneratedNaming).toBeFalsy();
111   });
112
113   test('getTooltip should return "VF"', () => {
114     let tooltip: string = networkModel.getTooltip();
115     expect(tooltip).toEqual('Network');
116   });
117
118   test('getType should return "VF"', () => {
119     let tooltip: string = networkModel.getType();
120     expect(tooltip).toEqual('Network');
121   });
122
123   test('getNextLevelObject should return null', () => {
124     let nextLevel = networkModel.getNextLevelObject();
125     expect(nextLevel).toBeNull();
126   });
127
128   test('updateDynamicInputsDataFromModel should return empty array', () => {
129     let dynamicInputs = networkModel.updateDynamicInputsDataFromModel({});
130     expect(dynamicInputs).toEqual([]);
131   });
132
133   test('getModel should return Network model', () => {
134     let model = networkModel.getModel('2017-388_ADIOD-vPE 1_1', <any>{}, getServiceHierarchy());
135     expect(model.type).toEqual('VL');
136   });
137
138   test('showNodeIcons should return false if reachLimit of max', ()=>{
139     let serviceId : string = 'servicedId';
140     let node = {
141       data : {
142         id : 'networkId',
143         name : 'networkName',
144         modelCustomizationId : 'modelCustomizationId'
145       }
146     };
147     jest.spyOn(_sharedTreeService, 'getExistingInstancesWithDeleteMode').mockReturnValue(0);
148     jest.spyOn(MockNgRedux.getInstance(), 'getState').mockReturnValue({
149       global : {},
150       service : {
151         serviceHierarchy : {
152           'servicedId' : {
153             'networks' : {
154               'networkName' : {
155                 'properties' : {
156                   'max_instances' : 1
157                 }
158               }
159             }
160           }
161         },
162         serviceInstance : {
163           'servicedId' : {
164             'existingNetworksCounterMap' : {
165               'modelCustomizationId' : 1
166             },
167             'networks' : {
168               'networkName' :{
169
170               }
171             }
172           }
173         }
174       }
175     });
176
177     let result = networkModel.showNodeIcons(<any>node, serviceId);
178     expect(result).toEqual(new AvailableNodeIcons(true , false));
179   });
180
181   test('showNodeIcons should return true if not reachLimit of max', ()=>{
182     let serviceId : string = 'servicedId';
183     let node = {
184       data : {
185         id : 'networkId',
186         name : 'networkName'
187       }
188     };
189     jest.spyOn(_sharedTreeService, 'getExistingInstancesWithDeleteMode').mockReturnValue(0);
190     jest.spyOn(MockNgRedux.getInstance(), 'getState').mockReturnValue({
191       global : {},
192       service : {
193         serviceHierarchy : {
194           'servicedId' : {
195             'networks' : {
196               'networkName' : {
197                 'properties' : {
198                   'max_instances' : 2
199                 }
200               }
201             }
202           }
203         },
204         serviceInstance : {
205           'servicedId' : {
206             'existingNetworksCounterMap' : {
207               'networkId' : 1
208             },
209             'networks' : {
210               'networkName' :{
211
212               }
213             }
214           }
215         }
216       }
217     });
218
219     let result = networkModel.showNodeIcons(<any>node, serviceId);
220     expect(result).toEqual(new AvailableNodeIcons(true , false));
221   });
222
223   test('getNodeCount should return number of nodes', ()=>{
224     let serviceId : string = 'servicedId';
225     jest.spyOn(MockNgRedux.getInstance(), 'getState').mockReturnValue({
226       global : {},
227       service : {
228         serviceHierarchy : {
229           'servicedId' : {
230             'networks' : {
231               'networkName' : {
232                 'properties' : {
233                   'max_instances' : 1
234                 }
235               }
236             }
237           }
238         },
239         serviceInstance : {
240           'servicedId' : {
241             'existingNetworksCounterMap' : {
242               'modelCustomizationId' : 1
243             },
244             'networks' : {
245               'networkName' :{
246                 'action': 'Create',
247                 'originalName' : 'networkName'
248               }
249             }
250           }
251         }
252       }
253     });
254
255     let node = {
256       data : {
257         id : 'networkId',
258         name : 'networkName',
259         action: 'Create',
260         modelCustomizationId : "modelCustomizationId",
261         modelUniqueId: "modelCustomizationId"
262       }
263     };
264     let result = networkModel.getNodeCount(<any>node , serviceId);
265     expect(result).toEqual(1);
266
267     node.data.modelCustomizationId = 'networkId_notExist';
268     node.data.modelUniqueId = 'networkId_notExist';
269     result = networkModel.getNodeCount(<any>node , serviceId);
270     expect(result).toEqual(0);
271   });
272
273   test('getMenuAction: showAuditInfoNetwork', ()=>{
274
275     jest.spyOn(MockNgRedux.getInstance(), 'getState').mockReturnValue({
276       global: {
277         "drawingBoardStatus": DrawingBoardModes.RETRY
278       }
279     });
280     jest.spyOn(_sharedTreeService, 'isRetryMode').mockReturnValue(true);
281     let node = {
282       data : {
283         "modelId": "6b528779-44a3-4472-bdff-9cd15ec93450",
284         "action": "Create",
285         "isFailed": true,
286       }
287     };
288     let serviceModelId = "6b528779-44a3-4472-bdff-9cd15ec93450";
289     let result = networkModel.getMenuAction(<any>node, serviceModelId);
290     spyOn(result['showAuditInfo'], 'method');
291     expect(result['showAuditInfo']).toBeDefined();
292     expect(result['showAuditInfo'].visible(node)).toBeTruthy();
293     expect(result['showAuditInfo'].enable(node)).toBeTruthy();
294     result['showAuditInfo']['method'](node, serviceModelId);
295     expect(result['showAuditInfo']['method']).toHaveBeenCalledWith(node, serviceModelId);
296   });
297
298
299   function getServiceHierarchy(){
300     return {
301       "service": {
302         "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450",
303         "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
304         "name": "action-data",
305         "version": "1.0",
306         "toscaModelURL": null,
307         "category": "",
308         "serviceType": "",
309         "serviceRole": "",
310         "description": "",
311         "serviceEcompNaming": "false",
312         "instantiationType": "Macro",
313         "inputs": {
314           "2017488_adiodvpe0_ASN": {
315             "type": "string",
316             "description": "AV/PE",
317             "entry_schema": null,
318             "inputProperties": null,
319             "constraints": [],
320             "required": true,
321             "default": "AV_vPE"
322           }
323         },
324         "vidNotions": {
325           "instantiationUI": "legacy",
326           "modelCategory": "other"
327         }
328       },
329       "vnfs": {
330         "2017-388_ADIOD-vPE 1": {
331           "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
332           "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
333           "description": "Name ADIOD vPE Description The provider edge function for the ADIOD 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",
334           "name": "2017-388_ADIOD-vPE",
335           "version": "1.0",
336           "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a",
337           "inputs": {
338             "vnf_config_template_version": {
339               "type": "string",
340               "description": "VPE Software Version",
341               "entry_schema": null,
342               "inputProperties": null,
343               "constraints": [],
344               "required": true,
345               "default": "17.2"
346             },
347             "bandwidth_units": {
348               "type": "string",
349               "description": "Units of bandwidth",
350               "entry_schema": null,
351               "inputProperties": null,
352               "constraints": [],
353               "required": true,
354               "default": "Gbps"
355             },
356             "bandwidth": {
357               "type": "string",
358               "description": "Requested VPE bandwidth",
359               "entry_schema": null,
360               "inputProperties": null,
361               "constraints": [],
362               "required": true,
363               "default": "10"
364             },
365             "AIC_CLLI": {
366               "type": "string",
367               "description": "AIC Site CLLI",
368               "entry_schema": null,
369               "inputProperties": null,
370               "constraints": [],
371               "required": true,
372               "default": "ATLMY8GA"
373             },
374             "ASN": {
375               "type": "string",
376               "description": "AV/PE",
377               "entry_schema": null,
378               "inputProperties": null,
379               "constraints": [],
380               "required": true,
381               "default": "AV_vPE"
382             },
383             "vnf_instance_name": {
384               "type": "string",
385               "description": "The hostname assigned to the vpe.",
386               "entry_schema": null,
387               "inputProperties": null,
388               "constraints": [],
389               "required": true,
390               "default": "mtnj309me6"
391             }
392           },
393           "commands": {
394             "vnf_config_template_version": {
395               "displayName": "vnf_config_template_version",
396               "command": "get_input",
397               "inputName": "2017488_adiodvpe0_vnf_config_template_version"
398             },
399             "bandwidth_units": {
400               "displayName": "bandwidth_units",
401               "command": "get_input",
402               "inputName": "adiodvpe0_bandwidth_units"
403             },
404             "bandwidth": {
405               "displayName": "bandwidth",
406               "command": "get_input",
407               "inputName": "adiodvpe0_bandwidth"
408             },
409             "AIC_CLLI": {
410               "displayName": "AIC_CLLI",
411               "command": "get_input",
412               "inputName": "2017488_adiodvpe0_AIC_CLLI"
413             },
414             "ASN": {
415               "displayName": "ASN",
416               "command": "get_input",
417               "inputName": "2017488_adiodvpe0_ASN"
418             },
419             "vnf_instance_name": {
420               "displayName": "vnf_instance_name",
421               "command": "get_input",
422               "inputName": "2017488_adiodvpe0_vnf_instance_name"
423             }
424           },
425           "properties": {
426             "vmxvre_retype": "RE-VMX",
427             "vnf_config_template_version": "get_input:2017488_adiodvpe0_vnf_config_template_version",
428             "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
429             "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
430             "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
431             "int_ctl_net_name": "VMX-INTXI",
432             "vmx_int_ctl_prefix": "10.0.0.10",
433             "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
434             "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
435             "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
436             "nf_type": "vPE",
437             "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
438             "is_AVPN_service": "false",
439             "vmx_RSG_name": "vREXI-affinity",
440             "vmx_int_ctl_forwarding": "l2",
441             "vmxvre_oam_ip_0": "10.0.0.10",
442             "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
443             "vmxvpfe_sriov41_0_port_vlanstrip": "false",
444             "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
445             "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
446             "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
447             "vmxvre_instance": "0",
448             "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
449             "vmxvre_flavor_name": "ns.c1r16d32.v5",
450             "vmxvpfe_volume_size_0": "40.0",
451             "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
452             "nf_naming": "{ecomp_generated_naming=false}",
453             "nf_naming_code": "Navneet",
454             "vmxvre_name_0": "vREXI",
455             "vmxvpfe_sriov42_0_port_vlanstrip": "false",
456             "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
457             "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
458             "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
459             "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
460             "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
461             "vmxvre_console": "vidconsole",
462             "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
463             "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
464             "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
465             "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
466             "vmxvpfe_sriov44_0_port_vlanstrip": "false",
467             "vf_module_id": "123",
468             "nf_function": "JAI",
469             "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
470             "vmxvre_int_ctl_ip_0": "10.0.0.10",
471             "ecomp_generated_naming": "false",
472             "AIC_CLLI": "get_input:2017488_adiodvpe0_AIC_CLLI",
473             "vnf_name": "mtnj309me6vre",
474             "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
475             "vmxvre_volume_type_1": "HITACHI",
476             "vmxvpfe_sriov44_0_port_broadcastallow": "true",
477             "vmxvre_volume_type_0": "HITACHI",
478             "vmxvpfe_volume_type_0": "HITACHI",
479             "vmxvpfe_sriov43_0_port_broadcastallow": "true",
480             "bandwidth_units": "get_input:adiodvpe0_bandwidth_units",
481             "vnf_id": "123",
482             "vmxvre_oam_prefix": "24",
483             "availability_zone_0": "mtpocfo-kvm-az01",
484             "ASN": "get_input:2017488_adiodvpe0_ASN",
485             "vmxvre_chassis_i2cid": "161",
486             "vmxvpfe_name_0": "vPFEXI",
487             "bandwidth": "get_input:adiodvpe0_bandwidth",
488             "availability_zone_max_count": "1",
489             "vmxvre_volume_size_0": "45.0",
490             "vmxvre_volume_size_1": "50.0",
491             "vmxvpfe_sriov42_0_port_broadcastallow": "true",
492             "vmxvre_oam_gateway": "10.0.0.10",
493             "vmxvre_volume_name_1": "vREXI_FAVolume",
494             "vmxvre_ore_present": "0",
495             "vmxvre_volume_name_0": "vREXI_FBVolume",
496             "vmxvre_type": "0",
497             "vnf_instance_name": "get_input:2017488_adiodvpe0_vnf_instance_name",
498             "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
499             "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
500             "vmx_int_ctl_len": "24",
501             "vmxvpfe_sriov43_0_port_vlanstrip": "false",
502             "vmxvpfe_sriov41_0_port_broadcastallow": "true",
503             "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
504             "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
505             "nf_role": "Testing",
506             "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
507             "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
508             "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
509           },
510           "type": "VF",
511           "modelCustomizationName": "2017-388_ADIOD-vPE 1",
512           "vfModules": {},
513           "volumeGroups": {},
514           "vfcInstanceGroups": {}
515         },
516         "2017-388_ADIOD-vPE 0": {
517           "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
518           "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
519           "description": "Name ADIOD vPE Description The provider edge function for the ADIOD service supported by the Junipers VMX product Category Router Vendor Juniper Vendor Release Code 17.2 Owners Mary Fragale. Updated 9-25 to use v8.0 of the Juniper Valid 2 VLM",
520           "name": "2017-388_ADIOD-vPE",
521           "version": "4.0",
522           "customizationUuid": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
523           "inputs": {
524             "vnf_config_template_version": {
525               "type": "string",
526               "description": "VPE Software Version",
527               "entry_schema": null,
528               "inputProperties": null,
529               "constraints": [],
530               "required": true,
531               "default": "17.2"
532             },
533             "bandwidth_units": {
534               "type": "string",
535               "description": "Units of bandwidth",
536               "entry_schema": null,
537               "inputProperties": null,
538               "constraints": [],
539               "required": true,
540               "default": "Gbps"
541             },
542             "bandwidth": {
543               "type": "string",
544               "description": "Requested VPE bandwidth",
545               "entry_schema": null,
546               "inputProperties": null,
547               "constraints": [],
548               "required": true,
549               "default": "10"
550             },
551             "AIC_CLLI": {
552               "type": "string",
553               "description": "AIC Site CLLI",
554               "entry_schema": null,
555               "inputProperties": null,
556               "constraints": [],
557               "required": true,
558               "default": "ATLMY8GA"
559             },
560             "ASN": {
561               "type": "string",
562               "description": "AV/PE",
563               "entry_schema": null,
564               "inputProperties": null,
565               "constraints": [],
566               "required": true,
567               "default": "AV_vPE"
568             },
569             "vnf_instance_name": {
570               "type": "string",
571               "description": "The hostname assigned to the vpe.",
572               "entry_schema": null,
573               "inputProperties": null,
574               "constraints": [],
575               "required": true,
576               "default": "mtnj309me6"
577             }
578           },
579           "commands": {
580             "vnf_config_template_version": {
581               "displayName": "vnf_config_template_version",
582               "command": "get_input",
583               "inputName": "2017488_adiodvpe0_vnf_config_template_version"
584             },
585             "bandwidth_units": {
586               "displayName": "bandwidth_units",
587               "command": "get_input",
588               "inputName": "adiodvpe0_bandwidth_units"
589             },
590             "bandwidth": {
591               "displayName": "bandwidth",
592               "command": "get_input",
593               "inputName": "adiodvpe0_bandwidth"
594             },
595             "AIC_CLLI": {
596               "displayName": "AIC_CLLI",
597               "command": "get_input",
598               "inputName": "2017488_adiodvpe0_AIC_CLLI"
599             },
600             "ASN": {
601               "displayName": "ASN",
602               "command": "get_input",
603               "inputName": "2017488_adiodvpe0_ASN"
604             },
605             "vnf_instance_name": {
606               "displayName": "vnf_instance_name",
607               "command": "get_input",
608               "inputName": "2017488_adiodvpe0_vnf_instance_name"
609             }
610           },
611           "properties": {
612             "vmxvre_retype": "RE-VMX",
613             "vnf_config_template_version": "get_input:2017488_adiodvpe0_vnf_config_template_version",
614             "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
615             "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
616             "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
617             "int_ctl_net_name": "VMX-INTXI",
618             "vmx_int_ctl_prefix": "10.0.0.10",
619             "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
620             "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
621             "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
622             "nf_type": "vPE",
623             "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
624             "is_AVPN_service": "false",
625             "vmx_RSG_name": "vREXI-affinity",
626             "vmx_int_ctl_forwarding": "l2",
627             "vmxvre_oam_ip_0": "10.0.0.10",
628             "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
629             "vmxvpfe_sriov41_0_port_vlanstrip": "false",
630             "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
631             "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
632             "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
633             "vmxvre_instance": "0",
634             "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
635             "vmxvre_flavor_name": "ns.c1r16d32.v5",
636             "vmxvpfe_volume_size_0": "40.0",
637             "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
638             "nf_naming": "{ecomp_generated_naming=false}",
639             "nf_naming_code": "Navneet",
640             "vmxvre_name_0": "vREXI",
641             "vmxvpfe_sriov42_0_port_vlanstrip": "false",
642             "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
643             "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
644             "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
645             "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
646             "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
647             "vmxvre_console": "vidconsole",
648             "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
649             "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
650             "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
651             "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
652             "min_instances": "1",
653             "vmxvpfe_sriov44_0_port_vlanstrip": "false",
654             "vf_module_id": "123",
655             "nf_function": "JAI",
656             "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
657             "vmxvre_int_ctl_ip_0": "10.0.0.10",
658             "ecomp_generated_naming": "false",
659             "AIC_CLLI": "get_input:2017488_adiodvpe0_AIC_CLLI",
660             "vnf_name": "mtnj309me6vre",
661             "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
662             "vmxvre_volume_type_1": "HITACHI",
663             "vmxvpfe_sriov44_0_port_broadcastallow": "true",
664             "vmxvre_volume_type_0": "HITACHI",
665             "vmxvpfe_volume_type_0": "HITACHI",
666             "vmxvpfe_sriov43_0_port_broadcastallow": "true",
667             "bandwidth_units": "get_input:adiodvpe0_bandwidth_units",
668             "vnf_id": "123",
669             "vmxvre_oam_prefix": "24",
670             "availability_zone_0": "mtpocfo-kvm-az01",
671             "ASN": "get_input:2017488_adiodvpe0_ASN",
672             "vmxvre_chassis_i2cid": "161",
673             "vmxvpfe_name_0": "vPFEXI",
674             "bandwidth": "get_input:adiodvpe0_bandwidth",
675             "availability_zone_max_count": "1",
676             "vmxvre_volume_size_0": "45.0",
677             "vmxvre_volume_size_1": "50.0",
678             "vmxvpfe_sriov42_0_port_broadcastallow": "true",
679             "vmxvre_oam_gateway": "10.0.0.10",
680             "vmxvre_volume_name_1": "vREXI_FAVolume",
681             "vmxvre_ore_present": "0",
682             "vmxvre_volume_name_0": "vREXI_FBVolume",
683             "vmxvre_type": "0",
684             "vnf_instance_name": "get_input:2017488_adiodvpe0_vnf_instance_name",
685             "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
686             "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
687             "vmx_int_ctl_len": "24",
688             "vmxvpfe_sriov43_0_port_vlanstrip": "false",
689             "vmxvpfe_sriov41_0_port_broadcastallow": "true",
690             "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
691             "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
692             "nf_role": "Testing",
693             "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
694             "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
695             "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
696           },
697           "type": "VF",
698           "modelCustomizationName": "2017-388_ADIOD-vPE 0",
699           "vfModules": {},
700           "volumeGroups": {},
701           "vfcInstanceGroups": {}
702         },
703         "2017-488_ADIOD-vPE 0": {
704           "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
705           "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
706           "description": "Name ADIOD vPE Description The provider edge function for the ADIOD 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",
707           "name": "2017-488_ADIOD-vPE",
708           "version": "5.0",
709           "customizationUuid": "1da7b585-5e61-4993-b95e-8e6606c81e45",
710           "inputs": {
711             "vnf_config_template_version": {
712               "type": "string",
713               "description": "VPE Software Version",
714               "entry_schema": null,
715               "inputProperties": null,
716               "constraints": [],
717               "required": true,
718               "default": "17.2"
719             },
720             "bandwidth_units": {
721               "type": "string",
722               "description": "Units of bandwidth",
723               "entry_schema": null,
724               "inputProperties": null,
725               "constraints": [],
726               "required": true,
727               "default": "Gbps"
728             },
729             "bandwidth": {
730               "type": "string",
731               "description": "Requested VPE bandwidth",
732               "entry_schema": null,
733               "inputProperties": null,
734               "constraints": [],
735               "required": true,
736               "default": "10"
737             },
738             "AIC_CLLI": {
739               "type": "string",
740               "description": "AIC Site CLLI",
741               "entry_schema": null,
742               "inputProperties": null,
743               "constraints": [],
744               "required": true,
745               "default": "ATLMY8GA"
746             },
747             "ASN": {
748               "type": "string",
749               "description": "AV/PE",
750               "entry_schema": null,
751               "inputProperties": null,
752               "constraints": [],
753               "required": true,
754               "default": "AV_vPE"
755             },
756             "vnf_instance_name": {
757               "type": "string",
758               "description": "The hostname assigned to the vpe.",
759               "entry_schema": null,
760               "inputProperties": null,
761               "constraints": [],
762               "required": true,
763               "default": "mtnj309me6"
764             }
765           },
766           "commands": {
767             "vnf_config_template_version": {
768               "displayName": "vnf_config_template_version",
769               "command": "get_input",
770               "inputName": "2017488_adiodvpe0_vnf_config_template_version"
771             },
772             "bandwidth_units": {
773               "displayName": "bandwidth_units",
774               "command": "get_input",
775               "inputName": "adiodvpe0_bandwidth_units"
776             },
777             "bandwidth": {
778               "displayName": "bandwidth",
779               "command": "get_input",
780               "inputName": "adiodvpe0_bandwidth"
781             },
782             "AIC_CLLI": {
783               "displayName": "AIC_CLLI",
784               "command": "get_input",
785               "inputName": "2017488_adiodvpe0_AIC_CLLI"
786             },
787             "ASN": {
788               "displayName": "ASN",
789               "command": "get_input",
790               "inputName": "2017488_adiodvpe0_ASN"
791             },
792             "vnf_instance_name": {
793               "displayName": "vnf_instance_name",
794               "command": "get_input",
795               "inputName": "2017488_adiodvpe0_vnf_instance_name"
796             }
797           },
798           "properties": {
799             "vmxvre_retype": "RE-VMX",
800             "vnf_config_template_version": "get_input:2017488_adiodvpe0_vnf_config_template_version",
801             "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
802             "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
803             "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
804             "int_ctl_net_name": "VMX-INTXI",
805             "vmx_int_ctl_prefix": "10.0.0.10",
806             "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
807             "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
808             "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
809             "nf_type": "vPE",
810             "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
811             "is_AVPN_service": "false",
812             "vmx_RSG_name": "vREXI-affinity",
813             "vmx_int_ctl_forwarding": "l2",
814             "vmxvre_oam_ip_0": "10.0.0.10",
815             "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
816             "vmxvpfe_sriov41_0_port_vlanstrip": "false",
817             "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
818             "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
819             "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
820             "vmxvre_instance": "0",
821             "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
822             "vmxvre_flavor_name": "ns.c1r16d32.v5",
823             "vmxvpfe_volume_size_0": "40.0",
824             "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
825             "nf_naming": "{ecomp_generated_naming=false}",
826             "nf_naming_code": "Navneet",
827             "vmxvre_name_0": "vREXI",
828             "vmxvpfe_sriov42_0_port_vlanstrip": "false",
829             "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
830             "max_instances": "3",
831             "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
832             "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
833             "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
834             "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
835             "vmxvre_console": "vidconsole",
836             "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
837             "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
838             "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
839             "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
840             "min_instances": "1",
841             "vmxvpfe_sriov44_0_port_vlanstrip": "false",
842             "vf_module_id": "123",
843             "nf_function": "JAI",
844             "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
845             "vmxvre_int_ctl_ip_0": "10.0.0.10",
846             "ecomp_generated_naming": "false",
847             "AIC_CLLI": "get_input:2017488_adiodvpe0_AIC_CLLI",
848             "vnf_name": "mtnj309me6vre",
849             "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
850             "vmxvre_volume_type_1": "HITACHI",
851             "vmxvpfe_sriov44_0_port_broadcastallow": "true",
852             "vmxvre_volume_type_0": "HITACHI",
853             "vmxvpfe_volume_type_0": "HITACHI",
854             "vmxvpfe_sriov43_0_port_broadcastallow": "true",
855             "bandwidth_units": "get_input:adiodvpe0_bandwidth_units",
856             "vnf_id": "123",
857             "vmxvre_oam_prefix": "24",
858             "availability_zone_0": "mtpocfo-kvm-az01",
859             "ASN": "get_input:2017488_adiodvpe0_ASN",
860             "vmxvre_chassis_i2cid": "161",
861             "vmxvpfe_name_0": "vPFEXI",
862             "bandwidth": "get_input:adiodvpe0_bandwidth",
863             "availability_zone_max_count": "1",
864             "vmxvre_volume_size_0": "45.0",
865             "vmxvre_volume_size_1": "50.0",
866             "vmxvpfe_sriov42_0_port_broadcastallow": "true",
867             "vmxvre_oam_gateway": "10.0.0.10",
868             "vmxvre_volume_name_1": "vREXI_FAVolume",
869             "vmxvre_ore_present": "0",
870             "vmxvre_volume_name_0": "vREXI_FBVolume",
871             "vmxvre_type": "0",
872             "vnf_instance_name": "get_input:2017488_adiodvpe0_vnf_instance_name",
873             "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
874             "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
875             "vmx_int_ctl_len": "24",
876             "vmxvpfe_sriov43_0_port_vlanstrip": "false",
877             "vmxvpfe_sriov41_0_port_broadcastallow": "true",
878             "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
879             "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
880             "nf_role": "Testing",
881             "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
882             "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
883             "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
884           },
885           "type": "VF",
886           "modelCustomizationName": "2017-488_ADIOD-vPE 0",
887           "vfModules": {
888             "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vRE_BV..module-1": {
889               "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
890               "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
891               "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
892               "description": null,
893               "name": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
894               "version": "6",
895               "modelCustomizationName": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
896               "properties": {
897                 "minCountInstances": 0,
898                 "maxCountInstances": null,
899                 "initialCount": 0,
900                 "vfModuleLabel": "ADIOD_vRE_BV",
901                 "baseModule": false
902               },
903               "inputs": {
904                 "vnf_config_template_version": {
905                   "type": "string",
906                   "description": "VPE Software Version",
907                   "entry_schema": null,
908                   "inputProperties": {
909                     "sourceType": "HEAT",
910                     "vfModuleLabel": "ADIOD_vRE_BV",
911                     "paramName": "vnf_config_template_version"
912                   },
913                   "fromInputName": "2017488_adiodvpe0_vnf_config_template_version",
914                   "constraints": null,
915                   "required": true,
916                   "default": "17.2"
917                 },
918                 "bandwidth_units": {
919                   "type": "string",
920                   "description": "Units of bandwidth",
921                   "entry_schema": null,
922                   "inputProperties": {
923                     "sourceType": "HEAT",
924                     "vfModuleLabel": "ADIOD_vRE_BV",
925                     "paramName": "bandwidth_units"
926                   },
927                   "fromInputName": "adiodvpe0_bandwidth_units",
928                   "constraints": null,
929                   "required": true,
930                   "default": "Gbps"
931                 },
932                 "bandwidth": {
933                   "type": "string",
934                   "description": "Requested VPE bandwidth",
935                   "entry_schema": null,
936                   "inputProperties": {
937                     "sourceType": "HEAT",
938                     "vfModuleLabel": "ADIOD_vRE_BV",
939                     "paramName": "bandwidth"
940                   },
941                   "fromInputName": "adiodvpe0_bandwidth",
942                   "constraints": null,
943                   "required": true,
944                   "default": "10"
945                 },
946                 "AIC_CLLI": {
947                   "type": "string",
948                   "description": "AIC Site CLLI",
949                   "entry_schema": null,
950                   "inputProperties": {
951                     "sourceType": "HEAT",
952                     "vfModuleLabel": "ADIOD_vRE_BV",
953                     "paramName": "AIC_CLLI"
954                   },
955                   "fromInputName": "2017488_adiodvpe0_AIC_CLLI",
956                   "constraints": null,
957                   "required": true,
958                   "default": "ATLMY8GA"
959                 },
960                 "vnf_instance_name": {
961                   "type": "string",
962                   "description": "The hostname assigned to the vpe.",
963                   "entry_schema": null,
964                   "inputProperties": {
965                     "sourceType": "HEAT",
966                     "vfModuleLabel": "ADIOD_vRE_BV",
967                     "paramName": "vnf_instance_name"
968                   },
969                   "fromInputName": "2017488_adiodvpe0_vnf_instance_name",
970                   "constraints": null,
971                   "required": true,
972                   "default": "mtnj309me6"
973                 }
974               },
975               "volumeGroupAllowed": true
976             },
977             "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_base_vPE_BV..module-0": {
978               "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
979               "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
980               "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
981               "description": null,
982               "name": "2017488AdiodVpe..ADIOD_base_vPE_BV..module-0",
983               "version": "5",
984               "modelCustomizationName": "2017488AdiodVpe..ADIOD_base_vPE_BV..module-0",
985               "properties": {
986                 "minCountInstances": 1,
987                 "maxCountInstances": 1,
988                 "initialCount": 1,
989                 "vfModuleLabel": "ADIOD_base_vPE_BV",
990                 "baseModule": true
991               },
992               "inputs": {},
993               "volumeGroupAllowed": false
994             },
995             "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vPFE_BV..module-2": {
996               "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
997               "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
998               "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
999               "description": null,
1000               "name": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1001               "version": "6",
1002               "modelCustomizationName": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1003               "properties": {
1004                 "minCountInstances": 0,
1005                 "maxCountInstances": null,
1006                 "initialCount": 0,
1007                 "vfModuleLabel": "ADIOD_vPFE_BV",
1008                 "baseModule": false
1009               },
1010               "inputs": {},
1011               "volumeGroupAllowed": true
1012             }
1013           },
1014           "volumeGroups": {
1015             "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vRE_BV..module-1": {
1016               "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
1017               "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
1018               "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
1019               "description": null,
1020               "name": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
1021               "version": "6",
1022               "modelCustomizationName": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
1023               "properties": {
1024                 "minCountInstances": 0,
1025                 "maxCountInstances": null,
1026                 "initialCount": 0,
1027                 "vfModuleLabel": "ADIOD_vRE_BV",
1028                 "baseModule": false
1029               },
1030               "inputs": {
1031                 "vnf_config_template_version": {
1032                   "type": "string",
1033                   "description": "VPE Software Version",
1034                   "entry_schema": null,
1035                   "inputProperties": {
1036                     "sourceType": "HEAT",
1037                     "vfModuleLabel": "ADIOD_vRE_BV",
1038                     "paramName": "vnf_config_template_version"
1039                   },
1040                   "fromInputName": "2017488_adiodvpe0_vnf_config_template_version",
1041                   "constraints": null,
1042                   "required": true,
1043                   "default": "17.2"
1044                 },
1045                 "bandwidth_units": {
1046                   "type": "string",
1047                   "description": "Units of bandwidth",
1048                   "entry_schema": null,
1049                   "inputProperties": {
1050                     "sourceType": "HEAT",
1051                     "vfModuleLabel": "ADIOD_vRE_BV",
1052                     "paramName": "bandwidth_units"
1053                   },
1054                   "fromInputName": "adiodvpe0_bandwidth_units",
1055                   "constraints": null,
1056                   "required": true,
1057                   "default": "Gbps"
1058                 },
1059                 "bandwidth": {
1060                   "type": "string",
1061                   "description": "Requested VPE bandwidth",
1062                   "entry_schema": null,
1063                   "inputProperties": {
1064                     "sourceType": "HEAT",
1065                     "vfModuleLabel": "ADIOD_vRE_BV",
1066                     "paramName": "bandwidth"
1067                   },
1068                   "fromInputName": "adiodvpe0_bandwidth",
1069                   "constraints": null,
1070                   "required": true,
1071                   "default": "10"
1072                 },
1073                 "AIC_CLLI": {
1074                   "type": "string",
1075                   "description": "AIC Site CLLI",
1076                   "entry_schema": null,
1077                   "inputProperties": {
1078                     "sourceType": "HEAT",
1079                     "vfModuleLabel": "ADIOD_vRE_BV",
1080                     "paramName": "AIC_CLLI"
1081                   },
1082                   "fromInputName": "2017488_adiodvpe0_AIC_CLLI",
1083                   "constraints": null,
1084                   "required": true,
1085                   "default": "ATLMY8GA"
1086                 },
1087                 "vnf_instance_name": {
1088                   "type": "string",
1089                   "description": "The hostname assigned to the vpe.",
1090                   "entry_schema": null,
1091                   "inputProperties": {
1092                     "sourceType": "HEAT",
1093                     "vfModuleLabel": "ADIOD_vRE_BV",
1094                     "paramName": "vnf_instance_name"
1095                   },
1096                   "fromInputName": "2017488_adiodvpe0_vnf_instance_name",
1097                   "constraints": null,
1098                   "required": true,
1099                   "default": "mtnj309me6"
1100                 }
1101               }
1102             },
1103             "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vPFE_BV..module-2": {
1104               "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1105               "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1106               "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1107               "description": null,
1108               "name": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1109               "version": "6",
1110               "modelCustomizationName": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1111               "properties": {
1112                 "minCountInstances": 0,
1113                 "maxCountInstances": null,
1114                 "initialCount": 0,
1115                 "vfModuleLabel": "ADIOD_vPFE_BV",
1116                 "baseModule": false
1117               },
1118               "inputs": {}
1119             }
1120           },
1121           "vfcInstanceGroups": {}
1122         }
1123       },
1124       "networks": {
1125         "2017-388_ADIOD-vPE 1_1": {
1126           "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
1127           "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
1128           "description": "Name ADIOD vPE Description The provider edge function for the ADIOD 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",
1129           "name": "2017-388_ADIOD-vPE",
1130           "version": "1.0",
1131           "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a",
1132           "inputs": {
1133             "vnf_config_template_version": {
1134               "type": "string",
1135               "description": "VPE Software Version",
1136               "entry_schema": null,
1137               "inputProperties": null,
1138               "constraints": [],
1139               "required": true,
1140               "default": "17.2"
1141             },
1142             "bandwidth_units": {
1143               "type": "string",
1144               "description": "Units of bandwidth",
1145               "entry_schema": null,
1146               "inputProperties": null,
1147               "constraints": [],
1148               "required": true,
1149               "default": "Gbps"
1150             },
1151             "bandwidth": {
1152               "type": "string",
1153               "description": "Requested VPE bandwidth",
1154               "entry_schema": null,
1155               "inputProperties": null,
1156               "constraints": [],
1157               "required": true,
1158               "default": "10"
1159             },
1160             "AIC_CLLI": {
1161               "type": "string",
1162               "description": "AIC Site CLLI",
1163               "entry_schema": null,
1164               "inputProperties": null,
1165               "constraints": [],
1166               "required": true,
1167               "default": "ATLMY8GA"
1168             },
1169             "ASN": {
1170               "type": "string",
1171               "description": "AV/PE",
1172               "entry_schema": null,
1173               "inputProperties": null,
1174               "constraints": [],
1175               "required": true,
1176               "default": "AV_vPE"
1177             },
1178             "vnf_instance_name": {
1179               "type": "string",
1180               "description": "The hostname assigned to the vpe.",
1181               "entry_schema": null,
1182               "inputProperties": null,
1183               "constraints": [],
1184               "required": true,
1185               "default": "mtnj309me6"
1186             }
1187           },
1188           "commands": {
1189             "vnf_config_template_version": {
1190               "displayName": "vnf_config_template_version",
1191               "command": "get_input",
1192               "inputName": "2017488_adiodvpe0_vnf_config_template_version"
1193             },
1194             "bandwidth_units": {
1195               "displayName": "bandwidth_units",
1196               "command": "get_input",
1197               "inputName": "adiodvpe0_bandwidth_units"
1198             },
1199             "bandwidth": {
1200               "displayName": "bandwidth",
1201               "command": "get_input",
1202               "inputName": "adiodvpe0_bandwidth"
1203             },
1204             "AIC_CLLI": {
1205               "displayName": "AIC_CLLI",
1206               "command": "get_input",
1207               "inputName": "2017488_adiodvpe0_AIC_CLLI"
1208             },
1209             "ASN": {
1210               "displayName": "ASN",
1211               "command": "get_input",
1212               "inputName": "2017488_adiodvpe0_ASN"
1213             },
1214             "vnf_instance_name": {
1215               "displayName": "vnf_instance_name",
1216               "command": "get_input",
1217               "inputName": "2017488_adiodvpe0_vnf_instance_name"
1218             }
1219           },
1220           "properties": {
1221             "vmxvre_retype": "RE-VMX",
1222             "vnf_config_template_version": "get_input:2017488_adiodvpe0_vnf_config_template_version",
1223             "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
1224             "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
1225             "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
1226             "int_ctl_net_name": "VMX-INTXI",
1227             "vmx_int_ctl_prefix": "10.0.0.10",
1228             "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
1229             "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
1230             "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
1231             "nf_type": "vPE",
1232             "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
1233             "is_AVPN_service": "false",
1234             "vmx_RSG_name": "vREXI-affinity",
1235             "vmx_int_ctl_forwarding": "l2",
1236             "vmxvre_oam_ip_0": "10.0.0.10",
1237             "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
1238             "vmxvpfe_sriov41_0_port_vlanstrip": "false",
1239             "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
1240             "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
1241             "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
1242             "vmxvre_instance": "0",
1243             "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
1244             "vmxvre_flavor_name": "ns.c1r16d32.v5",
1245             "vmxvpfe_volume_size_0": "40.0",
1246             "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
1247             "nf_naming": "{ecomp_generated_naming=false}",
1248             "nf_naming_code": "Navneet",
1249             "vmxvre_name_0": "vREXI",
1250             "vmxvpfe_sriov42_0_port_vlanstrip": "false",
1251             "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
1252             "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
1253             "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
1254             "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
1255             "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
1256             "vmxvre_console": "vidconsole",
1257             "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
1258             "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
1259             "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
1260             "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
1261             "vmxvpfe_sriov44_0_port_vlanstrip": "false",
1262             "vf_module_id": "123",
1263             "nf_function": "JAI",
1264             "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
1265             "vmxvre_int_ctl_ip_0": "10.0.0.10",
1266             "ecomp_generated_naming": "false",
1267             "AIC_CLLI": "get_input:2017488_adiodvpe0_AIC_CLLI",
1268             "vnf_name": "mtnj309me6vre",
1269             "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
1270             "vmxvre_volume_type_1": "HITACHI",
1271             "vmxvpfe_sriov44_0_port_broadcastallow": "true",
1272             "vmxvre_volume_type_0": "HITACHI",
1273             "vmxvpfe_volume_type_0": "HITACHI",
1274             "vmxvpfe_sriov43_0_port_broadcastallow": "true",
1275             "bandwidth_units": "get_input:adiodvpe0_bandwidth_units",
1276             "vnf_id": "123",
1277             "vmxvre_oam_prefix": "24",
1278             "availability_zone_0": "mtpocfo-kvm-az01",
1279             "ASN": "get_input:2017488_adiodvpe0_ASN",
1280             "vmxvre_chassis_i2cid": "161",
1281             "vmxvpfe_name_0": "vPFEXI",
1282             "bandwidth": "get_input:adiodvpe0_bandwidth",
1283             "availability_zone_max_count": "1",
1284             "vmxvre_volume_size_0": "45.0",
1285             "vmxvre_volume_size_1": "50.0",
1286             "vmxvpfe_sriov42_0_port_broadcastallow": "true",
1287             "vmxvre_oam_gateway": "10.0.0.10",
1288             "vmxvre_volume_name_1": "vREXI_FAVolume",
1289             "vmxvre_ore_present": "0",
1290             "vmxvre_volume_name_0": "vREXI_FBVolume",
1291             "vmxvre_type": "0",
1292             "vnf_instance_name": "get_input:2017488_adiodvpe0_vnf_instance_name",
1293             "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
1294             "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
1295             "vmx_int_ctl_len": "24",
1296             "vmxvpfe_sriov43_0_port_vlanstrip": "false",
1297             "vmxvpfe_sriov41_0_port_broadcastallow": "true",
1298             "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
1299             "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
1300             "nf_role": "Testing",
1301             "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
1302             "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
1303             "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
1304           },
1305           "type": "VL",
1306           "modelCustomizationName": "2017-388_ADIOD-vPE 1",
1307           "vfModules": {},
1308           "volumeGroups": {},
1309           "vfcInstanceGroups": {}
1310         }
1311       },
1312       "collectionResource": {},
1313       "configurations": {},
1314       "fabricConfigurations": {},
1315       "serviceProxies": {},
1316       "vfModules": {
1317         "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vRE_BV..module-1": {
1318           "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
1319           "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
1320           "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
1321           "description": null,
1322           "name": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
1323           "version": "6",
1324           "modelCustomizationName": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
1325           "properties": {
1326             "minCountInstances": 0,
1327             "maxCountInstances": null,
1328             "initialCount": 0,
1329             "vfModuleLabel": "ADIOD_vRE_BV",
1330             "baseModule": false
1331           },
1332           "inputs": {
1333             "vnf_config_template_version": {
1334               "type": "string",
1335               "description": "VPE Software Version",
1336               "entry_schema": null,
1337               "inputProperties": {
1338                 "sourceType": "HEAT",
1339                 "vfModuleLabel": "ADIOD_vRE_BV",
1340                 "paramName": "vnf_config_template_version"
1341               },
1342               "fromInputName": "2017488_adiodvpe0_vnf_config_template_version",
1343               "constraints": null,
1344               "required": true,
1345               "default": "17.2"
1346             },
1347             "bandwidth_units": {
1348               "type": "string",
1349               "description": "Units of bandwidth",
1350               "entry_schema": null,
1351               "inputProperties": {
1352                 "sourceType": "HEAT",
1353                 "vfModuleLabel": "ADIOD_vRE_BV",
1354                 "paramName": "bandwidth_units"
1355               },
1356               "fromInputName": "adiodvpe0_bandwidth_units",
1357               "constraints": null,
1358               "required": true,
1359               "default": "Gbps"
1360             },
1361             "bandwidth": {
1362               "type": "string",
1363               "description": "Requested VPE bandwidth",
1364               "entry_schema": null,
1365               "inputProperties": {
1366                 "sourceType": "HEAT",
1367                 "vfModuleLabel": "ADIOD_vRE_BV",
1368                 "paramName": "bandwidth"
1369               },
1370               "fromInputName": "adiodvpe0_bandwidth",
1371               "constraints": null,
1372               "required": true,
1373               "default": "10"
1374             },
1375             "AIC_CLLI": {
1376               "type": "string",
1377               "description": "AIC Site CLLI",
1378               "entry_schema": null,
1379               "inputProperties": {
1380                 "sourceType": "HEAT",
1381                 "vfModuleLabel": "ADIOD_vRE_BV",
1382                 "paramName": "AIC_CLLI"
1383               },
1384               "fromInputName": "2017488_adiodvpe0_AIC_CLLI",
1385               "constraints": null,
1386               "required": true,
1387               "default": "ATLMY8GA"
1388             },
1389             "vnf_instance_name": {
1390               "type": "string",
1391               "description": "The hostname assigned to the vpe.",
1392               "entry_schema": null,
1393               "inputProperties": {
1394                 "sourceType": "HEAT",
1395                 "vfModuleLabel": "ADIOD_vRE_BV",
1396                 "paramName": "vnf_instance_name"
1397               },
1398               "fromInputName": "2017488_adiodvpe0_vnf_instance_name",
1399               "constraints": null,
1400               "required": true,
1401               "default": "mtnj309me6"
1402             }
1403           },
1404           "volumeGroupAllowed": true
1405         },
1406         "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_base_vPE_BV..module-0": {
1407           "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
1408           "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
1409           "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
1410           "description": null,
1411           "name": "2017488AdiodVpe..ADIOD_base_vPE_BV..module-0",
1412           "version": "5",
1413           "modelCustomizationName": "2017488AdiodVpe..ADIOD_base_vPE_BV..module-0",
1414           "properties": {
1415             "minCountInstances": 1,
1416             "maxCountInstances": 1,
1417             "initialCount": 1,
1418             "vfModuleLabel": "ADIOD_base_vPE_BV",
1419             "baseModule": true
1420           },
1421           "inputs": {},
1422           "volumeGroupAllowed": false
1423         },
1424         "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vPFE_BV..module-2": {
1425           "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1426           "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1427           "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1428           "description": null,
1429           "name": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1430           "version": "6",
1431           "modelCustomizationName": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1432           "properties": {
1433             "minCountInstances": 0,
1434             "maxCountInstances": null,
1435             "initialCount": 0,
1436             "vfModuleLabel": "ADIOD_vPFE_BV",
1437             "baseModule": false
1438           },
1439           "inputs": {},
1440           "volumeGroupAllowed": true
1441         }
1442       },
1443       "volumeGroups": {
1444         "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vRE_BV..module-1": {
1445           "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
1446           "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
1447           "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
1448           "description": null,
1449           "name": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
1450           "version": "6",
1451           "modelCustomizationName": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
1452           "properties": {
1453             "minCountInstances": 0,
1454             "maxCountInstances": null,
1455             "initialCount": 0,
1456             "vfModuleLabel": "ADIOD_vRE_BV",
1457             "baseModule": false
1458           },
1459           "inputs": {
1460             "vnf_config_template_version": {
1461               "type": "string",
1462               "description": "VPE Software Version",
1463               "entry_schema": null,
1464               "inputProperties": {
1465                 "sourceType": "HEAT",
1466                 "vfModuleLabel": "ADIOD_vRE_BV",
1467                 "paramName": "vnf_config_template_version"
1468               },
1469               "fromInputName": "2017488_adiodvpe0_vnf_config_template_version",
1470               "constraints": null,
1471               "required": true,
1472               "default": "17.2"
1473             },
1474             "bandwidth_units": {
1475               "type": "string",
1476               "description": "Units of bandwidth",
1477               "entry_schema": null,
1478               "inputProperties": {
1479                 "sourceType": "HEAT",
1480                 "vfModuleLabel": "ADIOD_vRE_BV",
1481                 "paramName": "bandwidth_units"
1482               },
1483               "fromInputName": "adiodvpe0_bandwidth_units",
1484               "constraints": null,
1485               "required": true,
1486               "default": "Gbps"
1487             },
1488             "bandwidth": {
1489               "type": "string",
1490               "description": "Requested VPE bandwidth",
1491               "entry_schema": null,
1492               "inputProperties": {
1493                 "sourceType": "HEAT",
1494                 "vfModuleLabel": "ADIOD_vRE_BV",
1495                 "paramName": "bandwidth"
1496               },
1497               "fromInputName": "adiodvpe0_bandwidth",
1498               "constraints": null,
1499               "required": true,
1500               "default": "10"
1501             },
1502             "AIC_CLLI": {
1503               "type": "string",
1504               "description": "AIC Site CLLI",
1505               "entry_schema": null,
1506               "inputProperties": {
1507                 "sourceType": "HEAT",
1508                 "vfModuleLabel": "ADIOD_vRE_BV",
1509                 "paramName": "AIC_CLLI"
1510               },
1511               "fromInputName": "2017488_adiodvpe0_AIC_CLLI",
1512               "constraints": null,
1513               "required": true,
1514               "default": "ATLMY8GA"
1515             },
1516             "vnf_instance_name": {
1517               "type": "string",
1518               "description": "The hostname assigned to the vpe.",
1519               "entry_schema": null,
1520               "inputProperties": {
1521                 "sourceType": "HEAT",
1522                 "vfModuleLabel": "ADIOD_vRE_BV",
1523                 "paramName": "vnf_instance_name"
1524               },
1525               "fromInputName": "2017488_adiodvpe0_vnf_instance_name",
1526               "constraints": null,
1527               "required": true,
1528               "default": "mtnj309me6"
1529             }
1530           }
1531         },
1532         "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vPFE_BV..module-2": {
1533           "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1534           "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1535           "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1536           "description": null,
1537           "name": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1538           "version": "6",
1539           "modelCustomizationName": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1540           "properties": {
1541             "minCountInstances": 0,
1542             "maxCountInstances": null,
1543             "initialCount": 0,
1544             "vfModuleLabel": "ADIOD_vPFE_BV",
1545             "baseModule": false
1546           },
1547           "inputs": {}
1548         }
1549       },
1550       "pnfs": {}
1551     }
1552   }
1553 });