blob: e860de7c326ae561caffba833018689e09571b15 [file] [log] [blame]
Jonathan Hartd857ad62013-12-14 18:08:17 -08001package net.onrc.onos.ofcontroller.devicemanager;
2
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}