Jonathan Hart | 0b04bed | 2014-10-16 16:39:19 -0700 | [diff] [blame] | 1 | package org.onlab.onos.sdnip; |
| 2 | |
| 3 | import java.util.Collection; |
| 4 | |
| 5 | import org.onlab.onos.sdnip.bgp.BgpRouteEntry; |
| 6 | |
| 7 | /** |
| 8 | * Service interface exported by SDN-IP. |
| 9 | */ |
| 10 | public 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 | } |