net/frr: Dont set empty defaults on required fields (#2761)

This commit is contained in:
Michael
2022-01-21 15:36:09 +01:00
committed by GitHub
parent 6f7127fdc6
commit 95250aaeb6
4 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
PLUGIN_NAME= frr
PLUGIN_VERSION= 1.25
PLUGIN_VERSION= 1.26
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.26
* Fix Model migration errors
1.25
* Add "All" option to next-hop-self command (#2673)
@@ -1,7 +1,7 @@
<model>
<mount>//OPNsense/quagga/ospf6</mount>
<description>OSPFv3 Routing configuration</description>
<version>1.0.2</version>
<version>1.0.3</version>
<items>
<enabled type="BooleanField">
<default>0</default>
@@ -18,8 +18,7 @@
</OptionValues>
</redistribute>
<routerid type="TextField">
<default></default>
<Required>Y</Required>
<Required>N</Required>
<mask>/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/</mask>
</routerid>
<interfaces>
@@ -1,7 +1,7 @@
<model>
<mount>//OPNsense/quagga/rip</mount>
<description>RIP Routing configuration</description>
<version>1.0.2</version>
<version>1.0.3</version>
<items>
<enabled type="BooleanField">
<default>0</default>
@@ -14,8 +14,7 @@
<Required>Y</Required>
</version>
<networks type="CSVListField">
<default></default>
<Required>Y</Required>
<Required>N</Required>
<mask>/^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2},)*(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\/\d{1,2})$/</mask>
</networks>
<passiveinterfaces type="InterfaceField">