Expand description
OpenFlow protocol implementation for OVS.
Provides:
OpenFlowmessage encoding/decoding- Match field builder
- Action types
- Flow modification
- Virtual connection (
VConn) abstraction
Modules§
- monitor_
flags - Flow monitor request flags (NXFMF_*).
- ndp
- NDP (Neighbor Discovery Protocol) packet parsing and construction.
- nxm
- NXM/OXM field header constants for use with Nicira extensions.
- oxm
OpenFlowExtensible Match (OXM) encoding.
Structs§
- Action
List - A list of actions.
- Flow
- A flow entry to add, modify, or delete.
- Flow
Flags - Flow flags.
- Flow
Monitor Request - Builder for a flow monitor request.
- Flow
Stats - Flow statistics read from the switch.
- Flow
Stats Entry - Individual flow statistics from a FlowStats reply.
- Flow
Stats Request - Flow stats request body (follows multipart header).
- Flow
Update Full - Full flow update entry (ADDED, DELETED, or MODIFIED).
- Header
- OpenFlow message header (8 bytes).
- Instruction
List - A list of instructions.
- Match
- Match fields for flow matching.
- Message
- A complete OpenFlow message.
- NatConfig
- NAT configuration for use with ct() action.
- NxLearn
- NxLearn action (Nicira extension).
- OfError
- OpenFlow error message from the switch.
- Packet
In - Parsed Packet-In message.
- Packet
Out - Packet-Out message builder.
- VConn
- An OpenFlow virtual connection.
Enums§
- Action
- An OpenFlow action.
- Error
- Errors that can occur in OpenFlow operations.
- Flow
Command - Flow command type.
- Flow
Update - A flow update received from the monitor.
- Flow
Update Event - Flow update event type.
- Instruction
- An OpenFlow instruction.
- Learn
Spec - A single learn specification.
- Message
Type - OpenFlow message types.
- Multipart
Type - Multipart message types (OF 1.3).
- OfError
Type - OpenFlow error types (OF 1.3).
- Output
Port - Output port specification.
- Packet
InReason - Reason codes for Packet-In messages.
- Version
- OpenFlow protocol versions.
Constants§
- CT_
COMMIT - CT commit flag (shorthand).
- OFPP_
ANY - Special input port value meaning “any” (no specific port).
- OFPP_
CONTROLLER - Special input port value meaning “controller”.
- OFP_
NO_ BUFFER - Buffer ID indicating no buffering (packet data is in the message).