[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 / threeNestedLevelsSameVmTypePattern1B / in / main.yml
1 heat_template_version: 2013-05-23
2
3 description: >
4   Version 2.0 02-09-2016 (Authors: John Doe, user PROD)
5
6 parameters:
7   jsa_name:
8     type: string
9     description: network name of jsa log network
10   security_group_name:
11     type: string
12     description: network name of jsa log network
13   pd_server_names:
14     type: comma_delimited_list
15     label: PD server names
16     description: name of the PD instance
17   pd_image_name:
18     type: string
19     label: image name
20     description: PD image name
21   pd_flavor_name:
22     type: string
23     label: PD flavor name
24     description: flavor name of PD instance
25   p1:
26     type: string
27     description: UID of OAM network
28   oam_net_name:
29     type: string
30     description: net name
31   availabilityzone_name:
32     type: string
33     label: availabilityzone name
34     description: availabilityzone name
35
36 resources:
37   server_pd_1:
38     type: OS::Nova::Server
39     properties:
40 #      config_drive: "True"
41       name: {get_param: [pd_server_names, 0]}
42       image: {get_param: pd_image_name}
43       flavor: {get_param: pd_flavor_name}
44       availability_zone: {get_param: availabilityzone_name}
45       networks:
46         - port: {get_resource: pd01_port_0}
47       user_data_format:  RAW
48
49   server_pd_2:
50     type: OS::Nova::Server
51     properties:
52 #      config_drive: "True"
53       name: {get_param: [pd_server_names, 1]}
54       image: {get_param: pd_image_name}
55       flavor: {get_param: pd_flavor_name}
56       availability_zone: {get_param: availabilityzone_name}
57       networks:
58         - port: {get_resource: pd02_port_0}
59       user_data_format:  RAW
60
61   pd01_port_0:
62     type: OS::Neutron::Port
63     properties:
64       network: {get_param: oam_net_name}
65   pd02_port_0:
66     type: OS::Neutron::Port
67     properties:
68       network: {get_param: oam_net_name}
69
70   test_nested1Level:
71     type: nested1.yml
72     properties:
73       p1: { get_param: p1}