net/frr: Add route-reflector-client to BGP neighbor config (#2618)

This commit is contained in:
Michael
2021-10-28 12:24:09 +02:00
committed by GitHub
parent ff0e665a86
commit eebe9b346f
5 changed files with 20 additions and 2 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
PLUGIN_NAME= frr
PLUGIN_VERSION= 1.22
PLUGIN_REVISION= 1
PLUGIN_VERSION= 1.23
PLUGIN_COMMENT= The FRRouting Protocol Suite
PLUGIN_DEPENDS= frr7
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
+4
View File
@@ -11,6 +11,10 @@ switching and routing, Internet access routers, and Internet peering.
Plugin Changelog
================
1.23
* Add route-reflector-client to BGP neighbor config
1.22
* Add BFD support
@@ -38,6 +38,11 @@
<label>Multi-Hop</label>
<type>checkbox</type>
</field>
<field>
<id>neighbor.rrclient</id>
<label>Route Reflector Client</label>
<type>checkbox</type>
</field>
<field>
<id>neighbor.bfd</id>
<label>BFD</label>
@@ -74,6 +74,10 @@
<default>0</default>
<Required>N</Required>
</multihop>
<rrclient type="BooleanField">
<default>0</default>
<Required>N</Required>
</rrclient>
<bfd type="BooleanField">
<default>0</default>
<Required>N</Required>
@@ -67,6 +67,9 @@ router bgp {{ OPNsense.quagga.bgp.asnumber }}
{% if 'nexthopself' in neighbor and neighbor.nexthopself == '1' %}
neighbor {{ neighbor.address }} next-hop-self
{% endif %}
{% if 'rrclient' in neighbor and neighbor.rrclient == '1' %}
neighbor {{ neighbor.address }} route-reflector-client
{% endif %}
{% if 'defaultoriginate' in neighbor and neighbor.defaultoriginate == '1' %}
neighbor {{ neighbor.address }} default-originate
{% endif %}
@@ -134,6 +137,9 @@ router bgp {{ OPNsense.quagga.bgp.asnumber }}
{% if 'nexthopself' in neighbor and neighbor.nexthopself == '1' %}
neighbor {{ neighbor.address }} next-hop-self
{% endif %}
{% if 'rrclient' in neighbor and neighbor.rrclient == '1' %}
neighbor {{ neighbor.address }} route-reflector-client
{% endif %}
{% if 'defaultoriginate' in neighbor and neighbor.defaultoriginate == '1' %}
neighbor {{ neighbor.address }} default-originate
{% endif %}