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
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
|
tosca_definitions_version: tosca_simple_yaml_1_0_0
description: CCD uCPE specific data types
metadata:
template_name: uCPE_schema
template_version: "0.1"
imports:
- tosca/tosca-network-types.yaml
data_types:
routing-rule:
properties:
logical-interface-name:
type: string
ip-version:
type: string
mtu:
type: integer
is-unnumbered:
type: boolean
unnumbered-local-address:
type: string
unnumbered-remote-address:
type: string
cos-model:
type: string
pe-shaping:
type: string
bgp-v4-neighbor-address:
type: string
bgp-v4-peer-as:
type: string
bgp-v4-md5-key:
type: string
bgp-v4-my-as:
type: string
bgp-v6-neighbor-address:
type: string
bgp-v6-peer-as:
type: string
bgp-v6-md5-key:
type: string
bgp-v6-my-as:
type: string
bgp-v4-keep-alive-timer:
type: string
bgp-v6-keep-alive-timer:
type: string
bgp-v4-hold-timer:
type: string
bgp-v6-hold-timer:
type: string
v4-isp-lan-ip-blocks:
type: list
entry_schema: string
v6-isp-lan-ip-blocks:
type: list
entry_schema: string
node_types:
com.att.d2.resource.ucpe.networkInterface:
derived_from: tosca.nodes.Root
properties:
service_port_name:
type: string
physical_port_name:
type: string
physical_speed:
type: integer
physical_speed_units:
type: string
default: "Gbps"
requirements:
- host:
capability: com.att.d2.capabilities.hostedOn
# node: com.att.d2.resource.uCPE
capabilities:
link: tosca.capabilities.network.Linkable
#do not know to what degree we still need the two specalized versions below
com.att.d2.resource.ucpe.lan_networkInterface:
derived_from: com.att.d2.resource.ucpe.networkInterface
requirements:
- host:
capability: com.att.d2.capabilities.hostedOn
node: com.att.d2.resource.uCPE
com.att.d2.resource.ucpe.wan_networkInterface:
derived_from: com.att.d2.resource.ucpe.networkInterface
properties:
internet_connection_type:
type: string
default: "AVPN"
constraints:
- valid_values: ["AVPN", "AVPNIVLAN", "3RDPARTYINTERNET", "MIS", "GMIS", "ASE", "ASEOD", "3RDPARTYETHERNET", "3RDPARTYMPLS", "HSIA-E"]
requirements:
- host:
capability: com.att.d2.capabilities.hostedOn
node: com.att.d2.resource.uCPE
#the participation of a network interface in a VLAN needs to carry a 'tag' attribute (tagged/untagged values)
#previously we attached this attribute to the Port
# com.att.d2.resource.ucpe.lan_port:
# properties:
# tag:
# type: string
# default: "tagged"
# constraints:
# - valid_values: [tagged, untagged]
#
# now it has to go in the relationship between the networkInterface and the VLAN, i.e. LinksTo
#
com.att.d2.resource.ucpe.vlan:
# can't use as a base type anymore as it has a Linkable capability
# derived_from: tosca.nodes.network.Network
properties:
vlan_id:
type: string
requirements:
- link:
capability: tosca.capabilities.network.Linkable
node: com.att.d2.resource.ucpe.networkInterface
relationship: tosca.relationships.network.LinksTo
- binding:
capability: tosca.capabilities.network.Bindable
node: com.att.d2.resource.ucpe.VNF
relationship: tosca.relationships.network.BindsTo
#virtual network functions to be hosted by a uCPE
com.att.d2.resource.ucpe.VNF:
derived_from: tosca.nodes.Root
properties:
att-part-number:
type: string
constraints:
- max_length: 255
vendor-name:
type: string
constraints:
- max_length: 255
vendor-part-number:
type: string
constraints:
- max_length: 255
vendor-model:
type: string
constraints:
- max_length: 255
vendor-model-description:
type: string
constraints:
- max_length: 255
vcpu-default:
type: integer
constraints:
- less_or_equal: 16
vcpu-min:
type: integer
constraints:
- less_or_equal: 16
vcpu-max:
type: integer
constraints:
- less_or_equal: 16
vmemory-default:
type: integer
vmemory-units:
type: string
default: "GB"
vmemory-min:
type: integer
constraints:
- less_or_equal: 16
vmemory-max:
type: integer
constraints:
- less_or_equal: 16
vdisk-default:
type: integer
vdisk-units:
type: string
default: "GB"
vdisk-min:
type: integer
constraints:
- less_or_equal: 16
vdisk-max:
type: integer
constraints:
- less_or_equal: 128
#what is this guy??
vnf-type:
type: string
software-version:
type: version
software-version-state:
type: integer
software-file-name:
type: string
constraints:
- max_length: 255
vnf-feature:
type: list
entry_schema: string
vnf-instance-id:
type: string
constraints:
- max_length: 255
management-option:
type: string
default: ATT
constraints:
- valid_values: ["CUSTOMER", "ATT"]
requirements:
- host:
capability: com.att.d2.capabilities.hostedOn
capabilities:
binding:
type: tosca.capabilities.network.Bindable
occurrences: [1,UNBOUNDED]
com.att.d2.resource.uCPE: # base node type for uCPE
derived_from: tosca.nodes.Root
properties:
att-part-number:
type: string
vendor-name:
type: string
required: true
vendor-model:
type: string
required: true
total-vcpu:
type: integer
description: number of vCPUs
total-memory:
type: integer
description: GB
total-disk:
type: integer
description: GB
base-system-image-file-name:
type: string
linux-host-vendor:
type: string
linux-host-os-version:
type: version
base-system-software:
type: string
jdm-vcpu:
type: integer
jdm-memory:
type: integer
description: GB
jdm-disk:
type: integer
description: GB
jdm-version:
type: string
jcp-vcpu:
type: integer
jcp-memory:
type: integer
description: GB
jcp-disk:
type: integer
description: GB
jcp-version:
type: version
capabilities:
vnf_hosting:
type: com.att.d2.capabilities.hostedOn
valid_source_types: [com.att.d2.resource.ucpe.VNF]
description: Provides hosting capability for VNFs
WAN_connectivity:
type: com.att.d2.capabilities.hostedOn
valid_source_types: [com.att.d2.resource.ucpe.wan_networkInterface]
description: external WAN1 n/w interface
occurrences: [1,2]
LAN_connectivity:
type: com.att.d2.capabilities.hostedOn
valid_source_types: [com.att.d2.resource.ucpe.lan_networkInterface]
description: external LAN n/w interface
occurrences: [1,8]
# specific VNFs
com.att.d2.resource.vRouter:
derived_from: com.att.d2.resource.ucpe.VNF
properties:
management-v6-address:
type: string
nm-lan-v6-address:
type: string
nm-lan-v6-prefix-length:
type: string
management-v4-address:
type: string
nm-lan-v4-address:
type: string
nm-lan-v4-prefix-length:
type: string
routing-instance-name:
type: string
routing-instances:
type: map
entry_schema:
type: routing-rule
com.att.d2.resource.vWANx:
derived_from: com.att.d2.resource.ucpe.VNF
properties:
# att-part-number:
# type: string
# default: "VCX-SUB-00255-U"
vendor-name:
type: string
default: "VendorX"
vendor-model:
type: string
default: "WANx-VM00"
vcpu-default:
type: integer
default: 1
vcpu-min:
type: integer
default: 1
vcpu-max:
type: integer
default: 1
vmemory-default:
type: integer
default: 1
vmemory-min:
type: integer
default: 1
vmemory-max:
type: integer
default: 1
vdisk-default:
type: integer
default: 20
vdisk-min:
type: integer
default: 2
vdisk-max:
type: integer
default: 20
vnf-type:
type: string
default: "Advanced WANx"
software-version:
description: "The WANx software version. The value must match the AT&T part number."
type: version
default: 9.2.0
software-file-name:
type: string
default: "vnfImageFilename"
vnf-instance-id:
type: string
description: "The WANx hostname."
com.att.d2.resource.vFW:
derived_from: com.att.d2.resource.ucpe.VNF
############################
# Customized capability types definitions
############################
capability_types:
com.att.d2.capabilities.hostedOn:
derived_from: tosca.capabilities.Root
|