Class: OFMessage
- Inherits:
-
SuperclassBase
- Object
- BinData::Record
- SuperclassBase
- OFMessage
- Defined in:
- lib/messages/message.rb
Overview
TODO: use OFPT_, OFPP_, OFPQ_, … in place of Symbols?
check: https://github.com/noxrepo/pox/blob/carp/pox/openflow/libopenflow_01.py
-> see decorators
ruby decorators: https://github.com/fredwu/ruby_decorators
Direct Known Subclasses
OFBarrierReply, OFBarrierRequest, OFEchoRequest, OFError, OFFeaturesReply, OFFeaturesRequest, OFFlowMod, OFFlowRemoved, OFGetConfigReply, OFGetConfigRequest, OFHello, OFPacketIn, OFPacketOut, OFPortMod, OFPortStatus, OFStatistics, OFVendor
Constant Summary collapse
- OFP_VERSION =
0x1
- HEADER_LENGTH =
8
- TYPES =
[ :hello, :error, :echo_request, :echo_reply, :vendor, :features_request, :features_reply, :get_config_request, :get_config_reply, :set_config, :packet_in, :flow_removed, :port_status, :packet_out, :flow_mod, :port_mod, :statistics_request, :statistics_reply, :barrier_request, :barrier_reply, :queue_get_config_request, # TODO :queue_get_config_reply # TODO ]