class Pio::OpenFlow::NiciraAction

NXAST_* actions

Public Class Methods

nicira_action_header(options) click to toggle source
# File lib/pio/open_flow/nicira_action.rb, line 9
def self.nicira_action_header(options)
  module_eval do
    action_header action_type: options.fetch(:action_type),
                  action_length: options.fetch(:action_length)
    uint32 :vendor, value: 0x2320
    uint16 :subtype, value: options.fetch(:subtype)
  end
end