HIGUCHI Yuta | ea60e5f | 2013-06-12 11:10:21 -0700 | [diff] [blame] | 1 | package net.onrc.onos.ofcontroller.bgproute; |
pingping-lin | a2cbfad | 2013-03-07 08:39:21 +0800 | [diff] [blame] | 2 | |
| 3 | import net.floodlightcontroller.core.module.IFloodlightService; |
| 4 | |
| 5 | public interface IBgpRouteService extends IFloodlightService { |
| 6 | |
Jonathan Hart | b39a67d | 2013-08-10 23:59:50 +1200 | [diff] [blame^] | 7 | //public RibEntry lookupRib(byte[] dest); |
Jonathan Hart | 61ba937 | 2013-05-19 20:10:29 -0700 | [diff] [blame] | 8 | |
Jonathan Hart | d7e158d | 2013-08-07 23:04:48 +1200 | [diff] [blame] | 9 | //public Ptree getPtree(); |
| 10 | public IPatriciaTrie getPtree(); |
Jonathan Hart | 61ba937 | 2013-05-19 20:10:29 -0700 | [diff] [blame] | 11 | |
| 12 | public String getBGPdRestIp(); |
| 13 | |
| 14 | public String getRouterId(); |
| 15 | |
Jonathan Hart | 50a8d1e | 2013-06-06 16:00:47 +1200 | [diff] [blame] | 16 | public void clearPtree(); |
| 17 | |
Jonathan Hart | 8b9349e | 2013-07-26 15:55:28 +1200 | [diff] [blame] | 18 | /** |
| 19 | * Pass a RIB update to the {@link IBgpRouteService} |
| 20 | * @param update |
| 21 | */ |
| 22 | public void newRibUpdate(RibUpdate update); |
| 23 | |
Jonathan Hart | 50a8d1e | 2013-06-06 16:00:47 +1200 | [diff] [blame] | 24 | //TODO This functionality should be provided by some sort of Ptree listener framework |
Jonathan Hart | 0ee0f02 | 2013-08-03 22:21:54 +1200 | [diff] [blame] | 25 | //public void prefixAdded(PtreeNode node); |
| 26 | //public void prefixDeleted(PtreeNode node); |
pingping-lin | a2cbfad | 2013-03-07 08:39:21 +0800 | [diff] [blame] | 27 | } |