pingping-lin | a2cbfad | 2013-03-07 08:39:21 +0800 | [diff] [blame] | 1 | package net.floodlightcontroller.bgproute; |
| 2 | |
| 3 | import net.floodlightcontroller.core.module.IFloodlightService; |
| 4 | |
| 5 | public interface IBgpRouteService extends IFloodlightService { |
| 6 | |
Jonathan Hart | 61ba937 | 2013-05-19 20:10:29 -0700 | [diff] [blame] | 7 | public Rib lookupRib(byte[] dest); |
| 8 | |
| 9 | public Ptree getPtree(); |
| 10 | |
| 11 | public String getBGPdRestIp(); |
| 12 | |
| 13 | public String getRouterId(); |
| 14 | |
Jonathan Hart | 50a8d1e | 2013-06-06 16:00:47 +1200 | [diff] [blame] | 15 | public void clearPtree(); |
| 16 | |
| 17 | //TODO This functionality should be provided by some sort of Ptree listener framework |
| 18 | public void prefixAdded(PtreeNode node); |
| 19 | public void prefixDeleted(PtreeNode node); |
pingping-lin | a2cbfad | 2013-03-07 08:39:21 +0800 | [diff] [blame] | 20 | } |