Changes between Version 16 and Version 17 of Workshops/Sig Comm2022/Mininet Optical


Ignore:
Timestamp:
Aug 19, 2022, 4:02:07 PM (2 years ago)
Author:
rajag
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Workshops/Sig Comm2022/Mininet Optical

    v16 v17  
    183183
    184184----
     185
     186= Creating the Mininet-Optical Network =
     187
     188All of these commands should be run in a terminal window for the VM or server where Mininet-Optical is installed.
     189
     1901. We will run Mininet-Optical from the top directory of the source tree. You should be able to run the tutorial script to create the emulated network by running the following command:
     191
     192{{{#!shell-session
     193root@node:~/mininet-optical# sudo PYTHONPATH=. examples/sigcommtutorial.py
     194}}}
     195
     1962. This should start up Mininet-Optical, create the tutorial network, and start the CLI:
     197
     198{{{#!shell-session
     199SIGCOMM22 mini-tutorial topology
     200
     201
     202comb1 -> rdm1co1 <--10km--> rdm1lg1 || rdm2lg1 <--34km--> rdm2co1 <- comb2
     203           |                  |                              |
     204        swda_co1           swda_lg1--------------------------|
     205           |                  |                              |
     206        srv1-co1           srv1-lg1                       srv2-lg1
     207
     208This is for the SIGCOMM22 mini-tutorial at:
     209https://wiki.cosmos-lab.org/wiki/Workshops/SigComm2022/MininetOptical
     210
     211*** Starting CLI:
     212mininet-optical>
     213}}}
     214
     215Mininet-Optical CLI commands may be entered at the `mininet-optical>` prompt.
    185216
    186217= Setting Up the Optical Topology =
     
    321352}}}
    322353
    323 = Creating the Mininet-Optical Network =
    324 
    325 All of these commands should be run in a terminal window for the VM or server where Mininet-Optical is installed.
    326 
    327 1. We will run Mininet-Optical from the top directory of the source tree:
    328 
    329 {{{#!shell-session
    330 root@node:# cd ~/mininet-optical
    331 }}}
    332 
    333 2. We should check to make sure that the tutorial scripts are present:
    334 
    335 {{{#!shell-session
    336 root@node:~/mininet-optical# ls examples/sigcommtutorial.py
    337 root@node:~/mininet-optical# ls examples/config-sigcommtutorial.sh
    338 }}}
    339 
    340 3. If they are missing, we can fetch and install the appropriate branch:
    341 
    342 {{{#!shell-session
    343 root@node:~/mininet-optical# git fetch
    344 root@node:~/mininet-optical# git checkout cosmos-tutorial
    345 root@node:~/mininet-optical# make install
    346 }}}
    347 
    348 4. Since the NETCONF agents for the ROADMs use SSL, we first have to generate a set of (self-signed) SSL certificates for them to use:
    349 
    350 {{{#!shell-session
    351 root@node:~/mininet-optical# make certs
    352 }}}
    353 
    354 5. Now we should be able to run the tutorial script to create the emulated network:
    355 
    356 {{{#!shell-session
    357 root@node:~/mininet-optical# sudo PYTHONPATH=. examples/sigcommtutorial.py
    358 }}}
    359 
    360 6. This should start up Mininet-Optical, create the tutorial network, and start the CLI:
    361 
    362 {{{#!shell-session
    363 SIGCOMM22 mini-tutorial topology
    364 
    365 
    366 comb1 -> rdm1co1 <--10km--> rdm1lg1 || rdm2lg1 <--34km--> rdm2co1 <- comb2
    367            |                  |                              |
    368         swda_co1           swda_lg1--------------------------|
    369            |                  |                              |
    370         srv1-co1           srv1-lg1                       srv2-lg1
    371 
    372 This is for the SIGCOMM22 mini-tutorial at:
    373 https://wiki.cosmos-lab.org/wiki/Workshops/SigComm2022/MininetOptical
    374 
    375 *** Starting CLI:
    376 mininet-optical>
    377 }}}
    378 
    379 Mininet-Optical CLI commands may be entered at the `mininet-optical>` prompt.
    380 
    381354= Controller Configuration =
    382355