[sdc] docker file fix for cassandra
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / VMInterfaceToNettworkConnection / multi / inputfiles / addOn.yml
1 heat_template_version: 2013-05-23
2
3 description: cmaui server template for vMMSC
4
5 parameters:
6   p1:
7     type: string
8     description: UID of OAM network
9   cmaui_names:
10     type: comma_delimited_list
11     description: CMAUI1, CMAUI2 server names
12   security_group_name:
13       type: comma_delimited_list
14       description: CMAUI1, CMAUI2 server names
15   cmaui_image:
16     type: string
17     description: Image for CMAUI server
18   availability_zone_0:
19     type: string
20     label: availabilityzone name
21     description: availabilityzone name
22   cmaui_flavor:
23     type: string
24     description: Flavor for CMAUI server
25   shared_network_id:
26     type: string
27     description: Flavor for CMAUI server
28   shared_network_id1:
29     type: string
30     description: Flavor for CMAUI server
31   cmaui_oam_ips:
32     type: string
33   oam_sec_group_name:
34     type: string
35   lb_st_interface_type_oam:
36     type: string
37   template_PortTuple_LB1:
38     type: string
39
40 resources:
41   template_VMInt_OAM_lb_1:
42     type: OS::ContrailV2::VirtualMachineInterface
43     properties:
44       virtual_machine_interface_properties:
45         {
46           virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
47         }
48       virtual_network_refs: [{ get_param: shared_network_id }]
49       port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
50       security_group_refs: [{ get_param: oam_sec_group_name}]
51
52   template_VMInt_OAM_lb_2:
53     type: OS::ContrailV2::VirtualMachineInterface
54     properties:
55       virtual_machine_interface_properties:
56         {
57           virtual_machine_interface_properties_service_interface_type: { get_param: lb_st_interface_type_oam },
58         }
59       virtual_network_refs: [{ get_param: shared_network_id }, { get_param: shared_network_id1 }]
60       port_tuple_refs: [{ get_param: template_PortTuple_LB1 }]
61       security_group_refs: [{ get_param: oam_sec_group_name}]
62
63   server_cmaui:
64     type: OS::Nova::Server
65     properties:
66       name: { get_param: [cmaui_names, 0]}
67       image: { get_param: cmaui_image }
68       availability_zone: { get_param: availability_zone_0 }
69       flavor: { get_param: cmaui_flavor }
70       networks:
71       - port: { get_resource: template_VMInt_OAM_lb_1 }
72       - port: { get_resource: template_VMInt_OAM_lb_2 }