Class: Nl::Linux::Ethtool::Notifications::ModuleFwFlashNtf

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

Overview

Notification for firmware flashing progress and status.

Constant Summary collapse

TYPE =
44
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::ModuleFwFlash
ATTRIBUTES =
Ractor.make_shareable(%i[header status status_msg done total])

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

#done ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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

#header ⇒ AttributeSets::Header



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

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

#status ⇒ Integer

Known enum values are defined in Enums::ModuleFwFlashStatus.

Returns:

  • (Integer)

See Also:



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

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

#status_msg ⇒ String

Returns:

  • (String)

See Also:



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

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

#total ⇒ Integer

Returns:

  • (Integer)

See Also:



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

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