Class: Nl::Linux::Devlink::Messages::DoGetReply

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:



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

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

#dev_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#dev_stats ⇒ AttributeSets::DlDevStats



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

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

#index ⇒ Integer

Unique devlink instance index.

Returns:

  • (Integer)

See Also:



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

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

#reload_failed ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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