public interface OFPortDesc extends OFObject
| Modifier and Type | Interface and Description |
|---|---|
static interface |
OFPortDesc.Builder |
| Modifier and Type | Method and Description |
|---|---|
OFPortDesc.Builder |
createBuilder() |
Set<OFPortFeatures> |
getAdvertised() |
U64 |
getBsnGenerationId()
Returns the current generation ID of this port.
|
Set<OFPortConfig> |
getConfig() |
Set<OFPortFeatures> |
getCurr() |
long |
getCurrSpeed() |
MacAddress |
getHwAddr() |
long |
getMaxSpeed() |
String |
getName() |
Set<OFPortFeatures> |
getPeer() |
OFPort |
getPortNo() |
List<OFPortDescProp> |
getProperties() |
Set<OFPortState> |
getState() |
Set<OFPortFeatures> |
getSupported() |
OFVersion |
getVersion() |
boolean |
isEnabled()
Returns true if the port is up, i.e., it's neither administratively
down nor link down.
|
void |
writeTo(org.jboss.netty.buffer.ChannelBuffer channelBuffer) |
putToOFPort getPortNo()
MacAddress getHwAddr()
String getName()
Set<OFPortConfig> getConfig()
Set<OFPortState> getState()
Set<OFPortFeatures> getCurr() throws UnsupportedOperationException
UnsupportedOperationExceptionSet<OFPortFeatures> getAdvertised() throws UnsupportedOperationException
UnsupportedOperationExceptionSet<OFPortFeatures> getSupported() throws UnsupportedOperationException
UnsupportedOperationExceptionSet<OFPortFeatures> getPeer() throws UnsupportedOperationException
UnsupportedOperationExceptionlong getCurrSpeed()
throws UnsupportedOperationException
UnsupportedOperationExceptionlong getMaxSpeed()
throws UnsupportedOperationException
UnsupportedOperationExceptionList<OFPortDescProp> getProperties() throws UnsupportedOperationException
UnsupportedOperationExceptionOFVersion getVersion()
getVersion in interface OFObjectboolean isEnabled()
U64 getBsnGenerationId()
void writeTo(org.jboss.netty.buffer.ChannelBuffer channelBuffer)
OFPortDesc.Builder createBuilder()
Copyright © 2016. All rights reserved.