summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-rip.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-28 08:17:56 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-28 08:17:56 +0200
commite7b000032be1188d96732b47a43a73c468910a44 (patch)
tree2b551182c88ac4f9b070cdb9ffdd6f7932127d28 /interface-definitions/protocols-rip.xml.in
parent283276d457a09c100416c0d4ffccd4f94ccd2540 (diff)
downloadvyos-1x-e7b000032be1188d96732b47a43a73c468910a44.tar.gz
vyos-1x-e7b000032be1188d96732b47a43a73c468910a44.zip
rip: T4448: add support for explicit version selection
Diffstat (limited to 'interface-definitions/protocols-rip.xml.in')
-rw-r--r--interface-definitions/protocols-rip.xml.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/interface-definitions/protocols-rip.xml.in b/interface-definitions/protocols-rip.xml.in
index bbb88aef1..ed2153ff2 100644
--- a/interface-definitions/protocols-rip.xml.in
+++ b/interface-definitions/protocols-rip.xml.in
@@ -226,8 +226,26 @@
</leafNode>
#include <include/rip/rip-timers.xml.i>
#include <include/route-map.xml.i>
+ <leafNode name="version">
+ <properties>
+ <help>RIP protocol version</help>
+ <valueHelp>
+ <format>u32:1</format>
+ <description>RIPv1</description>
+ </valueHelp>
+ <valueHelp>
+ <format>u32:2</format>
+ <description>RIPv2</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-2"/>
+ </constraint>
+ </properties>
+ <defaultValue>2</defaultValue>
+ </leafNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>
+