|
|
|
|
|
|
|
|
|
|
|
build(self)
Build Linc-OE with the specified settings |
source code
|
|
|
|
|
|
|
startSwitch(self,
swId)
Start a logical switch using switch id |
source code
|
|
|
|
stopSwitch(self,
swId)
Stop a logical switch using switch id |
source code
|
|
|
|
getDatapathId(self,
swId)
Get datapath id of a specific switch by switch id |
source code
|
|
|
|
attachLincOESession(self)
Since executing opticalTest.py will give you mininet prompt, you
would at some point require to get onto console of LincOE
((linc@onosTestBench)1>) to execute commands like bring a optical
port up or down on a ROADM You can attach to console of Linc-OE
session by a cmd: sudo ~/linc-oe/rel/linc/bin/linc attach |
source code
|
|
|
|
listPorts(self,
swId)
List all ports of a switch by switch id |
source code
|
|
|
|
portUp(self,
swId,
ptId)
Bring port up using switch id and port id |
source code
|
|
|
|
portDown(self,
swId,
ptId)
Bring port down using switch id and port id |
source code
|
|
|
|
stopLincOEConsole(self)
This function is only used for packet optical testing Send disconnect
prompt to Linc-OE CLI ( CTRL+C ) and kill the linc process |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from component.Component:
__getattr__,
cleanup,
close_log_handles,
config,
experimentRun,
get_version,
log
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|