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(io.netty.buffer.ByteBuf channelBuffer) |
putTo
OFPort getPortNo()
MacAddress getHwAddr()
String getName()
Set<OFPortConfig> getConfig()
Set<OFPortState> getState()
Set<OFPortFeatures> getCurr() throws UnsupportedOperationException
UnsupportedOperationException
Set<OFPortFeatures> getAdvertised() throws UnsupportedOperationException
UnsupportedOperationException
Set<OFPortFeatures> getSupported() throws UnsupportedOperationException
UnsupportedOperationException
Set<OFPortFeatures> getPeer() throws UnsupportedOperationException
UnsupportedOperationException
long getCurrSpeed() throws UnsupportedOperationException
UnsupportedOperationException
long getMaxSpeed() throws UnsupportedOperationException
UnsupportedOperationException
List<OFPortDescProp> getProperties() throws UnsupportedOperationException
UnsupportedOperationException
OFVersion getVersion()
getVersion
in interface OFObject
boolean isEnabled()
U64 getBsnGenerationId()
void writeTo(io.netty.buffer.ByteBuf channelBuffer)
OFPortDesc.Builder createBuilder()
Copyright © 2015. All rights reserved.