create_queue_type
Create a MikroTik queue type (qdisc) by choosing a discipline like cake, fq-codel, or sfq, then configuring its per-discipline parameters to shape traffic.
Instructions
Creates a queue type (qdisc). kind selects the discipline (cake, fq-codel, sfq, red, pcq, pfifo, bfifo); remaining params are per-discipline options.
Notes: pcq_rate: bandwidth per flow e.g. "1M", "512k" pcq_classifier: comma-separated classifiers e.g. "src-address,dst-address" cake_rtt: round-trip time e.g. "50ms", "100ms" fq_codel_target / fq_codel_interval: time e.g. "5ms", "100ms"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | cake | |
| name | Yes | ||
| device | No | ||
| cake_mpu | No | ||
| cake_nat | No | ||
| cake_rtt | No | ||
| pcq_rate | No | ||
| cake_wash | No | ||
| pcq_limit | No | ||
| red_burst | No | ||
| red_limit | No | ||
| sfq_allot | No | ||
| bfifo_limit | No | ||
| pfifo_limit | No | ||
| sfq_perturb | No | ||
| cake_diffserv | No | ||
| cake_flowmode | No | ||
| cake_overhead | No | ||
| fq_codel_limit | No | ||
| pcq_classifier | No | ||
| red_avg_packet | No | ||
| cake_ack_filter | No | ||
| fq_codel_target | No | ||
| fq_codel_quantum | No | ||
| fq_codel_interval | No | ||
| red_max_threshold | No | ||
| red_min_threshold | No | ||
| cake_overhead_scheme | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |