Package | Description |
---|---|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
com.hp.of.sw |
Provides mock implementations of OpenFlow switches.
|
Modifier and Type | Method and Description |
---|---|
static PortFeature |
PortFeature.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PortFeature[] |
PortFeature.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
Set<PortFeature> |
OfmPortMod.getAdvertise()
The features of this port to advertise; Since 1.0.
|
Set<PortFeature> |
Port.getAdvertised()
Returns the set of features advertised by the port; Since 1.0.
|
Set<PortFeature> |
Port.getCurrent()
Returns the set of current features; Since 1.0.
|
Set<PortFeature> |
Port.getPeer()
Returns the set of features advertised by the peer; Since 1.0.
|
Set<PortFeature> |
Port.getSupported()
Returns the set of features supported by the port; Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
OfmMutablePortMod |
OfmMutablePortMod.advertise(Set<PortFeature> features)
Sets the features of this port to advertise; Since 1.0.
|
MutablePort |
MutablePort.advertised(Set<PortFeature> advertised)
Sets the port advertised features flags, (may be null); Since 1.0.
|
MutablePort |
MutablePort.current(Set<PortFeature> current)
Sets the port current features flags, (may be null); Since 1.0.
|
MutablePort |
MutablePort.peer(Set<PortFeature> peer)
Sets the port peer features flags, (may be null); Since 1.0.
|
MutablePort |
MutablePort.supported(Set<PortFeature> supported)
Sets the port supported features flags, (may be null); Since 1.0.
|
Modifier and Type | Method and Description |
---|---|
static PortFeature |
CfgFeat.pickRate(Set<PortFeature> portFeatures)
Picks the first Rate flag and returns it.
|
Modifier and Type | Method and Description |
---|---|
Set<PortFeature> |
CfgFeat.getPortFeatures()
Returns the port feature flags.
|
Set<PortFeature> |
CfgFeat.getPortFeatures(int index)
Returns the port feature flags for the given port index.
|
Modifier and Type | Method and Description |
---|---|
static long |
CfgFeat.pickCurrentSpeed(PortFeature rate)
Using the specified rate, divides by 2 to provide a fake
current port speed value.
|
static long |
CfgFeat.pickMaxSpeed(PortFeature rate)
Uses the specified rate to return a fake max port speed value.
|
Modifier and Type | Method and Description |
---|---|
void |
CfgFeat.overridePortFeatures(int index,
Set<PortFeature> features)
Overrides the default port features for the given port index.
|
static PortFeature |
CfgFeat.pickRate(Set<PortFeature> portFeatures)
Picks the first Rate flag and returns it.
|
void |
CfgFeat.setPortFeatures(Set<PortFeature> portFeatures)
Sets the default port features.
|
Copyright © 2016. All Rights Reserved.