[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 / nestedArrayParam / inputfiles / nested.yml
1 heat_template_version: 2013-05-23
2
3 description: cmaui server template for vMMSC
4
5 parameters:
6   p1:
7     type: comma_delimited_list
8   p2:
9     type: string
10     description: UID of OAM network
11   security_group_name:
12     type: comma_delimited_list
13     description: CMAUI1, CMAUI2 server names
14   cmaui_names:
15     type: comma_delimited_list
16     description: CMAUI1, CMAUI2 server names
17   cmaui_image:
18     type: string
19     description: Image for CMAUI server
20   availability_zone_0:
21     type: string
22     label: availabilityzone name
23     description: availabilityzone name
24   cmaui_flavor:
25     type: string
26     description: Flavor for CMAUI server
27   cmaui_oam_ips:
28     type: string
29   oam_sec_group_name:
30     type: string
31   lb_st_interface_type_oam:
32     type: string
33   template_PortTuple_LB1:
34     type: string
35 resources:
36   template_VMInt_OAM_lb_1:
37     type: OS::ContrailV2::VirtualMachineInterface
38     properties:
39       virtual_machine_interface_properties:
40         {
41           virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
42         }
43       virtual_network_refs: [{ get_param: [ p1, 0] }]
44       port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
45       security_group_refs: [{ get_param: oam_sec_group_name}]
46
47   template_VMInt_OAM_lb_2:
48     type: OS::ContrailV2::VirtualMachineInterface
49     properties:
50       virtual_machine_interface_properties:
51         {
52           virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
53         }
54       virtual_network_refs: [{ get_param: [ p1, 1] },{ get_param: p2 }]
55       port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
56       security_group_refs: [{ get_param: oam_sec_group_name}]
57
58   server_cmaui:
59     type: OS::Nova::Server
60     properties:
61       name: { get_param: [cmaui_names, 0]}
62       image: { get_param: cmaui_image }
63       availability_zone: { get_param: availability_zone_0 }
64       flavor: { get_param: cmaui_flavor }
65       networks:
66       - port: { get_resource: template_VMInt_OAM_lb_1 }
67       - port: { get_resource: template_VMInt_OAM_lb_2 }