Description
...
Description
TopologyService maintains the topology information for the controller, as well as to find routing in the network.
Services Provided
- ITopologyService
- IRoutingService
...
- 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) |
Sample REST calls with curl
Getting all devices
Code Block | ||||
---|---|---|---|---|
| ||||
curl -s http://localhost:8080/wm/topology/switchclusters/json
|