net/haproxy: enable xmlrpc sync

This commit is contained in:
Frank Wall 2016-12-23 00:25:10 +01:00 committed by Franco Fichtner
parent 939f722545
commit 1233d7e8c7

View file

@ -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);
}