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 {DynamicInputsService} from "../../dynamicInputs.service";
5 import {VNFModel} from "../../../../../shared/models/vnfModel";
6 import {SharedTreeService} from "../../shared.tree.service";
7 import {NgRedux} from "@angular-redux/store";
8 import {AppState} from "../../../../../shared/store/reducers";
9 import {DefaultDataGeneratorService} from "../../../../../shared/services/defaultDataServiceGenerator/default.data.generator.service";
10 import {DialogService} from "ng2-bootstrap-modal";
11 import {VfModulePopupService} from "../../../../../shared/components/genericFormPopup/genericFormServices/vfModule/vfModule.popup.service";
12 import {VnfPopupService} from "../../../../../shared/components/genericFormPopup/genericFormServices/vnf/vnf.popup.service";
13 import {DuplicateService} from "../../../duplicate/duplicate.service";
14 import {IframeService} from "../../../../../shared/utils/iframe.service";
15 import {RelatedVnfMemberInfoModel} from "./relatedVnfMember.info.model";
16 import {VfModuleUpgradePopupService} from "../../../../../shared/components/genericFormPopup/genericFormServices/vfModuleUpgrade/vfModule.upgrade.popuop.service";
19 class MockAppStore<T> {
26 describe('Related Vnf member Model Info', () => {
28 let httpMock: HttpTestingController;
29 let _dynamicInputsService : DynamicInputsService;
30 let _sharedTreeService : SharedTreeService;
32 let _store : NgRedux<AppState>;
33 let relatedVnfMemeber: RelatedVnfMemberInfoModel;
35 TestBed.configureTestingModule({
36 imports: [HttpClientTestingModule, NgReduxTestingModule],
42 VfModuleUpgradePopupService,
44 DefaultDataGeneratorService,
48 }).compileComponents();
50 injector = getTestBed();
51 _sharedTreeService = injector.get(SharedTreeService);
52 _store = injector.get(NgRedux);
54 relatedVnfMemeber = new RelatedVnfMemberInfoModel(
56 _dynamicInputsService,
60 test('relatedVnfMemeber should be defined', () => {
61 expect(relatedVnfMemeber).toBeDefined();
64 test('RelatedVnfMemeber should defined extra details', () => {
65 expect(relatedVnfMemeber.name).toEqual('vnfs');
66 expect(relatedVnfMemeber.type).toEqual('relatedVnfMember');
69 test('isEcompGeneratedNaming should return true if isEcompGeneratedNaming is "true" ', () => {
70 let isEcompGeneratedNaming: boolean = relatedVnfMemeber.isEcompGeneratedNaming(<any>{
72 ecomp_generated_naming: 'true'
75 expect(isEcompGeneratedNaming).toBeTruthy();
78 test('isEcompGeneratedNaming should return false if isEcompGeneratedNaming is "false"', () => {
79 let isEcompGeneratedNaming: boolean = relatedVnfMemeber.isEcompGeneratedNaming({
81 ecomp_generated_naming: 'false'
84 expect(isEcompGeneratedNaming).toBeFalsy();
87 test('isEcompGeneratedNaming should return false if isEcompGeneratedNaming is not defined', () => {
88 let isEcompGeneratedNaming: boolean = relatedVnfMemeber.isEcompGeneratedNaming({
92 expect(isEcompGeneratedNaming).toBeFalsy();
96 test('getTooltip should return "VF"', () => {
97 let tooltip: string = relatedVnfMemeber.getTooltip();
98 expect(tooltip).toEqual('VF');
101 test('getType should return "VF"', () => {
102 let tooltip: string = relatedVnfMemeber.getType();
103 expect(tooltip).toEqual('VF');
106 test('getNextLevelObject should be null', () => {
107 let nextLevel = relatedVnfMemeber.getNextLevelObject();
108 expect(nextLevel).toBeNull();
111 test('getModel should return VNF model', () => {
112 let model: VNFModel = relatedVnfMemeber.getModel('2017-388_PASQUALE-vPE 1', <any>{
113 originalName : '2017-388_PASQUALE-vPE 1'
114 }, getServiceHierarchy());
115 expect(model.type).toEqual('VF');
119 test('getMenuAction: delete', ()=>{
120 let node = {"modelId":"d6557200-ecf2-4641-8094-5393ae3aae60","missingData":true,"action":"None","inMaint":true,"name":"jlfBwIks283yKlCD8","modelName":"VF_vGeraldine 0","type":"VF","isEcompGeneratedNaming":true,"networkStoreKey":"VF_vGeraldine 0:004","vnfStoreKey":"VF_vGeraldine 0:004","typeName":"VNF"};
121 let serviceModelId = "d6557200-ecf2-4641-8094-5393ae3aae60";
122 let result = relatedVnfMemeber.getMenuAction(<any>node, serviceModelId);
123 spyOn(result['delete'], 'method');
124 expect(result['delete']).toBeDefined();
125 expect(result['delete'].visible).toBeTruthy();
126 expect(result['delete'].enable).toBeTruthy();
127 result['delete']['method'](node, serviceModelId);
128 expect(result['delete']['method']).toHaveBeenCalledWith(node, serviceModelId);
132 test('getMenuAction: undoDelete', ()=>{
133 let node = {"modelId":"d6557200-ecf2-4641-8094-5393ae3aae60","missingData":true,"action":"None","inMaint":true,"name":"jlfBwIks283yKlCD8","modelName":"VF_vGeraldine 0","type":"VF","isEcompGeneratedNaming":true,"networkStoreKey":"VF_vGeraldine 0:004","vnfStoreKey":"VF_vGeraldine 0:004","typeName":"VNF"};
134 let serviceModelId = "d6557200-ecf2-4641-8094-5393ae3aae60";
135 let result = relatedVnfMemeber.getMenuAction(<any>node, serviceModelId);
136 spyOn(result['undoDelete'], 'method');
137 expect(result['undoDelete']).toBeDefined();
138 expect(result['undoDelete'].visible).toBeDefined();
139 expect(result['undoDelete'].enable).toBeDefined();
140 result['undoDelete']['method'](node, serviceModelId);
141 expect(result['undoDelete']['method']).toHaveBeenCalledWith(node, serviceModelId);
146 function getServiceHierarchy(){
149 "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450",
150 "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
151 "name": "action-data",
153 "toscaModelURL": null,
158 "serviceEcompNaming": "false",
159 "instantiationType": "Macro",
161 "2017488_pasqualevpe0_ASN": {
163 "description": "AV/PE",
164 "entry_schema": null,
165 "inputProperties": null,
172 "instantiationUI": "legacy",
173 "modelCategory": "other"
177 "2017-388_PASQUALE-vPE 1": {
178 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
179 "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
180 "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",
181 "name": "2017-388_PASQUALE-vPE",
183 "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a",
185 "vnf_config_template_version": {
187 "description": "VPE Software Version",
188 "entry_schema": null,
189 "inputProperties": null,
196 "description": "Units of bandwidth",
197 "entry_schema": null,
198 "inputProperties": null,
205 "description": "Requested VPE bandwidth",
206 "entry_schema": null,
207 "inputProperties": null,
214 "description": "AIC Site CLLI",
215 "entry_schema": null,
216 "inputProperties": null,
219 "default": "ATLMY8GA"
223 "description": "AV/PE",
224 "entry_schema": null,
225 "inputProperties": null,
230 "vnf_instance_name": {
232 "description": "The hostname assigned to the vpe.",
233 "entry_schema": null,
234 "inputProperties": null,
237 "default": "mtnj309me6"
241 "vnf_config_template_version": {
242 "displayName": "vnf_config_template_version",
243 "command": "get_input",
244 "inputName": "2017488_pasqualevpe0_vnf_config_template_version"
247 "displayName": "bandwidth_units",
248 "command": "get_input",
249 "inputName": "pasqualevpe0_bandwidth_units"
252 "displayName": "bandwidth",
253 "command": "get_input",
254 "inputName": "pasqualevpe0_bandwidth"
257 "displayName": "AIC_CLLI",
258 "command": "get_input",
259 "inputName": "2017488_pasqualevpe0_AIC_CLLI"
262 "displayName": "ASN",
263 "command": "get_input",
264 "inputName": "2017488_pasqualevpe0_ASN"
266 "vnf_instance_name": {
267 "displayName": "vnf_instance_name",
268 "command": "get_input",
269 "inputName": "2017488_pasqualevpe0_vnf_instance_name"
273 "vmxvre_retype": "RE-VMX",
274 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
275 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
276 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
277 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
278 "int_ctl_net_name": "VMX-INTXI",
279 "vmx_int_ctl_prefix": "10.0.0.10",
280 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
281 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
282 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
284 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
285 "is_AVPN_service": "false",
286 "vmx_RSG_name": "vREXI-affinity",
287 "vmx_int_ctl_forwarding": "l2",
288 "vmxvre_oam_ip_0": "10.0.0.10",
289 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
290 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
291 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
292 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
293 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
294 "vmxvre_instance": "0",
295 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
296 "vmxvre_flavor_name": "ns.c1r16d32.v5",
297 "vmxvpfe_volume_size_0": "40.0",
298 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
299 "nf_naming": "{ecomp_generated_naming=false}",
300 "nf_naming_code": "Navneet",
301 "vmxvre_name_0": "vREXI",
302 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
303 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
304 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
305 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
306 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
307 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
308 "vmxvre_console": "vidconsole",
309 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
310 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
311 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
312 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
313 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
314 "vf_module_id": "123",
315 "nf_function": "JAI",
316 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
317 "vmxvre_int_ctl_ip_0": "10.0.0.10",
318 "ecomp_generated_naming": "false",
319 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
320 "vnf_name": "mtnj309me6vre",
321 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
322 "vmxvre_volume_type_1": "HITACHI",
323 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
324 "vmxvre_volume_type_0": "HITACHI",
325 "vmxvpfe_volume_type_0": "HITACHI",
326 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
327 "bandwidth_units": "get_input:pasqualevpe0_bandwidth_units",
329 "vmxvre_oam_prefix": "24",
330 "availability_zone_0": "mtpocfo-kvm-az01",
331 "ASN": "get_input:2017488_pasqualevpe0_ASN",
332 "vmxvre_chassis_i2cid": "161",
333 "vmxvpfe_name_0": "vPFEXI",
334 "bandwidth": "get_input:pasqualevpe0_bandwidth",
335 "availability_zone_max_count": "1",
336 "vmxvre_volume_size_0": "45.0",
337 "vmxvre_volume_size_1": "50.0",
338 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
339 "vmxvre_oam_gateway": "10.0.0.10",
340 "vmxvre_volume_name_1": "vREXI_FAVolume",
341 "vmxvre_ore_present": "0",
342 "vmxvre_volume_name_0": "vREXI_FBVolume",
344 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
345 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
346 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
347 "vmx_int_ctl_len": "24",
348 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
349 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
350 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
351 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
352 "nf_role": "Testing",
353 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
354 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
355 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
358 "modelCustomizationName": "2017-388_PASQUALE-vPE 1",
361 "vfcInstanceGroups": {}
363 "2017-388_PASQUALE-vPE 0": {
364 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
365 "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
366 "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",
367 "name": "2017-388_PASQUALE-vPE",
369 "customizationUuid": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
371 "vnf_config_template_version": {
373 "description": "VPE Software Version",
374 "entry_schema": null,
375 "inputProperties": null,
382 "description": "Units of bandwidth",
383 "entry_schema": null,
384 "inputProperties": null,
391 "description": "Requested VPE bandwidth",
392 "entry_schema": null,
393 "inputProperties": null,
400 "description": "AIC Site CLLI",
401 "entry_schema": null,
402 "inputProperties": null,
405 "default": "ATLMY8GA"
409 "description": "AV/PE",
410 "entry_schema": null,
411 "inputProperties": null,
416 "vnf_instance_name": {
418 "description": "The hostname assigned to the vpe.",
419 "entry_schema": null,
420 "inputProperties": null,
423 "default": "mtnj309me6"
427 "vnf_config_template_version": {
428 "displayName": "vnf_config_template_version",
429 "command": "get_input",
430 "inputName": "2017488_pasqualevpe0_vnf_config_template_version"
433 "displayName": "bandwidth_units",
434 "command": "get_input",
435 "inputName": "pasqualevpe0_bandwidth_units"
438 "displayName": "bandwidth",
439 "command": "get_input",
440 "inputName": "pasqualevpe0_bandwidth"
443 "displayName": "AIC_CLLI",
444 "command": "get_input",
445 "inputName": "2017488_pasqualevpe0_AIC_CLLI"
448 "displayName": "ASN",
449 "command": "get_input",
450 "inputName": "2017488_pasqualevpe0_ASN"
452 "vnf_instance_name": {
453 "displayName": "vnf_instance_name",
454 "command": "get_input",
455 "inputName": "2017488_pasqualevpe0_vnf_instance_name"
459 "vmxvre_retype": "RE-VMX",
460 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
461 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
462 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
463 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
464 "int_ctl_net_name": "VMX-INTXI",
465 "vmx_int_ctl_prefix": "10.0.0.10",
466 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
467 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
468 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
470 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
471 "is_AVPN_service": "false",
472 "vmx_RSG_name": "vREXI-affinity",
473 "vmx_int_ctl_forwarding": "l2",
474 "vmxvre_oam_ip_0": "10.0.0.10",
475 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
476 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
477 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
478 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
479 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
480 "vmxvre_instance": "0",
481 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
482 "vmxvre_flavor_name": "ns.c1r16d32.v5",
483 "vmxvpfe_volume_size_0": "40.0",
484 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
485 "nf_naming": "{ecomp_generated_naming=false}",
486 "nf_naming_code": "Navneet",
487 "vmxvre_name_0": "vREXI",
488 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
489 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
490 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
491 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
492 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
493 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
494 "vmxvre_console": "vidconsole",
495 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
496 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
497 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
498 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
499 "min_instances": "1",
500 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
501 "vf_module_id": "123",
502 "nf_function": "JAI",
503 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
504 "vmxvre_int_ctl_ip_0": "10.0.0.10",
505 "ecomp_generated_naming": "false",
506 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
507 "vnf_name": "mtnj309me6vre",
508 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
509 "vmxvre_volume_type_1": "HITACHI",
510 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
511 "vmxvre_volume_type_0": "HITACHI",
512 "vmxvpfe_volume_type_0": "HITACHI",
513 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
514 "bandwidth_units": "get_input:pasqualevpe0_bandwidth_units",
516 "vmxvre_oam_prefix": "24",
517 "availability_zone_0": "mtpocfo-kvm-az01",
518 "ASN": "get_input:2017488_pasqualevpe0_ASN",
519 "vmxvre_chassis_i2cid": "161",
520 "vmxvpfe_name_0": "vPFEXI",
521 "bandwidth": "get_input:pasqualevpe0_bandwidth",
522 "availability_zone_max_count": "1",
523 "vmxvre_volume_size_0": "45.0",
524 "vmxvre_volume_size_1": "50.0",
525 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
526 "vmxvre_oam_gateway": "10.0.0.10",
527 "vmxvre_volume_name_1": "vREXI_FAVolume",
528 "vmxvre_ore_present": "0",
529 "vmxvre_volume_name_0": "vREXI_FBVolume",
531 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
532 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
533 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
534 "vmx_int_ctl_len": "24",
535 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
536 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
537 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
538 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
539 "nf_role": "Testing",
540 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
541 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
542 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
545 "modelCustomizationName": "2017-388_PASQUALE-vPE 0",
548 "vfcInstanceGroups": {}
550 "2017-488_PASQUALE-vPE 0": {
551 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
552 "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
553 "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",
554 "name": "2017-488_PASQUALE-vPE",
556 "customizationUuid": "1da7b585-5e61-4993-b95e-8e6606c81e45",
558 "vnf_config_template_version": {
560 "description": "VPE Software Version",
561 "entry_schema": null,
562 "inputProperties": null,
569 "description": "Units of bandwidth",
570 "entry_schema": null,
571 "inputProperties": null,
578 "description": "Requested VPE bandwidth",
579 "entry_schema": null,
580 "inputProperties": null,
587 "description": "AIC Site CLLI",
588 "entry_schema": null,
589 "inputProperties": null,
592 "default": "ATLMY8GA"
596 "description": "AV/PE",
597 "entry_schema": null,
598 "inputProperties": null,
603 "vnf_instance_name": {
605 "description": "The hostname assigned to the vpe.",
606 "entry_schema": null,
607 "inputProperties": null,
610 "default": "mtnj309me6"
614 "vnf_config_template_version": {
615 "displayName": "vnf_config_template_version",
616 "command": "get_input",
617 "inputName": "2017488_pasqualevpe0_vnf_config_template_version"
620 "displayName": "bandwidth_units",
621 "command": "get_input",
622 "inputName": "pasqualevpe0_bandwidth_units"
625 "displayName": "bandwidth",
626 "command": "get_input",
627 "inputName": "pasqualevpe0_bandwidth"
630 "displayName": "AIC_CLLI",
631 "command": "get_input",
632 "inputName": "2017488_pasqualevpe0_AIC_CLLI"
635 "displayName": "ASN",
636 "command": "get_input",
637 "inputName": "2017488_pasqualevpe0_ASN"
639 "vnf_instance_name": {
640 "displayName": "vnf_instance_name",
641 "command": "get_input",
642 "inputName": "2017488_pasqualevpe0_vnf_instance_name"
646 "vmxvre_retype": "RE-VMX",
647 "vnf_config_template_version": "get_input:2017488_pasqualevpe0_vnf_config_template_version",
648 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
649 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
650 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
651 "int_ctl_net_name": "VMX-INTXI",
652 "vmx_int_ctl_prefix": "10.0.0.10",
653 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
654 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
655 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
657 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
658 "is_AVPN_service": "false",
659 "vmx_RSG_name": "vREXI-affinity",
660 "vmx_int_ctl_forwarding": "l2",
661 "vmxvre_oam_ip_0": "10.0.0.10",
662 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
663 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
664 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
665 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
666 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
667 "vmxvre_instance": "0",
668 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
669 "vmxvre_flavor_name": "ns.c1r16d32.v5",
670 "vmxvpfe_volume_size_0": "40.0",
671 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
672 "nf_naming": "{ecomp_generated_naming=false}",
673 "nf_naming_code": "Navneet",
674 "vmxvre_name_0": "vREXI",
675 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
676 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
677 "max_instances": "3",
678 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
679 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
680 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
681 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
682 "vmxvre_console": "vidconsole",
683 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
684 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
685 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
686 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
687 "min_instances": "1",
688 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
689 "vf_module_id": "123",
690 "nf_function": "JAI",
691 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
692 "vmxvre_int_ctl_ip_0": "10.0.0.10",
693 "ecomp_generated_naming": "false",
694 "AIC_CLLI": "get_input:2017488_pasqualevpe0_AIC_CLLI",
695 "vnf_name": "mtnj309me6vre",
696 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
697 "vmxvre_volume_type_1": "HITACHI",
698 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
699 "vmxvre_volume_type_0": "HITACHI",
700 "vmxvpfe_volume_type_0": "HITACHI",
701 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
702 "bandwidth_units": "get_input:pasqualevpe0_bandwidth_units",
704 "vmxvre_oam_prefix": "24",
705 "availability_zone_0": "mtpocfo-kvm-az01",
706 "ASN": "get_input:2017488_pasqualevpe0_ASN",
707 "vmxvre_chassis_i2cid": "161",
708 "vmxvpfe_name_0": "vPFEXI",
709 "bandwidth": "get_input:pasqualevpe0_bandwidth",
710 "availability_zone_max_count": "1",
711 "vmxvre_volume_size_0": "45.0",
712 "vmxvre_volume_size_1": "50.0",
713 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
714 "vmxvre_oam_gateway": "10.0.0.10",
715 "vmxvre_volume_name_1": "vREXI_FAVolume",
716 "vmxvre_ore_present": "0",
717 "vmxvre_volume_name_0": "vREXI_FBVolume",
719 "vnf_instance_name": "get_input:2017488_pasqualevpe0_vnf_instance_name",
720 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
721 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
722 "vmx_int_ctl_len": "24",
723 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
724 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
725 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
726 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
727 "nf_role": "Testing",
728 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
729 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
730 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
733 "modelCustomizationName": "2017-488_PASQUALE-vPE 0",
735 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
736 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
737 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
738 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
740 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
742 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
744 "minCountInstances": 0,
745 "maxCountInstances": null,
747 "vfModuleLabel": "PASQUALE_vRE_BV",
751 "vnf_config_template_version": {
753 "description": "VPE Software Version",
754 "entry_schema": null,
756 "sourceType": "HEAT",
757 "vfModuleLabel": "PASQUALE_vRE_BV",
758 "paramName": "vnf_config_template_version"
760 "fromInputName": "2017488_pasqualevpe0_vnf_config_template_version",
767 "description": "Units of bandwidth",
768 "entry_schema": null,
770 "sourceType": "HEAT",
771 "vfModuleLabel": "PASQUALE_vRE_BV",
772 "paramName": "bandwidth_units"
774 "fromInputName": "pasqualevpe0_bandwidth_units",
781 "description": "Requested VPE bandwidth",
782 "entry_schema": null,
784 "sourceType": "HEAT",
785 "vfModuleLabel": "PASQUALE_vRE_BV",
786 "paramName": "bandwidth"
788 "fromInputName": "pasqualevpe0_bandwidth",
795 "description": "AIC Site CLLI",
796 "entry_schema": null,
798 "sourceType": "HEAT",
799 "vfModuleLabel": "PASQUALE_vRE_BV",
800 "paramName": "AIC_CLLI"
802 "fromInputName": "2017488_pasqualevpe0_AIC_CLLI",
805 "default": "ATLMY8GA"
807 "vnf_instance_name": {
809 "description": "The hostname assigned to the vpe.",
810 "entry_schema": null,
812 "sourceType": "HEAT",
813 "vfModuleLabel": "PASQUALE_vRE_BV",
814 "paramName": "vnf_instance_name"
816 "fromInputName": "2017488_pasqualevpe0_vnf_instance_name",
819 "default": "mtnj309me6"
822 "volumeGroupAllowed": true
824 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
825 "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
826 "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
827 "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
829 "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
831 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
833 "minCountInstances": 1,
834 "maxCountInstances": 1,
836 "vfModuleLabel": "PASQUALE_base_vPE_BV",
840 "volumeGroupAllowed": false
842 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
843 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
844 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
845 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
847 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
849 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
851 "minCountInstances": 0,
852 "maxCountInstances": null,
854 "vfModuleLabel": "PASQUALE_vPFE_BV",
858 "volumeGroupAllowed": true
862 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
863 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
864 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
865 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
867 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
869 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
871 "minCountInstances": 0,
872 "maxCountInstances": null,
874 "vfModuleLabel": "PASQUALE_vRE_BV",
878 "vnf_config_template_version": {
880 "description": "VPE Software Version",
881 "entry_schema": null,
883 "sourceType": "HEAT",
884 "vfModuleLabel": "PASQUALE_vRE_BV",
885 "paramName": "vnf_config_template_version"
887 "fromInputName": "2017488_pasqualevpe0_vnf_config_template_version",
894 "description": "Units of bandwidth",
895 "entry_schema": null,
897 "sourceType": "HEAT",
898 "vfModuleLabel": "PASQUALE_vRE_BV",
899 "paramName": "bandwidth_units"
901 "fromInputName": "pasqualevpe0_bandwidth_units",
908 "description": "Requested VPE bandwidth",
909 "entry_schema": null,
911 "sourceType": "HEAT",
912 "vfModuleLabel": "PASQUALE_vRE_BV",
913 "paramName": "bandwidth"
915 "fromInputName": "pasqualevpe0_bandwidth",
922 "description": "AIC Site CLLI",
923 "entry_schema": null,
925 "sourceType": "HEAT",
926 "vfModuleLabel": "PASQUALE_vRE_BV",
927 "paramName": "AIC_CLLI"
929 "fromInputName": "2017488_pasqualevpe0_AIC_CLLI",
932 "default": "ATLMY8GA"
934 "vnf_instance_name": {
936 "description": "The hostname assigned to the vpe.",
937 "entry_schema": null,
939 "sourceType": "HEAT",
940 "vfModuleLabel": "PASQUALE_vRE_BV",
941 "paramName": "vnf_instance_name"
943 "fromInputName": "2017488_pasqualevpe0_vnf_instance_name",
946 "default": "mtnj309me6"
950 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
951 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
952 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
953 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
955 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
957 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
959 "minCountInstances": 0,
960 "maxCountInstances": null,
962 "vfModuleLabel": "PASQUALE_vPFE_BV",
968 "vfcInstanceGroups": {}
972 "collectionResources": {},
973 "configurations": {},
974 "fabricConfigurations": {},
975 "serviceProxies": {},
977 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
978 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
979 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
980 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
982 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
984 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
986 "minCountInstances": 0,
987 "maxCountInstances": null,
989 "vfModuleLabel": "PASQUALE_vRE_BV",
993 "vnf_config_template_version": {
995 "description": "VPE Software Version",
996 "entry_schema": null,
998 "sourceType": "HEAT",
999 "vfModuleLabel": "PASQUALE_vRE_BV",
1000 "paramName": "vnf_config_template_version"
1002 "fromInputName": "2017488_pasqualevpe0_vnf_config_template_version",
1003 "constraints": null,
1007 "bandwidth_units": {
1009 "description": "Units of bandwidth",
1010 "entry_schema": null,
1011 "inputProperties": {
1012 "sourceType": "HEAT",
1013 "vfModuleLabel": "PASQUALE_vRE_BV",
1014 "paramName": "bandwidth_units"
1016 "fromInputName": "pasqualevpe0_bandwidth_units",
1017 "constraints": null,
1023 "description": "Requested VPE bandwidth",
1024 "entry_schema": null,
1025 "inputProperties": {
1026 "sourceType": "HEAT",
1027 "vfModuleLabel": "PASQUALE_vRE_BV",
1028 "paramName": "bandwidth"
1030 "fromInputName": "pasqualevpe0_bandwidth",
1031 "constraints": null,
1037 "description": "AIC Site CLLI",
1038 "entry_schema": null,
1039 "inputProperties": {
1040 "sourceType": "HEAT",
1041 "vfModuleLabel": "PASQUALE_vRE_BV",
1042 "paramName": "AIC_CLLI"
1044 "fromInputName": "2017488_pasqualevpe0_AIC_CLLI",
1045 "constraints": null,
1047 "default": "ATLMY8GA"
1049 "vnf_instance_name": {
1051 "description": "The hostname assigned to the vpe.",
1052 "entry_schema": null,
1053 "inputProperties": {
1054 "sourceType": "HEAT",
1055 "vfModuleLabel": "PASQUALE_vRE_BV",
1056 "paramName": "vnf_instance_name"
1058 "fromInputName": "2017488_pasqualevpe0_vnf_instance_name",
1059 "constraints": null,
1061 "default": "mtnj309me6"
1064 "volumeGroupAllowed": true
1066 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0": {
1067 "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
1068 "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
1069 "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
1070 "description": null,
1071 "name": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
1073 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_base_vPE_BV..module-0",
1075 "minCountInstances": 1,
1076 "maxCountInstances": 1,
1078 "vfModuleLabel": "PASQUALE_base_vPE_BV",
1082 "volumeGroupAllowed": false
1084 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
1085 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1086 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1087 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1088 "description": null,
1089 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1091 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1093 "minCountInstances": 0,
1094 "maxCountInstances": null,
1096 "vfModuleLabel": "PASQUALE_vPFE_BV",
1100 "volumeGroupAllowed": true
1104 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vRE_BV..module-1": {
1105 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
1106 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
1107 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
1108 "description": null,
1109 "name": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1111 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vRE_BV..module-1",
1113 "minCountInstances": 0,
1114 "maxCountInstances": null,
1116 "vfModuleLabel": "PASQUALE_vRE_BV",
1120 "vnf_config_template_version": {
1122 "description": "VPE Software Version",
1123 "entry_schema": null,
1124 "inputProperties": {
1125 "sourceType": "HEAT",
1126 "vfModuleLabel": "PASQUALE_vRE_BV",
1127 "paramName": "vnf_config_template_version"
1129 "fromInputName": "2017488_pasqualevpe0_vnf_config_template_version",
1130 "constraints": null,
1134 "bandwidth_units": {
1136 "description": "Units of bandwidth",
1137 "entry_schema": null,
1138 "inputProperties": {
1139 "sourceType": "HEAT",
1140 "vfModuleLabel": "PASQUALE_vRE_BV",
1141 "paramName": "bandwidth_units"
1143 "fromInputName": "pasqualevpe0_bandwidth_units",
1144 "constraints": null,
1150 "description": "Requested VPE bandwidth",
1151 "entry_schema": null,
1152 "inputProperties": {
1153 "sourceType": "HEAT",
1154 "vfModuleLabel": "PASQUALE_vRE_BV",
1155 "paramName": "bandwidth"
1157 "fromInputName": "pasqualevpe0_bandwidth",
1158 "constraints": null,
1164 "description": "AIC Site CLLI",
1165 "entry_schema": null,
1166 "inputProperties": {
1167 "sourceType": "HEAT",
1168 "vfModuleLabel": "PASQUALE_vRE_BV",
1169 "paramName": "AIC_CLLI"
1171 "fromInputName": "2017488_pasqualevpe0_AIC_CLLI",
1172 "constraints": null,
1174 "default": "ATLMY8GA"
1176 "vnf_instance_name": {
1178 "description": "The hostname assigned to the vpe.",
1179 "entry_schema": null,
1180 "inputProperties": {
1181 "sourceType": "HEAT",
1182 "vfModuleLabel": "PASQUALE_vRE_BV",
1183 "paramName": "vnf_instance_name"
1185 "fromInputName": "2017488_pasqualevpe0_vnf_instance_name",
1186 "constraints": null,
1188 "default": "mtnj309me6"
1192 "2017488_pasqualevpe0..2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2": {
1193 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1194 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1195 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1196 "description": null,
1197 "name": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1199 "modelCustomizationName": "2017488PasqualeVpe..PASQUALE_vPFE_BV..module-2",
1201 "minCountInstances": 0,
1202 "maxCountInstances": null,
1204 "vfModuleLabel": "PASQUALE_vPFE_BV",