Changes between Version 10 and Version 11 of Tutorials/Optical/Mininet Optical Tutorial1


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

Legend:

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

    v10 v11  
    108108Before starting this tutorial, you will need to have Mininet-Optical installed. If it isn't installed already, you can follow the Installation and Walkthrough instructions at https://mininet-optical.org.
    109109
    110 The tutorial topology and a sample configuration script should be found in ~/mininet-optical/examples/cosmostutorial.py and ~/mininet-optical/examples/config-cosmostutorial.sh. If they are not there, you may need to fetch and check out the appropriate branch from github and install it using make install.
     110The tutorial topology and a sample configuration script should be found in `~/mininet-optical/examples/cosmostutorial.py` and `~/mininet-optical/examples/config-cosmostutorial.sh`. If they are not there, you may need to fetch and check out the appropriate branch from github and install it using make install.
    111111
    112112----
     
    117117It is possible to create a virtual space switch/programmable patch panel in Mininet-Optical to emulate the COSMOS optical testbed itself, but for this tutorial we will implement the topology using Mininet-Optical's topology API.
    118118
    119 The Mininet-Optical emulated network is created using a Python script, examples/cosmostutorial.py. Take a look at it now to see how the topology is implemented.
    120 
    121 The topology itself is created using Mininet's high-level topology template API. Specifically, we create a subclass of class Topo and override the build() method:
     119The Mininet-Optical emulated network is created using a Python script, `examples/cosmostutorial.py`. Take a look at it now to see how the topology is implemented.
     120
     121The topology itself is created using Mininet's high-level topology template API. Specifically, we create a subclass of class `Topo` and override the `build()` method:
    122122
    123123
     
    180180}}}
    181181
    182 We can see that LINEOUT of roadm2 is connected to LINEIN of roadm3 and vice-versa,
     182We can see that `LINEOUT` of `roadm2` is connected to `LINEIN` of `roadm3` and vice-versa,
    183183with a 22km length of fiber in between, corresponding to a fiber spool in
    184 the COSMOS testbed. Later, add/drop port 2 of roadm4 is connected to ports
    185 320/321 of tor1 (output/input, respectively).
    186 
    187 Ethernet links are added sing addLink() calls:
     184the COSMOS testbed. Later, add/drop port 2 of `roadm4` is connected to ports
     185320/321 of `tor1` (output/input, respectively).
     186
     187Ethernet links are added sing `addLink()` calls:
    188188{{{#!python
    189189        # Server<->ToR Ethernet links