Sha256: 2c27209d6a26d3ecfd9bf91ba1fdc5146f2dc236c33be30d3100df56b2d4fc74

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

require 'pio/open_flow/nicira_action'

module Pio
  module OpenFlow
    # NXAST_RESUBMIT_TABLE action
    class NiciraResubmitTable < OpenFlow::NiciraAction
      nicira_action_header action_type: 0xffff,
                           action_length: 16,
                           subtype: 14
      uint16 :in_port
      uint8 :table, initial_value: 0xff
      string :padding, length: 3
      hide :padding

      def initialize(options)
        raise ':in_port option is a mandatory' unless options.key?(:in_port)
        super options
      end
    end
  end
  NiciraResubmitTable = OpenFlow::NiciraResubmitTable
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.1 lib/pio/open_flow/nicira_resubmit_table.rb