Class: Nl::Linux::NetShaper::Messages::DoCapGetReply
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::NetShaper::Messages::DoCapGetReply
- Defined in:
- nl-linux/generated/nl/linux/net_shaper.rb
Overview
Get the shaper capabilities supported by the given device for the specified scope.
Constant Summary collapse
- TYPE =
5- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::Caps
- ATTRIBUTES =
Ractor.make_shareable(%i[ifindex scope support_metric_bps support_metric_pps support_nesting support_bw_min support_bw_max support_burst support_priority support_weight])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#ifindex ⇒ Integer
Interface index queried for shapers capabilities.
-
#scope ⇒ Integer
The scope to which the queried capabilities apply.
-
#support_burst ⇒ Integer
The device supports a maximum burst size.
-
#support_bw_max ⇒ Integer
The device supports maximum B/W shaping.
-
#support_bw_min ⇒ Integer
The device supports a minimum guaranteed B/W.
-
#support_metric_bps ⇒ Integer
The device accepts 'bps' metric for bw-min, bw-max and burst.
-
#support_metric_pps ⇒ Integer
The device accepts 'pps' metric for bw-min, bw-max and burst.
-
#support_nesting ⇒ Integer
The device supports nesting shaper belonging to this scope below 'node' scoped shapers.
-
#support_priority ⇒ Integer
The device supports priority scheduling.
-
#support_weight ⇒ Integer
The device supports weighted round robin scheduling.
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
#ifindex ⇒ Integer
Interface index queried for shapers capabilities.
968 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 968 def ifindex; attributes[:"ifindex"]&.value; end |
#scope ⇒ Integer
The scope to which the queried capabilities apply.
Known enum values are defined in Enums::Scope.
975 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 975 def scope; attributes[:"scope"]&.value; end |
#support_burst ⇒ Integer
The device supports a maximum burst size.
1007 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 1007 def support_burst; attributes[:"support_burst"]&.value; end |
#support_bw_max ⇒ Integer
The device supports maximum B/W shaping.
1002 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 1002 def support_bw_max; attributes[:"support_bw_max"]&.value; end |
#support_bw_min ⇒ Integer
The device supports a minimum guaranteed B/W.
997 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 997 def support_bw_min; attributes[:"support_bw_min"]&.value; end |
#support_metric_bps ⇒ Integer
The device accepts 'bps' metric for bw-min, bw-max and burst.
980 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 980 def support_metric_bps; attributes[:"support_metric_bps"]&.value; end |
#support_metric_pps ⇒ Integer
The device accepts 'pps' metric for bw-min, bw-max and burst.
985 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 985 def support_metric_pps; attributes[:"support_metric_pps"]&.value; end |
#support_nesting ⇒ Integer
The device supports nesting shaper belonging to this scope below 'node' scoped shapers. Only 'queue' and 'node' scope can have flag 'support-nesting'.
992 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 992 def support_nesting; attributes[:"support_nesting"]&.value; end |
#support_priority ⇒ Integer
The device supports priority scheduling.
1012 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 1012 def support_priority; attributes[:"support_priority"]&.value; end |
#support_weight ⇒ Integer
The device supports weighted round robin scheduling.
1017 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 1017 def support_weight; attributes[:"support_weight"]&.value; end |