blob: 4c7f0f2e440113e00c2859b1b0d0b0c7ae6338a5 (
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
|
heat_template_version: 2014-10-16
parameters:
domain_name:
type: string
vlb_agent_image_name:
type: string
manager_name_0:
type: string
manager_oam_direct_ip_0:
type: string
ntp_timezone:
type: string
oam_private_net_name:
type: string
packet_internal_network:
type: string
packet_mirror_network:
type: string
region_name:
type: string
rpmrepository_ip_0:
type: string
security_group:
type: string
tenant_name:
type: string
availability_zone_0:
type: string
vLBAgent_cluster_name:
type: string
vLBAgent_flavor_name:
type: string
vLBAgent_index:
type: number
vLBAgent_names:
type: comma_delimited_list
vLBAgent_node_count:
type: number
vLBAgent_type:
type: string
vLBAgent_version_name:
type: string
vLBAgent_volume_name_0:
type: string
vLBAgent_volume_name_1:
type: string
vLBAgent_volume_name_2:
type: string
vLBAgent_volume_size_0:
type: number
vLBAgent_volume_size_1:
type: number
vLBAgent_volume_size_2:
type: number
vLBAgent_volume_type_0:
type: string
vLBAgent_volume_type_1:
type: string
vLBAgent_volume_type_2:
type: string
vLB_cluster_name:
type: string
vLB_node_count:
type: number
vProbe_cluster_name:
type: string
vf_module_id:
type: string
vf_module_name:
type: string
vnf_id:
type: string
resources:
oam_private_net_network_port_3:
properties:
network:
get_param: oam_private_net_name
security_groups:
- get_param: security_group
type: OS::Neutron::Port
packet_internal_network_port:
properties:
network:
get_param: packet_internal_network
security_groups:
- get_param: security_group
type: OS::Neutron::Port
packet_mirror_network_port_1:
properties:
network:
get_param: packet_mirror_network
security_groups:
- get_param: security_group
type: OS::Neutron::Port
vLBAgentInstance:
properties:
availability_zone:
get_param: availability_zone_0
config_drive: true
flavor:
get_param: vLBAgent_flavor_name
image:
get_param: vlb_agent_image_name
metadata:
DPDK: DPDK_IP
cluster_name:
get_param: vLBAgent_cluster_name
machine_name:
get_param:
- vLBAgent_names
- get_param: vLBAgent_index
machine_type: vLBAgent
manager_oam_direct_ip_0:
get_param: manager_oam_direct_ip_0
mount_colon__slash_config:
get_resource: vLBAgent_volume_2
mount_colon__slash_data:
get_resource: vLBAgent_volume_0
mount_colon__slash_log:
get_resource: vLBAgent_volume_1
ntp_timezone:
get_param: ntp_timezone
oam_private_network_cidr:
get_attr:
- oam_private_net_network_port_3
- subnets
- 0
- cidr
oam_private_network_ip_0:
get_attr:
- oam_private_net_network_port_3
- fixed_ip_0s
- 0
- ip_address
packet_internal_network_cidr:
get_attr:
- packet_internal_network_port
- subnets
- 0
- cidr
packet_internal_network_ip_0:
get_attr:
- packet_internal_network_port
- fixed_ip_0s
- 0
- ip_address
packet_mirror_network_cidr:
get_attr:
- packet_mirror_network_port_1
- subnets
- 0
- cidr
packet_mirror_network_ip_0:
get_attr:
- packet_mirror_network_port_1
- fixed_ip_0s
- 0
- ip_address
region:
get_param: region_name
repo_ip_0:
get_param: rpmrepository_ip_0
tenant:
get_param: tenant_name
vLBAgentInstance:
get_param: vLBAgent_index
vLBAgent_id:
get_attr:
- vLBAgent_id
- value
vLBAgent_name:
get_param:
- vLBAgent_names
- get_param: vLBAgent_index
vLBAgent_type:
get_param: vLBAgent_type
vLBAgent_version_name:
get_param: vLBAgent_version_name
vLB_node_count:
get_param: vLB_node_count
version_number:
get_param: vLBAgent_version_name
vf_module_id:
get_param: vf_module_id
vf_module_name:
get_param: vf_module_name
vnf_id:
get_param: vnf_id
name:
get_param:
- vLBAgent_names
- get_param: vLBAgent_index
networks:
- port:
get_resource: oam_private_net_network_port_3
- port:
get_resource: packet_mirror_network_port_1
- port:
get_resource: packet_internal_network_port
personality:
/root/CheckAvailability/check_availability.py:
get_file: check_availability.py
/root/RegisterStatus/register_status.py:
get_file: register_status.py
/root/call_home.py:
get_file: call_home.py
/root/dependencies_with_vLB.json:
get_file: vlbagentdependencies_with_vLB.json
/root/dependencies_without_vLB.json:
get_file: vlbagentdependencies_without_vLB.json
/tmp/wait_for_resources.py:
get_file: wait_for_resources.py
user_data:
str_replace:
params:
'%domain_name%':
get_param: domain_name
'%manager_hostname%':
get_param: manager_name_0
'%manager_oam_direct_ip_0%':
get_param: manager_oam_direct_ip_0
'%rpm_repo_ip_0%':
get_param: rpmrepository_ip_0
'%vLBAgent_cluster_name%':
get_param: vLBAgent_cluster_name
'%vLBAgent_config%':
get_resource: vLBAgent_volume_2
'%vLBAgent_data%':
get_resource: vLBAgent_volume_0
'%vLBAgent_id_number%':
get_attr:
- vLBAgent_id
- value
'%vLBAgent_log%':
get_resource: vLBAgent_volume_1
'%vLBAgent_node_count%':
get_param: vLBAgent_node_count
'%vLBAgent_version_name%':
get_param: vLBAgent_version_name
'%vLB_cluster_name%':
get_param: vLB_cluster_name
'%vLB_node_count%':
get_param: vLB_node_count
'%vProbe_cluster_name%':
get_param: vProbe_cluster_name
template:
get_file: FEAdd_On_Module_vLBAgentCloudConfig
user_data_format: RAW
type: OS::Nova::Server
vLBAgent_id:
properties:
length: 4
sequence: digits
type: OS::Heat::RandomString
vLBAgent_volume_0:
properties:
description:
get_param: vLBAgent_volume_name_0
size:
get_param: vLBAgent_volume_size_0
volume_type:
get_param: vLBAgent_volume_type_0
type: OS::Cinder::Volume
vLBAgent_volume_0_att:
properties:
instance_uuid:
get_resource: vLBAgentInstance
volume_id:
get_resource: vLBAgent_volume_0
type: OS::Cinder::VolumeAttachment
vLBAgent_volume_1:
properties:
description:
get_param: vLBAgent_volume_name_1
size:
get_param: vLBAgent_volume_size_1
volume_type:
get_param: vLBAgent_volume_type_1
type: OS::Cinder::Volume
vLBAgent_volume_1_att:
properties:
instance_uuid:
get_resource: vLBAgentInstance
volume_id:
get_resource: vLBAgent_volume_1
type: OS::Cinder::VolumeAttachment
vLBAgent_volume_2:
properties:
description:
get_param: vLBAgent_volume_name_2
size:
get_param: vLBAgent_volume_size_2
volume_type:
get_param: vLBAgent_volume_type_2
type: OS::Cinder::Volume
vLBAgent_volume_2_att:
properties:
instance_uuid:
get_resource: vLBAgentInstance
volume_id:
get_resource: vLBAgent_volume_2
type: OS::Cinder::VolumeAttachment
|