Class: Nl::Linux::Devlink::Messages::DoFlashUpdateRequest

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

Overview

Flash update devlink instances.

Requires CAP_NET_ADMIN in the initial user namespace.

Constant Summary collapse

TYPE =
58
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::Devlink
ATTRIBUTES =
Ractor.make_shareable(%i[bus_name dev_name flash_update_file_name flash_update_component flash_update_overwrite_mask 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:



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

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

#dev_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#flash_update_component ⇒ String

Returns:

  • (String)

See Also:



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

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

#flash_update_file_name ⇒ String

Returns:

  • (String)

See Also:



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

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

#flash_update_overwrite_mask ⇒ Nl::Bitfield32

Known flags are defined in Flags::FlashOverwrite.



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

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

#index ⇒ Integer

Unique devlink instance index.

Returns:

  • (Integer)

See Also:



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

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