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, |
| 8 | * however making it export a dummy service means we can specify it as |
| 9 | * a dependency of Forwarding |
| 10 | * @author jono |
| 11 | * |
| 12 | */ |
| 13 | public interface IOnosDeviceService extends IFloodlightService { |
| 14 | |
TeruU | d1c5b65 | 2014-03-24 13:58:46 -0700 | [diff] [blame] | 15 | public void addOnosDeviceListener(IOnosDeviceListener listener); |
| 16 | |
| 17 | public void deleteOnosDeviceListener(IOnosDeviceListener listener); |
| 18 | |
TeruU | 80ce506 | 2014-03-03 17:16:13 -0800 | [diff] [blame] | 19 | public void deleteOnosDevice(OnosDevice dev); |
| 20 | |
TeruU | d1c5b65 | 2014-03-24 13:58:46 -0700 | [diff] [blame] | 21 | public void deleteOnosDeviceByMac(MACAddress mac); |
| 22 | |
TeruU | 80ce506 | 2014-03-03 17:16:13 -0800 | [diff] [blame] | 23 | public void addOnosDevice(Long mac, OnosDevice dev); |
Jonathan Hart | d857ad6 | 2013-12-14 18:08:17 -0800 | [diff] [blame] | 24 | } |