mnoptical.ofcdemo.hwtopo
¶
hwtopo.py: hardware-like topology for OFC 2021 demo
Implements LumentumLinear, a topology intended to mimic the hardware testbed topology for the OFC 2021 demo.
Module Contents¶
Classes¶
Add default netconf username and password |
|
A MUX is just the mux part of a roadm |
|
Demo-like topology of lumentum-like ROADMs: |
Functions¶
|
Statically configure Terminal + mux into 'comb source' |
Attributes¶
- mnoptical.ofcdemo.hwtopo.netconfPortBase = 1830¶
- class mnoptical.ofcdemo.hwtopo.Lumentum(name, *args, netconfPort=None, **kwargs)¶
Bases:
mnoptical.ofcdemo.lroadm.LROADM
Add default netconf username and password
- username¶
- password¶
- class mnoptical.ofcdemo.hwtopo.MUX(name, **kwargs)¶
Bases:
mnoptical.dataplane.ROADM
A MUX is just the mux part of a roadm
- class mnoptical.ofcdemo.hwtopo.LumentumLinear¶
Bases:
mininet.topo.Topo
- Demo-like topology of lumentum-like ROADMs:
L1 === L2-L3 === L4-L5 ==== L6
Also multiplexes transceivers into single add/drop ports to mirror comb source in COSMOS testbed.
- addport(i)¶
- dropport(i)¶
- wdmLink(src, dst, port1, port2, **params)¶
Add a (default unidirectional) WDM link
- hostname(i, adjust=False)¶
Optionally return alternate hostname for host i
- build(nodecount=4, power=0 * dBm, txcount=10)¶
Build demo-like topology
- mnoptical.ofcdemo.hwtopo.configComb(net, chbase=1)¶
Statically configure Terminal + mux into ‘comb source’ to model testbed hardware
- mnoptical.ofcdemo.hwtopo.topo¶