class OpenFlow::Protocol::QueuePropertyMinRate::Rate

Public Instance Methods

get() click to toggle source
# File lib/openflow-protocol/structs/queue_properties/queue_property_min_rate.rb, line 10
def get
  return :disabled if rate > 1000
  rate
end
set(value) click to toggle source
# File lib/openflow-protocol/structs/queue_properties/queue_property_min_rate.rb, line 15
def set(value)
  value = 0xffff if value == :disabled
  self.rate = value
end