os-ken/doc/source/ofproto_v1_0_ref.rst

6.6 KiB

OpenFlow v1.0 Messages and Structures

Controller-to-Switch Messages

Handshake

OFPFeaturesRequest

JSON Example:

../../tests/unit/ofproto/json/of10/1-5-features_request.packet.json

OFPSwitchFeatures

JSON Example:

../../tests/unit/ofproto/json/of10/1-6-ofp_switch_features.packet.json

Switch Configuration

OFPSetConfig

OFPGetConfigRequest

OFPGetConfigReply

Modify State Messages

OFPFlowMod

JSON Example:

../../tests/unit/ofproto/json/of10/1-2-ofp_flow_mod.packet.json

OFPPortMod

Queue Configuration Messages

OFPQueueGetConfigRequest

OFPQueueGetConfigReply

Read State Messages

OFPDescStatsRequest

OFPDescStatsReply

OFPFlowStatsRequest

OFPFlowStatsReply

OFPAggregateStatsRequest

OFPAggregateStatsReply

OFPTableStatsRequest

OFPTableStatsReply

OFPPortStatsRequest

OFPPortStatsReply

OFPQueueStatsRequest

OFPQueueStatsReply

OFPVendorStatsRequest

OFPVendorStatsReply

Send Packet Message

OFPPacketOut

JSON Example:

../../tests/unit/ofproto/json/of10/1-1-ofp_packet_out.packet.json

Barrier Message

OFPBarrierRequest

OFPBarrierReply

Asynchronous Messages

Packet-In Message

OFPPacketIn

JSON Example:

../../tests/unit/ofproto/json/of10/1-4-ofp_packet_in.packet.json

Flow Removed Message

OFPFlowRemoved

Port Status Message

OFPPortStatus

Error Message

OFPErrorMsg

Symmetric Messages

Hello

OFPHello

Echo Request

OFPEchoRequest

Echo Reply

OFPEchoReply

Vendor

OFPVendor

Port Structures

OFPPhyPort

Flow Match Structure

OFPMatch

Action Structures

OFPActionHeader

OFPAction

OFPActionOutput

OFPActionVlanVid

OFPActionVlanPcp

OFPActionStripVlan

OFPActionDlAddr

OFPActionSetDlSrc

OFPActionSetDlDst

OFPActionNwAddr

OFPActionSetNwSrc

OFPActionSetNwDst

OFPActionSetNwTos

OFPActionTpPort

OFPActionSetTpSrc

OFPActionSetTpDst

OFPActionEnqueue

OFPActionVendor