blob: e9f6bb84b0bdd3eeca33e20b94ad326fa5c027cc [file] [log] [blame]
package net.onrc.onos.core.topology;
/**
* Interface of Port 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 Port {
public Long getDpid();
public Long getNumber();
public Long getHardwareAddress();
public String getDescription();
public Switch getSwitch();
public Link getOutgoingLink();
public Link getIncomingLink();
public Iterable<Device> getDevices();
}