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