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


Ignore:
Timestamp:
Jul 27, 2022, 12:58:47 AM (2 years ago)
Author:
lantz
Comment:

Legend:

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

    v6 v7  
    194194
    195195
     196= Creating the Mininet-Optical Network =
     197
     198All of these commands should be run in a terminal window for the VM or server where Mininet-Optical is installed.
     199
     200We will run Mininet-Optical from the top directory of the source tree:
     201
     202{{{
     203cd ~/mininet-optical
     204}}}
     205
     206We should check to make sure that the tutorial scripts are present:
     207
     208{{{
     209ls examples/cosmostutorial.py
     210ls examples/config-cosmostutorial.sh
     211}}}
     212
     213If they are missing, we can fetch and install the appropriate branch:
     214
     215{{{
     216git fetch
     217git checkout cosmos-tutorial
     218make install
     219}}}
     220
     221Since the NETCONF agents for the ROADMs use SSL, we first have to generate a set of
     222(self-signed) SSL certificates for them to use:
     223
     224{{{
     225make certs
     226}}}
     227
     228Now we should be able to run the tutorial script to create the emulated network:
     229
     230{{{
     231sudo HOME=~ examples/cosmostutorial.py
     232}}}
     233
     234This should start up Mininet-Optical, create the tutorial network, and start the CLI:
     235
     236{{{
     237    COSM-IC mini-tutorial topology:
     238
     239    roadm4 <-> roadm1 <-> roadm2 <-22km-> roadm3
     240     |          |                          |
     241    tor1       tor2                       tor3
     242     |          |                          |
     243    server1    server2                    server3
     244
     245    This is for the COSMOS mini-tutorial at:
     246    https://wiki.cosmos-lab.org/wiki/Tutorials/Optical/MininetOpticalTutorial1
     247   
     248*** Starting CLI:
     249mininet-optical>
     250}}}
     251
     252Mininet-Optical CLI commands may be entered at the mininet-optical> prompt.
     253
     254If you don't have one open already, open up another terminal window and
     255connect to the Linux VM or server where Mininet-Optical is installed.
     256You may wish to enter the source directory in this window as well:
     257
     258{{{
     259cd ~/mininet-optical
     260}}}
     261
     262Unless specified otherwise, all of the configuration commands below should
     263be entered in this second window at the shell prompt.
    196264
    197265= ROADM Configuration =
     
    3864543. Establish Connection ToR1<->ToR3.
    3874554. Try Ping from server1 to server3.
     456
     457= Shutting down Mininet-Optical =
     458
     459To exit Mininet-Optical, type exit or press control-D at the mininet-optical> prompt.
     460
     461