summaryrefslogtreecommitdiffstats
path: root/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/shared/inputfiles/nested1.yml
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/shared/inputfiles/nested1.yml')
-rw-r--r--openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/shared/inputfiles/nested1.yml78
1 files changed, 12 insertions, 66 deletions
diff --git a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/shared/inputfiles/nested1.yml b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/shared/inputfiles/nested1.yml
index 6687a32f2a..ce0336d766 100644
--- a/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/shared/inputfiles/nested1.yml
+++ b/openecomp-be/lib/openecomp-sdc-translator-lib/openecomp-sdc-translator-core/src/test/resources/mock/services/heattotosca/VlanToNetConnection/shared/inputfiles/nested1.yml
@@ -9,6 +9,15 @@ parameters:
p2:
type: string
description: UID of OAM network
+ p3:
+ type: string
+ description: UID of OAM network
+ p4:
+ type: string
+ description: UID of OAM network
+ p5:
+ type: string
+ description: UID of OAM network
cmaui_names:
type: comma_delimited_list
description: CMAUI1, CMAUI2 server names
@@ -61,17 +70,6 @@ parameters:
type: number
resources:
- template_VMInt_OAM_lb_1:
- type: OS::ContrailV2::VirtualMachineInterface
- properties:
- virtual_machine_interface_properties:
- {
- virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
- }
- virtual_network_refs: [{ get_param: shared_network_id1 }]
- port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
- security_group_refs: [{ get_param: oam_sec_group_name}]
-
template_Vlan_1:
type: OS::ContrailV2::VirtualMachineInterface
properties:
@@ -113,18 +111,7 @@ resources:
]
}
virtual_network_refs: [{ get_param: shared_network_id1 }]
- virtual_machine_interface_refs: [{ get_resource: template_VMInt_OAM_lb_1 }]
-
- template_VMInt_OAM_lb_2:
- type: OS::ContrailV2::VirtualMachineInterface
- properties:
- virtual_machine_interface_properties:
- {
- virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
- }
- virtual_network_refs: [{ get_param: p2 }]
- port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
- security_group_refs: [{ get_param: oam_sec_group_name}]
+ virtual_machine_interface_refs: [{ get_param: p3 }]
template_Vlan_2:
type: OS::ContrailV2::VirtualMachineInterface
@@ -167,18 +154,7 @@ resources:
]
}
virtual_network_refs: [{ get_param: p2 }]
- virtual_machine_interface_refs: [{ get_resource: template_VMInt_OAM_lb_2 }]
-
- template_VMInt_OAM_lb_3:
- type: OS::ContrailV2::VirtualMachineInterface
- properties:
- virtual_machine_interface_properties:
- {
- virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
- }
- virtual_network_refs: [{ get_param: p2 },{ get_param: shared_network_id1 }]
- port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
- security_group_refs: [{ get_param: oam_sec_group_name}]
+ virtual_machine_interface_refs: [{ get_param: p4 }]
template_Vlan_3:
type: OS::ContrailV2::VirtualMachineInterface
@@ -221,34 +197,4 @@ resources:
]
}
virtual_network_refs: [{ get_param: p2 },{ get_param: shared_network_id1 }]
- virtual_machine_interface_refs: [{ get_resource: template_VMInt_OAM_lb_3 }]
-
- abc_port_1:
- type: OS::Neutron::Port
- properties:
- network: { get_param: p2 }
- fixed_ips: [{"ip_address": {get_param: [abc_oam_ips, 0]}}]
- security_groups: [{get_param: security_group_name}]
- replacement_policy: AUTO
-
- server_cmaui:
- type: OS::Nova::Server
- properties:
- name: { get_param: [cmaui_names, 0]}
- image: { get_param: cmaui_image }
- availability_zone: { get_param: availability_zone_0 }
- flavor: { get_param: cmaui_flavor }
- networks:
- - port: { get_resource: template_VMInt_OAM_lb_1 }
- - port: { get_resource: template_VMInt_OAM_lb_2 }
- - port: { get_resource: template_VMInt_OAM_lb_3 }
-
- server_abc:
- type: OS::Nova::Server
- properties:
- name: { get_param: [abc_names, 0]}
- image: { get_param: abc_image }
- availability_zone: { get_param: availability_zone_0 }
- flavor: { get_param: abc_flavor }
- networks:
- - port: { get_resource: abc_port_1 } \ No newline at end of file
+ virtual_machine_interface_refs: [{ get_param: p5 }]