push addional code
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / neutron_port_translation / inputfiles / hot_template.yml
1 heat_template_version: 2013-05-23
2
3 #################################
4 #
5 #  Changes from MSO 01/26/2016
6 #  Updated per ECOMP feedback
7 #
8 #################################
9
10 description: cmaui server template for vMMSC
11
12 resources:
13   cmaui1_port_0:
14     type: OS::Neutron::Port
15     properties:
16       network: { get_param: oam_net_name }
17       fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 1]}}]
18       security_groups: [{get_param: security_group_name}]
19       replacement_policy: AUTO
20
21   cmaui1_port_1:
22     type: OS::Neutron::Port
23     properties:
24       network_id: { get_resource: jsa_net }
25       fixed_ips: [{"subnet": subnetNameVal, "ip_address": {get_param: [cmaui_oam_ips, 1]}}, {"subnet": subnetNameVal2, "ip_address": {get_param: [cmaui_oam_ips, 1]}}]
26       security_groups: [{get_param: security_group_name}]
27       replacement_policy: AUTO
28
29   jsa_net:
30       type: OS::Neutron::Net
31       properties:
32         name: {get_param: jsa_net_name}
33         shared: True
34
35   cmaui1_port_2:
36       type: OS::Neutron::Port
37       properties:
38         network: { get_resource: jsa_net1 }
39         fixed_ips: [{"subnet": subnetNameVal, "ip_address": {get_param: [cmaui_oam_ips, 1]}}, {"subnet": subnetNameVal2, "ip_address": {get_param: [cmaui_oam_ips, 1]}}]
40         security_groups: [{get_param: security_group_name}]
41         replacement_policy: AUTO
42
43   jsa_net1:
44       type: OS::Neutron::Net
45       properties:
46         name: {get_param: jsa_net_name}
47         shared: True
48
49