Class: Pio::OpenFlow10::SetDestinationMacAddress

Inherits:
Pio::OpenFlow::Action show all
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

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