Sha256: f2200e7976392cc520daa5180bc0a69de30c58b1c32c5ca555f240f5c0f0e877

Contents?: true

Size: 688 Bytes

Versions: 5

Compression:

Stored size: 688 Bytes

Contents

require 'pio/open_flow/message'
require 'pio/open_flow10/match10'
require 'pio/open_flow10/stats_type'

module Pio
  module OpenFlow10
    # OpenFlow 1.0 FlowStats messages
    module FlowStats
      # OpenFlow 1.0 Flow Stats Request message
      class Request < OpenFlow::Message
        open_flow_header version: 1,
                         message_type: 16,
                         message_length: 56

        stats_type :stats_type, value: -> { :flow }
        uint16 :flags
        match10 :match
        uint8 :table_id, initial_value: 0xff
        string :padding, length: 1
        hide :padding
        port16 :out_port, initial_value: -> { :none }
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pio-0.30.0 lib/pio/open_flow10/flow_stats/request.rb
pio-0.29.0 lib/pio/open_flow10/flow_stats/request.rb
pio-0.28.1 lib/pio/open_flow10/flow_stats/request.rb
pio-0.28.0 lib/pio/open_flow10/flow_stats/request.rb
pio-0.27.2 lib/pio/open_flow10/flow_stats/request.rb