| | 186 | |
| | 187 | === Starting the Mininet-Optical Network === |
| | 188 | |
| | 189 | All of these commands should be run in a terminal window for the VM or server where Mininet-Optical is installed. |
| | 190 | |
| | 191 | 1. 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: |
| | 192 | |
| | 193 | {{{#!shell-session |
| | 194 | root@node:~/mininet-optical# sudo PYTHONPATH=. examples/sigcommtutorial.py |
| | 195 | }}} |
| | 196 | |
| | 197 | 2. This should start up Mininet-Optical, create the tutorial network, and start the CLI: |
| | 198 | |
| | 199 | {{{#!shell-session |
| | 200 | SIGCOMM22 mini-tutorial topology |
| | 201 | |
| | 202 | |
| | 203 | comb1 -> rdm1co1 <--10km--> rdm1lg1 || rdm2lg1 <--34km--> rdm2co1 <- comb2 |
| | 204 | | | | |
| | 205 | swda_co1 swda_lg1--------------------------| |
| | 206 | | | | |
| | 207 | srv1-co1 srv1-lg1 srv2-lg1 |
| | 208 | |
| | 209 | This is for the SIGCOMM22 mini-tutorial at: |
| | 210 | https://wiki.cosmos-lab.org/wiki/Workshops/SigComm2022/MininetOptical |
| | 211 | |
| | 212 | *** Starting CLI: |
| | 213 | mininet-optical> |
| | 214 | }}} |
| | 215 | |
| | 216 | Mininet-Optical CLI commands may be entered at the `mininet-optical>` prompt. |
| | 217 | |
| | 218 | ---- |
| | 219 | |
| | 220 | === Mininet-Optical API === |
| 323 | | === Starting 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. You should be able to run the tutorial script to create the emulated network by running the following command: |
| 328 | | |
| 329 | | {{{#!shell-session |
| 330 | | root@node:~/mininet-optical# sudo PYTHONPATH=. examples/sigcommtutorial.py |
| 331 | | }}} |
| 332 | | |
| 333 | | 2. This should start up Mininet-Optical, create the tutorial network, and start the CLI: |
| 334 | | |
| 335 | | {{{#!shell-session |
| 336 | | SIGCOMM22 mini-tutorial topology |
| 337 | | |
| 338 | | |
| 339 | | comb1 -> rdm1co1 <--10km--> rdm1lg1 || rdm2lg1 <--34km--> rdm2co1 <- comb2 |
| 340 | | | | | |
| 341 | | swda_co1 swda_lg1--------------------------| |
| 342 | | | | | |
| 343 | | srv1-co1 srv1-lg1 srv2-lg1 |
| 344 | | |
| 345 | | This is for the SIGCOMM22 mini-tutorial at: |
| 346 | | https://wiki.cosmos-lab.org/wiki/Workshops/SigComm2022/MininetOptical |
| 347 | | |
| 348 | | *** Starting CLI: |
| 349 | | mininet-optical> |
| 350 | | }}} |
| 351 | | |
| 352 | | Mininet-Optical CLI commands may be entered at the `mininet-optical>` prompt. |
| 353 | | |