Package | Description |
---|---|
com.hp.of.lib.instr |
Representations of OpenFlow Protocol Instructions and Actions.
|
com.hp.of.lib.mp |
Representations of OpenFlow Protocol Multipart Message bodies.
|
com.hp.of.lib.msg |
Representations of OpenFlow Protocol Messages.
|
Modifier and Type | Method and Description |
---|---|
ActionType |
Action.getActionType()
Returns the action type.
|
static ActionType |
ActionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionType[] |
ActionType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Set<ActionType> |
ActionType.decodeFlags(int bitmap,
ProtocolVersion pv)
Decodes the action type flags, based on the code associated with the
flags, and returns the set of corresponding constants.
|
Modifier and Type | Method and Description |
---|---|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type)
Creates an action (header only, no payload),
using the specified protocol version.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
BigPortNumber port)
Creates an OUTPUT action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
BigPortNumber port,
int maxLen)
Creates an OUTPUT action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
EthernetType ethType)
Creates an EthernetType-based action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
ExperimenterId eid,
byte[] data)
Creates an EXPERIMENTER action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
GroupId id)
Creates a GROUP action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
int ttl)
Creates a TTL-based action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
int id,
byte[] data)
Creates an EXPERIMENTER action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
MFieldBasic mf)
Creates a SET_FIELD action.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
QueueId id)
Creates a SET_QUEUE action for version 1.1 onwards.
|
static Action |
ActionFactory.createAction(ProtocolVersion pv,
ActionType type,
QueueId id,
BigPortNumber port)
Creates a SET_QUEUE action (used to be named ENQUEUE) for version 1.0.
|
Modifier and Type | Method and Description |
---|---|
static List<Action> |
ActionFactory.createActionHeaders(ProtocolVersion pv,
Set<ActionType> types)
Creates action headers to be used in encoding a table features
actions property.
|
static int |
ActionType.encodeFlags(Set<ActionType> flags,
ProtocolVersion pv)
Encodes a set of action type flags as a bitmap.
|
Modifier and Type | Method and Description |
---|---|
Set<ActionType> |
MBodyGroupFeatures.getActionsForType(GroupType type)
Returns the set of supported actions for the given group type; since 1.2.
|
Modifier and Type | Method and Description |
---|---|
MBodyMutableGroupFeatures |
MBodyMutableGroupFeatures.actionsForType(GroupType type,
Set<ActionType> actions)
Sets the actions supported for the given group type; since 1.2.
|
Modifier and Type | Method and Description |
---|---|
Set<ActionType> |
TableFeaturePropAction.getSupportedActions()
Returns the set of action types supported by the table feature;
Since 1.3.
|
Modifier and Type | Method and Description |
---|---|
static TableFeaturePropAction |
TableFeatureFactory.createActionProp(ProtocolVersion pv,
TableFeaturePropType type,
Set<ActionType> actionTypes)
Creates a table features action property, for the given
protocol version, and the specified action types.
|
static TableFeaturePropAction |
TableFeatureFactory.createActionProp(ProtocolVersion pv,
TableFeaturePropType type,
Set<ActionType> actionTypes,
List<ActExperimenter> actionExper)
Creates a table features action property, for the given
protocol version, and the specified action types and experimenter
action types.
|
Copyright © 2015. All Rights Reserved.