class Pio::OpenFlow10::FlowRemoved::Reason

Why was this flow removed? (enum ofp_flow_removed_reason)

Constants

REASONS

Public Instance Methods

get() click to toggle source
# File lib/pio/open_flow10/flow_removed/reason.rb, line 14
def get
  REASONS.invert.fetch(reason)
end
set(value) click to toggle source
# File lib/pio/open_flow10/flow_removed/reason.rb, line 18
def set(value)
  self.reason = REASONS.fetch(value)
end