blob: ee38c6ac316f0effbc0154ef00355743a74d7f6e [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,
Ray Milkey269ffb92014-04-03 14:43:30 -07008 * however making it export a dummy service means we can specify it as
Ray Milkeyb41100a2014-04-10 10:42:15 -07009 * a dependency of Forwarding.
Jonathan Hartd857ad62013-12-14 18:08:17 -080010 */
11public interface IOnosDeviceService extends IFloodlightService {
12
Ray Milkey269ffb92014-04-03 14:43:30 -070013 public void addOnosDeviceListener(IOnosDeviceListener listener);
TeruU80ce5062014-03-03 17:16:13 -080014
Ray Milkey269ffb92014-04-03 14:43:30 -070015 public void deleteOnosDeviceListener(IOnosDeviceListener listener);
16
17 public void deleteOnosDevice(OnosDevice dev);
18
19 public void deleteOnosDeviceByMac(MACAddress mac);
20
21 public void addOnosDevice(Long mac, OnosDevice dev);
Jonathan Hartd857ad62013-12-14 18:08:17 -080022}