blob: 0407aa24ac5aa767509f3f6a911c11bfafbf793c [file] [log] [blame]
You Wang84f981d2018-01-12 16:11:50 -08001<TOPOLOGY>
2 <COMPONENT>
3
4 <ONOScell>
5 <host>localhost</host> # ONOS "bench" machine
6 <user>sdn</user>
7 <password>rocks</password>
8 <type>OnosClusterDriver</type>
9 <connect_order>1</connect_order>
10 <COMPONENTS>
11 <cluster_name></cluster_name> # Used as a prefix for cluster components. Defaults to 'ONOS'
12 <diff_clihost></diff_clihost> # if it has different host other than localhost for CLI. True or empty. OC# will be used for True.
13 <karaf_username></karaf_username>
14 <karaf_password></karaf_password>
15 <web_user></web_user>
16 <web_pass></web_pass>
17 <rest_port></rest_port>
18 <prompt></prompt> # TODO: we technically need a few of these, one per component
19 <onos_home></onos_home> # defines where onos home is
20 <nodes> 3 </nodes> # number of nodes in the cluster
21 </COMPONENTS>
22 </ONOScell>
23
24 <MininetSwitch1>
25 <host>OCN</host>
26 <user>sdn</user>
27 <password>rocks</password>
28 <type>MininetSwitchDriver</type>
29 <connect_order>2</connect_order>
30 <COMPONENTS>
31 <shortName>s1</shortName>
32 <link1>MininetSwitch2</link1>
33 <link2>MininetSwitch3</link2>
34 <link3>MininetSwitch4</link3>
35 <link4>MininetSwitch5</link4>
36 </COMPONENTS>
37 </MininetSwitch1>
38
39 <MininetSwitch2>
40 <host>OCN</host>
41 <user>sdn</user>
42 <password>rocks</password>
43 <type>MininetSwitchDriver</type>
44 <connect_order>3</connect_order>
45 <COMPONENTS>
46 <shortName>s2</shortName>
47 <link1>MininetSwitch1</link1>
48 <link2>MininetSwitch3</link2>
49 <link3>MininetSwitch5</link3>
50 <link4>MininetSwitch6</link4>
51 </COMPONENTS>
52 </MininetSwitch2>
53
54 <MininetSwitch3>
55 <host>OCN</host>
56 <user>sdn</user>
57 <password>rocks</password>
58 <type>MininetSwitchDriver</type>
59 <connect_order>4</connect_order>
60 <COMPONENTS>
61 <shortName>s3</shortName>
62 <link1>MininetSwitch1</link1>
63 <link2>MininetSwitch2</link2>
64 <link3>MininetSwitch4</link3>
65 <link4>MininetSwitch6</link4>
66 </COMPONENTS>
67 </MininetSwitch3>
68
69 <MininetSwitch4>
70 <host>OCN</host>
71 <user>sdn</user>
72 <password>rocks</password>
73 <type>MininetSwitchDriver</type>
74 <connect_order>5</connect_order>
75 <COMPONENTS>
76 <shortName>s4</shortName>
77 <link1>MininetSwitch1</link1>
78 <link2>MininetSwitch3</link2>
79 <link3>MininetSwitch7</link3>
80 </COMPONENTS>
81 </MininetSwitch4>
82
83 <MininetSwitch5>
84 <host>OCN</host>
85 <user>sdn</user>
86 <password>rocks</password>
87 <type>MininetSwitchDriver</type>
88 <connect_order>6</connect_order>
89 <COMPONENTS>
90 <shortName>s5</shortName>
91 <link1>MininetHost1</link1>
92 <link2>MininetHost2</link2>
93 <link3>MininetHost3</link3>
94 <link4>MininetHost4</link4>
95 <link5>MininetHost5</link5>
96 <link6>MininetHost6</link6>
97 <link7>MininetHost7</link7>
98 <link8>MininetHost8</link8>
99 <link9>MininetSwitch1</link9>
100 <link10>MininetSwitch2</link10>
101 </COMPONENTS>
102 </MininetSwitch5>
103
104 <MininetSwitch6>
105 <host>OCN</host>
106 <user>sdn</user>
107 <password>rocks</password>
108 <type>MininetSwitchDriver</type>
109 <connect_order>7</connect_order>
110 <COMPONENTS>
111 <shortName>s6</shortName>
112 <link1>MininetHost9</link1>
113 <link2>MininetHost10</link2>
114 <link3>MininetHost11</link3>
115 <link4>MininetHost12</link4>
116 <link5>MininetHost13</link5>
117 <link6>MininetHost14</link6>
118 <link7>MininetHost15</link7>
119 <link8>MininetHost16</link8>
120 <link9>MininetSwitch2</link9>
121 <link10>MininetSwitch3</link10>
122 </COMPONENTS>
123 </MininetSwitch6>
124
125 <MininetSwitch7>
126 <host>OCN</host>
127 <user>sdn</user>
128 <password>rocks</password>
129 <type>MininetSwitchDriver</type>
130 <connect_order>8</connect_order>
131 <COMPONENTS>
132 <shortName>s7</shortName>
133 <link1>MininetHost17</link1>
134 <link2>MininetHost18</link2>
135 <link3>MininetHost19</link3>
136 <link4>MininetHost20</link4>
137 <link5>MininetHost21</link5>
138 <link6>MininetHost22</link6>
139 <link7>MininetHost23</link7>
140 <link8>MininetHost24</link8>
141 <link9>MininetSwitch4</link9>
142 </COMPONENTS>
143 </MininetSwitch7>
144
145 <MininetHost1>
146 <host>OCN</host>
147 <user>sdn</user>
148 <password>rocks</password>
149 <type>MininetHostDriver</type>
150 <connect_order>9</connect_order>
151 <COMPONENTS>
152 <ip>10.1.0.2</ip>
153 <shortName>h1</shortName>
154 </COMPONENTS>
155 </MininetHost1>
156
157 <MininetHost2>
158 <host>OCN</host>
159 <user>sdn</user>
160 <password>rocks</password>
161 <type>MininetHostDriver</type>
162 <connect_order>10</connect_order>
163 <COMPONENTS>
164 <ip6>1000::2</ip6>
165 <shortName>h2</shortName>
166 </COMPONENTS>
167 </MininetHost2>
168
169 <MininetHost3>
170 <host>OCN</host>
171 <user>sdn</user>
172 <password>rocks</password>
173 <type>MininetHostDriver</type>
174 <connect_order>11</connect_order>
175 <COMPONENTS>
176 <ip>10.1.0.3</ip>
177 <ip6>2000::2</ip6>
178 <shortName>h3</shortName>
179 </COMPONENTS>
180 </MininetHost3>
181
182 <MininetHost4>
183 <host>OCN</host>
184 <user>sdn</user>
185 <password>rocks</password>
186 <type>MininetHostDriver</type>
187 <connect_order>12</connect_order>
188 <COMPONENTS>
189 <ip>100.1.0.2</ip>
190 <ip6>3000::2</ip6>
191 <vlan>100</vlan>
192 <shortName>h4</shortName>
193 </COMPONENTS>
194 </MininetHost4>
195
196 <MininetHost5>
197 <host>OCN</host>
198 <user>sdn</user>
199 <password>rocks</password>
200 <type>MininetHostDriver</type>
201 <connect_order>13</connect_order>
202 <COMPONENTS>
203 <ip>200.1.0.2</ip>
204 <ip6>4000::2</ip6>
205 <vlan>200</vlan>
206 <shortName>h5</shortName>
207 </COMPONENTS>
208 </MininetHost5>
209
210 <MininetHost6>
211 <host>OCN</host>
212 <user>sdn</user>
213 <password>rocks</password>
214 <type>MininetHostDriver</type>
215 <connect_order>14</connect_order>
216 <COMPONENTS>
217 <ip>11.1.0.2</ip>
218 <shortName>h6</shortName>
219 </COMPONENTS>
220 </MininetHost6>
221
222 <MininetHost7>
223 <host>OCN</host>
224 <user>sdn</user>
225 <password>rocks</password>
226 <type>MininetHostDriver</type>
227 <connect_order>15</connect_order>
228 <COMPONENTS>
229 <ip>12.1.0.2</ip>
230 <shortName>h7</shortName>
231 </COMPONENTS>
232 </MininetHost7>
233
234 <MininetHost8>
235 <host>OCN</host>
236 <user>sdn</user>
237 <password>rocks</password>
238 <type>MininetHostDriver</type>
239 <connect_order>16</connect_order>
240 <COMPONENTS>
241 <ip>10.1.0.4</ip>
242 <shortName>h8</shortName>
243 </COMPONENTS>
244 </MininetHost8>
245
246 <MininetHost9>
247 <host>OCN</host>
248 <user>sdn</user>
249 <password>rocks</password>
250 <type>MininetHostDriver</type>
251 <connect_order>17</connect_order>
252 <COMPONENTS>
253 <ip>10.1.0.5</ip>
254 <shortName>h9</shortName>
255 </COMPONENTS>
256 </MininetHost9>
257
258 <MininetHost10>
259 <host>OCN</host>
260 <user>sdn</user>
261 <password>rocks</password>
262 <type>MininetHostDriver</type>
263 <connect_order>18</connect_order>
264 <COMPONENTS>
265 <ip6>1000::3</ip6>
266 <shortName>h10</shortName>
267 </COMPONENTS>
268 </MininetHost10>
269
270 <MininetHost11>
271 <host>OCN</host>
272 <user>sdn</user>
273 <password>rocks</password>
274 <type>MininetHostDriver</type>
275 <connect_order>19</connect_order>
276 <COMPONENTS>
277 <ip>10.1.0.6</ip>
278 <ip6>2000::3</ip6>
279 <shortName>h11</shortName>
280 </COMPONENTS>
281 </MininetHost11>
282
283 <MininetHost12>
284 <host>OCN</host>
285 <user>sdn</user>
286 <password>rocks</password>
287 <type>MininetHostDriver</type>
288 <connect_order>20</connect_order>
289 <COMPONENTS>
290 <ip>100.1.0.3</ip>
291 <ip6>3000::3</ip6>
292 <vlan>100</vlan>
293 <shortName>h12</shortName>
294 </COMPONENTS>
295 </MininetHost12>
296
297 <MininetHost13>
298 <host>OCN</host>
299 <user>sdn</user>
300 <password>rocks</password>
301 <type>MininetHostDriver</type>
302 <connect_order>21</connect_order>
303 <COMPONENTS>
304 <ip>200.1.0.3</ip>
305 <ip6>4000::3</ip6>
306 <vlan>200</vlan>
307 <shortName>h13</shortName>
308 </COMPONENTS>
309 </MininetHost13>
310
311 <MininetHost14>
312 <host>OCN</host>
313 <user>sdn</user>
314 <password>rocks</password>
315 <type>MininetHostDriver</type>
316 <connect_order>22</connect_order>
317 <COMPONENTS>
318 <ip>11.1.0.3</ip>
319 <shortName>h14</shortName>
320 </COMPONENTS>
321 </MininetHost14>
322
323 <MininetHost15>
324 <host>OCN</host>
325 <user>sdn</user>
326 <password>rocks</password>
327 <type>MininetHostDriver</type>
328 <connect_order>23</connect_order>
329 <COMPONENTS>
330 <ip>12.1.0.3</ip>
331 <shortName>h15</shortName>
332 </COMPONENTS>
333 </MininetHost15>
334
335 <MininetHost16>
336 <host>OCN</host>
337 <user>sdn</user>
338 <password>rocks</password>
339 <type>MininetHostDriver</type>
340 <connect_order>24</connect_order>
341 <COMPONENTS>
342 <ip>10.1.0.7</ip>
343 <shortName>h16</shortName>
344 </COMPONENTS>
345 </MininetHost16>
346
347 <MininetHost17>
348 <host>OCN</host>
349 <user>sdn</user>
350 <password>rocks</password>
351 <type>MininetHostDriver</type>
352 <connect_order>25</connect_order>
353 <COMPONENTS>
354 <ip>10.1.0.8</ip>
355 <shortName>h17</shortName>
356 </COMPONENTS>
357 </MininetHost17>
358
359 <MininetHost18>
360 <host>OCN</host>
361 <user>sdn</user>
362 <password>rocks</password>
363 <type>MininetHostDriver</type>
364 <connect_order>26</connect_order>
365 <COMPONENTS>
366 <ip6>1000::4</ip6>
367 <shortName>h18</shortName>
368 </COMPONENTS>
369 </MininetHost18>
370
371 <MininetHost19>
372 <host>OCN</host>
373 <user>sdn</user>
374 <password>rocks</password>
375 <type>MininetHostDriver</type>
376 <connect_order>27</connect_order>
377 <COMPONENTS>
378 <ip>10.1.0.9</ip>
379 <ip6>2000::4</ip6>
380 <shortName>h19</shortName>
381 </COMPONENTS>
382 </MininetHost19>
383
384 <MininetHost20>
385 <host>OCN</host>
386 <user>sdn</user>
387 <password>rocks</password>
388 <type>MininetHostDriver</type>
389 <connect_order>28</connect_order>
390 <COMPONENTS>
391 <ip>100.1.0.4</ip>
392 <ip6>3000::4</ip6>
393 <vlan>100</vlan>
394 <shortName>h20</shortName>
395 </COMPONENTS>
396 </MininetHost20>
397
398 <MininetHost21>
399 <host>OCN</host>
400 <user>sdn</user>
401 <password>rocks</password>
402 <type>MininetHostDriver</type>
403 <connect_order>29</connect_order>
404 <COMPONENTS>
405 <ip>200.1.0.4</ip>
406 <ip6>4000::4</ip6>
407 <vlan>200</vlan>
408 <shortName>h21</shortName>
409 </COMPONENTS>
410 </MininetHost21>
411
412 <MininetHost22>
413 <host>OCN</host>
414 <user>sdn</user>
415 <password>rocks</password>
416 <type>MininetHostDriver</type>
417 <connect_order>30</connect_order>
418 <COMPONENTS>
419 <ip>11.1.0.4</ip>
420 <shortName>h22</shortName>
421 </COMPONENTS>
422 </MininetHost22>
423
424 <MininetHost23>
425 <host>OCN</host>
426 <user>sdn</user>
427 <password>rocks</password>
428 <type>MininetHostDriver</type>
429 <connect_order>31</connect_order>
430 <COMPONENTS>
431 <ip>12.1.0.4</ip>
432 <shortName>h23</shortName>
433 </COMPONENTS>
434 </MininetHost23>
435
436 <MininetHost24>
437 <host>OCN</host>
438 <user>sdn</user>
439 <password>rocks</password>
440 <type>MininetHostDriver</type>
441 <connect_order>32</connect_order>
442 <COMPONENTS>
443 <ip>10.1.0.10</ip>
444 <shortName>h24</shortName>
445 </COMPONENTS>
446 </MininetHost24>
447
448 <h1>
449 <host>OCN</host>
450 <user>sdn</user>
451 <password>rocks</password>
452 <type>MininetHostScapyCliDriver</type>
453 <connect_order>33</connect_order>
454 <COMPONENTS>
455 <ifaceName>h1-eth0</ifaceName>
456 </COMPONENTS>
457 </h1>
458
459 <h2>
460 <host>OCN</host>
461 <user>sdn</user>
462 <password>rocks</password>
463 <type>MininetHostScapyCliDriver</type>
464 <connect_order>34</connect_order>
465 <COMPONENTS>
466 <ifaceName>h2-eth0</ifaceName>
467 </COMPONENTS>
468 </h2>
469
470 <h3>
471 <host>OCN</host>
472 <user>sdn</user>
473 <password>rocks</password>
474 <type>MininetHostScapyCliDriver</type>
475 <connect_order>35</connect_order>
476 <COMPONENTS>
477 <ifaceName>h3-eth0</ifaceName>
478 </COMPONENTS>
479 </h3>
480
481 <h4>
482 <host>OCN</host>
483 <user>sdn</user>
484 <password>rocks</password>
485 <type>MininetHostScapyCliDriver</type>
486 <connect_order>36</connect_order>
487 <COMPONENTS>
488 <ifaceName>h4-eth0</ifaceName>
489 </COMPONENTS>
490 </h4>
491
492 <h5>
493 <host>OCN</host>
494 <user>sdn</user>
495 <password>rocks</password>
496 <type>MininetHostScapyCliDriver</type>
497 <connect_order>37</connect_order>
498 <COMPONENTS>
499 <ifaceName>h5-eth0</ifaceName>
500 </COMPONENTS>
501 </h5>
502
503 <h6>
504 <host>OCN</host>
505 <user>sdn</user>
506 <password>rocks</password>
507 <type>MininetHostScapyCliDriver</type>
508 <connect_order>38</connect_order>
509 <COMPONENTS>
510 <ifaceName>h6-eth0</ifaceName>
511 </COMPONENTS>
512 </h6>
513
514 <h7>
515 <host>OCN</host>
516 <user>sdn</user>
517 <password>rocks</password>
518 <type>MininetHostScapyCliDriver</type>
519 <connect_order>39</connect_order>
520 <COMPONENTS>
521 <ifaceName>h7-eth0</ifaceName>
522 </COMPONENTS>
523 </h7>
524
525 <h8>
526 <host>OCN</host>
527 <user>sdn</user>
528 <password>rocks</password>
529 <type>MininetHostScapyCliDriver</type>
530 <connect_order>40</connect_order>
531 <COMPONENTS>
532 <ifaceName>h8-eth0</ifaceName>
533 </COMPONENTS>
534 </h8>
535
536 <h9>
537 <host>OCN</host>
538 <user>sdn</user>
539 <password>rocks</password>
540 <type>MininetHostScapyCliDriver</type>
541 <connect_order>41</connect_order>
542 <COMPONENTS>
543 <ifaceName>h9-eth0</ifaceName>
544 </COMPONENTS>
545 </h9>
546
547 <h10>
548 <host>OCN</host>
549 <user>sdn</user>
550 <password>rocks</password>
551 <type>MininetHostScapyCliDriver</type>
552 <connect_order>42</connect_order>
553 <COMPONENTS>
554 <ifaceName>h10-eth0</ifaceName>
555 </COMPONENTS>
556 </h10>
557
558 <h11>
559 <host>OCN</host>
560 <user>sdn</user>
561 <password>rocks</password>
562 <type>MininetHostScapyCliDriver</type>
563 <connect_order>43</connect_order>
564 <COMPONENTS>
565 <ifaceName>h11-eth0</ifaceName>
566 </COMPONENTS>
567 </h11>
568
569 <h12>
570 <host>OCN</host>
571 <user>sdn</user>
572 <password>rocks</password>
573 <type>MininetHostScapyCliDriver</type>
574 <connect_order>44</connect_order>
575 <COMPONENTS>
576 <ifaceName>h12-eth0</ifaceName>
577 </COMPONENTS>
578 </h12>
579
580 <h13>
581 <host>OCN</host>
582 <user>sdn</user>
583 <password>rocks</password>
584 <type>MininetHostScapyCliDriver</type>
585 <connect_order>45</connect_order>
586 <COMPONENTS>
587 <ifaceName>h13-eth0</ifaceName>
588 </COMPONENTS>
589 </h13>
590
591 <h14>
592 <host>OCN</host>
593 <user>sdn</user>
594 <password>rocks</password>
595 <type>MininetHostScapyCliDriver</type>
596 <connect_order>46</connect_order>
597 <COMPONENTS>
598 <ifaceName>h14-eth0</ifaceName>
599 </COMPONENTS>
600 </h14>
601
602 <h15>
603 <host>OCN</host>
604 <user>sdn</user>
605 <password>rocks</password>
606 <type>MininetHostScapyCliDriver</type>
607 <connect_order>47</connect_order>
608 <COMPONENTS>
609 <ifaceName>h15-eth0</ifaceName>
610 </COMPONENTS>
611 </h15>
612
613 <h16>
614 <host>OCN</host>
615 <user>sdn</user>
616 <password>rocks</password>
617 <type>MininetHostScapyCliDriver</type>
618 <connect_order>48</connect_order>
619 <COMPONENTS>
620 <ifaceName>h16-eth0</ifaceName>
621 </COMPONENTS>
622 </h16>
623
624 <h17>
625 <host>OCN</host>
626 <user>sdn</user>
627 <password>rocks</password>
628 <type>MininetHostScapyCliDriver</type>
629 <connect_order>49</connect_order>
630 <COMPONENTS>
631 <ifaceName>h17-eth0</ifaceName>
632 </COMPONENTS>
633 </h17>
634
635 <h18>
636 <host>OCN</host>
637 <user>sdn</user>
638 <password>rocks</password>
639 <type>MininetHostScapyCliDriver</type>
640 <connect_order>50</connect_order>
641 <COMPONENTS>
642 <ifaceName>h18-eth0</ifaceName>
643 </COMPONENTS>
644 </h18>
645
646 <h19>
647 <host>OCN</host>
648 <user>sdn</user>
649 <password>rocks</password>
650 <type>MininetHostScapyCliDriver</type>
651 <connect_order>51</connect_order>
652 <COMPONENTS>
653 <ifaceName>h19-eth0</ifaceName>
654 </COMPONENTS>
655 </h19>
656
657 <h20>
658 <host>OCN</host>
659 <user>sdn</user>
660 <password>rocks</password>
661 <type>MininetHostScapyCliDriver</type>
662 <connect_order>52</connect_order>
663 <COMPONENTS>
664 <ifaceName>h20-eth0</ifaceName>
665 </COMPONENTS>
666 </h20>
667
668 <h21>
669 <host>OCN</host>
670 <user>sdn</user>
671 <password>rocks</password>
672 <type>MininetHostScapyCliDriver</type>
673 <connect_order>53</connect_order>
674 <COMPONENTS>
675 <ifaceName>h21-eth0</ifaceName>
676 </COMPONENTS>
677 </h21>
678
679 <h22>
680 <host>OCN</host>
681 <user>sdn</user>
682 <password>rocks</password>
683 <type>MininetHostScapyCliDriver</type>
684 <connect_order>54</connect_order>
685 <COMPONENTS>
686 <ifaceName>h22-eth0</ifaceName>
687 </COMPONENTS>
688 </h22>
689
690 <h23>
691 <host>OCN</host>
692 <user>sdn</user>
693 <password>rocks</password>
694 <type>MininetHostScapyCliDriver</type>
695 <connect_order>55</connect_order>
696 <COMPONENTS>
697 <ifaceName>h23-eth0</ifaceName>
698 </COMPONENTS>
699 </h23>
700
701 <h24>
702 <host>OCN</host>
703 <user>sdn</user>
704 <password>rocks</password>
705 <type>MininetHostScapyCliDriver</type>
706 <connect_order>56</connect_order>
707 <COMPONENTS>
708 <ifaceName>h24-eth0</ifaceName>
709 </COMPONENTS>
710 </h24>
711
712 <NetworkBench>
713 <host>OCN</host>
714 <user>sdn</user>
715 <password>rocks</password>
716 <type>NetworkDriver</type>
717 <connect_order>57</connect_order>
718 <COMPONENTS>
719 </COMPONENTS>
720 </NetworkBench>
721
722 </COMPONENT>
723</TOPOLOGY>