Sha256: fd10ac20669bdc69de1e0d69f89e2a1c5ffe6a04f81a1b58ed5215a8050f97d6
Contents?: true
Size: 614 Bytes
Versions: 2
Compression:
Stored size: 614 Bytes
Contents
require 'pio/open_flow/action' require 'pio/open_flow13/match' module Pio module OpenFlow13 # Set a header field. class SetSourceMacAddress < OpenFlow::Action action_header action_type: 25, action_length: 16 uint16 :oxm_class, value: Match::OpenFlowBasicValue::OXM_CLASS bit7 :oxm_field, value: Match::SourceMacAddress::OXM_FIELD bit1 :oxm_hasmask, value: 0 uint8 :oxm_length, value: 6 mac_address :mac_address string :padding, length: 2 hide :padding def initialize(mac_address) super mac_address: mac_address end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pio-0.30.1 | lib/pio/open_flow13/set_source_mac_address.rb |
pio-0.30.0 | lib/pio/open_flow13/set_source_mac_address.rb |