[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 / nested3.yml
1 heat_template_version: 2013-05-23
2
3 description: nested3
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   indx:
18     type: number
19   security_group_name:
20     type: comma_delimited_list
21     description: CMAUI1, CMAUI2 server names
22   cmaui_names:
23     type: comma_delimited_list
24     description: CMAUI1, CMAUI2 server names
25   cmaui_image:
26     type: string
27     description: Image for CMAUI server
28   availability_zone_0:
29     type: string
30     label: availabilityzone name
31     description: availabilityzone name
32   cmaui_flavor:
33     type: string
34     description: Flavor for CMAUI server
35   cmaui_oam_ips:
36       type: string
37 resources:
38
39   template_VMInt_OAM_lb_5:
40     type: OS::ContrailV2::VirtualMachineInterface
41     properties:
42       virtual_machine_interface_properties:
43         {
44           virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
45         }
46       virtual_network_refs: [{ get_param: p2 }]
47       port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
48       security_group_refs: [{ get_param: oam_sec_group_name}]
49
50   template_VMInt_OAM_lb_6:
51     type: OS::ContrailV2::VirtualMachineInterface
52     properties:
53       virtual_machine_interface_properties:
54         {
55           virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
56         }
57       virtual_network_refs: [{ get_param: p1 },{ get_param: p2 }]
58       port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
59       security_group_refs: [{ get_param: oam_sec_group_name}]
60
61   server_cmaui:
62     type: OS::Nova::Server
63     properties:
64       name: { get_param: [cmaui_names, 0]}
65       image: { get_param: cmaui_image }
66       availability_zone: { get_param: availability_zone_0 }
67       flavor: { get_param: cmaui_flavor }
68       networks:
69       - port: { get_resource: template_VMInt_OAM_lb_5 }
70       - port: { get_resource: template_VMInt_OAM_lb_6 }
71
72   test_nested4Level:
73     type: nested4.yml
74     properties:
75       p1: { get_param: p1}
76       p2: { get_param: p2}