Class: Pio::OpenFlow13::SetSourceMacAddress
- Inherits:
-
Pio::OpenFlow::Action
- Object
- Pio::OpenFlow::Action
- Pio::OpenFlow13::SetSourceMacAddress
- Defined in:
- lib/pio/open_flow13/set_source_mac_address.rb
Overview
Set a header field.
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.
20 21 22 |
# File 'lib/pio/open_flow13/set_source_mac_address.rb', line 20 def initialize(mac_address) super mac_address: mac_address end |