Views
LAVI:Miscellaneous
From OpenFlow Wiki
Contents |
Changing the TCP/SSL Port
The default TCP/SSL port can be changed in jsonmessenger. We can also change it as the command line when we invoke NOX. For example,
./nox_core -i ptcp:6633 jsonmessenger=tcpport=11222,sslport=0 lavi_switches lavi_swlinks
will run TCP server on port 11222 and SSL server will be disabled.
nox-console.py
nox-console.py is written as the console for NOX. This tool polls LAVI for information about the network, esp. for situation where a graphical display is lacking or when bandwidth is very limiting. The options and command line arguments that can be listed using
nox-console.py --help
This is a good starting point.
Extending LAVI
Extending LAVI is the same as using jsonmessenger or messenger in NOX to handle messages. This can be done by registering for the JSONMsg_event, for which sending function are carried by the Msg_stream class contained in the event. Generic JSON dictionary/message can be sent and received. These messages are parsed before being passed along using the event.
