Class: Pio::OpenFlow10::Features::Reply::Format
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- Pio::OpenFlow10::Features::Reply::Format
- Extended by:
- Pio::OpenFlow::Format
- Defined in:
- lib/pio/open_flow10/features.rb
Overview
OpenFlow 1.0 Features Reply message
Instance Method Summary collapse
Methods included from Pio::OpenFlow::Format
Instance Method Details
#physical_ports ⇒ Object
93 94 95 96 97 |
# File 'lib/pio/open_flow10/features.rb', line 93 def physical_ports ports.select do |each| each.port_no <= Port16::MAX end end |
#ports ⇒ Object
86 87 88 89 90 91 |
# File 'lib/pio/open_flow10/features.rb', line 86 def ports body.snapshot.ports.map do |each| each.instance_variable_set :@datapath_id, datapath_id each end end |