[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 / fulltest / scalingInstances / oneComputeTypeOnePortNodeConnectedIn / in / hot-mog-0108-bs1271.yml
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   availabilityzone_name:
19     type: string
20     label: availabilityzone name
21     description: availabilityzone name
22   packet_mirror_network_name:
23     type: string
24     label: packet mirror network name
25     description: name of the oam network
26
27 resources:
28   server_pd_01:
29     type: OS::Nova::Server
30     properties:
31       name: {get_param: [pd_server_names, 0]}
32       image: {get_param: pd_image_name}
33       flavor: {get_param: pd_flavor_name}
34       availability_zone: {get_param: availabilityzone_name}
35       networks:
36         - port: {get_resource: pd01_port_0}
37       user_data_format:  RAW_SERVER_PD_1
38   server_pd_02:
39     type: OS::Nova::Server
40     properties:
41       name: {get_param: [pd_server_names, 1]}
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_1}
47       user_data_format:  RAW_SERVER_PD_2
48   pd01_port_0:
49     type: OS::Neutron::Port
50     properties:
51       network: Network-0
52       security_groups: [{get_resource: jsa_security_group}]
53       replacement_policy: AUTO_PORT_0
54   pd01_port_1:
55     type: OS::Neutron::Port
56     properties:
57       network: Network-1
58       security_groups: [{get_resource: jsa_security_group}]
59       replacement_policy: AUTO_PORT_1
60   resource_with_dependOn:
61     type: OS::Neutron::Net
62     depends_on:
63       - server_pd_01
64       - server_pd_02
65     properties:
66       name:
67         get_param: packet_mirror_network_name
68   jsa_security_group:
69     type: OS::Neutron::SecurityGroup
70     properties:
71       description: ems security group
72       name: Test-SecurityGroup
73       rules: [{"direction": ingress, "ethertype": IPv6, "protocol": icmp, "remote_ip_prefix": "::/0"}]