## Uses of Class
com.h3c.of.lib.instr.Action

- Packages that use Action
  Package | Description
  --- | ---
  com.h3c.of.ctl.pkt | Public API for the OpenFlow Packet Sequencer and participating Packet Listeners.
  com.h3c.of.json | JSON factory and codecs for Openflow structures.
  com.h3c.of.lib.instr | Representations of OpenFlow Protocol Instructions and Actions.
  com.h3c.of.lib.mp | Representations of OpenFlow Protocol Multipart Message bodies.
  com.h3c.of.lib.msg | Representations of OpenFlow Protocol Messages.

- - ### Uses of Action in com.h3c.of.ctl.pkt

    Methods in com.h3c.of.ctl.pkt with parameters of type Action
    Modifier and Type | Method and Description
    --- | ---
    `void` | PacketOut.`addAction(Action action)` Adds an action to the list of actions for this packet-out message.

  - ### Uses of Action in com.h3c.of.json

    Methods in com.h3c.of.json that return Action
    Modifier and Type | Method and Description
    --- | ---
    `Action` | ActionCodec.`decode(com.fasterxml.jackson.databind.node.ObjectNode node)`

    Methods in com.h3c.of.json with parameters of type Action
    Modifier and Type | Method and Description
    --- | ---
    `com.fasterxml.jackson.databind.node.ObjectNode` | ActionCodec.`encode(Action action)`

  - ### Uses of Action in com.h3c.of.lib.instr

    Subclasses of Action in com.h3c.of.lib.instr
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ActCopyTtlIn` Flow action `COPY_TTL_IN`.
    `class` | `ActCopyTtlOut` Flow action `COPY_TTL_OUT`.
    `class` | `ActDecMplsTtl` Flow action `DEC_MPLS_TTL`.
    `class` | `ActDecNwTtl` Flow action `DEC_NW_TTL`.
    `class` | `ActExperimenter` Flow action `EXPERIMENTER`.
    `class` | `ActGroup` Flow action `GROUP`.
    `class` | `ActHeader` Denotes an action, holding just the header information.
    `class` | `ActOutput` Flow action `OUTPUT`.
    `class` | `ActPopMpls` Flow action `POP_MPLS`.
    `class` | `ActPopPbb` Flow action `POP_PBB`.
    `class` | `ActPopVlan` Flow action `POP_VLAN`.
    `class` | `ActPushMpls` Flow action `PUSH_MPLS`.
    `class` | `ActPushPbb` Flow action `PUSH_PBB`.
    `class` | `ActPushVlan` Flow action `PUSH_VLAN`.
    `class` | `ActSetField` Flow action `SET_FIELD`.
    `class` | `ActSetMplsTtl` Flow action `SET_MPLS_TTL`.
    `class` | `ActSetNwTtl` Flow action `SET_NW_TTL`.
    `class` | `ActSetQueue` Flow action `SET_QUEUE`.

    Methods in com.h3c.of.lib.instr that return Action
    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.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, EthernetType ethType)` Creates a set-field action for an ETH_TYPE match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, ICMPv4Type icmpv4Type)` Creates a set-field action for an ICMPv4 Type match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, ICMPv6Type icmpv6Type)` Creates a set-field action for an ICMPv6 Type match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, int value)` Creates a set-field action for an int-payload-based match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, IpAddress ip)` Creates a set-field action for an ip-address-based match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, IpProtocol ipp)` Creates a set-field action for an IP Protocol match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, long value)` Creates a set-field action for a long-payload-based match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, MacAddress mac)` Creates a set-field action for a mac-address-based match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, Map<IPv6ExtHdr,Boolean> flags)` Creates a set-field action for an IPv6 Extension Header match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, PortNumber port)` Creates a set-field action for a port-number-based match field, using the given protocol version.
    `static Action` | ActionFactory.`createActionSetField(ProtocolVersion pv, OxmBasicFieldType ft, VId vid)` Creates a set-field action for a VLAN_VID, using the given protocol version.
    `static Action` | ActionFactory.`parseAction(OfPacketReader pkt, ProtocolVersion pv)` Parses a single action from the supplied buffer.

    Methods in com.h3c.of.lib.instr that return types with arguments of type Action
    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.
    `List<Action>` | InstrApplyActions.`getActionList()` Returns the list of actions, in the order they were defined in the flow instruction structure.
    `Set<Action>` | InstrWriteActions.`getActionSet()` Returns the set of actions defined in the flow instruction.
    `static List<Action>` | ActionFactory.`parseActionHeaders(int targetRi, OfPacketReader pkt, ProtocolVersion pv)` Parses a list of action header structures from the supplied buffer.
    `static List<Action>` | ActionFactory.`parseActionList(int targetRi, OfPacketReader pkt, ProtocolVersion pv)` Parses a list of action structures from the supplied buffer.

    Methods in com.h3c.of.lib.instr with parameters of type Action
    Modifier and Type | Method and Description
    --- | ---
    `InstrMutableAction` | InstrMutableAction.`addAction(Action action)` Adds the specified action to this instruction.
    `int` | Action.`compareTo(Action o)` Comparable implemented to sort actions according to their decoded action type.
    `static void` | ActionFactory.`encodeAction(Action act, OfPacketWriter pkt)` Encodes an action, writing it into the supplied buffer.
    `static void` | ActionFactory.`validateAction(ProtocolVersion pv, Action act, String msgType)` Ensures that the specified action is appropriate to add to a message of the specified version.

    Method parameters in com.h3c.of.lib.instr with type arguments of type Action
    Modifier and Type | Method and Description
    --- | ---
    `static void` | ActionFactory.`encodeActionList(List<Action> acts, OfPacketWriter pkt)` Encodes a list of actions, writing them into the supplied buffer.
    `static String` | ActionFactory.`toDebugString(int indent, List<Action> acts)` Outputs a list of actions in debug string format.

  - ### Uses of Action in com.h3c.of.lib.mp

    Methods in com.h3c.of.lib.mp that return types with arguments of type Action
    Modifier and Type | Method and Description
    --- | ---
    `List<Action>` | MBodyFlowStats.`getActions()` Returns the list of actions for this flow; Since 1.0; Dropped at 1.1.

    Method parameters in com.h3c.of.lib.mp with type arguments of type Action
    Modifier and Type | Method and Description
    --- | ---
    `MBodyMutableFlowStats` | MBodyMutableFlowStats.`actions(List<Action> acts)` Sets the actions; Since 1.0; Removed at 1.1.

  - ### Uses of Action in com.h3c.of.lib.msg

    Methods in com.h3c.of.lib.msg that return types with arguments of type Action
    Modifier and Type | Method and Description
    --- | ---
    `List<Action>` | OfmPacketOut.`getActions()` Returns the action list defining how the packet should be processed by the switch; Since 1.0.
    `List<Action>` | OfmFlowMod.`getActions()` Returns the list of actions; Since 1.0; Removed at 1.1. For messages 1.1 and higher, this method will always return null.
    `List<Action>` | Bucket.`getActions()` Returns the actions associated with this bucket; Since 1.1.

    Methods in com.h3c.of.lib.msg with parameters of type Action
    Modifier and Type | Method and Description
    --- | ---
    `OfmMutablePacketOut` | OfmMutablePacketOut.`addAction(Action act)` Adds an action to the action list; Since 1.0; Removed at 1.1.
    `OfmMutableFlowMod` | OfmMutableFlowMod.`addAction(Action act)` Adds an action to the action list; Since 1.0; Removed at 1.1.
    `MutableBucket` | MutableBucket.`addAction(Action action)` Adds the specified action to this bucket; Since 1.1.

Copyright © 2014. All Rights Reserved.