blob: 187ebb2e1dc9d04d6ad801dca394d4d871f4bcde [file] [log] [blame]
Jonathan Hart0b04bed2014-10-16 16:39:19 -07001package org.onlab.onos.sdnip;
2
3import java.util.Collection;
4
5import org.onlab.onos.sdnip.bgp.BgpRouteEntry;
6
7/**
8 * Service interface exported by SDN-IP.
9 */
10public interface SdnIpService {
11 /**
12 * Gets the BGP routes.
13 *
14 * @return the BGP routes
15 */
16 public Collection<BgpRouteEntry> getBgpRoutes();
17
18 /**
19 * Gets all the routes known to SDN-IP.
20 *
21 * @return the SDN-IP routes
22 */
23 public Collection<RouteEntry> getRoutes();
24}