mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/frr: Add route-reflector-client to BGP neighbor config (#2618)
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+5
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user