summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-vxlan.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-05 19:35:43 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-06 12:56:56 +0200
commit98aafc8f704ef54b6ece514c038b6aea414df734 (patch)
tree747dd4507c513dd4f5a233294e6ce82b3096d6b8 /interface-definitions/interfaces-vxlan.xml
parentdcde45826501302fd5fc2fbfcc1c376c2d51ea3a (diff)
downloadvyos-1x-98aafc8f704ef54b6ece514c038b6aea414df734.tar.gz
vyos-1x-98aafc8f704ef54b6ece514c038b6aea414df734.zip
vxlan: T1636: initial rewrite with XML and Python
Tested using: Site 1 (VyOS 1.2.2) ------------------- set interfaces vxlan vxlan100 address '10.10.10.2/24' set interfaces vxlan vxlan100 remote '172.18.201.10' set interfaces vxlan vxlan100 vni '100' Site 2 (rewrite) ---------------- set interfaces vxlan vxlan100 address '10.10.10.1/24' set interfaces vxlan vxlan100 description 'VyOS VXLAN' set interfaces vxlan vxlan100 remote '172.18.202.10' set interfaces vxlan vxlan100 vni '100'
Diffstat (limited to 'interface-definitions/interfaces-vxlan.xml')
-rw-r--r--interface-definitions/interfaces-vxlan.xml49
1 files changed, 49 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-vxlan.xml b/interface-definitions/interfaces-vxlan.xml
index 35a43f92c..b06c2860c 100644
--- a/interface-definitions/interfaces-vxlan.xml
+++ b/interface-definitions/interfaces-vxlan.xml
@@ -95,6 +95,55 @@
</completionHelp>
</properties>
</leafNode>
+ <leafNode name="mtu">
+ <properties>
+ <help>Maximum Transmission Unit (MTU)</help>
+ <valueHelp>
+ <format>1450-9000</format>
+ <description>Maximum Transmission Unit</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1450-9000"/>
+ </constraint>
+ <constraintErrorMessage>MTU must be between 1450 and 9000</constraintErrorMessage>
+ </properties>
+ </leafNode>
+ <leafNode name="remote">
+ <properties>
+ <help>Remote address of VXLAN tunnel</help>
+ <valueHelp>
+ <format>ipv4</format>
+ <description>Remote address of VXLAN tunnel</description>
+ </valueHelp>
+ <constraint>
+ <validator name="ipv4-address"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <leafNode name="port">
+ <properties>
+ <help>Destination port of VXLAN tunnel (default: 8472)</help>
+ <valueHelp>
+ <format>1-65535</format>
+ <description>Numeric IP port</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-65535"/>
+ </constraint>
+ </properties>
+ </leafNode>
+ <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>
</children>
</tagNode>
</children>