397 | | (TBD) |
| 397 | === Configuring ToR1<->ToR2 Connection 1 on Mininet-Optical using NETCONF === |
| 398 | |
| 399 | * ROADM 4: |
| 400 | 1. Enable MUX port 4102 “From ToR 1” |
| 401 | 2. Add Connection “Exp1-FromTor1” with Input/ Output Port 4102/4201 with bandwidth [192.95;193.05] |
| 402 | 3. Enable DEMUX port 5202 “Towards ToR 1” |
| 403 | 4. Add Connection “Exp1-TorwardTor1” with I/O Port 5101/5202 |
| 404 | |
| 405 | The NETCONF servers for `roadm1`-`roadm4` are listening on `localhost` at ports 1831-1834, respectively. |
| 406 | We will use the `examples/nc_add_connection.py` script to configure connections using NETCONF. |
| 407 | |
| 408 | Note that MUX/ADD/LINEOUT is module 1 and DEMUX/DROP/LINEIN is module 2. We are calling all of our |
| 409 | connections connection 10. |
| 410 | |
| 411 | {{{ |
| 412 | examples/nc_add_connection.py localhost:1834 1 10 in-service false 4102 4201 192950 193050 5 Exp1-FromTor1 |
| 413 | examples/nc_add_connection.py localhost:1834 2 10 in-service false 5101 5202 192950 193050 5 Exp1-TorwardTor1 |
| 414 | }}} |
| 415 | |
| 416 | * ROADM 1: |
| 417 | 5. Enable MUX port 4102 “From ToR 2” |
| 418 | 6. Add Connection “From ToR 2” with I/O Port 4102/4201 with bandwidth [192.95;193.05] |
| 419 | 7. Enable DEMUX port 5202 “Towards ToR 2” |
| 420 | 8. Add Connection “Towards ToR 2” with I/O Port 5101/5202 |
| 421 | |
| 422 | {{{ |
| 423 | examples/nc_add_connection.py localhost:1831 1 10 in-service false 4102 4201 192950 193050 5 Exp1-FromTor2 |
| 424 | examples/nc_add_connection.py localhost:1831 2 10 in-service false 5101 5202 192950 193050 5 Exp1-TorwardTor2 |
| 425 | }}} |
| 426 | |
| 427 | === Configuring ToR1<->ToR3 Connection 2 on Mininet-Optical using NETCONF === |
| 428 | |
| 429 | * ROADM 4 (Same As For Connection 1): |
| 430 | 1. Enable MUX port 4102 “From ToR 1” |
| 431 | 2. Add Connection “From ToR 1” with I/O Port 4102/4201 with bandwidth [192.95;193.05] |
| 432 | 3. Enable DEMUX port 5202 “Towards ToR 1” |
| 433 | 4. Add Connection “Towards ToR 1” with I/O Port 5101/5202 with bandwidth [192.95;193.05] |
| 434 | {{{ |
| 435 | examples/nc_add_connection.py localhost:1834 1 10 in-service false 4102 4201 192950 193050 5 Exp1-FromTor1 |
| 436 | examples/nc_add_connection.py localhost:1834 2 10 in-service false 5101 5202 192950 193050 5 Exp1-TorwardTor1 |
| 437 | }}} |
| 438 | |
| 439 | * ROADM 1 <Not Same!>: |
| 440 | 5. Enable MUX port 4101 “Through Port” (enabled for Snake) |
| 441 | 6. Add Connection “Through In” with I/O Port 4101/4201 with bandwidth [192.95;193.05] |
| 442 | 7. Enable DEMUX port 5201 “Through Port” (enabled for Snake) |
| 443 | 8. Add Connection “Through Out” with I/O Port 5101/5201 with bandwidth [192.95;193.05] |
| 444 | |
| 445 | This time we pass channel 34 through ROADM 1: |
| 446 | {{{ |
| 447 | examples/nc_add_connection.py localhost:1831 1 10 in-service false 4101 4201 192950 193050 5 Exp1-EastR1 |
| 448 | examples/nc_add_connection.py localhost:1831 2 10 in-service false 5101 5201 192950 193050 5 Exp1-WestR1 |
| 449 | }}} |
| 450 | |
| 451 | * ROADM 2 (Same As For ROADM1): |
| 452 | 9. Enable MUX port 4101 “Through Port” (enabled for Snake) |
| 453 | 10. Add Connection “Through In” with I/O Port 4101/4201 with bandwidth [192.95;193.05] |
| 454 | 11. Enable DEMUX port 5201 “Through Port” (enabled for Snake) |
| 455 | 12. Add Connection “Through Out” with I/O Port 5101/5201 with bandwidth [192.95;193.05] |
| 456 | |
| 457 | And pass through ROADM2: |
| 458 | {{{ |
| 459 | examples/nc_add_connection.py localhost:1832 1 10 in-service false 4101 4201 192950 193050 5 Exp1-WestR2 |
| 460 | examples/nc_add_connection.py localhost:1832 2 10 in-service false 5101 5201 192950 193050 5 Exp1-EastR2 |
| 461 | }}} |
| 462 | |
| 463 | * ROADM 3 (Same As For ROADM4): |
| 464 | 13. Enable MUX port 4102 “From ToR 3” |
| 465 | 14. Add Connection “From ToR 3” with I/O Port 4102/4201 with bandwidth [192.95;193.05] |
| 466 | 15. Enable DEMUX port 5202 “Towards ToR 3” |
| 467 | 16. Add Connection “Towards ToR 3” with I/O Port 5101/5202 with bandwidth [192.95;193.05] |
| 468 | |
| 469 | And we drop at ROADM3: |
| 470 | {{{ |
| 471 | examples/nc_add_connection.py localhost:1833 1 10 in-service false 4102 4201 192950 193050 5 Exp1-FromTor2 |
| 472 | examples/nc_add_connection.py localhost:1833 2 10 in-service false 5101 5202 192950 193050 5 Exp1-TorwardTor2 |
| 473 | }}} |
| 474 | |