[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 / threeNovaSameTypeWithGetAttrFromPort / 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_pd_01:
85     type: OS::Nova::Server
86     properties:
87       name: {get_param: [pd_server_names, 0]}
88       image: {get_param: pd_image_name}
89       flavor: {get_param: pd_flavor_name}
90       availability_zone: {get_param: availabilityzone_name}
91       networks:
92         - port: {get_resource: pd01_port_0}
93       user_data_format:  RAW
94
95   server_pd_02:
96     type: OS::Nova::Server
97     properties:
98       name: {get_param: [pd_server_names, 1]}
99       image: {get_param: pd_image_name}
100       flavor: {get_param: pd_flavor_name}
101       availability_zone: {get_param: availabilityzone_name}
102       networks:
103         - port: {get_resource: pd01_port_1}
104       user_data_format:  RAW
105
106   server_pd_03:
107     type: OS::Nova::Server
108     properties:
109       name: {get_param: [pd_server_names, 2]}
110       image: {get_param: pd_image_name}
111       flavor: {get_param: pd_flavor_name}
112       availability_zone: {get_param: availabilityzone_name}
113       networks:
114         - port: {get_resource: pd01_port_2}
115       user_data_format:  RAW
116
117   pd01_port_0:
118     type: OS::Neutron::Port
119     properties:
120       network: {get_attr: [server_pd_01, accessIPv4]}
121   pd01_port_1:
122     type: OS::Neutron::Port
123     properties:
124       network: {get_attr: [server_pd_02, accessIPv4]}
125   pd01_port_2:
126     type: OS::Neutron::Port
127     properties:
128       network: {get_param: oam_net_name}
129   pd01_port_3:
130     type: OS::Neutron::Port
131     properties:
132       network: {get_param: oam_net_name}
133
134   network_policy_server:
135     type: OS::Contrail::NetworkPolicy
136     properties:
137       name: {get_param: dummy_net_name_1}
138