[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 / threeDiffComputesWithPorts / 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_server_names:
19     type: comma_delimited_list
20     label: OAM server names
21     description: name of the OAM instance
22   oam_image_name:
23     type: string
24     label: image name
25     description: OAM image name
26   oam_flavor_name:
27     type: string
28     label: OAM flavor name
29     description: flavor name of OAM instance
30   sm_server_names:
31     type: comma_delimited_list
32     label: SM server names
33     description: name of the SM instance
34   sm_image_name:
35     type: string
36     label: image name
37     description: SM image name
38   sm_flavor_name:
39     type: string
40     label: SM flavor name
41     description: flavor name of SM instance
42   ps_server_names:
43     type: comma_delimited_list
44     label: PS server names
45     description: name of the PS instance
46   ps_image_name:
47     type: string
48     label: PS image name
49     description: PS image name
50   ps_flavor_name:
51     type: string
52     label: PS flavor name
53     description: flavor name of PS instance
54   cm_server_names:
55     type: comma_delimited_list
56     label: CM server names
57     description: name of the CM instance
58   cm_image_name:
59     type: string
60     label: image name
61     description: CM image name
62   cm_flavor_name:
63     type: string
64     label: CM flavor name
65     description: flavor name of CM instance
66   availabilityzone_name:
67     type: string
68     label: availabilityzone name
69     description: availabilityzone name
70   oam_net_name:
71     type: string
72     label: oam network name
73     description: name of the oam network
74   oam_net_ips:
75     type: comma_delimited_list
76     label: internet network ips
77     description: ip of the OAM network
78   dummy_net_name_1:
79     type: string
80     label: csb ineternal cidr
81     description: csb internal cidr
82
83 resources:
84   server_ps_01:
85     type: OS::Nova::Server
86     properties:
87 #      config_drive: "True"
88       name: {get_param: [ps_server_names, 0]}
89       image: {get_param: pd_image_name}
90       flavor: {get_attr: [network_policy_server, name]}
91       availability_zone: {get_param: availabilityzone_name}
92       networks:
93         - port: {get_resource: pd01_port_0}
94       user_data_format:  RAW
95
96   server_pd_01:
97     type: OS::Nova::Server
98     properties:
99 #      config_drive: "True"
100       name: {get_param: [pd_server_names, 0]}
101       image: {get_param: pd_image_name}
102       flavor: {get_attr: [network_policy_server, name]}
103       availability_zone: {get_param: availabilityzone_name}
104       networks:
105         - port: {get_resource: pd01_port_1}
106       user_data_format:  RAW
107
108   server_oam_01:
109     type: OS::Nova::Server
110     properties:
111 #      config_drive: "True"
112       name: {get_param: [oam_server_names, 0]}
113       image: {get_param: pd_image_name}
114       flavor: {get_attr: [network_policy_server, name]}
115       availability_zone: {get_param: availabilityzone_name}
116       networks:
117         - port: {get_resource: pd01_port_2}
118       user_data_format:  RAW
119
120   pd01_port_0:
121     type: OS::Neutron::Port
122     properties:
123       network: {get_attr: [network_policy_server, name]}
124   pd01_port_1:
125     type: OS::Neutron::Port
126     properties:
127       network: {get_param: oam_net_name}
128   pd01_port_2:
129     type: OS::Neutron::Port
130     properties:
131       network: {get_param: oam_net_name}
132
133   network_policy_server:
134     type: OS::Contrail::NetworkPolicy
135     properties:
136       name: {get_param: dummy_net_name_1}
137