Class: OpenFlow::Protocol::Action

Inherits:
SuperclassBase show all
Defined in:
lib/openflow-protocol/actions/action.rb

Constant Summary collapse

HEADER_LENGTH =
4
TYPES =
[
  :output,
  :set_vlan_id,
  :set_vlan_pcp,
  :strip_vlan,
  :set_mac_source,       # set_dl_src
  :set_mac_destination,  # set_dl_dst
  :set_ip_source,        # set_nw_src
  :set_ip_destination,   # set_nw_dst
  :set_ip_tos,           # set_nw_tos
  :set_source_port,      # set_tp_src
  :set_destination_port, # set_tp_dst
  :enqueue
]

Instance Attribute Summary

Attributes inherited from SuperclassBase

#type_str

Method Summary

Methods inherited from SuperclassBase

#body_length, #initialize_instance