[SDC-29] Amdocs OnBoard 1707 initial commit.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / VMInterfaceToNettworkConnection / nestedMultiLevels / inputfiles / nested2.yml
1 heat_template_version: 2013-05-23
2
3 description: nested2
4
5 parameters:
6   lb_st_interface_type_oam:
7     type: string
8   template_PortTuple_LB1:
9     type: string
10   oam_sec_group_name:
11     type: string
12   p1:
13     type: string
14     description: UID of OAM network
15   p2:
16     type: string
17     description: UID of OAM network
18   security_group_name:
19     type: comma_delimited_list
20     description: CMAUI1, CMAUI2 server names
21   cmaui_names:
22     type: comma_delimited_list
23     description: CMAUI1, CMAUI2 server names
24   cmaui_image:
25     type: string
26     description: Image for CMAUI server
27   availability_zone_0:
28     type: string
29     label: availabilityzone name
30     description: availabilityzone name
31   cmaui_flavor:
32     type: string
33     description: Flavor for CMAUI server
34   cmaui_oam_ips:
35       type: string
36 resources:
37
38   template_VMInt_OAM_lb_3:
39     type: OS::ContrailV2::VirtualMachineInterface
40     properties:
41       virtual_machine_interface_properties:
42         {
43           virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
44         }
45       virtual_network_refs: [{ get_param: p1 }]
46       port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
47       security_group_refs: [{ get_param: oam_sec_group_name}]
48
49   template_VMInt_OAM_lb_4:
50     type: OS::ContrailV2::VirtualMachineInterface
51     properties:
52       virtual_machine_interface_properties:
53         {
54           virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
55         }
56       virtual_network_refs: [{ get_param: p2 },{ get_param: p1 }]
57       port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
58       security_group_refs: [{ get_param: oam_sec_group_name}]
59
60   server_cmaui:
61     type: OS::Nova::Server
62     properties:
63       name: { get_param: [cmaui_names, 0]}
64       image: { get_param: cmaui_image }
65       availability_zone: { get_param: availability_zone_0 }
66       flavor: { get_param: cmaui_flavor }
67       networks:
68       - port: { get_resource: template_VMInt_OAM_lb_3 }
69       - port: { get_resource: template_VMInt_OAM_lb_4 }
70
71   test_nested3Level:
72     type: OS::Heat::ResourceGroup
73     properties:
74       count: 3
75       resource_def:
76         type: nested3.yml
77         properties:
78           p1: { get_param: p1}
79           p2: { get_param: p1}
80           indx: "%index%"