Class: PopVlanHeaderAction
- Defined in:
- lib/openflowdev/actions/pop_vlan_header_action.rb
Overview
Class that is used to define an OpenFlow POP VLAN header action. Remove the VLAN encapsulation (Q-in-Q).
Instance Attribute Summary
Attributes inherited from Action
Instance Method Summary collapse
-
#initialize(order: 0) ⇒ PopVlanHeaderAction
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) ⇒ PopVlanHeaderAction
Parameters
order-
integer : The order of the action relative to other actions in Instruction.
36 37 38 |
# File 'lib/openflowdev/actions/pop_vlan_header_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/pop_vlan_header_action.rb', line 40 def to_hash #:nodoc: {:order => @order, 'pop-vlan-action' => {}} end |