blob: da00e0f808139c06065510c5d62883623036e6a6 [file] [log] [blame]
Pankaj Berded1259e82013-01-23 14:10:00 -08001package net.floodlightcontroller.core;
2
3import java.util.List;
4
5import net.floodlightcontroller.routing.Link;
6import net.floodlightcontroller.topology.NodePortTuple;
7
8public interface INetMapTopologyService extends INetMapService {
9
10 public interface ITopoSwitchService {
11 List<String> GetActiveSwitches();
12 List<String> GetAllSwitches();
13 List<String> GetInactiveSwitches();
14 List<String> GetPortsOnSwitch(String dpid);
15 }
16
17 public interface ITopoLinkService {
18 List<Link> GetActiveLinks();
19 List<Link> GetLinksOnSwitch(String dpid);
20 }
21 public interface ITopoDeviceService {
22 List<Link> GetActiveDevices();
23 List<Link> GetDevicesOnSwitch(String dpid);
24 }
25
26 public interface ITopoRouteService {
27 List<NodePortTuple> GetShortestpath(NodePortTuple src, NodePortTuple dest);
28 Boolean RouteExists(NodePortTuple src, NodePortTuple dest);
29 }
30
31 public interface ITopoFlowService {
32 Boolean FlowExists(NodePortTuple src, NodePortTuple dest);
33 List<NodePortTuple> GetShortestFlowPath(NodePortTuple src, NodePortTuple dest);
34
35 }
36}