blob: 91f36b918e0a3d4a4bb656b12484dbaa66bdf19f [file] [log] [blame]
package net.onrc.onos.ofcontroller.networkgraph;
/**
* 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();
}