Class: Nl::Linux::Devlink::Messages::DumpGetReply

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

Overview

Get devlink instances.

Constant Summary collapse

TYPE =
3
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Devlink
ATTRIBUTES =
Ractor.make_shareable(%i[bus_name dev_name reload_failed dev_stats index])

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

#bus_name ⇒ String

Returns:

  • (String)

See Also:



4636
# File 'nl-linux/generated/nl/linux/devlink.rb', line 4636

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

#dev_name ⇒ String

Returns:

  • (String)

See Also:



4640
# File 'nl-linux/generated/nl/linux/devlink.rb', line 4640

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

#dev_stats ⇒ AttributeSets::DlDevStats



4648
# File 'nl-linux/generated/nl/linux/devlink.rb', line 4648

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

#index ⇒ Integer

Unique devlink instance index.

Returns:

  • (Integer)

See Also:



4653
# File 'nl-linux/generated/nl/linux/devlink.rb', line 4653

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

#reload_failed ⇒ Integer

Returns:

  • (Integer)

See Also:



4644
# File 'nl-linux/generated/nl/linux/devlink.rb', line 4644

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