summaryrefslogtreecommitdiff
path: root/interface-definitions/include
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-07 14:53:49 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-07 14:56:32 +0200
commitce361fe12c430c792361479e5b5b3228141fd36f (patch)
treef8454e9d6c67db533a9f9cc2233b293f9384b7ec /interface-definitions/include
parent44f766a7880e9264487e62f4aacc9f4f635219ed (diff)
downloadvyos-1x-ce361fe12c430c792361479e5b5b3228141fd36f.tar.gz
vyos-1x-ce361fe12c430c792361479e5b5b3228141fd36f.zip
vrf: T3344: re-add virtual network identifier
Commit 548d9057e3e (vrf: T3344: move dynamic routing protocols under "vrf name <name> protocols") temporary removed the possibility to specify the VNI for a given VRF to to changing of the CLI configuration nodes. As VNI is set inside zebra, we can re-use the now widely deployed frr python library to configure and change the configuration without any interference to other FRR daemons.
Diffstat (limited to 'interface-definitions/include')
-rw-r--r--interface-definitions/include/vni.xml.i26
1 files changed, 14 insertions, 12 deletions
diff --git a/interface-definitions/include/vni.xml.i b/interface-definitions/include/vni.xml.i
index faff4c3c3..be45c0c97 100644
--- a/interface-definitions/include/vni.xml.i
+++ b/interface-definitions/include/vni.xml.i
@@ -1,12 +1,14 @@
- <leafNode name="vni">
- <properties>
- <help>Virtual Network Identifier</help>
- <valueHelp>
- <format>0-16777214</format>
- <description>VXLAN virtual network identifier</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 0-16777214"/>
- </constraint>
- </properties>
- </leafNode>
+<!-- include start from vni.xml.i -->
+<leafNode name="vni">
+ <properties>
+ <help>Virtual Network Identifier</help>
+ <valueHelp>
+ <format>0-16777214</format>
+ <description>VXLAN virtual network identifier</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-16777214"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->