mnoptical.examples.cosmostutorial
¶
cosmostutorial.py: hardware-like topology for COSM-IC mini-tutorial.
This is for the tutorial at: https://wiki.cosmos-lab.org/wiki/Tutorials/Optical/MininetOpticalTutorial1
Module Contents¶
Classes¶
COSM-IC mini-tutorial topology: |
Functions¶
|
Simple sanity-check configuration using internal API |
|
Update host IP address info and send gratuitous ARPs |
|
Test network configurations |
Attributes¶
- mnoptical.examples.cosmostutorial.username = 'cosmos'¶
- mnoptical.examples.cosmostutorial.password = 'cosmos'¶
- mnoptical.examples.cosmostutorial.sslkeyfile = 'testcerts/fakeserver.key'¶
- mnoptical.examples.cosmostutorial.ch = 34¶
- mnoptical.examples.cosmostutorial.ch2 = 60¶
- class mnoptical.examples.cosmostutorial.TutorialTopo¶
Bases:
mininet.topo.Topo
COSM-IC mini-tutorial topology:
- roadm4 <-> roadm1 <-> roadm2 <-22km-> roadm3
- | |
- tor1 tor2 tor3
- | |
server1 server2 server3
This is for the COSMOS mini-tutorial at: https://wiki.cosmos-lab.org/wiki/Tutorials/Optical/MininetOpticalTutorial1
- wdmLink(src, dst, port1, port2, **params)¶
Add a (default unidirectional) WDM link
- build()¶
Build COSMOS tutorial topology
- mnoptical.examples.cosmostutorial.config0(net)¶
Simple sanity-check configuration using internal API
- mnoptical.examples.cosmostutorial.arp(net)¶
Update host IP address info and send gratuitous ARPs
- mnoptical.examples.cosmostutorial.test(net)¶
Test network configurations
- mnoptical.examples.cosmostutorial.topo¶