Class: LoopbackAction
- Inherits:
-
Object
- Object
- LoopbackAction
- Defined in:
- lib/openflowdev/actions/loopback_action.rb
Overview
Class to represent OpenFlow action for forwarding to the loopback interface of device
Instance Method Summary collapse
-
#initialize(order: 0) ⇒ LoopbackAction
constructor
- Parameters *
order -
integer : The order of the action relative to other actions in Instruction.
- Parameters *
-
#to_hash ⇒ Object
:nodoc:.
Constructor Details
#initialize(order: 0) ⇒ LoopbackAction
Parameters
order-
integer : The order of the action relative to other actions in Instruction.
36 37 38 |
# File 'lib/openflowdev/actions/loopback_action.rb', line 36 def initialize(order: 0) super(order: order) end |
Instance Method Details
#to_hash ⇒ Object
:nodoc:
40 41 42 |
# File 'lib/openflowdev/actions/loopback_action.rb', line 40 def to_hash #:nodoc: {:order => @order, 'loopback_action' => {}} end |