Class: Nl::Linux::RtLink::AttributeSets::BondAdInfoAttrs

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/rt_link.rb

Defined Under Namespace

Classes: ActorKey, Aggregator, Attribute, NumPorts, PartnerKey, PartnerMac

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:



2960
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2960

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



2966
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2966

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#actor_key ⇒ Integer

Returns:

  • (Integer)

See Also:



2945
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2945

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

#aggregator ⇒ Integer

Returns:

  • (Integer)

See Also:



2937
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2937

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

#num_ports ⇒ Integer

Returns:

  • (Integer)

See Also:



2941
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2941

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

#partner_key ⇒ Integer

Returns:

  • (Integer)

See Also:



2949
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2949

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

#partner_mac ⇒ String

Returns:

  • (String)

See Also:



2953
# File 'nl-linux/generated/nl/linux/rt_link.rb', line 2953

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