diff options
author | Andreas <vyos-git@justsecure.de> | 2021-12-29 18:02:06 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-02-21 18:31:10 +0100 |
commit | 1d4b567b219678cafebfa0117be6779de30f9017 (patch) | |
tree | 93842e9bf975c20c5592f2fa21e0b0cc5feb1e3d /interface-definitions/include | |
parent | 2b646cd462577e713b6caf6b5a67d6f6bebdcb1c (diff) | |
download | vyos-1x-1d4b567b219678cafebfa0117be6779de30f9017.tar.gz vyos-1x-1d4b567b219678cafebfa0117be6779de30f9017.zip |
vxlan: T4120: add ability to set multiple remotes (PR #1127)
VXLAN does support using multiple remotes but VyOS does not. Add the ability
to set multiple remotes and add their flood lists using "bridge" command.
(cherry picked from commit 0ecddff7cffa8900d351d5c15e32420f9d780c0b)
Diffstat (limited to 'interface-definitions/include')
-rw-r--r-- | interface-definitions/include/interface/tunnel-remotes.xml.i | 19 | ||||
-rw-r--r-- | interface-definitions/include/tunnel-remote.xml.i | 2 |
2 files changed, 20 insertions, 1 deletions
diff --git a/interface-definitions/include/interface/tunnel-remotes.xml.i b/interface-definitions/include/interface/tunnel-remotes.xml.i new file mode 100644 index 000000000..ae8481898 --- /dev/null +++ b/interface-definitions/include/interface/tunnel-remotes.xml.i @@ -0,0 +1,19 @@ +<!-- include start from interface/tunnel-remotes.xml.i --> +<leafNode name="remote"> + <properties> + <help>Tunnel remote address</help> + <valueHelp> + <format>ipv4</format> + <description>Tunnel remote IPv4 address</description> + </valueHelp> + <valueHelp> + <format>ipv6</format> + <description>Tunnel remote IPv6 address</description> + </valueHelp> + <constraint> + <validator name="ip-address"/> + </constraint> + <multi/> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/include/tunnel-remote.xml.i b/interface-definitions/include/tunnel-remote.xml.i index 324d100d4..2a8891b85 100644 --- a/interface-definitions/include/tunnel-remote.xml.i +++ b/interface-definitions/include/tunnel-remote.xml.i @@ -1,4 +1,4 @@ -<!-- include start from tunnel-remote.xml.i --> +<!-- include start from interface/tunnel-remote.xml.i --> <leafNode name="remote"> <properties> <help>Tunnel remote address</help> |