mnoptical.examples.test-attenuator

Module Contents

Classes

MultiROADMTopo

Functions

plotNet(net[, outfile, directed, layout, colorMap])

Plot network graph to outfile

add_amp([node_name, type, gain_dB, monitor_mode])

Create an Amplifier object to add to a ROADM node

test(net)

Attributes

topo

mnoptical.examples.test-attenuator.plotNet(net, outfile='img.png', directed=False, layout='circo', colorMap=None)

Plot network graph to outfile

mnoptical.examples.test-attenuator.add_amp(node_name=None, type=None, gain_dB=None, monitor_mode='out')

Create an Amplifier object to add to a ROADM node :param node_name: string :param type: string (‘boost’ or ‘preamp’ :param gain_dB: int or float

class mnoptical.examples.test-attenuator.MultiROADMTopo

Bases: mininet.topo.Topo

build(operational_power=0 * dB)
get_monitor_power(monitor, monitor_mode='in')
configNet(net)
mnoptical.examples.test-attenuator.test(net)
mnoptical.examples.test-attenuator.topo