mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/frr: finalize BFD for BGP (#2364)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
PLUGIN_NAME= frr
|
||||
PLUGIN_VERSION= 1.22
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_COMMENT= The FRRouting Protocol Suite
|
||||
PLUGIN_DEPENDS= frr7
|
||||
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
|
||||
|
||||
+6
@@ -38,6 +38,12 @@
|
||||
<label>Multi-Hop</label>
|
||||
<type>checkbox</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>neighbor.bfd</id>
|
||||
<label>BFD</label>
|
||||
<type>checkbox</type>
|
||||
<help>You can enable BFD support for this neighbor.</help>
|
||||
</field>
|
||||
<field>
|
||||
<id>neighbor.keepalive</id>
|
||||
<label>Keepalive</label>
|
||||
|
||||
@@ -74,6 +74,10 @@
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</multihop>
|
||||
<bfd type="BooleanField">
|
||||
<default>0</default>
|
||||
<Required>N</Required>
|
||||
</bfd>
|
||||
<keepalive type="IntegerField">
|
||||
<Required>N</Required>
|
||||
<MinimumValue>1</MinimumValue>
|
||||
|
||||
@@ -28,7 +28,10 @@ router bgp {{ OPNsense.quagga.bgp.asnumber }}
|
||||
{% for neighbor in helpers.toList('OPNsense.quagga.bgp.neighbors.neighbor') %}
|
||||
{% if neighbor.enabled == '1' %}
|
||||
neighbor {{ neighbor.address }} remote-as {{ neighbor.remoteas }}
|
||||
{% if 'updatesource' in neighbor and neighbor.updatesource != '' %}
|
||||
{% if 'bfd' in neighbor and neighbor.bfd == '1' %}
|
||||
neighbor {{ neighbor.address }} bfd
|
||||
{% endif %}
|
||||
{% if 'updatesource' in neighbor and neighbor.updatesource != '' %}
|
||||
neighbor {{ neighbor.address }} update-source {{ physical_interface(neighbor.updatesource) }}
|
||||
{% endif %}
|
||||
{% if 'multihop' in neighbor and neighbor.multihop == '1' %}
|
||||
|
||||
Reference in New Issue
Block a user