blob: 27e0a050f33c6c0afb7de1df1f7c29b2972f9988 [file] [log] [blame]
package net.floodlightcontroller.core;
import java.util.List;
import net.floodlightcontroller.routing.Link;
import net.floodlightcontroller.topology.NodePortTuple;
public interface INetMapTopologyService extends INetMapService {
public interface ITopoSwitchService {
List<String> GetActiveSwitches();
List<String> GetAllSwitches();
List<String> GetInactiveSwitches();
List<String> GetPortsOnSwitch(String dpid);
}
public interface ITopoLinkService {
List<Link> GetActiveLinks();
List<Link> GetLinksOnSwitch(String dpid);
}
public interface ITopoDeviceService {
List<Link> GetActiveDevices();
List<Link> GetDevicesOnSwitch(String dpid);
}
public interface ITopoRouteService {
List<NodePortTuple> GetShortestPath(NodePortTuple src, NodePortTuple dest);
Boolean RouteExists(NodePortTuple src, NodePortTuple dest);
}
public interface ITopoFlowService {
Boolean FlowExists(NodePortTuple src, NodePortTuple dest);
List<NodePortTuple> GetShortestFlowPath(NodePortTuple src, NodePortTuple dest);
}
}