aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/duplicateResourceIdsInDiffAddOnFiles/in/module_8_lb1_vota.yml
diff options
context:
space:
mode:
authorojasdubey <ojas.dubey@amdocs.com>2018-02-22 14:32:06 +0530
committerAvi Gaffa <avi.gaffa@amdocs.com>2018-02-28 09:56:30 +0000
commit51e051e86f9f5d10c9439e9e5e57d1e9ee8f8e06 (patch)
tree957583dc6b93667d7024c7258716d6c6b96776c2 /openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/duplicateResourceIdsInDiffAddOnFiles/in/module_8_lb1_vota.yml
parentbc169d4b132891052cc8c642e18e642afd04464f (diff)
VLAN tagging - Pattern 1A, 1C1
1. Implementation for supporting VLAN tagging in Pattern 1A and 1C1 heats 2. Updated code for switch case refactor with command design pattern 3. Added unit tests and bug fixes Change-Id: I54938ffd6673f865b4506a890ec8e7b9c54597b1 Issue-ID: SDC-1036 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/mixPatterns/duplicateResourceIdsInDiffAddOnFiles/in/module_8_lb1_vota.yml')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/duplicateResourceIdsInDiffAddOnFiles/in/module_8_lb1_vota.yml93
1 files changed, 12 insertions, 81 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/duplicateResourceIdsInDiffAddOnFiles/in/module_8_lb1_vota.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/duplicateResourceIdsInDiffAddOnFiles/in/module_8_lb1_vota.yml
index ebc6ed1212..f7fb6489a3 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/duplicateResourceIdsInDiffAddOnFiles/in/module_8_lb1_vota.yml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/fulltest/mixPatterns/duplicateResourceIdsInDiffAddOnFiles/in/module_8_lb1_vota.yml
@@ -118,104 +118,35 @@ parameters:
type: string
description: oam gw
resources:
-
-
-
lb_0_int_oam_int_0_port:
- type: OS::ContrailV2::VirtualMachineInterface
+ type: OS::Neutron::Port
properties:
- virtual_machine_interface_properties:
- {
- virtual_machine_interface_properties_service_interface_type: { get_param: int_oam_int_net_id },
- }
- virtual_network_refs: [{ get_param: int_oam_int_net_id }]
- security_group_refs: [{ get_param: int_oam_int_sec_group_id}]
+ network: {get_param: int_oam_int_net_id}
lb_0_lb1_gwaf_int_1_port:
- type: OS::ContrailV2::VirtualMachineInterface
+ type: OS::Neutron::Port
properties:
- virtual_machine_interface_properties:
- {
- virtual_machine_interface_properties_service_interface_type: { get_param: lb1_gwaf_int_net_id },
- }
- virtual_network_refs: [{ get_param: lb1_gwaf_int_net_id }]
- security_group_refs: [{ get_param: lb1_gwaf_int_sec_group_id }]
+ network: {get_param: int_oam_int_net_id}
lb_0_oam_protected_2_port:
- type: OS::ContrailV2::VirtualMachineInterface
+ type: OS::Neutron::Port
properties:
- virtual_network_refs: [{ get_param: oam_protected_net }]
- service_health_check_refs:
- - get_resource: lb_oam_protected_hc
- ecmp_hashing_include_fields:
- ecmp_hashing_include_fields_hashing_configured: { get_param: ecmp_hashing_include_fields_hashing_configured }
- ecmp_hashing_include_fields_source_ip: { get_param: ecmp_hashing_include_fields_source_ip }
- ecmp_hashing_include_fields_destination_port: { get_param: ecmp_hashing_include_fields_destination_port }
- ecmp_hashing_include_fields_destination_ip: { get_param: ecmp_hashing_include_fields_destination_ip }
- ecmp_hashing_include_fields_source_port: { get_param: ecmp_hashing_include_fields_source_port }
- ecmp_hashing_include_fields_ip_protocol: { get_param: ecmp_hashing_include_fields_ip_protocol }
- virtual_machine_interface_allowed_address_pairs:
- {
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
- [{
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
- {
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: aap_core_ip_prefix },
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: aap_core_ip_prefix_len },
- },
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac: { get_param: aap_core_mac },
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: aap_core_ha_mode },
- }],
- }
- security_group_refs: [{ get_param: oam_protected_sec_group_id }]
+ network: {get_param: int_oam_int_net_id}
lb_1_int_oam_int_0_port:
- type: OS::ContrailV2::VirtualMachineInterface
+ type: OS::Neutron::Port
properties:
- virtual_machine_interface_properties:
- {
- virtual_machine_interface_properties_service_interface_type: { get_param: int_oam_int_net_id },
- }
- virtual_network_refs: [{ get_param: int_oam_int_net_id }]
- security_group_refs: [{ get_param: int_oam_int_sec_group_id}]
+ network: {get_param: int_oam_int_net_id}
lb_1_lb1_gwaf_int_1_port:
- type: OS::ContrailV2::VirtualMachineInterface
+ type: OS::Neutron::Port
properties:
- virtual_machine_interface_properties:
- {
- virtual_machine_interface_properties_service_interface_type: { get_param: lb1_gwaf_int_net_id },
- }
- virtual_network_refs: [{ get_param: lb1_gwaf_int_net_id }]
- security_group_refs: [{ get_param: lb1_gwaf_int_sec_group_id }]
+ network: {get_param: int_oam_int_net_id}
lb_1_oam_protected_2_port:
- type: OS::ContrailV2::VirtualMachineInterface
+ type: OS::Neutron::Port
properties:
- virtual_network_refs: [{ get_param: oam_protected_net }]
- service_health_check_refs:
- - get_resource: lb_oam_protected_hc
- ecmp_hashing_include_fields:
- ecmp_hashing_include_fields_hashing_configured: { get_param: ecmp_hashing_include_fields_hashing_configured }
- ecmp_hashing_include_fields_source_ip: { get_param: ecmp_hashing_include_fields_source_ip }
- ecmp_hashing_include_fields_destination_port: { get_param: ecmp_hashing_include_fields_destination_port }
- ecmp_hashing_include_fields_destination_ip: { get_param: ecmp_hashing_include_fields_destination_ip }
- ecmp_hashing_include_fields_source_port: { get_param: ecmp_hashing_include_fields_source_port }
- ecmp_hashing_include_fields_ip_protocol: { get_param: ecmp_hashing_include_fields_ip_protocol }
- virtual_machine_interface_allowed_address_pairs:
- {
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair:
- [{
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip:
- {
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix: { get_param: aap_core_ip_prefix },
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_ip_ip_prefix_len: { get_param: aap_core_ip_prefix_len },
- },
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_mac: { get_param: aap_core_mac },
- virtual_machine_interface_allowed_address_pairs_allowed_address_pair_address_mode: { get_param: aap_core_ha_mode },
- }],
- }
- security_group_refs: [{ get_param: oam_protected_sec_group_id }]
+ network: {get_param: int_oam_int_net_id}
lb_0_int_oam_int_0_ip:
type: OS::ContrailV2::InstanceIp