class Pio::OpenFlow13::PacketOut::InPort

Packet's input port or :controller

Constants

CONTROLLER

Public Instance Methods

get() click to toggle source
# File lib/pio/open_flow13/packet_out.rb, line 19
def get
  in_port == CONTROLLER ? :controller : in_port
end
set(value) click to toggle source
# File lib/pio/open_flow13/packet_out.rb, line 23
def set(value)
  self.in_port = (value == :controller ? NO_CONTROLLER : value)
end