mirror of
https://github.com/opnsense/plugins.git
synced 2026-05-28 04:34:15 -04:00
net/frr - add "soft-reconfiguration inbound" neighbor option, should fix https://github.com/opnsense/plugins/issues/3728 (#3730)
This commit is contained in:
parent
99a7d00643
commit
b07f9ee7bf
4 changed files with 16 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Reference in a new issue