summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/vdbeav/out/MainServiceTemplate.yaml
diff options
context:
space:
mode:
authorojasdubey <ojas.dubey@amdocs.com>2018-11-29 20:46:49 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-12-02 09:47:45 +0000
commit6ce1094d509195fe484761467a67a6b3757593b0 (patch)
tree4c3b0df6711f80c0f20c20ccf013727ff90428d5 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/vdbeav/out/MainServiceTemplate.yaml
parentc2a1b7c2eea934f309838f0082b2b851012be9a1 (diff)
Fix - Port type and vmtype underscore issue
1. Fix for consolidation of VMs for cases when: a. VM type contains an underscore b. Multiple ports per network role 2. Updated the unit test cases and test data Change-Id: I875f3c8384f8ef2c2aa6add9e30a5f8899ae1a71 Issue-ID: SDC-1966 Signed-off-by: ojasdubey <ojas.dubey@amdocs.com>
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/vdbeav/out/MainServiceTemplate.yaml')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/vdbeav/out/MainServiceTemplate.yaml52
1 files changed, 26 insertions, 26 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/vdbeav/out/MainServiceTemplate.yaml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/vdbeav/out/MainServiceTemplate.yaml
index c0685e95b0..e56c23ffd7 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/vdbeav/out/MainServiceTemplate.yaml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/subinterface/vlantagging/vfcInstanceGroup/vdbeav/out/MainServiceTemplate.yaml
@@ -903,6 +903,16 @@ topology_template:
get_input: vnf_name
subinterface_vdbeav_subinterface_heat_template_aap_sec_untrusted_ip_prefix_len:
- get_input: vdbe_aap_sec_untrusted_ip_prefix_len
+ port_vdbe_untr_vmi_1_name:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_1
+ port_vdbe_untr_vmi_1_virtual_network_refs:
+ - - get_input: untrusted_net_name
port_vdbe_fabr_1_port_name:
- str_replace:
template: VM_NAMEDBE001p1n003
@@ -929,14 +939,6 @@ topology_template:
get_input: vdbe_device_name
VM_NAME:
get_input: vdbe_name_1
- port_vdbe_untr_vmi_name:
- - str_replace:
- template: VM_NAMEDBE001p1n004
- params:
- DBE:
- get_input: vdbe_device_name
- VM_NAME:
- get_input: vdbe_name_1
subinterface_vdbeav_subinterface_heat_template_aap_untrusted_ip_prefix_len:
- get_input: vdbe_aap_untrusted_ip_prefix_len
compute_vdbe_name:
@@ -949,8 +951,6 @@ topology_template:
- get_input: vdbe_untrusted_ip_1
subinterface_vdbeav_subinterface_heat_template_vmac_address:
- get_input: vdbe_untrusted_vmac_address
- port_vdbe_untr_vmi_virtual_machine_interface_mac_addresses:
- - - get_input: vdbe_hw_untr_mac_1
port_vdbe_ctrl_1_port_name:
- str_replace:
template: VM_NAMEDBE001p1n002
@@ -963,8 +963,6 @@ topology_template:
- group: vdbe_ServerGroup_group
subinterface_vdbeav_subinterface_heat_template_aap_untrusted_v6_ip_prefix_len:
- get_input: vdbe_aap_untrusted_v6_ip_prefix_len
- port_vdbe_untr_vmi_virtual_network_refs:
- - - get_input: untrusted_net_name
port_vdbe_trst_1_port_virtual_machine_interface_mac_addresses:
- - get_input: vdbe_hw_trst_mac_1
subinterface_vdbeav_subinterface_heat_template_aap_sec_untrusted_ip_prefix:
@@ -973,6 +971,8 @@ topology_template:
- - get_input: oam_net_name
port_vdbe_ctrl_1_port_virtual_network_refs:
- - control_int_net
+ port_vdbe_untr_vmi_1_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_1
subinterface_vdbeav_subinterface_heat_template_aap_untrusted_v6_ip_prefix:
- get_input: vdbe_aap_untrusted_v6_ip_prefix
subinterface_vdbeav_subinterface_heat_template_ip_v6_address:
@@ -1030,6 +1030,14 @@ topology_template:
- get_input: vdbe_aap_sec_untrusted_ip_prefix_len
port_vdbe_oam_0_port_virtual_network_refs:
- - get_input: oam_net_name
+ port_vdbe_untr_vmi_1_name:
+ - str_replace:
+ template: VM_NAMEDBE001p1n004
+ params:
+ DBE:
+ get_input: vdbe_device_name
+ VM_NAME:
+ get_input: vdbe_name_0
port_vdbe_trst_0_port_name:
- str_replace:
template: VM_NAMEDBE001p1n005
@@ -1038,8 +1046,10 @@ topology_template:
get_input: vdbe_device_name
VM_NAME:
get_input: vdbe_name_0
+ port_vdbe_untr_vmi_1_virtual_network_refs:
+ - - get_input: untrusted_net_name
subinterface_vdbeav_subinterface_heat_template_parent_interface:
- - vdbe_0_untr_vmi_0
+ - vdbe_0_untr_vmi_1
subinterface_vdbeav_subinterface_heat_template_aap_untrusted_ip_prefix:
- get_input: vdbe_aap_untrusted_ip_prefix
subinterface_vdbeav_subinterface_heat_template_vlan_tag_list:
@@ -1054,14 +1064,6 @@ topology_template:
get_input: vdbe_device_name
VM_NAME:
get_input: vdbe_name_0
- port_vdbe_untr_vmi_name:
- - str_replace:
- template: VM_NAMEDBE001p1n004
- params:
- DBE:
- get_input: vdbe_device_name
- VM_NAME:
- get_input: vdbe_name_0
subinterface_vdbeav_subinterface_heat_template_aap_untrusted_ip_prefix_len:
- get_input: vdbe_aap_untrusted_ip_prefix_len
port_vdbe_fabr_0_port_virtual_network_refs:
@@ -1076,14 +1078,10 @@ topology_template:
- get_input: vdbe_untrusted_ip_0
subinterface_vdbeav_subinterface_heat_template_vmac_address:
- get_input: vdbe_untrusted_vmac_address
- port_vdbe_untr_vmi_virtual_machine_interface_mac_addresses:
- - - get_input: vdbe_hw_untr_mac_0
compute_vdbe_scheduler_hints:
- group: vdbe_ServerGroup_group
subinterface_vdbeav_subinterface_heat_template_aap_untrusted_v6_ip_prefix_len:
- get_input: vdbe_aap_untrusted_v6_ip_prefix_len
- port_vdbe_untr_vmi_virtual_network_refs:
- - - get_input: untrusted_net_name
port_vdbe_oam_0_port_name:
- str_replace:
template: VM_NAMEDBE001p1n001
@@ -1096,6 +1094,8 @@ topology_template:
- get_input: vdbe_aap_sec_untrusted_ip_prefix
port_vdbe_oam_0_port_virtual_machine_interface_mac_addresses:
- - get_input: vdbe_oam_mac_0
+ port_vdbe_untr_vmi_1_virtual_machine_interface_mac_addresses:
+ - - get_input: vdbe_hw_untr_mac_0
subinterface_vdbeav_subinterface_heat_template_aap_untrusted_v6_ip_prefix:
- get_input: vdbe_aap_untrusted_v6_ip_prefix
port_vdbe_fabr_0_port_name:
@@ -1171,4 +1171,4 @@ topology_template:
properties:
container_type: host
targets:
- - vdbe_ServerGroup_group \ No newline at end of file
+ - vdbe_ServerGroup_group