diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-04-09 22:16:54 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-04-09 22:16:54 +0200 |
commit | 235ccf39efc58fd07a3504dc0add379ba0c5a98a (patch) | |
tree | a184cc5e4bb0540d962c8cecb33673d121c5472a /interface-definitions/interfaces-vxlan.xml.in | |
parent | 5212c3626a715d9af54cea1e236169fdfcee0a60 (diff) | |
download | vyos-1x-235ccf39efc58fd07a3504dc0add379ba0c5a98a.tar.gz vyos-1x-235ccf39efc58fd07a3504dc0add379ba0c5a98a.zip |
vxlan: T2172: add source-address option
This is a base requirement for l2vpn evpn. When source-address is configured,
the option "local <source-addr> nolearning" is appended when creating the
interface as mentioned here: https://vincent.bernat.ch/en/blog/2017-vxlan-bgp-evpn
Diffstat (limited to 'interface-definitions/interfaces-vxlan.xml.in')
-rw-r--r-- | interface-definitions/interfaces-vxlan.xml.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-vxlan.xml.in b/interface-definitions/interfaces-vxlan.xml.in index 5dcaf065c..fdde57525 100644 --- a/interface-definitions/interfaces-vxlan.xml.in +++ b/interface-definitions/interfaces-vxlan.xml.in @@ -52,6 +52,18 @@ #include <include/ipv6-dup-addr-detect-transmits.xml.i> </children> </node> + <leafNode name="source-address"> + <properties> + <help>VXLAN source address</help> + <valueHelp> + <format>ipv4</format> + <description>IPv4 source-address of VXLAN tunnel</description> + </valueHelp> + <constraint> + <validator name="ipv4-address"/> + </constraint> + </properties> + </leafNode> <leafNode name="source-interface"> <properties> <help>Physical Interface used for this connection</help> |