deb-ryu/doc/source/ofproto_v1_5_ref.rst
FUJITA Tomonori a991fed7e4 Revert "tests: Separate test files from Ryu module"
This reverts commit a67ed28584.

The commit breaks OpenStack neutron dynamic routing.
2017-06-30 14:23:03 +09:00

14 KiB

OpenFlow v1.5 Messages and Structures

Controller-to-Switch Messages

Handshake

OFPFeaturesRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-features_request.packet.json

OFPSwitchFeatures

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-features_reply.packet.json

Switch Configuration

OFPSetConfig

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-set_config.packet.json

OFPGetConfigRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-get_config_request.packet.json

OFPGetConfigReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-get_config_reply.packet.json

Modify State Messages

OFPTableMod

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_mod.packet.json

OFPFlowMod

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_mod.packet.json

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_mod_conjunction.packet.json

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_mod_match_conj.packet.json

OFPGroupMod

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_mod.packet.json

OFPPortMod

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-port_mod.packet.json

OFPMeterMod

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-meter_mod.packet.json

Multipart Messages

OFPDescStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-desc_request.packet.json

OFPDescStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-desc_reply.packet.json

OFPFlowDescStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_desc_request.packet.json

OFPFlowDescStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_desc_reply.packet.json

OFPFlowStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_stats_request.packet.json

OFPFlowStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_stats_reply.packet.json

OFPAggregateStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-aggregate_stats_request.packet.json

OFPAggregateStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-aggregate_stats_reply.packet.json

OFPPortStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-port_stats_request.packet.json

OFPPortStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-port_stats_reply.packet.json

OFPPortDescStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-port_desc_request.packet.json

OFPPortDescStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-port_desc_reply.packet.json

OFPQueueStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-queue_stats_request.packet.json

OFPQueueStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-queue_stats_reply.packet.json

OFPQueueDescStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-queue_desc_request.packet.json

OFPQueueDescStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-queue_desc_reply.packet.json

OFPGroupStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_stats_request.packet.json

OFPGroupStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_stats_reply.packet.json

OFPGroupDescStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_request.packet.json

OFPGroupDescStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_desc_reply.packet.json

OFPGroupFeaturesStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_features_request.packet.json

OFPGroupFeaturesStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-group_features_reply.packet.json

OFPMeterStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-meter_stats_request.packet.json

OFPMeterStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-meter_stats_reply.packet.json

OFPMeterDescStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-meter_desc_request.packet.json

OFPMeterDescStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-meter_desc_reply.packet.json

OFPMeterFeaturesStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-meter_features_request.packet.json

OFPMeterFeaturesStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-meter_features_reply.packet.json

OFPControllerStatusStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_request.packet.json

OFPControllerStatusStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status_reply.packet.json

OFPTableStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_stats_request.packet.json

OFPTableStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_stats_reply.packet.json

OFPTableDescStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_desc_request.packet.json

OFPTableDescStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_desc_reply.packet.json

OFPTableFeaturesStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_request.packet.json

OFPTableFeaturesStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_features_reply.packet.json

OFPFlowMonitorRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_monitor_request.packet.json

OFPFlowMonitorReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_monitor_reply.packet.json

OFPBundleFeaturesStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_request.packet.json

OFPBundleFeaturesStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_features_reply.packet.json

OFPExperimenterStatsRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-experimenter_request.packet.json

OFPExperimenterStatsReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-experimenter_reply.packet.json

Packet-Out Message

OFPPacketOut

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_out.packet.json

Barrier Message

OFPBarrierRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-barrier_request.packet.json

OFPBarrierReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-barrier_reply.packet.json

Role Request Message

OFPRoleRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_request.packet.json

OFPRoleReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_reply.packet.json

Bundle Messages

OFPBundleCtrlMsg

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_ctrl.packet.json

OFPBundleAddMsg

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-bundle_add.packet.json

Set Asynchronous Configuration Message

OFPSetAsync

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-set_async.packet.json

OFPGetAsyncRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-get_async_request.packet.json

OFPGetAsyncReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-get_async_reply.packet.json

Asynchronous Messages

Packet-In Message

OFPPacketIn

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-packet_in.packet.json

Flow Removed Message

OFPFlowRemoved

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-flow_removed.packet.json

Port Status Message

OFPPortStatus

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-port_status.packet.json

Controller Role Status Message

OFPRoleStatus

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-role_status.packet.json

Table Status Message

OFPTableStatus

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-table_status.packet.json

Request Forward Message

OFPRequestForward

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-requestforward.packet.json

Controller Status Message

OFPControllerStatus

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-controller_status.packet.json

Symmetric Messages

Hello

OFPHello

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-hello.packet.json

OFPHelloElemVersionBitmap

Echo Request

OFPEchoRequest

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-echo_request.packet.json

Echo Reply

OFPEchoReply

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-echo_reply.packet.json

Error Message

OFPErrorMsg

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-error_msg.packet.json

Experimenter

OFPExperimenter

JSON Example:

../../ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-error_msg_experimenter.packet.json

Port Structures

OFPPort

Flow Match Structure

OFPMatch

Flow Stats Structures

OFPStats

Flow Instruction Structures

OFPInstructionGotoTable

OFPInstructionWriteMetadata

OFPInstructionActions

OFPInstructionStatTrigger

Action Structures

OFPActionOutput

OFPActionCopyTtlOut

OFPActionCopyTtlIn

OFPActionSetMplsTtl

OFPActionDecMplsTtl

OFPActionPushVlan

OFPActionPopVlan

OFPActionPushMpls

OFPActionPopMpls

OFPActionSetQueue

OFPActionGroup

OFPActionSetNwTtl

OFPActionDecNwTtl

OFPActionSetField

OFPActionPushPbb

OFPActionPopPbb

OFPActionCopyField

OFPActionMeter

OFPActionExperimenter

Controller Status Structure

OFPControllerStatusStats