Class: Nl::Linux::Devlink::Messages::DumpPortGetReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::Devlink::Messages::DumpPortGetReply
- Defined in:
- nl-linux/generated/nl/linux/devlink.rb
Overview
Get devlink port instances.
Constant Summary collapse
- TYPE =
3- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Devlink
- ATTRIBUTES =
Ractor.make_shareable(%i[bus_name dev_name port_index index])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
- #bus_name ⇒ String
- #dev_name ⇒ String
-
#index ⇒ Integer
Unique devlink instance index.
- #port_index ⇒ 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
#bus_name ⇒ String
4732 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 4732 def bus_name; attributes[:"bus_name"]&.value; end |
#dev_name ⇒ String
4736 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 4736 def dev_name; attributes[:"dev_name"]&.value; end |
#index ⇒ Integer
Unique devlink instance index.
4745 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 4745 def index; attributes[:"index"]&.value; end |
#port_index ⇒ Integer
4740 |
# File 'nl-linux/generated/nl/linux/devlink.rb', line 4740 def port_index; attributes[:"port_index"]&.value; end |