Changes between Version 7 and Version 8 of Tutorials/Optical/Mininet Optical Tutorial1


Ignore:
Timestamp:
Jul 27, 2022, 1:30:23 AM (22 months ago)
Author:
lantz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Tutorials/Optical/Mininet Optical Tutorial1

    v7 v8  
    9999{{{
    1001001553,30 nm 193,00 with bandwidth ~[192.95;193.05] Thz
    101 This corresponds to channel 33 in Mininet-Optical's default channel grid.
     101This corresponds to channel 34 in Mininet-Optical's default channel grid.
    102102}}}
    103103
     
    319319192.95THz..193.05THz has a middle frequency of 193.00 THz, which corresponds to channel C32
    320320on Mininet-Optical's default 50GHz channel grid.
    321 C1's middle frequency is 191400 GHz, so C33 is at 191400 + 32*50 = 193000 GHz.
    322 
    323 We use curl to send a REST request to ROADM4 to add/drop ch33:
    324 {{{
    325     curl "localhost:8080/connect?node=roadm4&port1=4102&port2=4201&channels=33"
    326     curl "localhost:8080/connect?node=roadm4&port1=5101&port2=5202&channels=33"
     321C1's middle frequency is 191350 GHz, so C34 is at 191350 + 33*50 = 193000 GHz.
     322
     323We use curl to send a REST request to ROADM4 to add/drop ch34:
     324{{{
     325    curl "localhost:8080/connect?node=roadm4&port1=4102&port2=4201&channels=34"
     326    curl "localhost:8080/connect?node=roadm4&port1=5101&port2=5202&channels=34"
    327327}}}
    328328
     
    3333338. Add Connection “Towards ToR 2” with I/O Port 5101/5202
    334334
    335 We use curl to send a REST request to ROADM4 to add/drop ch33:
    336 {{{
    337     curl "localhost:8080/connect?node=roadm1&port1=4102&port2=4201&channels=33"
    338     curl "localhost:8080/connect?node=roadm1&port1=5101&port2=5202&channels=33"
     335We use curl to send a REST request to ROADM4 to add/drop ch34:
     336{{{
     337    curl "localhost:8080/connect?node=roadm1&port1=4102&port2=4201&channels=34"
     338    curl "localhost:8080/connect?node=roadm1&port1=5101&port2=5202&channels=34"
    339339}}}
    340340
     
    3473474. Add Connection “Towards ToR 1” with I/O Port 5101/5202 with bandwidth [192.95;193.05]
    348348{{{
    349     curl "localhost:8080/connect?node=roadm4&port1=4102&port2=4201&channels=33"
    350     curl "localhost:8080/connect?node=roadm4&port1=5101&port2=5202&channels=33"
     349    curl "localhost:8080/connect?node=roadm4&port1=4102&port2=4201&channels=34"
     350    curl "localhost:8080/connect?node=roadm4&port1=5101&port2=5202&channels=34"
    351351}}}
    352352
     
    3573578. Add Connection “Through Out” with I/O Port 5101/5201 with bandwidth [192.95;193.05]
    358358
    359 This time we pass channel 33 through ROADM1:
    360 {{{
    361     curl "localhost:8080/connect?node=roadm1&port1=4101&port2=4201&channels=33"
    362     curl "localhost:8080/connect?node=roadm1&port1=5101&port2=5201&channels=33"
     359This time we pass channel 34 through ROADM1:
     360{{{
     361    curl "localhost:8080/connect?node=roadm1&port1=4101&port2=4201&channels=34"
     362    curl "localhost:8080/connect?node=roadm1&port1=5101&port2=5201&channels=34"
    363363}}}
    364364
     
    371371And pass through ROADM2:
    372372{{{
    373     curl "localhost:8080/connect?node=roadm2&port1=4101&port2=4201&channels=33"
    374     curl "localhost:8080/connect?node=roadm2&port1=5101&port2=5201&channels=33"
     373    curl "localhost:8080/connect?node=roadm2&port1=4101&port2=4201&channels=34"
     374    curl "localhost:8080/connect?node=roadm2&port1=5101&port2=5201&channels=34"
    375375}}}
    376376
     
    383383And we drop at ROADM3:
    384384{{{
    385     curl "localhost:8080/connect?node=roadm3&port1=4102&port2=4201&channels=33"
    386     curl "localhost:8080/connect?node=roadm3&port1=5101&port2=5202&channels=33"
     385    curl "localhost:8080/connect?node=roadm3&port1=4102&port2=4201&channels=34"
     386    curl "localhost:8080/connect?node=roadm3&port1=5101&port2=5202&channels=34"
    387387}}}
    388388
     
    407407
    408408{{{
    409 curl "localhost:8080/connect?node=tor1&ethPort=1&wdmPort=320&wdmInPort=321&channel=33"
    410 curl "localhost:8080/connect?node=tor2&ethPort=2&wdmPort=290&wdmInPort=291&channel=33"
    411 curl "localhost:8080/connect?node=tor3&ethPort=3&wdmPort=310&wdmInPort=311&channel=33"
     409curl "localhost:8080/connect?node=tor1&ethPort=1&wdmPort=320&wdmInPort=321&channel=34"
     410curl "localhost:8080/connect?node=tor2&ethPort=2&wdmPort=290&wdmInPort=291&channel=34"
     411curl "localhost:8080/connect?node=tor3&ethPort=3&wdmPort=310&wdmInPort=311&channel=34"
    412412}}}
    413413