2020-02-16 15:11:37 +00:00
|
|
|
Haproxy
|
2018-05-06 13:25:26 +00:00
|
|
|
~~~~~~~
|
|
|
|
|
2021-02-11 10:34:32 +00:00
|
|
|
.. csv-table:: Resources (MaintenanceController.php)
|
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
|
|
|
"``GET``","haproxy","maintenance","searchServer",""
|
|
|
|
"``GET``","haproxy","maintenance","serverState",""
|
|
|
|
"``GET``","haproxy","maintenance","serverStateBulk",""
|
|
|
|
"``GET``","haproxy","maintenance","serverWeight",""
|
|
|
|
"``GET``","haproxy","maintenance","serverWeightBulk",""
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
.. csv-table:: Service (ServiceController.php)
|
2018-05-06 13:25:26 +00:00
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
"``GET``","haproxy","service","configtest",""
|
2018-05-06 13:25:26 +00:00
|
|
|
|
2020-04-07 18:48:40 +00:00
|
|
|
"``<<uses>>``", "", "", "", "*model* `HAProxy.xml <https://github.com/opnsense/plugins/blob/master/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml>`__"
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
.. csv-table:: Resources (SettingsController.php)
|
2018-05-06 13:25:26 +00:00
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
"``POST``","haproxy","settings","addAcl",""
|
|
|
|
"``POST``","haproxy","settings","addAction",""
|
|
|
|
"``POST``","haproxy","settings","addBackend",""
|
|
|
|
"``POST``","haproxy","settings","addCpu",""
|
|
|
|
"``POST``","haproxy","settings","addErrorfile",""
|
|
|
|
"``POST``","haproxy","settings","addFrontend",""
|
|
|
|
"``POST``","haproxy","settings","addGroup",""
|
|
|
|
"``POST``","haproxy","settings","addHealthcheck",""
|
|
|
|
"``POST``","haproxy","settings","addLua",""
|
|
|
|
"``POST``","haproxy","settings","addMapfile",""
|
|
|
|
"``POST``","haproxy","settings","addServer",""
|
|
|
|
"``POST``","haproxy","settings","addUser",""
|
2021-02-11 10:34:32 +00:00
|
|
|
"``POST``","haproxy","settings","addresolver",""
|
2020-02-16 15:11:37 +00:00
|
|
|
"``POST``","haproxy","settings","delAcl","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delAction","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delBackend","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delCpu","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delErrorfile","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delFrontend","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delGroup","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delHealthcheck","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delLua","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delMapfile","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delServer","$uuid"
|
|
|
|
"``POST``","haproxy","settings","delUser","$uuid"
|
2021-02-11 10:34:32 +00:00
|
|
|
"``POST``","haproxy","settings","delresolver","$uuid"
|
2020-02-16 15:11:37 +00:00
|
|
|
"``GET``","haproxy","settings","getAcl","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getAction","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getBackend","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getCpu","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getErrorfile","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getFrontend","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getGroup","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getHealthcheck","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getLua","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getMapfile","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getServer","$uuid=null"
|
|
|
|
"``GET``","haproxy","settings","getUser","$uuid=null"
|
2021-02-11 10:34:32 +00:00
|
|
|
"``GET``","haproxy","settings","getresolver","$uuid=null"
|
2020-02-16 15:11:37 +00:00
|
|
|
"``*``","haproxy","settings","searchAcls",""
|
|
|
|
"``*``","haproxy","settings","searchActions",""
|
|
|
|
"``*``","haproxy","settings","searchBackends",""
|
|
|
|
"``*``","haproxy","settings","searchCpus",""
|
|
|
|
"``*``","haproxy","settings","searchErrorfiles",""
|
|
|
|
"``*``","haproxy","settings","searchFrontends",""
|
|
|
|
"``*``","haproxy","settings","searchGroups",""
|
|
|
|
"``*``","haproxy","settings","searchHealthchecks",""
|
|
|
|
"``*``","haproxy","settings","searchLuas",""
|
|
|
|
"``*``","haproxy","settings","searchMapfiles",""
|
|
|
|
"``*``","haproxy","settings","searchServers",""
|
|
|
|
"``*``","haproxy","settings","searchUsers",""
|
2021-02-11 10:34:32 +00:00
|
|
|
"``*``","haproxy","settings","searchresolvers",""
|
2020-02-16 15:11:37 +00:00
|
|
|
"``POST``","haproxy","settings","setAcl","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setAction","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setBackend","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setCpu","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setErrorfile","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setFrontend","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setGroup","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setHealthcheck","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setLua","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setMapfile","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setServer","$uuid"
|
|
|
|
"``POST``","haproxy","settings","setUser","$uuid"
|
2021-02-11 10:34:32 +00:00
|
|
|
"``POST``","haproxy","settings","setresolver","$uuid"
|
2020-02-16 15:11:37 +00:00
|
|
|
"``POST``","haproxy","settings","toggleBackend","$uuid,$enabled=null"
|
|
|
|
"``POST``","haproxy","settings","toggleCpu","$uuid,$enabled=null"
|
|
|
|
"``POST``","haproxy","settings","toggleFrontend","$uuid"
|
|
|
|
"``POST``","haproxy","settings","toggleGroup","$uuid,$enabled=null"
|
|
|
|
"``POST``","haproxy","settings","toggleLua","$uuid,$enabled=null"
|
|
|
|
"``POST``","haproxy","settings","toggleServer","$uuid,$enabled=null"
|
|
|
|
"``POST``","haproxy","settings","toggleUser","$uuid,$enabled=null"
|
2021-02-11 10:34:32 +00:00
|
|
|
"``POST``","haproxy","settings","toggleresolver","$uuid,$enabled=null"
|
2018-05-06 13:25:26 +00:00
|
|
|
|
2020-04-07 18:48:40 +00:00
|
|
|
"``<<uses>>``", "", "", "", "*model* `HAProxy.xml <https://github.com/opnsense/plugins/blob/master/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/HAProxy.xml>`__"
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
.. csv-table:: Resources (StatisticsController.php)
|
2018-05-06 13:25:26 +00:00
|
|
|
:header: "Method", "Module", "Controller", "Command", "Parameters"
|
|
|
|
:widths: 4, 15, 15, 30, 40
|
|
|
|
|
2020-02-16 15:11:37 +00:00
|
|
|
"``GET``","haproxy","statistics","counters","$zoneid=0"
|
|
|
|
"``GET``","haproxy","statistics","info","$zoneid=0"
|
|
|
|
"``GET``","haproxy","statistics","tables","$zoneid=0"
|