module Havox::OpenFlow10::OVS::Matches

Constants

FIELDS

Public Class Methods

treat(hash) click to toggle source
# File lib/havox/modules/openflow10/ovs/matches.rb, line 27
def self.treat(hash)
  hash[:nw_src] = parsed_ipv4(hash[:nw_src]) unless hash[:nw_src].nil?
  hash[:nw_dst] = parsed_ipv4(hash[:nw_dst]) unless hash[:nw_dst].nil?
  hash
end