summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-rip.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-05-28 22:59:17 +0200
committerChristian Poessinger <christian@poessinger.com>2022-05-28 22:59:17 +0200
commitf9e38622adc6edb66c84c397ef4d0ae9e49e008e (patch)
treeada22e119bedfe9badd22bf583a6958dfbb50be5 /interface-definitions/protocols-rip.xml.in
parent8099770c1004d4dd756145050157f51f474ede95 (diff)
downloadvyos-1x-f9e38622adc6edb66c84c397ef4d0ae9e49e008e.tar.gz
vyos-1x-f9e38622adc6edb66c84c397ef4d0ae9e49e008e.zip
rip: T4448: add support to set protocol version on an interface level
Diffstat (limited to 'interface-definitions/protocols-rip.xml.in')
-rw-r--r--interface-definitions/protocols-rip.xml.in34
1 files changed, 17 insertions, 17 deletions
diff --git a/interface-definitions/protocols-rip.xml.in b/interface-definitions/protocols-rip.xml.in
index 500af51e5..2195b0316 100644
--- a/interface-definitions/protocols-rip.xml.in
+++ b/interface-definitions/protocols-rip.xml.in
@@ -98,6 +98,22 @@
<constraintErrorMessage>Password must be 16 characters or less</constraintErrorMessage>
</properties>
</leafNode>
+ </children>
+ </node>
+ <node name="receive">
+ <properties>
+ <help>Advertisement reception</help>
+ </properties>
+ <children>
+ #include <include/rip/version.xml.i>
+ </children>
+ </node>
+ <node name="send">
+ <properties>
+ <help>Advertisement transmission</help>
+ </properties>
+ <children>
+ #include <include/rip/version.xml.i>
</children>
</node>
</children>
@@ -226,23 +242,7 @@
</leafNode>
#include <include/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>
+ #include <include/rip/version.xml.i>
</children>
</node>
</children>