Jonathan Hart | 23701d1 | 2014-04-03 10:45:48 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.devicemanager; |
Jonathan Hart | d857ad6 | 2013-12-14 18:08:17 -0800 | [diff] [blame] | 2 | |
| 3 | import net.floodlightcontroller.core.module.IFloodlightService; |
TeruU | d1c5b65 | 2014-03-24 13:58:46 -0700 | [diff] [blame] | 4 | import net.floodlightcontroller.util.MACAddress; |
Jonathan Hart | d857ad6 | 2013-12-14 18:08:17 -0800 | [diff] [blame] | 5 | |
| 6 | /** |
| 7 | * {@link OnosDeviceManager} doesn't yet provide any API to fellow modules, |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 8 | * however making it export a dummy service means we can specify it as |
Ray Milkey | b41100a | 2014-04-10 10:42:15 -0700 | [diff] [blame] | 9 | * a dependency of Forwarding. |
Jonathan Hart | d857ad6 | 2013-12-14 18:08:17 -0800 | [diff] [blame] | 10 | * |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 11 | * @author jono |
Jonathan Hart | d857ad6 | 2013-12-14 18:08:17 -0800 | [diff] [blame] | 12 | */ |
| 13 | public interface IOnosDeviceService extends IFloodlightService { |
| 14 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 15 | public void addOnosDeviceListener(IOnosDeviceListener listener); |
TeruU | 80ce506 | 2014-03-03 17:16:13 -0800 | [diff] [blame] | 16 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 17 | public void deleteOnosDeviceListener(IOnosDeviceListener listener); |
| 18 | |
| 19 | public void deleteOnosDevice(OnosDevice dev); |
| 20 | |
| 21 | public void deleteOnosDeviceByMac(MACAddress mac); |
| 22 | |
| 23 | public void addOnosDevice(Long mac, OnosDevice dev); |
Jonathan Hart | d857ad6 | 2013-12-14 18:08:17 -0800 | [diff] [blame] | 24 | } |