Class: Nl::Linux::Ethtool::Messages::DumpPseGetReply

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/ethtool.rb

Overview

Get Power Sourcing Equipment params.

Constant Summary collapse

TYPE =
37
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Pse
ATTRIBUTES =
Ractor.make_shareable(%i[header podl_pse_admin_state podl_pse_admin_control podl_pse_pw_d_status c33_pse_admin_state c33_pse_admin_control c33_pse_pw_d_status c33_pse_pw_class c33_pse_actual_pw c33_pse_ext_state c33_pse_ext_substate c33_pse_avail_pw_limit c33_pse_pw_limit_ranges pse_pw_d_id pse_prio_max pse_prio])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#c33_pse_actual_pw ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_admin_control ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_admin_state ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_avail_pw_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_ext_state ⇒ Integer

Known enum values are defined in Enums::C33PseExtState.

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_ext_substate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_pw_class ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_pw_d_status ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_pw_limit_ranges ⇒ Array<AttributeSets::C33PsePwLimit>



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

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

#header ⇒ AttributeSets::Header



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

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

#podl_pse_admin_control ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#podl_pse_admin_state ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#podl_pse_pw_d_status ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pse_prio ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pse_prio_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pse_pw_d_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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