[SDC] Onboarding 1710 rebase.
[sdc.git] / openecomp-be / lib / openecomp-sdc-translator-lib / openecomp-sdc-translator-core / src / test / resources / mock / services / heattotosca / fulltest / nestedOtherScenarios / multiLevel / twoNestedLevelsWithAllPatternsAndConnectivities / in / nested-pattern-4.yml
1 heat_template_version: 2013-05-23
2
3 description: nested1
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   security_group_name:
13     type: comma_delimited_list
14     description: CMAUI1, CMAUI2 server names
15   pd_server_names:
16     type: comma_delimited_list
17     description: PD server names
18   availability_zone_0:
19     type: string
20     label: availabilityzone name
21     description: availabilityzone name
22   pd_server_flavor:
23     type: string
24     description: Flavor for PD server
25   pd_server_image:
26     type: string
27     description: Flavor for PD server
28   ps_server_flavor:
29     type: string
30     description: Flavor for PS server
31   pd_server_ips:
32       type: string
33   net:
34     type: string
35 resources:
36
37   pd_server_port_1:
38     type: OS::Neutron::Port
39     properties:
40       network: { get_param: net }
41       fixed_ips: [{"ip_address": {get_param: [pd_server_ips, 0]}}]
42       replacement_policy: AUTO
43
44   pd_server_port_2:
45     type: OS::Neutron::Port
46     properties:
47       network: { get_param: net }
48       fixed_ips: [{"ip_address": {get_param: [pd_server_ips, 1]}}]
49       replacement_policy: AUTO
50
51   server_pd:
52     type: OS::Nova::Server
53     properties:
54       name: { get_param: [pd_server_names, 0]}
55       image: { get_param: pd_server_image }
56       availability_zone: { get_param: availability_zone_0 }
57       flavor: { get_param: pd_server_flavor }
58       networks:
59       - port: { get_resource: pd_server_port_1 }
60       - port: { get_resource: pd_server_port_2 }
61
62 outputs:
63   pattern4_attr_1:
64     description: pattern4_attr_1_value
65     value: { get_resource: server_pd }
66