Sha256: db5613145fabc2a66d9702b910a5fdda0d0777193f9683ff12cee0e86d1d463c

Contents?: true

Size: 385 Bytes

Versions: 5

Compression:

Stored size: 385 Bytes

Contents

require 'pio/open_flow/action'
require 'pio/type/ip_address'

module Pio
  module OpenFlow10
    # An action to modify the IPv4 source address of a packet.
    class SetSourceIpAddress < OpenFlow::Action
      action_header action_type: 6, action_length: 8
      ip_address :ip_address

      def initialize(ip_address)
        super ip_address: ip_address
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pio-0.30.1 lib/pio/open_flow10/set_source_ip_address.rb
pio-0.30.0 lib/pio/open_flow10/set_source_ip_address.rb
pio-0.29.0 lib/pio/open_flow10/set_source_ip_address.rb
pio-0.28.1 lib/pio/open_flow10/set_source_ip_address.rb
pio-0.28.0 lib/pio/open_flow10/set_source_ip_address.rb