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 {VfModulePopuopService} from "../../../../../shared/components/genericFormPopup/genericFormServices/vfModule/vfModule.popuop.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";
18 class MockAppStore<T> {
25 describe('Related Vnf member Model Info', () => {
27 let httpMock: HttpTestingController;
28 let _dynamicInputsService : DynamicInputsService;
29 let _sharedTreeService : SharedTreeService;
31 let _store : NgRedux<AppState>;
32 let relatedVnfMemeber: RelatedVnfMemberInfoModel;
34 TestBed.configureTestingModule({
35 imports: [HttpClientTestingModule, NgReduxTestingModule],
40 VfModulePopuopService,
42 DefaultDataGeneratorService,
46 }).compileComponents();
48 injector = getTestBed();
49 _sharedTreeService = injector.get(SharedTreeService);
50 _store = injector.get(NgRedux);
52 relatedVnfMemeber = new RelatedVnfMemberInfoModel(
54 _dynamicInputsService,
58 test('relatedVnfMemeber should be defined', () => {
59 expect(relatedVnfMemeber).toBeDefined();
62 test('RelatedVnfMemeber should defined extra details', () => {
63 expect(relatedVnfMemeber.name).toEqual('vnfs');
64 expect(relatedVnfMemeber.type).toEqual('relatedVnfMember');
67 test('isEcompGeneratedNaming should return true if isEcompGeneratedNaming is "true" ', () => {
68 let isEcompGeneratedNaming: boolean = relatedVnfMemeber.isEcompGeneratedNaming(<any>{
70 ecomp_generated_naming: 'true'
73 expect(isEcompGeneratedNaming).toBeTruthy();
76 test('isEcompGeneratedNaming should return false if isEcompGeneratedNaming is "false"', () => {
77 let isEcompGeneratedNaming: boolean = relatedVnfMemeber.isEcompGeneratedNaming({
79 ecomp_generated_naming: 'false'
82 expect(isEcompGeneratedNaming).toBeFalsy();
85 test('isEcompGeneratedNaming should return false if isEcompGeneratedNaming is not defined', () => {
86 let isEcompGeneratedNaming: boolean = relatedVnfMemeber.isEcompGeneratedNaming({
90 expect(isEcompGeneratedNaming).toBeFalsy();
94 test('getTooltip should return "VF"', () => {
95 let tooltip: string = relatedVnfMemeber.getTooltip();
96 expect(tooltip).toEqual('VF');
99 test('getType should return "VF"', () => {
100 let tooltip: string = relatedVnfMemeber.getType();
101 expect(tooltip).toEqual('VF');
104 test('getNextLevelObject should be null', () => {
105 let nextLevel = relatedVnfMemeber.getNextLevelObject();
106 expect(nextLevel).toBeNull();
109 test('getModel should return VNF model', () => {
110 let model: VNFModel = relatedVnfMemeber.getModel('2017-388_ADIOD-vPE 1', <any>{
111 originalName : '2017-388_ADIOD-vPE 1'
112 }, getServiceHierarchy());
113 expect(model.type).toEqual('VF');
117 test('getMenuAction: delete', ()=>{
118 let node = {"modelId":"d6557200-ecf2-4641-8094-5393ae3aae60","missingData":true,"action":"None","inMaint":true,"name":"jlfBwIks283yKlCD8","modelName":"VF_vMee 0","type":"VF","isEcompGeneratedNaming":true,"networkStoreKey":"VF_vMee 0:004","vnfStoreKey":"VF_vMee 0:004","typeName":"VNF"};
119 let serviceModelId = "d6557200-ecf2-4641-8094-5393ae3aae60";
120 let result = relatedVnfMemeber.getMenuAction(<any>node, serviceModelId);
121 spyOn(result['delete'], 'method');
122 expect(result['delete']).toBeDefined();
123 expect(result['delete'].visible).toBeTruthy();
124 expect(result['delete'].enable).toBeTruthy();
125 result['delete']['method'](node, serviceModelId);
126 expect(result['delete']['method']).toHaveBeenCalledWith(node, serviceModelId);
130 test('getMenuAction: undoDelete', ()=>{
131 let node = {"modelId":"d6557200-ecf2-4641-8094-5393ae3aae60","missingData":true,"action":"None","inMaint":true,"name":"jlfBwIks283yKlCD8","modelName":"VF_vMee 0","type":"VF","isEcompGeneratedNaming":true,"networkStoreKey":"VF_vMee 0:004","vnfStoreKey":"VF_vMee 0:004","typeName":"VNF"};
132 let serviceModelId = "d6557200-ecf2-4641-8094-5393ae3aae60";
133 let result = relatedVnfMemeber.getMenuAction(<any>node, serviceModelId);
134 spyOn(result['undoDelete'], 'method');
135 expect(result['undoDelete']).toBeDefined();
136 expect(result['undoDelete'].visible).toBeDefined();
137 expect(result['undoDelete'].enable).toBeDefined();
138 result['undoDelete']['method'](node, serviceModelId);
139 expect(result['undoDelete']['method']).toHaveBeenCalledWith(node, serviceModelId);
144 function getServiceHierarchy(){
147 "uuid": "6b528779-44a3-4472-bdff-9cd15ec93450",
148 "invariantUuid": "e49fbd11-e60c-4a8e-b4bf-30fbe8f4fcc0",
149 "name": "action-data",
151 "toscaModelURL": null,
156 "serviceEcompNaming": "false",
157 "instantiationType": "Macro",
159 "2017488_adiodvpe0_ASN": {
161 "description": "AV/PE",
162 "entry_schema": null,
163 "inputProperties": null,
170 "instantiationUI": "legacy",
171 "modelCategory": "other"
175 "2017-388_ADIOD-vPE 1": {
176 "uuid": "0903e1c0-8e03-4936-b5c2-260653b96413",
177 "invariantUuid": "00beb8f9-6d39-452f-816d-c709b9cbb87d",
178 "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",
179 "name": "2017-388_ADIOD-vPE",
181 "customizationUuid": "280dec31-f16d-488b-9668-4aae55d6648a",
183 "vnf_config_template_version": {
185 "description": "VPE Software Version",
186 "entry_schema": null,
187 "inputProperties": null,
194 "description": "Units of bandwidth",
195 "entry_schema": null,
196 "inputProperties": null,
203 "description": "Requested VPE bandwidth",
204 "entry_schema": null,
205 "inputProperties": null,
212 "description": "AIC Site CLLI",
213 "entry_schema": null,
214 "inputProperties": null,
217 "default": "ATLMY8GA"
221 "description": "AV/PE",
222 "entry_schema": null,
223 "inputProperties": null,
228 "vnf_instance_name": {
230 "description": "The hostname assigned to the vpe.",
231 "entry_schema": null,
232 "inputProperties": null,
235 "default": "mtnj309me6"
239 "vnf_config_template_version": {
240 "displayName": "vnf_config_template_version",
241 "command": "get_input",
242 "inputName": "2017488_adiodvpe0_vnf_config_template_version"
245 "displayName": "bandwidth_units",
246 "command": "get_input",
247 "inputName": "adiodvpe0_bandwidth_units"
250 "displayName": "bandwidth",
251 "command": "get_input",
252 "inputName": "adiodvpe0_bandwidth"
255 "displayName": "AIC_CLLI",
256 "command": "get_input",
257 "inputName": "2017488_adiodvpe0_AIC_CLLI"
260 "displayName": "ASN",
261 "command": "get_input",
262 "inputName": "2017488_adiodvpe0_ASN"
264 "vnf_instance_name": {
265 "displayName": "vnf_instance_name",
266 "command": "get_input",
267 "inputName": "2017488_adiodvpe0_vnf_instance_name"
271 "vmxvre_retype": "RE-VMX",
272 "vnf_config_template_version": "get_input:2017488_adiodvpe0_vnf_config_template_version",
273 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
274 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
275 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
276 "int_ctl_net_name": "VMX-INTXI",
277 "vmx_int_ctl_prefix": "10.0.0.10",
278 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
279 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
280 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
282 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
283 "is_AVPN_service": "false",
284 "vmx_RSG_name": "vREXI-affinity",
285 "vmx_int_ctl_forwarding": "l2",
286 "vmxvre_oam_ip_0": "10.0.0.10",
287 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
288 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
289 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
290 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
291 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
292 "vmxvre_instance": "0",
293 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
294 "vmxvre_flavor_name": "ns.c1r16d32.v5",
295 "vmxvpfe_volume_size_0": "40.0",
296 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
297 "nf_naming": "{ecomp_generated_naming=false}",
298 "nf_naming_code": "Navneet",
299 "vmxvre_name_0": "vREXI",
300 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
301 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
302 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
303 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
304 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
305 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
306 "vmxvre_console": "vidconsole",
307 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
308 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
309 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
310 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
311 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
312 "vf_module_id": "123",
313 "nf_function": "JAI",
314 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
315 "vmxvre_int_ctl_ip_0": "10.0.0.10",
316 "ecomp_generated_naming": "false",
317 "AIC_CLLI": "get_input:2017488_adiodvpe0_AIC_CLLI",
318 "vnf_name": "mtnj309me6vre",
319 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
320 "vmxvre_volume_type_1": "HITACHI",
321 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
322 "vmxvre_volume_type_0": "HITACHI",
323 "vmxvpfe_volume_type_0": "HITACHI",
324 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
325 "bandwidth_units": "get_input:adiodvpe0_bandwidth_units",
327 "vmxvre_oam_prefix": "24",
328 "availability_zone_0": "mtpocfo-kvm-az01",
329 "ASN": "get_input:2017488_adiodvpe0_ASN",
330 "vmxvre_chassis_i2cid": "161",
331 "vmxvpfe_name_0": "vPFEXI",
332 "bandwidth": "get_input:adiodvpe0_bandwidth",
333 "availability_zone_max_count": "1",
334 "vmxvre_volume_size_0": "45.0",
335 "vmxvre_volume_size_1": "50.0",
336 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
337 "vmxvre_oam_gateway": "10.0.0.10",
338 "vmxvre_volume_name_1": "vREXI_FAVolume",
339 "vmxvre_ore_present": "0",
340 "vmxvre_volume_name_0": "vREXI_FBVolume",
342 "vnf_instance_name": "get_input:2017488_adiodvpe0_vnf_instance_name",
343 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
344 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
345 "vmx_int_ctl_len": "24",
346 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
347 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
348 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
349 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
350 "nf_role": "Testing",
351 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
352 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
353 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
356 "modelCustomizationName": "2017-388_ADIOD-vPE 1",
359 "vfcInstanceGroups": {}
361 "2017-388_ADIOD-vPE 0": {
362 "uuid": "afacccf6-397d-45d6-b5ae-94c39734b168",
363 "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
364 "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",
365 "name": "2017-388_ADIOD-vPE",
367 "customizationUuid": "b3c76f73-eeb5-4fb6-9d31-72a889f1811c",
369 "vnf_config_template_version": {
371 "description": "VPE Software Version",
372 "entry_schema": null,
373 "inputProperties": null,
380 "description": "Units of bandwidth",
381 "entry_schema": null,
382 "inputProperties": null,
389 "description": "Requested VPE bandwidth",
390 "entry_schema": null,
391 "inputProperties": null,
398 "description": "AIC Site CLLI",
399 "entry_schema": null,
400 "inputProperties": null,
403 "default": "ATLMY8GA"
407 "description": "AV/PE",
408 "entry_schema": null,
409 "inputProperties": null,
414 "vnf_instance_name": {
416 "description": "The hostname assigned to the vpe.",
417 "entry_schema": null,
418 "inputProperties": null,
421 "default": "mtnj309me6"
425 "vnf_config_template_version": {
426 "displayName": "vnf_config_template_version",
427 "command": "get_input",
428 "inputName": "2017488_adiodvpe0_vnf_config_template_version"
431 "displayName": "bandwidth_units",
432 "command": "get_input",
433 "inputName": "adiodvpe0_bandwidth_units"
436 "displayName": "bandwidth",
437 "command": "get_input",
438 "inputName": "adiodvpe0_bandwidth"
441 "displayName": "AIC_CLLI",
442 "command": "get_input",
443 "inputName": "2017488_adiodvpe0_AIC_CLLI"
446 "displayName": "ASN",
447 "command": "get_input",
448 "inputName": "2017488_adiodvpe0_ASN"
450 "vnf_instance_name": {
451 "displayName": "vnf_instance_name",
452 "command": "get_input",
453 "inputName": "2017488_adiodvpe0_vnf_instance_name"
457 "vmxvre_retype": "RE-VMX",
458 "vnf_config_template_version": "get_input:2017488_adiodvpe0_vnf_config_template_version",
459 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
460 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
461 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
462 "int_ctl_net_name": "VMX-INTXI",
463 "vmx_int_ctl_prefix": "10.0.0.10",
464 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
465 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
466 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
468 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
469 "is_AVPN_service": "false",
470 "vmx_RSG_name": "vREXI-affinity",
471 "vmx_int_ctl_forwarding": "l2",
472 "vmxvre_oam_ip_0": "10.0.0.10",
473 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
474 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
475 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
476 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
477 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
478 "vmxvre_instance": "0",
479 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
480 "vmxvre_flavor_name": "ns.c1r16d32.v5",
481 "vmxvpfe_volume_size_0": "40.0",
482 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
483 "nf_naming": "{ecomp_generated_naming=false}",
484 "nf_naming_code": "Navneet",
485 "vmxvre_name_0": "vREXI",
486 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
487 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
488 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
489 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
490 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
491 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
492 "vmxvre_console": "vidconsole",
493 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
494 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
495 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
496 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
497 "min_instances": "1",
498 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
499 "vf_module_id": "123",
500 "nf_function": "JAI",
501 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
502 "vmxvre_int_ctl_ip_0": "10.0.0.10",
503 "ecomp_generated_naming": "false",
504 "AIC_CLLI": "get_input:2017488_adiodvpe0_AIC_CLLI",
505 "vnf_name": "mtnj309me6vre",
506 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
507 "vmxvre_volume_type_1": "HITACHI",
508 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
509 "vmxvre_volume_type_0": "HITACHI",
510 "vmxvpfe_volume_type_0": "HITACHI",
511 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
512 "bandwidth_units": "get_input:adiodvpe0_bandwidth_units",
514 "vmxvre_oam_prefix": "24",
515 "availability_zone_0": "mtpocfo-kvm-az01",
516 "ASN": "get_input:2017488_adiodvpe0_ASN",
517 "vmxvre_chassis_i2cid": "161",
518 "vmxvpfe_name_0": "vPFEXI",
519 "bandwidth": "get_input:adiodvpe0_bandwidth",
520 "availability_zone_max_count": "1",
521 "vmxvre_volume_size_0": "45.0",
522 "vmxvre_volume_size_1": "50.0",
523 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
524 "vmxvre_oam_gateway": "10.0.0.10",
525 "vmxvre_volume_name_1": "vREXI_FAVolume",
526 "vmxvre_ore_present": "0",
527 "vmxvre_volume_name_0": "vREXI_FBVolume",
529 "vnf_instance_name": "get_input:2017488_adiodvpe0_vnf_instance_name",
530 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
531 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
532 "vmx_int_ctl_len": "24",
533 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
534 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
535 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
536 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
537 "nf_role": "Testing",
538 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
539 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
540 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
543 "modelCustomizationName": "2017-388_ADIOD-vPE 0",
546 "vfcInstanceGroups": {}
548 "2017-488_ADIOD-vPE 0": {
549 "uuid": "69e09f68-8b63-4cc9-b9ff-860960b5db09",
550 "invariantUuid": "72e465fe-71b1-4e7b-b5ed-9496118ff7a8",
551 "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",
552 "name": "2017-488_ADIOD-vPE",
554 "customizationUuid": "1da7b585-5e61-4993-b95e-8e6606c81e45",
556 "vnf_config_template_version": {
558 "description": "VPE Software Version",
559 "entry_schema": null,
560 "inputProperties": null,
567 "description": "Units of bandwidth",
568 "entry_schema": null,
569 "inputProperties": null,
576 "description": "Requested VPE bandwidth",
577 "entry_schema": null,
578 "inputProperties": null,
585 "description": "AIC Site CLLI",
586 "entry_schema": null,
587 "inputProperties": null,
590 "default": "ATLMY8GA"
594 "description": "AV/PE",
595 "entry_schema": null,
596 "inputProperties": null,
601 "vnf_instance_name": {
603 "description": "The hostname assigned to the vpe.",
604 "entry_schema": null,
605 "inputProperties": null,
608 "default": "mtnj309me6"
612 "vnf_config_template_version": {
613 "displayName": "vnf_config_template_version",
614 "command": "get_input",
615 "inputName": "2017488_adiodvpe0_vnf_config_template_version"
618 "displayName": "bandwidth_units",
619 "command": "get_input",
620 "inputName": "adiodvpe0_bandwidth_units"
623 "displayName": "bandwidth",
624 "command": "get_input",
625 "inputName": "adiodvpe0_bandwidth"
628 "displayName": "AIC_CLLI",
629 "command": "get_input",
630 "inputName": "2017488_adiodvpe0_AIC_CLLI"
633 "displayName": "ASN",
634 "command": "get_input",
635 "inputName": "2017488_adiodvpe0_ASN"
637 "vnf_instance_name": {
638 "displayName": "vnf_instance_name",
639 "command": "get_input",
640 "inputName": "2017488_adiodvpe0_vnf_instance_name"
644 "vmxvre_retype": "RE-VMX",
645 "vnf_config_template_version": "get_input:2017488_adiodvpe0_vnf_config_template_version",
646 "sriov44_net_id": "48d399b3-11ee-48a8-94d2-f0ea94d6be8d",
647 "int_ctl_net_id": "2f323477-6936-4d01-ac53-d849430281d9",
648 "vmxvpfe_sriov41_0_port_mac": "00:11:22:EF:AC:DF",
649 "int_ctl_net_name": "VMX-INTXI",
650 "vmx_int_ctl_prefix": "10.0.0.10",
651 "sriov43_net_id": "da349ca1-6de9-4548-be88-2d88e99bfef5",
652 "sriov42_net_id": "760669ba-013d-4d9b-b0e7-4151fe2e6279",
653 "sriov41_net_id": "25ad52d5-c165-40f8-b3b0-ddfc2373280a",
655 "vmxvpfe_int_ctl_ip_1": "10.0.0.10",
656 "is_AVPN_service": "false",
657 "vmx_RSG_name": "vREXI-affinity",
658 "vmx_int_ctl_forwarding": "l2",
659 "vmxvre_oam_ip_0": "10.0.0.10",
660 "vmxvpfe_sriov44_0_port_mac": "00:11:22:EF:AC:DF",
661 "vmxvpfe_sriov41_0_port_vlanstrip": "false",
662 "vmxvpfe_sriov42_0_port_vlanfilter": "4001",
663 "vmxvpfe_sriov44_0_port_unknownunicastallow": "true",
664 "vmxvre_image_name_0": "VRE-ENGINE_17.2-S2.1.qcow2",
665 "vmxvre_instance": "0",
666 "vmxvpfe_sriov43_0_port_mac": "00:11:22:EF:AC:DF",
667 "vmxvre_flavor_name": "ns.c1r16d32.v5",
668 "vmxvpfe_volume_size_0": "40.0",
669 "vmxvpfe_sriov43_0_port_vlanfilter": "4001",
670 "nf_naming": "{ecomp_generated_naming=false}",
671 "nf_naming_code": "Navneet",
672 "vmxvre_name_0": "vREXI",
673 "vmxvpfe_sriov42_0_port_vlanstrip": "false",
674 "vmxvpfe_volume_name_0": "vPFEXI_FBVolume",
675 "max_instances": "3",
676 "vmx_RSG_id": "bd89a33c-13c3-4a04-8fde-1a57eb123141",
677 "vmxvpfe_image_name_0": "VPE_ROUTING-ENGINE_17.2R1-S2.1.qcow2",
678 "vmxvpfe_sriov43_0_port_unknownunicastallow": "true",
679 "vmxvpfe_sriov44_0_port_unknownmulticastallow": "true",
680 "vmxvre_console": "vidconsole",
681 "vmxvpfe_sriov44_0_port_vlanfilter": "4001",
682 "vmxvpfe_sriov42_0_port_mac": "00:11:22:EF:AC:DF",
683 "vmxvpfe_volume_id_0": "47cede15-da2f-4397-a101-aa683220aff3",
684 "vmxvpfe_sriov42_0_port_unknownmulticastallow": "true",
685 "min_instances": "1",
686 "vmxvpfe_sriov44_0_port_vlanstrip": "false",
687 "vf_module_id": "123",
688 "nf_function": "JAI",
689 "vmxvpfe_sriov43_0_port_unknownmulticastallow": "true",
690 "vmxvre_int_ctl_ip_0": "10.0.0.10",
691 "ecomp_generated_naming": "false",
692 "AIC_CLLI": "get_input:2017488_adiodvpe0_AIC_CLLI",
693 "vnf_name": "mtnj309me6vre",
694 "vmxvpfe_sriov41_0_port_unknownunicastallow": "true",
695 "vmxvre_volume_type_1": "HITACHI",
696 "vmxvpfe_sriov44_0_port_broadcastallow": "true",
697 "vmxvre_volume_type_0": "HITACHI",
698 "vmxvpfe_volume_type_0": "HITACHI",
699 "vmxvpfe_sriov43_0_port_broadcastallow": "true",
700 "bandwidth_units": "get_input:adiodvpe0_bandwidth_units",
702 "vmxvre_oam_prefix": "24",
703 "availability_zone_0": "mtpocfo-kvm-az01",
704 "ASN": "get_input:2017488_adiodvpe0_ASN",
705 "vmxvre_chassis_i2cid": "161",
706 "vmxvpfe_name_0": "vPFEXI",
707 "bandwidth": "get_input:adiodvpe0_bandwidth",
708 "availability_zone_max_count": "1",
709 "vmxvre_volume_size_0": "45.0",
710 "vmxvre_volume_size_1": "50.0",
711 "vmxvpfe_sriov42_0_port_broadcastallow": "true",
712 "vmxvre_oam_gateway": "10.0.0.10",
713 "vmxvre_volume_name_1": "vREXI_FAVolume",
714 "vmxvre_ore_present": "0",
715 "vmxvre_volume_name_0": "vREXI_FBVolume",
717 "vnf_instance_name": "get_input:2017488_adiodvpe0_vnf_instance_name",
718 "vmxvpfe_sriov41_0_port_unknownmulticastallow": "true",
719 "oam_net_id": "b95eeb1d-d55d-4827-abb4-8ebb94941429",
720 "vmx_int_ctl_len": "24",
721 "vmxvpfe_sriov43_0_port_vlanstrip": "false",
722 "vmxvpfe_sriov41_0_port_broadcastallow": "true",
723 "vmxvre_volume_id_1": "6e86797e-03cd-4fdc-ba72-2957119c746d",
724 "vmxvpfe_sriov41_0_port_vlanfilter": "4001",
725 "nf_role": "Testing",
726 "vmxvre_volume_id_0": "f4eacb79-f687-4e9d-b760-21847c8bb15a",
727 "vmxvpfe_sriov42_0_port_unknownunicastallow": "true",
728 "vmxvpfe_flavor_name": "ns.c20r16d25.v5"
731 "modelCustomizationName": "2017-488_ADIOD-vPE 0",
733 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vRE_BV..module-1": {
734 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
735 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
736 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
738 "name": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
740 "modelCustomizationName": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
742 "minCountInstances": 0,
743 "maxCountInstances": null,
745 "vfModuleLabel": "ADIOD_vRE_BV",
749 "vnf_config_template_version": {
751 "description": "VPE Software Version",
752 "entry_schema": null,
754 "sourceType": "HEAT",
755 "vfModuleLabel": "ADIOD_vRE_BV",
756 "paramName": "vnf_config_template_version"
758 "fromInputName": "2017488_adiodvpe0_vnf_config_template_version",
765 "description": "Units of bandwidth",
766 "entry_schema": null,
768 "sourceType": "HEAT",
769 "vfModuleLabel": "ADIOD_vRE_BV",
770 "paramName": "bandwidth_units"
772 "fromInputName": "adiodvpe0_bandwidth_units",
779 "description": "Requested VPE bandwidth",
780 "entry_schema": null,
782 "sourceType": "HEAT",
783 "vfModuleLabel": "ADIOD_vRE_BV",
784 "paramName": "bandwidth"
786 "fromInputName": "adiodvpe0_bandwidth",
793 "description": "AIC Site CLLI",
794 "entry_schema": null,
796 "sourceType": "HEAT",
797 "vfModuleLabel": "ADIOD_vRE_BV",
798 "paramName": "AIC_CLLI"
800 "fromInputName": "2017488_adiodvpe0_AIC_CLLI",
803 "default": "ATLMY8GA"
805 "vnf_instance_name": {
807 "description": "The hostname assigned to the vpe.",
808 "entry_schema": null,
810 "sourceType": "HEAT",
811 "vfModuleLabel": "ADIOD_vRE_BV",
812 "paramName": "vnf_instance_name"
814 "fromInputName": "2017488_adiodvpe0_vnf_instance_name",
817 "default": "mtnj309me6"
820 "volumeGroupAllowed": true
822 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_base_vPE_BV..module-0": {
823 "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
824 "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
825 "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
827 "name": "2017488AdiodVpe..ADIOD_base_vPE_BV..module-0",
829 "modelCustomizationName": "2017488AdiodVpe..ADIOD_base_vPE_BV..module-0",
831 "minCountInstances": 1,
832 "maxCountInstances": 1,
834 "vfModuleLabel": "ADIOD_base_vPE_BV",
838 "volumeGroupAllowed": false
840 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vPFE_BV..module-2": {
841 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
842 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
843 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
845 "name": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
847 "modelCustomizationName": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
849 "minCountInstances": 0,
850 "maxCountInstances": null,
852 "vfModuleLabel": "ADIOD_vPFE_BV",
856 "volumeGroupAllowed": true
860 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vRE_BV..module-1": {
861 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
862 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
863 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
865 "name": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
867 "modelCustomizationName": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
869 "minCountInstances": 0,
870 "maxCountInstances": null,
872 "vfModuleLabel": "ADIOD_vRE_BV",
876 "vnf_config_template_version": {
878 "description": "VPE Software Version",
879 "entry_schema": null,
881 "sourceType": "HEAT",
882 "vfModuleLabel": "ADIOD_vRE_BV",
883 "paramName": "vnf_config_template_version"
885 "fromInputName": "2017488_adiodvpe0_vnf_config_template_version",
892 "description": "Units of bandwidth",
893 "entry_schema": null,
895 "sourceType": "HEAT",
896 "vfModuleLabel": "ADIOD_vRE_BV",
897 "paramName": "bandwidth_units"
899 "fromInputName": "adiodvpe0_bandwidth_units",
906 "description": "Requested VPE bandwidth",
907 "entry_schema": null,
909 "sourceType": "HEAT",
910 "vfModuleLabel": "ADIOD_vRE_BV",
911 "paramName": "bandwidth"
913 "fromInputName": "adiodvpe0_bandwidth",
920 "description": "AIC Site CLLI",
921 "entry_schema": null,
923 "sourceType": "HEAT",
924 "vfModuleLabel": "ADIOD_vRE_BV",
925 "paramName": "AIC_CLLI"
927 "fromInputName": "2017488_adiodvpe0_AIC_CLLI",
930 "default": "ATLMY8GA"
932 "vnf_instance_name": {
934 "description": "The hostname assigned to the vpe.",
935 "entry_schema": null,
937 "sourceType": "HEAT",
938 "vfModuleLabel": "ADIOD_vRE_BV",
939 "paramName": "vnf_instance_name"
941 "fromInputName": "2017488_adiodvpe0_vnf_instance_name",
944 "default": "mtnj309me6"
948 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vPFE_BV..module-2": {
949 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
950 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
951 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
953 "name": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
955 "modelCustomizationName": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
957 "minCountInstances": 0,
958 "maxCountInstances": null,
960 "vfModuleLabel": "ADIOD_vPFE_BV",
966 "vfcInstanceGroups": {}
970 "collectionResource": {},
971 "configurations": {},
972 "fabricConfigurations": {},
973 "serviceProxies": {},
975 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vRE_BV..module-1": {
976 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
977 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
978 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
980 "name": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
982 "modelCustomizationName": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
984 "minCountInstances": 0,
985 "maxCountInstances": null,
987 "vfModuleLabel": "ADIOD_vRE_BV",
991 "vnf_config_template_version": {
993 "description": "VPE Software Version",
994 "entry_schema": null,
996 "sourceType": "HEAT",
997 "vfModuleLabel": "ADIOD_vRE_BV",
998 "paramName": "vnf_config_template_version"
1000 "fromInputName": "2017488_adiodvpe0_vnf_config_template_version",
1001 "constraints": null,
1005 "bandwidth_units": {
1007 "description": "Units of bandwidth",
1008 "entry_schema": null,
1009 "inputProperties": {
1010 "sourceType": "HEAT",
1011 "vfModuleLabel": "ADIOD_vRE_BV",
1012 "paramName": "bandwidth_units"
1014 "fromInputName": "adiodvpe0_bandwidth_units",
1015 "constraints": null,
1021 "description": "Requested VPE bandwidth",
1022 "entry_schema": null,
1023 "inputProperties": {
1024 "sourceType": "HEAT",
1025 "vfModuleLabel": "ADIOD_vRE_BV",
1026 "paramName": "bandwidth"
1028 "fromInputName": "adiodvpe0_bandwidth",
1029 "constraints": null,
1035 "description": "AIC Site CLLI",
1036 "entry_schema": null,
1037 "inputProperties": {
1038 "sourceType": "HEAT",
1039 "vfModuleLabel": "ADIOD_vRE_BV",
1040 "paramName": "AIC_CLLI"
1042 "fromInputName": "2017488_adiodvpe0_AIC_CLLI",
1043 "constraints": null,
1045 "default": "ATLMY8GA"
1047 "vnf_instance_name": {
1049 "description": "The hostname assigned to the vpe.",
1050 "entry_schema": null,
1051 "inputProperties": {
1052 "sourceType": "HEAT",
1053 "vfModuleLabel": "ADIOD_vRE_BV",
1054 "paramName": "vnf_instance_name"
1056 "fromInputName": "2017488_adiodvpe0_vnf_instance_name",
1057 "constraints": null,
1059 "default": "mtnj309me6"
1062 "volumeGroupAllowed": true
1064 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_base_vPE_BV..module-0": {
1065 "uuid": "f8360508-3f17-4414-a2ed-6bc71161e8db",
1066 "invariantUuid": "b34833bb-6aa9-4ad6-a831-70b06367a091",
1067 "customizationUuid": "a55961b2-2065-4ab0-a5b7-2fcee1c227e3",
1068 "description": null,
1069 "name": "2017488AdiodVpe..ADIOD_base_vPE_BV..module-0",
1071 "modelCustomizationName": "2017488AdiodVpe..ADIOD_base_vPE_BV..module-0",
1073 "minCountInstances": 1,
1074 "maxCountInstances": 1,
1076 "vfModuleLabel": "ADIOD_base_vPE_BV",
1080 "volumeGroupAllowed": false
1082 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vPFE_BV..module-2": {
1083 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1084 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1085 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1086 "description": null,
1087 "name": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1089 "modelCustomizationName": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1091 "minCountInstances": 0,
1092 "maxCountInstances": null,
1094 "vfModuleLabel": "ADIOD_vPFE_BV",
1098 "volumeGroupAllowed": true
1102 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vRE_BV..module-1": {
1103 "uuid": "25284168-24bb-4698-8cb4-3f509146eca5",
1104 "invariantUuid": "7253ff5c-97f0-4b8b-937c-77aeb4d79aa1",
1105 "customizationUuid": "f7e7c365-60cf-49a9-9ebf-a1aa11b9d401",
1106 "description": null,
1107 "name": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
1109 "modelCustomizationName": "2017488AdiodVpe..ADIOD_vRE_BV..module-1",
1111 "minCountInstances": 0,
1112 "maxCountInstances": null,
1114 "vfModuleLabel": "ADIOD_vRE_BV",
1118 "vnf_config_template_version": {
1120 "description": "VPE Software Version",
1121 "entry_schema": null,
1122 "inputProperties": {
1123 "sourceType": "HEAT",
1124 "vfModuleLabel": "ADIOD_vRE_BV",
1125 "paramName": "vnf_config_template_version"
1127 "fromInputName": "2017488_adiodvpe0_vnf_config_template_version",
1128 "constraints": null,
1132 "bandwidth_units": {
1134 "description": "Units of bandwidth",
1135 "entry_schema": null,
1136 "inputProperties": {
1137 "sourceType": "HEAT",
1138 "vfModuleLabel": "ADIOD_vRE_BV",
1139 "paramName": "bandwidth_units"
1141 "fromInputName": "adiodvpe0_bandwidth_units",
1142 "constraints": null,
1148 "description": "Requested VPE bandwidth",
1149 "entry_schema": null,
1150 "inputProperties": {
1151 "sourceType": "HEAT",
1152 "vfModuleLabel": "ADIOD_vRE_BV",
1153 "paramName": "bandwidth"
1155 "fromInputName": "adiodvpe0_bandwidth",
1156 "constraints": null,
1162 "description": "AIC Site CLLI",
1163 "entry_schema": null,
1164 "inputProperties": {
1165 "sourceType": "HEAT",
1166 "vfModuleLabel": "ADIOD_vRE_BV",
1167 "paramName": "AIC_CLLI"
1169 "fromInputName": "2017488_adiodvpe0_AIC_CLLI",
1170 "constraints": null,
1172 "default": "ATLMY8GA"
1174 "vnf_instance_name": {
1176 "description": "The hostname assigned to the vpe.",
1177 "entry_schema": null,
1178 "inputProperties": {
1179 "sourceType": "HEAT",
1180 "vfModuleLabel": "ADIOD_vRE_BV",
1181 "paramName": "vnf_instance_name"
1183 "fromInputName": "2017488_adiodvpe0_vnf_instance_name",
1184 "constraints": null,
1186 "default": "mtnj309me6"
1190 "2017488_adiodvpe0..2017488AdiodVpe..ADIOD_vPFE_BV..module-2": {
1191 "uuid": "0a0dd9d4-31d3-4c3a-ae89-a02f383e6a9a",
1192 "invariantUuid": "eff8cc59-53a1-4101-aed7-8cf24ecf8339",
1193 "customizationUuid": "3cd946bb-50e0-40d8-96d3-c9023520b557",
1194 "description": null,
1195 "name": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1197 "modelCustomizationName": "2017488AdiodVpe..ADIOD_vPFE_BV..module-2",
1199 "minCountInstances": 0,
1200 "maxCountInstances": null,
1202 "vfModuleLabel": "ADIOD_vPFE_BV",