Class: Nl::Linux::Ethtool::AttributeSets::Pse

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

Defined Under Namespace

Classes: Attribute, C33PseActualPw, C33PseAdminControl, C33PseAdminState, C33PseAvailPwLimit, C33PseExtState, C33PseExtSubstate, C33PsePwClass, C33PsePwDStatus, C33PsePwLimitRanges, Header, PodlPseAdminControl, PodlPseAdminState, PodlPsePwDStatus, PsePrio, PsePrioMax, PsePwDId

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:



4387
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4387

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

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



4393
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4393

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

Instance Method Details

#c33_pse_actual_pw ⇒ Integer

Returns:

  • (Integer)

See Also:



4351
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4351

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

#c33_pse_admin_control ⇒ Integer

Returns:

  • (Integer)

See Also:



4339
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4339

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

#c33_pse_admin_state ⇒ Integer

Returns:

  • (Integer)

See Also:



4335
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4335

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

#c33_pse_avail_pw_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



4364
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4364

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

#c33_pse_ext_state ⇒ Integer

Known enum values are defined in Enums::C33PseExtState.

Returns:

  • (Integer)

See Also:



4356
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4356

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

#c33_pse_ext_substate ⇒ Integer

Returns:

  • (Integer)

See Also:



4360
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4360

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

#c33_pse_pw_class ⇒ Integer

Returns:

  • (Integer)

See Also:



4347
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4347

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

#c33_pse_pw_d_status ⇒ Integer

Returns:

  • (Integer)

See Also:



4343
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4343

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

#c33_pse_pw_limit_ranges ⇒ Array<AttributeSets::C33PsePwLimit>



4368
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4368

def c33_pse_pw_limit_ranges; self[:"c33_pse_pw_limit_ranges"].map(&:value); end

#header ⇒ AttributeSets::Header

Returns:

See Also:



4319
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4319

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

#podl_pse_admin_control ⇒ Integer

Returns:

  • (Integer)

See Also:



4327
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4327

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

#podl_pse_admin_state ⇒ Integer

Returns:

  • (Integer)

See Also:



4323
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4323

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

#podl_pse_pw_d_status ⇒ Integer

Returns:

  • (Integer)

See Also:



4331
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4331

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

#pse_prio ⇒ Integer

Returns:

  • (Integer)

See Also:



4380
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4380

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

#pse_prio_max ⇒ Integer

Returns:

  • (Integer)

See Also:



4376
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4376

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

#pse_pw_d_id ⇒ Integer

Returns:

  • (Integer)

See Also:



4372
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 4372

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