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