blob: e25e812057e57b6d7fa6d731ec9a1177e958d5a9 [file] [log] [blame]
package net.onrc.onos.ofcontroller.networkgraph;
import java.net.InetAddress;
import java.util.Collection;
import net.floodlightcontroller.util.MACAddress;
/**
* Interface of Device Object exposed to the "NB" read-only Topology.
*
* Everything returned by these interfaces must be either Unmodifiable view,
* immutable object, or a copy of the original "SB" In-memory Topology.
*
*/
public interface Device {
public MACAddress getMacAddress();
public Collection<InetAddress> getIpAddress();
public Iterable<Port> getAttachmentPoints();
public long getLastSeenTime();
}