shaper
Create and manage bandwidth pipes, queues, and rules to prioritize traffic, then apply or audit changes to optimize network performance.
Instructions
Traffic shaper: pipes, queues, rules, and applying or auditing them. Call action='help' for each action's fields and rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | No | Record to act on, identified by a list action. | |
| apply | No | Apply now rather than leaving the change staged. The default differs by action; action='help' reports each one. | |
| proto | No | [create_rule, update_rule] proto | |
| action | Yes | Operation to run. 'help' lists fields. | |
| preset | No | [apply_preset] preset | bufferbloat_wan |
| weight | No | [create_queue, update_queue] weight | |
| confirm | No | Token returned by the previous call, to confirm. | |
| enabled | No | Target state, set explicitly rather than flipped. | |
| sequence | No | [create_rule] Rule order; auto-assigned when omitted | |
| bandwidth | No | [create_pipe, update_pipe] bandwidth | |
| direction | No | [create_rule, update_rule] direction | |
| fetch_all | No | [list_pipes, list_queues, list_rules] When true, paginate until all rows are returned | |
| interface | No | [create_rule, list_rules, update_rule] interface | |
| pipe_uuid | No | [create_queue, update_queue] pipe_uuid | |
| row_count | No | [list_pipes, list_queues, list_rules] Search API page size (default 50, max 500) | |
| scheduler | No | [create_pipe, update_pipe] scheduler | fq_codel |
| baseline_id | No | [statistics] Optional baseline id from a prior shaper_statistics call for pkts/bytes delta comparison | |
| description | No | Free-text note stored on the record. | |
| snapshot_id | No | [restore_snapshot] snapshot_id | |
| target_uuid | No | [create_rule, update_rule] target_uuid | |
| upload_mbit | No | [apply_preset] upload_mbit | |
| download_mbit | No | [apply_preset] download_mbit | |
| include_audit | No | [explain] When true, run audit first and weave findings into the narrative | |
| wan_interface | No | [apply_preset] wan_interface | wan |
| remove_orphans | No | [restore_snapshot] Delete live objects whose UUID is absent from the snapshot | |
| isp_upload_mbit | No | [audit] Reference ISP upload rate in Mbit/s | |
| bandwidth_metric | No | [create_pipe, update_pipe] bandwidth_metric | Mbit |
| capture_snapshot | No | [create_pipe, create_queue, create_rule, update_pipe, update_queue, update_rule] capture_snapshot | |
| isp_download_mbit | No | [audit] Reference ISP download rate in Mbit/s | |
| wan_line_rate_mbit | No | [audit] WAN physical line rate cap in Mbit/s | |
| mutation_snapshot_id | No | [create_pipe, create_queue, create_rule, update_pipe, update_queue, update_rule] mutation_snapshot_id |