Class: Nl::Linux::RtLink::AttributeSets::BondSlaveAttrs

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

Defined Under Namespace

Classes: AdActorOperPortState, AdAggregatorId, AdPartnerOperPortState, Attribute, LinkFailureCount, MiiStatus, PermHwaddr, Prio, QueueId, State

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:



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

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



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

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

Instance Method Details

#ad_actor_oper_port_state ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ad_aggregator_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#ad_partner_oper_port_state ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

Returns:

  • (Integer)

See Also:



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

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

#mii_status ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#perm_hwaddr ⇒ String

Returns:

  • (String)

See Also:



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

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

#prio ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#queue_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#state ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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