blob: f3433085a7173112b0dc89b66585746fd2d3d2cc [file] [log] [blame]
Jonathan Hart23701d12014-04-03 10:45:48 -07001package net.onrc.onos.core.devicemanager;
Jonathan Hartd857ad62013-12-14 18:08:17 -08002
3import net.floodlightcontroller.core.module.IFloodlightService;
TeruUd1c5b652014-03-24 13:58:46 -07004import net.floodlightcontroller.util.MACAddress;
Jonathan Hartd857ad62013-12-14 18:08:17 -08005
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 */
13public interface IOnosDeviceService extends IFloodlightService {
14
TeruUd1c5b652014-03-24 13:58:46 -070015 public void addOnosDeviceListener(IOnosDeviceListener listener);
16
17 public void deleteOnosDeviceListener(IOnosDeviceListener listener);
18
TeruU80ce5062014-03-03 17:16:13 -080019 public void deleteOnosDevice(OnosDevice dev);
20
TeruUd1c5b652014-03-24 13:58:46 -070021 public void deleteOnosDeviceByMac(MACAddress mac);
22
TeruU80ce5062014-03-03 17:16:13 -080023 public void addOnosDevice(Long mac, OnosDevice dev);
Jonathan Hartd857ad62013-12-14 18:08:17 -080024}