blob: 8dcbe20043cf61729ad8336176d49093410ad14e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
|
heat_template_version: 2013-05-23
description: ASC Template
parameters:
cluster_type:
type: string
constraints:
- allowed_values: [ Test, Prod ]
fe_connectivity:
type: string
constraints:
- allowed_values: [ NEE, STP ]
key_name:
type: string
description: keypair to enable SSH access to the instance.
default: vSCP-keypair
# Availability Zone information may need to be updated and the specifications under Nova server capabilities uncommented
availability_zone_0:
type: string
vnf_name:
type: string
description: Unique name for this VNF instance
default: This_is_the_SCP_name
vnf_id:
type: string
description: Unique ID for this VNF instance
default: This_is_ths_SCP_id
port_name:
type: string
description: port name
default: port_name
flavor_scp_be_name:
type: string
description: SCP BE Flavor
default: a1.Small
flavor_scp_fe_name:
type: string
description: SCP FE Flavor
default: a1.Small
flavor_smp_name:
type: string
description: SCP SMP Flavor
default: a1.Small
image_scp_be_name:
type: string
description: SCP BE image
default: asc_base_image_be
image_scp_fe_name:
type: string
description: SCP FE image
default: asc_base_image_fe
image_smp_name:
type: string
description: SCP SMP image
default: asc_base_image_smp
int_vscp_fe_cluster_net_id:
type: string
description: LAN2 FE Cluster/KA
int_vscp_fe_cluster_cidr:
type: string
description: Private Network2 Address (CIDR notation)
int_vscp_cluster_net_id:
type: string
description: LAN3 Cluster
int_vscp_cluster_cidr:
type: string
description: Private Network3 Address (CIDR notation)
int_vscp_ce_network_net_id:
type: string
description: Inter-CE Network
int_vscp_ce_network_cidr:
type: string
description: Private Network Address (CIDR notation)
SIGNET_vrf_A1_direct_net_id:
type: string
description: Network name for SIGTRAN_A
SIGNET_vrf_B1_direct_net_id:
type: string
description: Network name for SIGTRAN_B
Cricket_OCS_protected_net_id:
type: string
description: Network name for CRICKET_OCS
Mobility_OAM_protected_net_id:
type: string
description: Network name for OAM
be_Cricket_OCS_protected_ip_0:
type: string
label: be1 Cricket_OCS ip address
description: be1 Cricket_OCS ip address
be_Cricket_OCS_protected_ip_1:
type: string
label: be2 Cricket_OCS ip address
description: be2 Cricket_OCS ip address
be_Cricket_OCS_protected_ip_2:
type: string
label: be3 Cricket_OCS ip address
description: be3 Cricket_OCS ip address
be_Cricket_OCS_protected_ip_3:
type: string
label: be4 Cricket_OCS ip address
description: be4 Cricket_OCS ip address
be_Cricket_OCS_protected_ip_4:
type: string
label: be5 Cricket_OCS ip address
description: be5 Cricket_OCS ip address
fe_SIGNET_vrf_B1_direct_ip_0:
type: string
label: fe1 SIGTRAN ip address
description: fe1 SIGTRAN ip address
fe_SIGNET_vrf_A1_direct_ip_0:
type: string
label: fe2 SIGTRAN ip address
description: fe2 SIGTRAN ip address
be_Mobility_OAM_protected_ip_0:
type: string
label: be_0 OAM ip address
description: be_0 OAM ip address
be_Mobility_OAM_protected_ip_1:
type: string
label: be_1 OAM ip address
description: be_1 OAM ip address
be_Mobility_OAM_protected_ip_2:
type: string
label: be_2 OAM ip address
description: be_2 OAM ip address
be_Mobility_OAM_protected_ip_3:
type: string
label: be_3 OAM ip address
description: be_3 OAM ip address
be_Mobility_OAM_protected_ip_4:
type: string
label: be_4 OAM ip address
description: be_4 OAM ip address
fe_Mobility_OAM_protected_ip_0:
type: string
label: fe_0 OAM ip address
description: fe_0 OAM ip address
fe_Mobility_OAM_protected_ip_1:
type: string
label: fe_1 OAM ip address
description: fe_1 OAM ip address
smp_Mobility_OAM_protected_ip_0:
type: string
label: smp_0 OAM ip address
description: smp_0 OAM ip address
smp_Mobility_OAM_protected_ip_1:
type: string
label: smp_1 OAM ip address
description: smp_1 OAM ip address
be_name_0:
type: string
default: vSCP_BE1
description: name of VM
be_name_1:
type: string
default: vSCP_BE2
description: name of VM
be_name_2:
type: string
default: vSCP_BE3
description: name of VM
be_name_3:
type: string
default: vSCP_BE4
description: name of VM
be_name_4:
type: string
default: vSCP_BE5
description: name of VM
fe_name_0:
type: string
default: vSCP_FE1
description: name of VM
fe_name_1:
type: string
default: vSCP_FE2
description: name of VM
smp_name_0:
type: string
default: vSMP1
description: name of VM
smp_name_1:
type: string
default: vSMP2
description: name of VM
smp_name_2:
type: string
default: vSMP2
description: name of VM
##smp_name_2:
##type: string
##default: vSMP2
##description: name of VM
nee_name_0:
type: string
default: vNEE
description: name of VM
hostname_fe1:
type: string
description: FE1 Hostname (from Ulticom license)
hostid_fe1:
type: string
description: FE1 Hostid (from Ulticom license)
hostname_fe2:
type: string
description: FE2 Hostname (from Ulticom license)
hostid_fe2:
type: string
description: FE2 Hostid (from Ulticom license)
hostname_nee1:
type: string
description: NEE1 Hostname (from Ulticom license)
hostid_nee1:
type: string
description: NEE1 Hostid (from Ulticom license)
point_code_scp:
type: string
description: vSCP point code (in "zone-cluster-member" format)
point_code_stp:
type: string
description: STP virtual point code (in "zone-cluster-member" format)
point_code_stp1:
type: string
description: STP1 point code (in "zone-cluster-member" format)
point_code_stp2:
type: string
description: STP2 point code (in "zone-cluster-member" format)
ip_address_stp1:
type: string
description: STP1 IP address
ip_port_stp1:
type: string
description: STP1 IP port
ip_address_stp2:
type: string
description: STP2 IP address
ip_port_stp2:
type: string
description: STP2 IP port
ip_port_fe1:
type: string
description: FE1 IP port in SIGTRAN network
ip_port_fe2:
type: string
description: FE2 IP port in SIGTRAN network
global_title_scp:
type: string
description: vSCP Global Title address
global_title_stp:
type: string
description: STP Global Title address
security_group_name:
type: string
label: vSCP security group name
description: vSCP security group name
route_table_be:
type: string
description: Additional route table for BEs
route_table_fe1:
type: string
description: Additional route table for FE1
route_table_fe2:
type: string
description: Additional route table for FE2
ip_address_dra:
type: string
description: DRA VIP address
lab_name:
type: string
description: Lab name
resources:
server_smp1:
type: OS::Nova::Server
properties:
name: { get_param: smp_name_1 }
image: { get_param: image_smp_name }
# key_name: { get_param: key_name }
availability_zone: { get_param: availability_zone_0 }
flavor: { get_param: flavor_smp_name }
scheduler_hints: { group: { get_resource: BE_Affinity } }
networks:
- port: { get_resource: port1 }
metadata:
vnf_id: { get_param: vnf_id }
jx_lab_name: {get_param: lab_name}
jx_vm_role: smp2
user_data_format: RAW
server_smp2:
type: OS::Nova::Server
properties:
name: { get_param: smp_name_2 }
image: { get_param: image_smp_name }
# key_name: { get_param: key_name }
availability_zone: { get_param: availability_zone_0 }
flavor: { get_param: flavor_smp_name }
scheduler_hints: { group: { get_resource: FE_SMP_Affinity } }
networks:
- port: { get_resource: port2 }
metadata:
vnf_id: { get_param: vnf_id }
jx_lab_name: {get_param: lab_name}
jx_vm_role: smp2
user_data_format: RAW
server_smp3:
type: OS::Nova::Server
properties:
name: { get_param: smp_name_2 }
image: { get_param: image_smp_name }
# key_name: { get_param: key_name }
availability_zone: { get_param: availability_zone_0 }
flavor: { get_param: flavor_smp_name }
scheduler_hints: { group1: { get_resource: FE_SMP_Affinity }, group2: { get_resource: Multi_Anti_Affinity } }
networks:
- port: { get_resource: port3 }
- port: { get_resource: port4 }
metadata:
vnf_id: { get_param: vnf_id }
jx_lab_name: {get_param: lab_name}
jx_vm_role: smp2
user_data_format: RAW
port1:
type: OS::Neutron::Port
properties:
network: {get_param: port_name}
replacement_policy: AUTO
port2:
type: OS::Neutron::Port
properties:
network: {get_param: port_name}
replacement_policy: AUTO
port3:
type: OS::Neutron::Port
properties:
network: {get_param: port_name}
replacement_policy: AUTO
port4:
type: OS::Neutron::Port
properties:
network: {get_param: port_name}
replacement_policy: AUTO
FE_SMP_Affinity:
type: OS::Nova::ServerGroup
properties:
policies: ["affinity"]
name: abc
BE_Affinity:
type: OS::Nova::ServerGroup
properties:
policies: ["affinity"]
name: def
Multi_Anti_Affinity:
type: OS::Nova::ServerGroup
properties:
policies: ["anti-affinity"]
name: def
|