Class: Nl::Linux::OvsFlow::AttributeSets::UserspaceAttrs

Inherits:
AttributeSet
  • Object
show all
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

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

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.

Parameters:

  • name (Symbol)

Returns:



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.

Parameters:

  • type (Integer)

Returns:



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

Returns:

  • (Integer)

See Also:



2038
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2038

def actions; self[:"actions"]&.value; end

#egress_tun_port ⇒ Integer

Returns:

  • (Integer)

See Also:



2034
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2034

def egress_tun_port; self[:"egress_tun_port"]&.value; end

#pid ⇒ Integer

Returns:

  • (Integer)

See Also:



2026
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2026

def pid; self[:"pid"]&.value; end

#userdata ⇒ String

Returns:

  • (String)

See Also:



2030
# File 'nl-linux/generated/nl/linux/ovs_flow.rb', line 2030

def userdata; self[:"userdata"]&.value; end