Class: Pio::OpenFlow13::NiciraConjunction

Inherits:
Pio::OpenFlow::NiciraAction show all
Defined in:
lib/pio/open_flow13/nicira_conjunction.rb

Overview

NXAST_CONJUNCTION action

Instance Method Summary collapse

Methods inherited from Pio::OpenFlow::NiciraAction

nicira_action_header

Methods inherited from Pio::OpenFlow::Action

action_header, method_missing, read, #to_binary

Constructor Details

#initialize(options) ⇒ NiciraConjunction

Returns a new instance of NiciraConjunction.



16
17
18
19
20
# File 'lib/pio/open_flow13/nicira_conjunction.rb', line 16

def initialize(options)
  super(_clause: options[:clause] - 1,
        n_clauses: options[:n_clauses],
        conjunction_id: options[:conjunction_id])
end

Instance Method Details

#clauseObject



22
23
24
# File 'lib/pio/open_flow13/nicira_conjunction.rb', line 22

def clause
  _clause + 1
end