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

19 lines
836 B
ReStructuredText
Raw Permalink Normal View History

2024-02-20 09:51:39 -05:00
Routing
~~~~~~~
.. csv-table:: Resources (SettingsController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","routing","settings","add_gateway",""
"``POST``","routing","settings","del_gateway","$uuid"
2024-02-20 09:51:39 -05:00
"``GET``","routing","settings","get",""
"``GET``","routing","settings","get_gateway","$uuid=null"
2024-02-20 09:51:39 -05:00
"``POST``","routing","settings","reconfigure",""
"``GET``","routing","settings","search_gateway",""
2024-02-20 09:51:39 -05:00
"``POST``","routing","settings","set",""
"``POST``","routing","settings","set_gateway","$uuid"
"``POST``","routing","settings","toggle_gateway","$uuid,$enabled=null"
2024-02-20 09:51:39 -05:00
"``<<uses>>``", "", "", "", "*model* `Gateways.xml <https://github.com/opnsense/core/blob/master/src/opnsense/mvc/app/models/OPNsense/Routing/Gateways.xml>`__"