Sha256: fe4242c4a464db96c724b865a98373de43cd4afc3a2a23bd1cf3cb5e23fc35e1
Contents?: true
Size: 737 Bytes
Versions: 1
Compression:
Stored size: 737 Bytes
Contents
require 'pio/open_flow' require 'pio/open_flow10/actions' require 'pio/open_flow10/flow_mod/command' require 'pio/open_flow10/match10' module Pio module OpenFlow10 # OpenFlow 1.0 Flow Mod message. class FlowMod < OpenFlow::Message open_flow_header version: 1, type: 14, length: -> { 72 + actions.binary.length } match10 :match uint64 :cookie command :command uint16 :idle_timeout uint16 :hard_timeout uint16 :priority uint32 :buffer_id uint16 :out_port flags_16bit :flags, [:send_flow_rem, :check_overwrap, :emerg] actions10 :actions, length: -> { length - 72 } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pio-0.30.1 | lib/pio/open_flow10/flow_mod.rb |