Pankaj Berde | b603134 | 2013-02-19 18:51:51 -0800 | [diff] [blame] | 1 | package net.floodlightcontroller.devicemanager; |
| 2 | |
| 3 | import net.floodlightcontroller.core.INetMapStorage; |
| 4 | import net.floodlightcontroller.core.INetMapTopologyObjects.IDeviceObject; |
| 5 | |
| 6 | public interface IDeviceStorage extends INetMapStorage { |
| 7 | |
| 8 | public IDeviceObject addDevice(IDevice device); |
| 9 | public IDeviceObject updateDevice(IDevice device); |
Pankaj Berde | da80957 | 2013-02-22 15:31:20 -0800 | [diff] [blame] | 10 | public void removeDevice(IDevice device); |
Pankaj Berde | b603134 | 2013-02-19 18:51:51 -0800 | [diff] [blame] | 11 | public IDeviceObject getDeviceByMac(String mac); |
| 12 | public IDeviceObject getDeviceByIP(String ip); |
Pankaj Berde | da80957 | 2013-02-22 15:31:20 -0800 | [diff] [blame] | 13 | public void changeDeviceAttachments(IDevice device); |
| 14 | public void changeDeviceIPv4Address(IDevice device); |
Pankaj Berde | b603134 | 2013-02-19 18:51:51 -0800 | [diff] [blame] | 15 | } |