Class: DropAction

Inherits:
Action show all
Defined in:
lib/openflowdev/actions/drop_action.rb

Overview

Class defining an OpenFlow action to drop the packet.

Instance Attribute Summary

Attributes inherited from Action

#order

Instance Method Summary collapse

Methods inherited from Action

#initialize

Constructor Details

This class inherits a constructor from Action

Instance Method Details

#to_hashObject



35
36
37
# File 'lib/openflowdev/actions/drop_action.rb', line 35

def to_hash
  {:order => @order, 'drop-action' => {}}
end