2
0
mirror of https://github.com/opnsense/docs synced 2024-11-18 21:28:29 +00:00
opensense-docs/source/development/api/plugins/netsnmp.rst
2021-03-08 12:22:38 +01:00

39 lines
1.7 KiB
ReStructuredText

Netsnmp
~~~~~~~
.. csv-table:: Service (GeneralController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","netsnmp","general","get",""
"``GET``","netsnmp","general","set",""
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net-mgmt/net-snmp/src/opnsense/mvc/app/models/OPNsense/Netsnmp/General.xml>`__"
.. csv-table:: Service (ServiceController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``GET``","netsnmp","service","reconfigure",""
"``GET``","netsnmp","service","restart",""
"``GET``","netsnmp","service","start",""
"``GET``","netsnmp","service","status",""
"``GET``","netsnmp","service","stop",""
"``<<uses>>``", "", "", "", "*model* `General.xml <https://github.com/opnsense/plugins/blob/master/net-mgmt/net-snmp/src/opnsense/mvc/app/models/OPNsense/Netsnmp/General.xml>`__"
.. csv-table:: Resources (UserController.php)
:header: "Method", "Module", "Controller", "Command", "Parameters"
:widths: 4, 15, 15, 30, 40
"``POST``","netsnmp","user","addUser",""
"``POST``","netsnmp","user","delUser","$uuid"
"``GET``","netsnmp","user","get",""
"``GET``","netsnmp","user","getUser","$uuid=null"
"``*``","netsnmp","user","searchUser",""
"``GET``","netsnmp","user","set",""
"``POST``","netsnmp","user","setUser","$uuid"
"``POST``","netsnmp","user","toggleUser","$uuid"
"``<<uses>>``", "", "", "", "*model* `User.xml <https://github.com/opnsense/plugins/blob/master/net-mgmt/net-snmp/src/opnsense/mvc/app/models/OPNsense/Netsnmp/User.xml>`__"