opnsense-docs/source/development/api/core/trafficshaper.rst

42 lines
2.1 KiB
ReStructuredText
Raw Permalink Normal View History

2020-02-16 10:08:40 -05:00
Trafficshaper
~~~~~~~~~~~~~
2020-02-16 10:08:40 -05:00
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
2020-02-16 10:08:40 -05:00
"``POST``","trafficshaper","service","flushreload",""
"``POST``","trafficshaper","service","reconfigure",""
"``GET``","trafficshaper","service","statistics",""
2020-02-16 10:08:40 -05:00
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","trafficshaper","settings","add_pipe",""
"``POST``","trafficshaper","settings","add_queue",""
"``POST``","trafficshaper","settings","add_rule",""
"``POST``","trafficshaper","settings","del_pipe","$uuid"
"``POST``","trafficshaper","settings","del_queue","$uuid"
"``POST``","trafficshaper","settings","del_rule","$uuid"
2026-01-28 14:44:28 -05:00
"``GET``","trafficshaper","settings","download_pipes",""
"``GET``","trafficshaper","settings","download_queues",""
2021-03-08 06:23:28 -05:00
"``GET``","trafficshaper","settings","get",""
"``GET``","trafficshaper","settings","get_pipe","$uuid=null"
"``GET``","trafficshaper","settings","get_queue","$uuid=null"
"``GET``","trafficshaper","settings","get_rule","$uuid=null"
2025-05-01 07:06:32 -04:00
"``GET,POST``","trafficshaper","settings","search_pipes",""
"``GET,POST``","trafficshaper","settings","search_queues",""
"``GET,POST``","trafficshaper","settings","search_rules",""
2022-10-19 11:21:08 -04:00
"``POST``","trafficshaper","settings","set",""
"``POST``","trafficshaper","settings","set_pipe","$uuid"
"``POST``","trafficshaper","settings","set_queue","$uuid"
"``POST``","trafficshaper","settings","set_rule","$uuid"
"``POST``","trafficshaper","settings","toggle_pipe","$uuid,$enabled=null"
"``POST``","trafficshaper","settings","toggle_queue","$uuid,$enabled=null"
"``POST``","trafficshaper","settings","toggle_rule","$uuid,$enabled=null"
2026-01-28 14:44:28 -05:00
"``POST``","trafficshaper","settings","upload_pipes",""
"``POST``","trafficshaper","settings","upload_queues",""
2020-04-07 14:53:31 -04:00
"``<<uses>>``", "", "", "", "*model* `TrafficShaper.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml>`__"