Changes between Version 10 and Version 11 of Tutorials/Optical/Mininet Optical Tutorial1
- Timestamp:
- Jul 27, 2022, 2:48:12 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Tutorials/Optical/Mininet Optical Tutorial1
v10 v11 108 108 Before 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. 109 109 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.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. 111 111 112 112 ---- … … 117 117 It 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. 118 118 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: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: 122 122 123 123 … … 180 180 }}} 181 181 182 We can see that LINEOUT of roadm2 is connected to LINEIN of roadm3and vice-versa,182 We can see that `LINEOUT` of `roadm2` is connected to `LINEIN` of `roadm3` and vice-versa, 183 183 with a 22km length of fiber in between, corresponding to a fiber spool in 184 the COSMOS testbed. Later, add/drop port 2 of roadm4is connected to ports185 320/321 of tor1(output/input, respectively).186 187 Ethernet links are added sing addLink()calls: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: 188 188 {{{#!python 189 189 # Server<->ToR Ethernet links