blob: 9eb6e31111017532a916fccff1cbf6418871cb56 [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
Jonathan Hartd857ad62013-12-14 18:08:17 -08009 * a dependency of Forwarding
Jonathan Hartd857ad62013-12-14 18:08:17 -080010 *
Ray Milkey269ffb92014-04-03 14:43:30 -070011 * @author jono
Jonathan Hartd857ad62013-12-14 18:08:17 -080012 */
13public interface IOnosDeviceService extends IFloodlightService {
14
Ray Milkey269ffb92014-04-03 14:43:30 -070015 public void addOnosDeviceListener(IOnosDeviceListener listener);
TeruU80ce5062014-03-03 17:16:13 -080016
Ray Milkey269ffb92014-04-03 14:43:30 -070017 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 Hartd857ad62013-12-14 18:08:17 -080024}