blob: 216d4b8eb2c0b0a59b32655d777e994ff194de26 [file] [log] [blame]
package net.onrc.onos.core.topology;
/**
* Interface of Port Object exposed to the "NB" read-only Topology.
* <p/>
* 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();
}