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