Class: Pio::OpenFlow10::SetSourceIpAddress
- Inherits:
-
Pio::OpenFlow::Action
- Object
- Pio::OpenFlow::Action
- Pio::OpenFlow10::SetSourceIpAddress
- Defined in:
- lib/pio/open_flow10/set_source_ip_address.rb
Overview
An action to modify the IPv4 source address of a packet.
Instance Method Summary collapse
-
#initialize(ip_address) ⇒ SetSourceIpAddress
constructor
A new instance of SetSourceIpAddress.
Methods inherited from Pio::OpenFlow::Action
action_header, method_missing, read, #to_binary
Constructor Details
#initialize(ip_address) ⇒ SetSourceIpAddress
Returns a new instance of SetSourceIpAddress.
13 14 15 |
# File 'lib/pio/open_flow10/set_source_ip_address.rb', line 13 def initialize(ip_address) super ip_address: ip_address end |