[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 / singleSubstitution / computeWithSamePortTypeNodeConnectedIn / 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   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   server_pd_01:
37     type: OS::Nova::Server
38     properties:
39       name: {get_param: [pd_server_names, 0]}
40       image: {get_param: pd_image_name}
41       flavor: {get_param: pd_flavor_name}
42       availability_zone: {get_param: availabilityzone_name}
43       networks:
44         - port: {get_resource: pd01_port_0}
45         - port: {get_resource: pd01_port_1}
46       user_data_format:  RAW
47   resources_with_dependOn:
48     type: OS::Neutron::Net
49     depends_on:
50       - server_pd_01
51     properties:
52       name:
53         get_param: packet_mirror_network_name
54   jsa_security_group:
55     type: OS::Neutron::SecurityGroup
56     properties:
57       description: ems security group
58       name: Test-SecurityGroup
59       rules: [{"direction": ingress, "ethertype": IPv6, "protocol": icmp, "remote_ip_prefix": "::/0"}]
60   pd01_port_0:
61     type: OS::Neutron::Port
62     properties:
63       network: {get_param: oam_net_name}
64       security_groups: [{get_resource: jsa_security_group}]
65       replacement_policy: AUTO
66   pd01_port_1:
67     type: OS::Neutron::Port
68     properties:
69       network: {get_param: oam_net_name}
70       security_groups: [{get_resource: jsa_security_group}]
71       replacement_policy: AUTO