mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/frr - add "soft-reconfiguration inbound" neighbor option, should fix https://github.com/opnsense/plugins/issues/3728 (#3730)
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= frr
|
||||
PLUGIN_VERSION= 1.37
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_COMMENT= The FRRouting Protocol Suite
|
||||
PLUGIN_DEPENDS= frr8
|
||||
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
|
||||
|
||||
+6
@@ -88,6 +88,12 @@
|
||||
<label>Route Reflector Client</label>
|
||||
<type>checkbox</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>neighbor.soft_reconfiguration_inbound</id>
|
||||
<label>Soft reconfiguration inbound</label>
|
||||
<type>checkbox</type>
|
||||
<help>This option allows changing policies without clearing the BGP session.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>neighbor.bfd</id>
|
||||
<label>BFD</label>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<model>
|
||||
<mount>//OPNsense/quagga/bgp</mount>
|
||||
<description>BGP Routing configuration</description>
|
||||
<version>1.0.7</version>
|
||||
<version>1.0.8</version>
|
||||
<items>
|
||||
<enabled type="BooleanField">
|
||||
<default>0</default>
|
||||
@@ -115,6 +115,10 @@
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</rrclient>
|
||||
<soft_reconfiguration_inbound type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</soft_reconfiguration_inbound>
|
||||
<bfd type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
|
||||
@@ -110,7 +110,7 @@ router bgp {{ OPNsense.quagga.bgp.asnumber }}
|
||||
network {{ network }}
|
||||
{% endfor %}
|
||||
{% for neighbor in neighbors[addressFamily] %}
|
||||
neighbor {{ neighbor.address }} activate
|
||||
neighbor {{ neighbor.address }} activate
|
||||
{% if 'nexthopself' in neighbor and neighbor.nexthopself == '1' %}
|
||||
neighbor {{ neighbor.address }} next-hop-self {% if 'nexthopselfall' in neighbor and neighbor.nexthopselfall == '1' %}all{% endif %}
|
||||
|
||||
@@ -118,6 +118,9 @@ router bgp {{ OPNsense.quagga.bgp.asnumber }}
|
||||
{% if 'rrclient' in neighbor and neighbor.rrclient == '1' %}
|
||||
neighbor {{ neighbor.address }} route-reflector-client
|
||||
{% endif %}
|
||||
{% if neighbor.soft_reconfiguration_inbound|default('0') == '1' %}
|
||||
neighbor {{ neighbor.address }} soft-reconfiguration inbound
|
||||
{% endif %}
|
||||
{% if 'defaultoriginate' in neighbor and neighbor.defaultoriginate == '1' %}
|
||||
neighbor {{ neighbor.address }} default-originate
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user