Class: Pio::OpenFlow13::FlowMod::OutPort
- Inherits:
-
BinData::Primitive
- Object
- BinData::Primitive
- Pio::OpenFlow13::FlowMod::OutPort
- Defined in:
- lib/pio/open_flow13/flow_mod.rb
Overview
For delete commands, require matching entries to include this as an output port.
Constant Summary collapse
- ANY =
0xffffffff
Instance Method Summary collapse
Instance Method Details
#get ⇒ Object
40 41 42 |
# File 'lib/pio/open_flow13/flow_mod.rb', line 40 def get out_port == ANY ? :any : out_port end |
#set(value) ⇒ Object
44 45 46 |
# File 'lib/pio/open_flow13/flow_mod.rb', line 44 def set(value) self.out_port = (value == :any ? ANY : value) end |