net/frr: new version and migrate to NAME_setup use

PR: https://github.com/opnsense/core/issues/5917
This commit is contained in:
Franco Fichtner
2022-08-19 09:23:31 +02:00
parent b867e45c22
commit 2c54478a8a
4 changed files with 14 additions and 10 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= frr
PLUGIN_VERSION= 1.29
PLUGIN_VERSION= 1.30
PLUGIN_COMMENT= The FRRouting Protocol Suite
PLUGIN_DEPENDS= frr7
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
+4
View File
@@ -12,6 +12,10 @@ WWW: https://frrouting.org/
Plugin Changelog
================
1.30
* Allow specifying multiple PrefixLists and CommunityLists (contributed by Patrik Kernstock)
1.29
* Add disable-connected-check option and BGP weight option
@@ -1,26 +1,26 @@
[start]
command:/usr/local/opnsense/scripts/quagga/setup.sh;/usr/local/etc/rc.d/frr start
command:/usr/local/etc/rc.d/frr start
parameters:
type:script
message:starting quagga
message:starting frr
[stop]
command:/usr/local/etc/rc.d/frr stop; exit 0
command:/usr/local/etc/rc.d/frr stop
parameters:
type:script
message:stopping quagga
message:stopping frr
[restart]
command:/usr/local/opnsense/scripts/quagga/setup.sh;/usr/local/etc/rc.d/frr restart
command:/usr/local/etc/rc.d/frr restart
parameters:
type:script
message:restarting quagga
message:restarting frr
[status]
command:/usr/local/etc/rc.d/frr status;exit 0
command:/usr/local/etc/rc.d/frr status; exit 0
parameters:
type:script_output
message:request quagga
message:request frr
[diagnostics.general_running-config]
command:/usr/local/bin/vtysh -c "show running-config"
@@ -1,5 +1,5 @@
{% if helpers.exists('OPNsense.quagga.general.enabled') and OPNsense.quagga.general.enabled == '1' %}
frr_var_script="/usr/local/opnsense/scripts/quagga/setup.sh"
frr_setup="/usr/local/opnsense/scripts/quagga/setup.sh"
frr_enable="YES"
{% if helpers.exists('OPNsense.quagga.general.enablecarp') and OPNsense.quagga.general.enablecarp == '1' %}
start_precmd="ifconfig | grep 'carp: MASTER'"