diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-05-28 22:59:17 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-05-28 22:59:17 +0200 |
commit | f9e38622adc6edb66c84c397ef4d0ae9e49e008e (patch) | |
tree | ada22e119bedfe9badd22bf583a6958dfbb50be5 /interface-definitions/include/rip/version.xml.i | |
parent | 8099770c1004d4dd756145050157f51f474ede95 (diff) | |
download | vyos-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/include/rip/version.xml.i')
-rw-r--r-- | interface-definitions/include/rip/version.xml.i | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/interface-definitions/include/rip/version.xml.i b/interface-definitions/include/rip/version.xml.i new file mode 100644 index 000000000..f7d3eab0d --- /dev/null +++ b/interface-definitions/include/rip/version.xml.i @@ -0,0 +1,19 @@ +<!-- include start from rip/version.xml.i -->
+<leafNode name="version">
+ <properties>
+ <help>RIP protocol version</help>
+ <valueHelp>
+ <format>1</format>
+ <description>RIPv1</description>
+ </valueHelp>
+ <valueHelp>
+ <format>2</format>
+ <description>RIPv2</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-2"/>
+ </constraint>
+ </properties>
+ <defaultValue>2</defaultValue>
+</leafNode>
+<!-- include end -->
|