[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 / sharedNestedMultiLevels / inputfiles / nested4.yml
1 heat_template_version: 2013-05-23
2
3 description: nested4
4
5 parameters:
6   p1:
7     type: string
8     description: UID of OAM network
9   p2:
10     type: string
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   net:
30       type: string
31 resources:
32
33   cmaui_port_7:
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}]
39       replacement_policy: AUTO
40
41   cmaui_port_8:
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: p2},{get_param: p2}]
47       replacement_policy: AUTO
48
49   server_cmaui:
50     type: OS::Nova::Server
51     properties:
52       name: { get_param: [cmaui_names, 0]}
53       image: { get_param: cmaui_image }
54       availability_zone: { get_param: availability_zone_0 }
55       flavor: { get_param: cmaui_flavor }
56       networks:
57       - port: { get_resource: cmaui_port_7 }
58       - port: { get_resource: cmaui_port_8 }