mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/haproxy: enable xmlrpc sync
This commit is contained in:
committed by
Franco Fichtner
parent
939f722545
commit
1233d7e8c7
@@ -68,3 +68,16 @@ function haproxy_services()
|
||||
|
||||
return $services;
|
||||
}
|
||||
|
||||
/**
|
||||
* sync configuration via xmlrpc
|
||||
* @return array
|
||||
*/
|
||||
function haproxy_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
$result['id'] = 'haproxy';
|
||||
$result['section'] = 'OPNsense.HAProxy';
|
||||
$result['description'] = 'HAProxy load balancer';
|
||||
return array($result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user