blob: a4d21a9387fd32d45398ecc4225c9ddd20467ca3 [file] [log] [blame]
Jonathan Hart22eb9882014-02-11 15:52:59 -08001package net.onrc.onos.ofcontroller.networkgraph;
2
3import java.net.InetAddress;
4import java.util.Set;
5
6public interface NetworkGraphDiscoveryInterface {
7 public void putSwitchEvent(SwitchEvent switchEvent);
8 public void removeSwitchEvent(SwitchEvent switchEvent);
9 public void putPortEvent(PortEvent portEvent);
10 public void removePortEvent(PortEvent portEvent);
11 public void putLinkEvent(LinkEvent linkEvent);
12 public void removeLinkEvent(LinkEvent linkEvent);
13 public void updateDeviceEvent(DeviceEvent deviceToUpdate,
14 Set<InetAddress> updatedIpAddrs, Set<Port> updatedAttachmentPoints);
15 public void removeDeviceEvent(DeviceEvent deviceEvent);
16}