Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

...

  • ILinkDiscoveryService
  • IThreadPoolService
  • IFloodlightProviderService
  • IRestApiService
  • IDebugCounterService
  • IDebugEventService
  • IOFSwitchService

Java File

The module is implemented in net.floodlightcontroller.topology.TopologyManager.

...

URI

Description

Arguments

/wm/topology/switchclusters/json

Lists the switch clusters computed by the controller.

None.

/wm/topology/route/<src-dpid>/<src-port>/<dst-dpid>/<dst-port>/json

Get a route defined by switch DPIDs and switch ports from the source switch and port to the destination switch and port.

src-dpid: Valid Switch DPID (XX:XX:XX:XX:XX:XX:XX:XX) 
src-port: Valid Switch Port Number 
dst-dpid: Valid Switch DPID (XX:XX:XX:XX:XX:XX:XX:XX) 
dst-port: Valid Switch Port Number

Sample REST calls with curl

Getting all devices

Code Block
xml
xml

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