mnoptical.ofcdemo.demo_hwtopo

lroadmtest.py: simple netconf control test for lroadm.py

Module Contents

Functions

fixIPMap(nameToIP)

Fix name-to-IP map for Mininet

Control_Test()

set up a lightpath from r4 to r1 bidirectionally with channel 5

Attributes

NetconfPortBase

mnoptical.ofcdemo.demo_hwtopo.NetconfPortBase = 1830
mnoptical.ofcdemo.demo_hwtopo.fixIPMap(nameToIP)

Fix name-to-IP map for Mininet

mnoptical.ofcdemo.demo_hwtopo.Control_Test()

set up a lightpath from r4 to r1 bidirectionally with channel 5