2
0
mirror of https://github.com/opnsense/docs synced 2024-11-18 21:28:29 +00:00
opensense-docs/source/development/api/core/trafficshaper.rst

38 lines
1.9 KiB
ReStructuredText
Raw Normal View History

2020-02-16 15:08:40 +00:00
Trafficshaper
~~~~~~~~~~~~~
2020-02-16 15:08:40 +00:00
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
2020-02-16 15:08:40 +00:00
"``POST``","trafficshaper","service","flushreload",""
"``POST``","trafficshaper","service","reconfigure",""
"``GET``","trafficshaper","service","statistics",""
2020-02-16 15:08:40 +00:00
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
2020-02-16 15:08:40 +00:00
"``POST``","trafficshaper","settings","addPipe",""
"``POST``","trafficshaper","settings","addQueue",""
"``POST``","trafficshaper","settings","addRule",""
"``POST``","trafficshaper","settings","delPipe","$uuid"
"``POST``","trafficshaper","settings","delQueue","$uuid"
"``POST``","trafficshaper","settings","delRule","$uuid"
2021-03-08 11:23:28 +00:00
"``GET``","trafficshaper","settings","get",""
2020-02-16 15:08:40 +00:00
"``GET``","trafficshaper","settings","getPipe","$uuid=null"
"``GET``","trafficshaper","settings","getQueue","$uuid=null"
"``GET``","trafficshaper","settings","getRule","$uuid=null"
"``*``","trafficshaper","settings","searchPipes",""
"``*``","trafficshaper","settings","searchQueues",""
"``*``","trafficshaper","settings","searchRules",""
2021-03-08 11:23:28 +00:00
"``GET``","trafficshaper","settings","set",""
2020-02-16 15:08:40 +00:00
"``POST``","trafficshaper","settings","setPipe","$uuid"
"``POST``","trafficshaper","settings","setQueue","$uuid"
"``POST``","trafficshaper","settings","setRule","$uuid"
"``POST``","trafficshaper","settings","togglePipe","$uuid,$enabled=null"
"``POST``","trafficshaper","settings","toggleQueue","$uuid,$enabled=null"
"``POST``","trafficshaper","settings","toggleRule","$uuid,$enabled=null"
2020-04-07 18:53:31 +00:00
"``<<uses>>``", "", "", "", "*model* `TrafficShaper.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml>`__"