Nettle.Discovery.Discovery
Description
Experimental version of topology discovery algorithm.
- topoTracker :: SF (Event (SwitchID, SwitchMessage)) (Event (SwitchID, SwitchMessage), Event SwitchCommand, Event Topology)
Documentation
topoTracker :: SF (Event (SwitchID, SwitchMessage)) (Event (SwitchID, SwitchMessage), Event SwitchCommand, Event Topology)Source
A signal function tracking the topology of the network. The signal function sends LLDP-like
packets from various points in the network and infers the topology based on packet-in events
generated by those packets. In order to ensure that your controller does not interfere with the
operation of topoTracker
, you should drive your controllers with the switch message stream output
by the topoTracker
(the first output stream), which has the packet-in events generated by the LLDP-like packets filtered out.
The second output stream is a stream of commands which must be merged into the overall output of your
controller in order for the topoTracker
to inject its discovery packets into the network.