Class: Pio::OpenFlow13::Match::Oxm::OpenflowBasic
Overview
rubocop:disable ClassLength OpenflowBasic part, tlv_value will use oxm_field, oxm_hasmask
Instance Method Summary
collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args, &block) ⇒ Object
1019
1020
1021
|
# File 'lib/pio/open_flow13/match.rb', line 1019
def method_missing(method, *args, &block)
tlv_value.__send__ method, *args, &block
end
|
Instance Method Details
#length ⇒ Object
1011
1012
1013
|
# File 'lib/pio/open_flow13/match.rb', line 1011
def length
tlv_value.length + 2
end
|
#masked? ⇒ Boolean
1015
1016
1017
|
# File 'lib/pio/open_flow13/match.rb', line 1015
def masked?
oxm_hasmask == 1
end
|