[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 / oneLevel / nestedTwoSameFileOneDiff / in / nested-same-file-1B.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   sm_server_names:
16     type: comma_delimited_list
17     description: SM server names
18   sm_server_image:
19     type: string
20     description: SM Image server
21   oam_server_names:
22     type: comma_delimited_list
23     description: OAM server names
24   oam_server_image:
25     type: string
26     description: OAM Image server
27   availability_zone_0:
28     type: string
29     label: availabilityzone name
30     description: availabilityzone name
31   sm_server_flavor:
32     type: string
33     description: Flavor for SM server
34   oam_server_flavor:
35     type: string
36     description: Flavor for OAM server
37   sm_server_ips:
38       type: string
39   oam_server_ips:
40       type: string
41   net:
42     type: string
43 resources:
44
45   sm_server_port:
46     type: OS::Neutron::Port
47     properties:
48       network: { get_param: net }
49       fixed_ips: [{"ip_address": {get_param: [sm_server_ips, 0]}}]
50       replacement_policy: AUTO
51
52   oam_server_port:
53     type: OS::Neutron::Port
54     properties:
55       network: { get_param: net }
56       fixed_ips: [{"ip_address": {get_param: [oam_server_ips, 0]}}]
57       replacement_policy: AUTO
58
59   server_sm:
60     type: OS::Nova::Server
61     properties:
62       name: { get_param: [sm_server_names, 0]}
63       image: { get_param: sm_server_image }
64       availability_zone: { get_param: availability_zone_0 }
65       flavor: { get_param: sm_server_flavor }
66       networks:
67       - port: { get_resource: sm_server_port }
68
69   server_oam:
70     type: OS::Nova::Server
71     properties:
72       name: { get_param: [oam_server_names, 1]}
73       image: { get_param: oam_server_image }
74       availability_zone: { get_param: availability_zone_0 }
75       flavor: { get_param: oam_server_flavor }
76       networks:
77       - port: { get_resource: oam_server_port }
78
79 outputs:
80   nested_diff_file_attr_1:
81     description: nested_diff_file_attr_1_value
82     value: { get_resource: server_sm }
83