Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

  • IStorageSourceService
  • IThreadPoolService
  • IFloodlightProviderService
  • IOFSwitchService
  • IRestAPIService
  • IShutdownService
  • IDebugCounterService
  • IDebugEventService

Java File

The module is implemented in net.floodlightcontroller.linkdiscovery.internal.LinkDiscoveryManager.

...

The link discovery services uses both LLDPs and broadcast packets (aka BDDPs) to detect links. The LLDP destination MAC is 01:80:c2:00:00:0e and the BDDP destination MAC is ff:ff:ff:ff:ff:ff (broadcast address). The ether type for both LLDPs and BDDPs is LLDP ( 0x88cc )and 0x8999. There are two assumptions made in order for the topology to be learned properly.

...

REST API

URI

Description

Arguments  

/wm/topology/links/json

List of all links detected by the controller.

None.  

Sample REST calls with curl

Getting all devices

Code Block
xml
xml

 
curl -s http://localhost:8080/wm/topology/links/json