[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 / securityrulestoportconnection / securityrulestoportnestedconnection / 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: string
8     description: UID of OAM network
9   p2:
10     type: string
11     description: UID of OAM network
12   net:
13       type: string
14       description: UID of OAM network
15   cmaui_names:
16     type: comma_delimited_list
17     description: CMAUI1, CMAUI2 server names
18   cmaui_image:
19     type: string
20     description: Image for CMAUI server
21   availability_zone_0:
22     type: string
23     label: availabilityzone name
24     description: availabilityzone name
25   cmaui_flavor:
26     type: string
27     description: Flavor for CMAUI server
28   cmaui_oam_ips:
29     type: string
30     description: cmaui_oam_ips
31 resources:
32
33   cmaui_port_0:
34     type: OS::Neutron::Port
35     properties:
36       network: { get_param: net }
37       fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
38       security_groups: [{get_param: p1},{get_param: p2}]
39       replacement_policy: AUTO
40
41   cmaui_port_1:
42     type: OS::Neutron::Port
43     properties:
44       network: { get_param: net }
45       fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
46       security_groups: [{get_param: p1}]
47       replacement_policy: AUTO
48
49   cmaui_port_3:
50     type: OS::Neutron::Port
51     properties:
52       network: { get_param: net }
53       fixed_ips: [{"ip_address": {get_param: [cmaui_oam_ips, 0]}}]
54       security_groups: [{get_param: [p1,0]}]
55       replacement_policy: AUTO
56
57   server_cmaui:
58     type: OS::Nova::Server
59     properties:
60       name: { get_param: [cmaui_names, 0]}
61       image: { get_param: cmaui_image }
62       availability_zone: { get_param: availability_zone_0 }
63       flavor: { get_param: cmaui_flavor }
64       networks:
65       - port: { get_resource: cmaui_port_0 }
66       - port: { get_resource: cmaui_port_1 }
67       - port: { get_resource: cmaui_port_3 }