mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
net/frr: Use frr-reload instead of restarting the service on configuration changes (#4535)
* net/frr: Use frr-reload instead of restarting the service on configuration changes * Update net/frr/Makefile Co-authored-by: Franco Fichtner <franco@opnsense.org> * net/frr: Add changelog --------- Co-authored-by: Franco Fichtner <franco@opnsense.org>
This commit is contained in:
parent
f26a9c5ea8
commit
8fbddef879
4 changed files with 23 additions and 3 deletions
|
|
@ -1,8 +1,7 @@
|
|||
PLUGIN_NAME= frr
|
||||
PLUGIN_VERSION= 1.42
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_VERSION= 1.43
|
||||
PLUGIN_COMMENT= The FRRouting Protocol Suite
|
||||
PLUGIN_DEPENDS= frr8
|
||||
PLUGIN_DEPENDS= frr8-pythontools
|
||||
PLUGIN_MAINTAINER= ad@opnsense.org
|
||||
PLUGIN_TIER= 2
|
||||
|
||||
|
|
|
|||
|
|
@ -12,6 +12,14 @@ WWW: https://frrouting.org/
|
|||
Plugin Changelog
|
||||
================
|
||||
|
||||
1.43
|
||||
|
||||
* Use frr-reload instead of restarting the service on configuration changes (opnsense/plugins/issues/4529)
|
||||
* Migrate separate daemon config files into single frr.conf file (opnsense/plugins/issues/4510)
|
||||
* Add help texts to all options and expose them in grid as columns (opnsense/plugins/pull/4494)
|
||||
* Replace deprecated passive-interface directive in ospf (opnsense/plugins/issues/4534)
|
||||
* Style cleanup and unify forms (opnsense/plugins/pull/4450)
|
||||
|
||||
1.42
|
||||
|
||||
* Fix updatesource not rendering when interface has been selected
|
||||
|
|
|
|||
|
|
@ -41,4 +41,10 @@ class ServiceController extends ApiMutableServiceControllerBase
|
|||
protected static $internalServiceTemplate = 'OPNsense/Quagga';
|
||||
protected static $internalServiceEnabled = 'enabled';
|
||||
protected static $internalServiceName = 'quagga';
|
||||
|
||||
protected function reconfigureForceRestart()
|
||||
{
|
||||
// frr can reload using frr-reload and frr8-pythontools
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,6 +17,13 @@ type:script
|
|||
message:restarting frr
|
||||
description:Restart FRR
|
||||
|
||||
[reload]
|
||||
command:service frr reload
|
||||
parameters:
|
||||
type:script
|
||||
message:reloading frr
|
||||
description:Reload FRR
|
||||
|
||||
[status]
|
||||
command:/usr/local/etc/rc.d/frr status; exit 0
|
||||
parameters:
|
||||
|
|
|
|||
Loading…
Reference in a new issue