Class: Nl::Linux::NetShaper::Messages::DoDeleteRequest
- Inherits:
-
Genl::Message
- Object
- Raw::Message
- Genl::Message
- Nl::Linux::NetShaper::Messages::DoDeleteRequest
- Defined in:
- nl-linux/generated/nl/linux/net_shaper.rb
Overview
Clear (remove) the specified shaper. When deleting
a node shaper, reattach all the node's leaves to the
deleted node's parent.
If, after the removal, the parent shaper has no more
leaves and the parent shaper scope is node, the parent
node is deleted, recursively.
When deleting a queue shaper or a netdev shaper,
the shaper disappears from the hierarchy, but the
queue/device can still send traffic: it has an implicit
node with infinite bandwidth. The queue's implicit node
feeds an implicit RR node at the root of the hierarchy.
Requires CAP_NET_ADMIN in the initial user namespace.
Constant Summary collapse
- TYPE =
3- FIXED_HEADER =
nil- ATTRIBUTE_SET =
AttributeSets::NetShaper
- ATTRIBUTES =
Ractor.make_shareable(%i[handle ifindex])
Instance Attribute Summary
Attributes included from StructuredPayload
Instance Method Summary collapse
-
#handle ⇒ AttributeSets::Handle
Unique identifier for the given shaper inside the owning device.
-
#ifindex ⇒ Integer
Interface index owning the specified shaper.
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
#handle ⇒ AttributeSets::Handle
Unique identifier for the given shaper inside the owning device.
806 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 806 def handle; attributes[:"handle"]&.value; end |
#ifindex ⇒ Integer
Interface index owning the specified shaper.
811 |
# File 'nl-linux/generated/nl/linux/net_shaper.rb', line 811 def ifindex; attributes[:"ifindex"]&.value; end |