summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-rip.xml.in
diff options
context:
space:
mode:
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>
+