blob: f41e32c3f42f8f7f82096ab26e3e5d58cadfe730 [file] [log] [blame]
Pankaj Berdeb6031342013-02-19 18:51:51 -08001package net.floodlightcontroller.devicemanager;
2
3import net.floodlightcontroller.core.INetMapStorage;
4import net.floodlightcontroller.core.INetMapTopologyObjects.IDeviceObject;
5
6public interface IDeviceStorage extends INetMapStorage {
7
8 public IDeviceObject addDevice(IDevice device);
9 public IDeviceObject updateDevice(IDevice device);
Pankaj Berdeda809572013-02-22 15:31:20 -080010 public void removeDevice(IDevice device);
Pankaj Berdeb6031342013-02-19 18:51:51 -080011 public IDeviceObject getDeviceByMac(String mac);
12 public IDeviceObject getDeviceByIP(String ip);
Pankaj Berdeda809572013-02-22 15:31:20 -080013 public void changeDeviceAttachments(IDevice device);
14 public void changeDeviceIPv4Address(IDevice device);
Pankaj Berdeb6031342013-02-19 18:51:51 -080015}