summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static/static-route-bfd.xml.i
diff options
context:
space:
mode:
authorIndrajit Raychaudhuri <irc@indrajit.com>2023-05-16 20:49:59 -0500
committerIndrajit Raychaudhuri <irc@indrajit.com>2023-05-16 23:10:36 -0500
commit96d846d27ac818ee9a23bb7194bb58cfb7093387 (patch)
tree0f9922966a80f72fc055f7e4eb736502b51ae492 /interface-definitions/include/static/static-route-bfd.xml.i
parente02a722a3e95696d83abf7fe78893fbb67f40ad3 (diff)
downloadvyos-1x-96d846d27ac818ee9a23bb7194bb58cfb7093387.tar.gz
vyos-1x-96d846d27ac818ee9a23bb7194bb58cfb7093387.zip
T5226: Combine ipv4-address and ipv6-address validators
Use a single ip-address validator to combine and replace ipv4-address and ipv6-address validators.
Diffstat (limited to 'interface-definitions/include/static/static-route-bfd.xml.i')
-rw-r--r--interface-definitions/include/static/static-route-bfd.xml.i41
1 files changed, 20 insertions, 21 deletions
diff --git a/interface-definitions/include/static/static-route-bfd.xml.i b/interface-definitions/include/static/static-route-bfd.xml.i
index a05a08d12..d588b369f 100644
--- a/interface-definitions/include/static/static-route-bfd.xml.i
+++ b/interface-definitions/include/static/static-route-bfd.xml.i
@@ -10,28 +10,27 @@
<help>Use BFD multi hop session</help>
</properties>
<children>
- <tagNode name="source">
- <properties>
- <help>Use source for BFD session</help>
- <valueHelp>
- <format>ipv4</format>
- <description>IPv4 source address</description>
- </valueHelp>
- <valueHelp>
- <format>ipv6</format>
- <description>IPv6 source address</description>
- </valueHelp>
- <constraint>
- <validator name="ipv4-address"/>
- <validator name="ipv6-address"/>
- </constraint>
- </properties>
- <children>
- #include <include/bfd/profile.xml.i>
- </children>
- </tagNode>
+ <tagNode name="source">
+ <properties>
+ <help>Use source for BFD session</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>IPv4 source address</description>
+ </valueHelp>
+ <valueHelp>
+ <format>ipv6</format>
+ <description>IPv6 source address</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ip-address"/>
+ </constraint>
+ </properties>
+ <children>
+ #include <include/bfd/profile.xml.i>
+ </children>
+ </tagNode>
</children>
</node>
</children>
</node>
-<!-- include end --> \ No newline at end of file
+<!-- include end -->