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