Class: Nl::Linux::Ethtool::Messages::DoPseGetReply

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:



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

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

#c33_pse_admin_control ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_admin_state ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_avail_pw_limit ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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:



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

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

#c33_pse_ext_substate ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_pw_class ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_pw_d_status ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#c33_pse_pw_limit_ranges ⇒ Array<AttributeSets::C33PsePwLimit>



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

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

#header ⇒ AttributeSets::Header



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

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

#podl_pse_admin_control ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#podl_pse_admin_state ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#podl_pse_pw_d_status ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pse_prio ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pse_prio_max ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#pse_pw_d_id ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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