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