net/frr: Add Adjacency logging (#3675)

This commit is contained in:
Michael
2023-11-17 09:23:34 +01:00
committed by GitHub
parent 966069f363
commit 52de9c3412
5 changed files with 18 additions and 2 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
PLUGIN_NAME= frr
PLUGIN_VERSION= 1.36
PLUGIN_REVISION= 1
PLUGIN_VERSION= 1.37
PLUGIN_COMMENT= The FRRouting Protocol Suite
PLUGIN_DEPENDS= frr8
PLUGIN_MAINTAINER= franz.fabian.94@gmail.com
+4
View File
@@ -12,6 +12,10 @@ WWW: https://frrouting.org/
Plugin Changelog
================
1.37
* Add Adjacency Logging to OSPF
1.36
* Added default-information originate option for OSPFv3
@@ -49,6 +49,11 @@
<type>dropdown</type>
<help>Route Map to set for Redistribution.</help>
</field>
<field>
<id>ospf.logadjacencychanges</id>
<label>Log Adjacency Changes</label>
<type>checkbox</type>
</field>
<field>
<id>ospf.originate</id>
<label>Advertise Default Gateway</label>
@@ -22,10 +22,15 @@
<MaximumValue>4294967</MaximumValue>
<ValidationMessage>Must be a number between 1 and 4294967.</ValidationMessage>
</costreference>
<logadjacencychanges type="BooleanField">
<default>0</default>
<Required>Y</Required>
</logadjacencychanges>
<originate type="BooleanField">
<default>0</default>
<Required>Y</Required>
</originate>
<originatealways type="BooleanField">
<default>0</default>
<Required>Y</Required>
@@ -47,6 +47,9 @@ interface {{ physical_interface(interface.interfacename) }}
{% endif %}
!
router ospf
{% if helpers.exists('OPNsense.quagga.ospf.logadjacencychanges') and OPNsense.quagga.ospf.logadjacencychanges == '1' %}
log-adjacency-changes
{% endif %}
{% if helpers.exists('OPNsense.quagga.ospf.costreference') and OPNsense.quagga.ospf.costreference != '' %}
auto-cost reference-bandwidth {{ OPNsense.quagga.ospf.costreference }}
{% endif %}