blob: 0d27f4bd2bd7737293592ab94326ae9bb0f7afa3 [file] [log] [blame]
Matteo Scandolo1c92dac2018-11-05 17:30:58 -08001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# curl -H "xos-username: admin@opencord.org" -H "xos-password: letmein" -X POST --data-binary @onlab-pod2-bbsim-16.yaml http://10.90.0.120:30007/run
16
17tosca_definitions_version: tosca_simple_yaml_1_0
18imports:
19 - custom_types/oltdevice.yaml
20 - custom_types/onudevice.yaml
21 - custom_types/voltservice.yaml
22 - custom_types/bngportmapping.yaml
23 - custom_types/attworkflowdriverwhitelistentry.yaml
24 - custom_types/attworkflowdriverservice.yaml
25 - custom_types/rcordsubscriber.yaml
26 - custom_types/serviceinstanceattribute.yaml
27 - custom_types/onosapp.yaml
28description: Create a simulated OLT Device in VOLTHA
29topology_template:
30 node_templates:
31
32 service#volt:
33 type: tosca.nodes.VOLTService
34 properties:
35 name: volt
36 must-exist: true
37
38 olt_device:
39 type: tosca.nodes.OLTDevice
40 properties:
41 name: BBSIM_OLT
42 device_type: bbsimolt
43 host: bbsim.voltha.svc
44 port: 50060
45 switch_datapath_id: of:0000000000000002
46 switch_port: "3"
47 outer_tpid: "0x8100"
48 uplink: "65536"
49 nas_id: "NAS_ID"
50 serial_number: "bbsim.voltha.svc:50060"
51 requirements:
52 - volt_service:
53 node: service#volt
54 relationship: tosca.relationships.BelongsToOne
55
Matteo Scandolo1c92dac2018-11-05 17:30:58 -080056 # Whitelist
57 service#att:
58 type: tosca.nodes.AttWorkflowDriverService
59 properties:
60 name: att-workflow-driver
61 must-exist: true
62
63 BBSM00000100:
64 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
65 properties:
66 serial_number: BBSM00000100
67 pon_port_id: 536870913
68 device_id: of:0000000000000012
69 requirements:
70 - owner:
71 node: service#att
72 relationship: tosca.relationships.BelongsToOne
73
74 BBSM00000101:
75 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
76 properties:
77 serial_number: BBSM00000101
78 pon_port_id: 536870913
79 device_id: of:0000000000000012
80 requirements:
81 - owner:
82 node: service#att
83 relationship: tosca.relationships.BelongsToOne
84
85 BBSM00000102:
86 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
87 properties:
88 serial_number: BBSM00000102
89 pon_port_id: 536870913
90 device_id: of:0000000000000012
91 requirements:
92 - owner:
93 node: service#att
94 relationship: tosca.relationships.BelongsToOne
95
96 BBSM00000103:
97 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
98 properties:
99 serial_number: BBSM00000103
100 pon_port_id: 536870913
101 device_id: of:0000000000000012
102 requirements:
103 - owner:
104 node: service#att
105 relationship: tosca.relationships.BelongsToOne
106
107 BBSM00000104:
108 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
109 properties:
110 serial_number: BBSM00000104
111 pon_port_id: 536870913
112 device_id: of:0000000000000012
113 requirements:
114 - owner:
115 node: service#att
116 relationship: tosca.relationships.BelongsToOne
117
118 BBSM00000105:
119 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
120 properties:
121 serial_number: BBSM00000105
122 pon_port_id: 536870913
123 device_id: of:0000000000000012
124 requirements:
125 - owner:
126 node: service#att
127 relationship: tosca.relationships.BelongsToOne
128
129 BBSM00000106:
130 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
131 properties:
132 serial_number: BBSM00000106
133 pon_port_id: 536870913
134 device_id: of:0000000000000012
135 requirements:
136 - owner:
137 node: service#att
138 relationship: tosca.relationships.BelongsToOne
139
140 BBSM00000107:
141 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
142 properties:
143 serial_number: BBSM00000107
144 pon_port_id: 536870913
145 device_id: of:0000000000000012
146 requirements:
147 - owner:
148 node: service#att
149 relationship: tosca.relationships.BelongsToOne
150
151 BBSM00000108:
152 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
153 properties:
154 serial_number: BBSM00000108
155 pon_port_id: 536870913
156 device_id: of:0000000000000012
157 requirements:
158 - owner:
159 node: service#att
160 relationship: tosca.relationships.BelongsToOne
161
162 BBSM00000109:
163 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
164 properties:
165 serial_number: BBSM00000109
166 pon_port_id: 536870913
167 device_id: of:0000000000000012
168 requirements:
169 - owner:
170 node: service#att
171 relationship: tosca.relationships.BelongsToOne
172
173 BBSM0000010a:
174 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
175 properties:
176 serial_number: BBSM0000010a
177 pon_port_id: 536870913
178 device_id: of:0000000000000012
179 requirements:
180 - owner:
181 node: service#att
182 relationship: tosca.relationships.BelongsToOne
183
184 BBSM0000010b:
185 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
186 properties:
187 serial_number: BBSM0000010b
188 pon_port_id: 536870913
189 device_id: of:0000000000000012
190 requirements:
191 - owner:
192 node: service#att
193 relationship: tosca.relationships.BelongsToOne
194
195 BBSM0000010c:
196 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
197 properties:
198 serial_number: BBSM0000010c
199 pon_port_id: 536870913
200 device_id: of:0000000000000012
201 requirements:
202 - owner:
203 node: service#att
204 relationship: tosca.relationships.BelongsToOne
205
206 BBSM0000010d:
207 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
208 properties:
209 serial_number: BBSM0000010d
210 pon_port_id: 536870913
211 device_id: of:0000000000000012
212 requirements:
213 - owner:
214 node: service#att
215 relationship: tosca.relationships.BelongsToOne
216
217 BBSM0000010e:
218 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
219 properties:
220 serial_number: BBSM0000010e
221 pon_port_id: 536870913
222 device_id: of:0000000000000012
223 requirements:
224 - owner:
225 node: service#att
226 relationship: tosca.relationships.BelongsToOne
227
228 BBSM0000010f:
229 type: tosca.nodes.AttWorkflowDriverWhiteListEntry
230 properties:
231 serial_number: BBSM0000010f
232 pon_port_id: 536870913
233 device_id: of:0000000000000012
234 requirements:
235 - owner:
236 node: service#att
237 relationship: tosca.relationships.BelongsToOne
238
239 # Pre-provision the subscriber
240 bbsim_subscriber_0:
241 type: tosca.nodes.RCORDSubscriber
242 properties:
243 name: Sub_BBSM00000100
244 status: pre-provisioned
245 c_tag: 900
246 s_tag: 999
247 onu_device: BBSM00000100
248 circuit_id: circuit0
249 remote_id: remote0
250 nas_port_id: PON 2/1/01/1:1.1.0
251
252 bbsim_subscriber_1:
253 type: tosca.nodes.RCORDSubscriber
254 properties:
255 name: Sub_BBSM00000101
256 status: pre-provisioned
257 c_tag: 901
258 s_tag: 999
259 onu_device: BBSM00000101
260 circuit_id: circuit1
261 remote_id: remote1
262 nas_port_id: PON 2/1/01/1:1.1.1
263
264 bbsim_subscriber_2:
265 type: tosca.nodes.RCORDSubscriber
266 properties:
267 name: Sub_BBSM00000102
268 status: pre-provisioned
269 c_tag: 902
270 s_tag: 999
271 onu_device: BBSM00000102
272 circuit_id: circuit2
273 remote_id: remote2
274 nas_port_id: PON 2/1/01/1:1.1.2
275
276 bbsim_subscriber_3:
277 type: tosca.nodes.RCORDSubscriber
278 properties:
279 name: Sub_BBSM00000103
280 status: pre-provisioned
281 c_tag: 903
282 s_tag: 999
283 onu_device: BBSM00000103
284 circuit_id: circuit3
285 remote_id: remote3
286 nas_port_id: PON 2/1/01/1:1.1.3
287
288 bbsim_subscriber_4:
289 type: tosca.nodes.RCORDSubscriber
290 properties:
291 name: Sub_BBSM00000104
292 status: pre-provisioned
293 c_tag: 904
294 s_tag: 999
295 onu_device: BBSM00000104
296 circuit_id: circuit4
297 remote_id: remote4
298 nas_port_id: PON 2/1/01/1:1.1.4
299
300 bbsim_subscriber_5:
301 type: tosca.nodes.RCORDSubscriber
302 properties:
303 name: Sub_BBSM00000105
304 status: pre-provisioned
305 c_tag: 905
306 s_tag: 999
307 onu_device: BBSM00000105
308 circuit_id: circuit5
309 remote_id: remote5
310 nas_port_id: PON 2/1/01/1:1.1.5
311
312 bbsim_subscriber_6:
313 type: tosca.nodes.RCORDSubscriber
314 properties:
315 name: Sub_BBSM00000106
316 status: pre-provisioned
317 c_tag: 906
318 s_tag: 999
319 onu_device: BBSM00000106
320 circuit_id: circuit6
321 remote_id: remote6
322 nas_port_id: PON 2/1/01/1:1.1.6
323
324 bbsim_subscriber_7:
325 type: tosca.nodes.RCORDSubscriber
326 properties:
327 name: Sub_BBSM00000107
328 status: pre-provisioned
329 c_tag: 907
330 s_tag: 999
331 onu_device: BBSM00000107
332 circuit_id: circuit7
333 remote_id: remote7
334 nas_port_id: PON 2/1/01/1:1.1.7
335
336 bbsim_subscriber_8:
337 type: tosca.nodes.RCORDSubscriber
338 properties:
339 name: Sub_BBSM00000108
340 status: pre-provisioned
341 c_tag: 908
342 s_tag: 999
343 onu_device: BBSM00000108
344 circuit_id: circuit8
345 remote_id: remote8
346 nas_port_id: PON 2/1/01/1:1.1.8
347
348 bbsim_subscriber_9:
349 type: tosca.nodes.RCORDSubscriber
350 properties:
351 name: Sub_BBSM00000109
352 status: pre-provisioned
353 c_tag: 909
354 s_tag: 999
355 onu_device: BBSM00000109
356 circuit_id: circuit9
357 remote_id: remote9
358 nas_port_id: PON 2/1/01/1:1.1.9
359
360 bbsim_subscriber_a:
361 type: tosca.nodes.RCORDSubscriber
362 properties:
363 name: Sub_BBSM0000010a
364 status: pre-provisioned
365 c_tag: 910
366 s_tag: 999
367 onu_device: BBSM0000010a
368 circuit_id: circuit10a
369 remote_id: remote10a
370 nas_port_id: PON 2/1/01/1:1.1.10a
371
372 bbsim_subscriber_b:
373 type: tosca.nodes.RCORDSubscriber
374 properties:
375 name: Sub_BBSM0000010b
376 status: pre-provisioned
377 c_tag: 911
378 s_tag: 999
379 onu_device: BBSM0000010b
380 circuit_id: circuit10b
381 remote_id: remote10b
382 nas_port_id: PON 2/1/01/1:1.1.10b
383
384 bbsim_subscriber_c:
385 type: tosca.nodes.RCORDSubscriber
386 properties:
387 name: Sub_BBSM0000010c
388 status: pre-provisioned
389 c_tag: 912
390 s_tag: 999
391 onu_device: BBSM0000010c
392 circuit_id: circuit10c
393 remote_id: remote10c
394 nas_port_id: PON 2/1/01/1:1.1.10c
395
396 bbsim_subscriber_d:
397 type: tosca.nodes.RCORDSubscriber
398 properties:
399 name: Sub_BBSM0000010d
400 status: pre-provisioned
401 c_tag: 913
402 s_tag: 999
403 onu_device: BBSM0000010d
404 circuit_id: circuit10d
405 remote_id: remote10d
406 nas_port_id: PON 2/1/01/1:1.1.10d
407
408 bbsim_subscriber_e:
409 type: tosca.nodes.RCORDSubscriber
410 properties:
411 name: Sub_BBSM0000010e
412 status: pre-provisioned
413 c_tag: 914
414 s_tag: 999
415 onu_device: BBSM0000010e
416 circuit_id: circuit10e
417 remote_id: remote10e
418 nas_port_id: PON 2/1/01/1:1.1.10e
419
420 bbsim_subscriber_f:
421 type: tosca.nodes.RCORDSubscriber
422 properties:
423 name: Sub_BBSM0000010f
424 status: pre-provisioned
425 c_tag: 915
426 s_tag: 999
427 onu_device: BBSM0000010f
428 circuit_id: circuit10f
429 remote_id: remote10f
430 nas_port_id: PON 2/1/01/1:1.1.10f