[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 / buildconsolidationdata / dependsonresource / nodesConnectedIn / inputfiles / input.yaml
1 heat_template_version: 2013-05-23
2
3 description: heat template that creates MOG stack
4
5 parameters:
6   pd_server_names:
7     type: comma_delimited_list
8     label: PD server names
9     description: name of the PD instance
10   pd_image_name:
11     type: string
12     label: image name
13     description: PD image name
14   pd_flavor_name:
15     type: string
16     label: PD flavor name
17     description: flavor name of PD instance
18   oam_flavor_name:
19     type: string
20     label: OAM flavor name
21     description: flavor name of OAM instance
22   availabilityzone_name:
23     type: string
24     label: availabilityzone name
25     description: availabilityzone name
26   oam_net_name:
27     type: string
28     label: oam network name
29     description: name of the oam network
30   packet_mirror_network_name:
31     type: string
32     label: packet mirror network name
33     description: name of the oam network
34
35 resources:
36
37   resources_with_dependOn:
38     type: OS::Neutron::Net
39     depends_on:
40       - server_pd_01
41     properties:
42       name:
43         get_param: packet_mirror_network_name
44
45   server_pd_01:
46     type: OS::Nova::Server
47     properties:
48       name: {get_param: [pd_server_names, 0]}
49       image: {get_param: pd_image_name}
50       flavor: {get_param: pd_flavor_name}
51       availability_zone: {get_param: availabilityzone_name}
52       networks:
53         - port: {get_resource: pd01_port_0}
54         - port: {get_resource: pd02_port_0}
55       user_data_format:  RAW
56
57   pd01_port_0:
58     type: OS::Neutron::Port
59     properties:
60       network: {get_param: oam_net_name}
61   pd02_port_0:
62     type: OS::Neutron::Port
63     properties:
64       network: {get_param: oam_net_name}
65