mnoptical.ofcdemo.Control_Test_Lum

Module Contents

Classes

Lumentum_Control_NETCONF

Functions

Control_Test()

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

Attributes

m

NUM_WAV

NUM_NODE

THRUPORT

ADD_DROP

Lumentum_NETCONF_Agent

AllLumName

NodeLink_to_LumentumLink

LumentumName_to_IP

mnoptical.ofcdemo.Control_Test_Lum.m = 0.001
mnoptical.ofcdemo.Control_Test_Lum.NUM_WAV = 40
mnoptical.ofcdemo.Control_Test_Lum.NUM_NODE = 5
mnoptical.ofcdemo.Control_Test_Lum.THRUPORT = 4
mnoptical.ofcdemo.Control_Test_Lum.ADD_DROP = 1
mnoptical.ofcdemo.Control_Test_Lum.Lumentum_NETCONF_Agent
mnoptical.ofcdemo.Control_Test_Lum.AllLumName = ['L1', 'L2', 'L3', 'L4', 'L5', 'L6']
mnoptical.ofcdemo.Control_Test_Lum.LumentumName_to_IP
class mnoptical.ofcdemo.Control_Test_Lum.Lumentum_Control_NETCONF

Bases: object

installPath(path, lightpathID, channel)

Install switch rules on roadms along a lightpath with a signal channel

uninstallPath(path, lightpathID)

delete switch rules on roadms along a lightpath for some signal channels

cleanAllROADMs()
channel_monitor(path, lightpathID)
mnoptical.ofcdemo.Control_Test_Lum.Control_Test()

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