Class: Nl::Linux::OvsFlow::AttributeSets::UserspaceAttrs
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::OvsFlow::AttributeSets::UserspaceAttrs
- Defined in:
- nl-linux/generated/nl/linux/ovs_flow.rb
Defined Under Namespace
Classes: Actions, Attribute, EgressTunPort, Pid, Userdata
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
2045 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2045 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
2051 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2051 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#actions ⇒ Integer
2038 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2038 def actions; self[:"actions"]&.value; end |
#egress_tun_port ⇒ Integer
2034 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2034 def egress_tun_port; self[:"egress_tun_port"]&.value; end |
#pid ⇒ Integer
2026 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2026 def pid; self[:"pid"]&.value; end |
#userdata ⇒ String
2030 |
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2030 def userdata; self[:"userdata"]&.value; end |