Class: Nl::Linux::Ethtool::Notifications::ModuleFwFlashNtf
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Ethtool::Notifications::ModuleFwFlashNtf
- 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
Instance Method Summary collapse
- #done ⇒ Integer
- #header ⇒ AttributeSets::Header
-
#status ⇒ Integer
Known enum values are defined in Enums::ModuleFwFlashStatus.
- #status_msg ⇒ String
- #total ⇒ Integer
Methods inherited from Genl::Message
Methods inherited from Raw::Message
#append_attribute, decode, #initialize
Methods included from StructuredPayload
Constructor Details
This class inherits a constructor from Nl::Raw::Message
Instance Method Details
#done ⇒ Integer
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.
10101 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10101 def status; attributes[:"status"]&.value; end |
#status_msg ⇒ String
10105 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10105 def status_msg; attributes[:"status_msg"]&.value; end |
#total ⇒ Integer
10113 |
# File 'nl-linux/generated/nl/linux/ethtool.rb', line 10113 def total; attributes[:"total"]&.value; end |