diff options
author | Christian Breunig <christian@breunig.cc> | 2023-02-25 22:40:12 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-02-25 22:40:12 +0100 |
commit | 54c36e435049ed8f7f248adab171cb114eab1e10 (patch) | |
tree | f3adb2c16318b90610d9cf27205643fdef893623 /interface-definitions/interfaces-tunnel.xml.in | |
parent | 3bad1d0adb1c187f6611f4bed3d0ad16927d5d18 (diff) | |
download | vyos-1x-54c36e435049ed8f7f248adab171cb114eab1e10.tar.gz vyos-1x-54c36e435049ed8f7f248adab171cb114eab1e10.zip |
tunnel: T5034: migrate "multicast enable" CLI node to enable-multicast
Tunnel interface multicast settings can be "enabled or disabled". As we prefer
valueless nodes, and the linux kernel default is "disabled" we should add a
set interfaces tunnel tunXX enable-multicast
command
Diffstat (limited to 'interface-definitions/interfaces-tunnel.xml.in')
-rw-r--r-- | interface-definitions/interfaces-tunnel.xml.in | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/interface-definitions/interfaces-tunnel.xml.in b/interface-definitions/interfaces-tunnel.xml.in index 17fe1e285..58f95dddb 100644 --- a/interface-definitions/interfaces-tunnel.xml.in +++ b/interface-definitions/interfaces-tunnel.xml.in @@ -106,24 +106,10 @@ </properties> </leafNode> #include <include/interface/mirror.xml.i> - <leafNode name="multicast"> + <leafNode name="enable-multicast"> <properties> - <help>Multicast operation over tunnel</help> - <completionHelp> - <list>enable disable</list> - </completionHelp> - <valueHelp> - <format>enable</format> - <description>Enable multicast</description> - </valueHelp> - <valueHelp> - <format>disable</format> - <description>Disable multicast (default)</description> - </valueHelp> - <constraint> - <regex>(enable|disable)</regex> - </constraint> - <constraintErrorMessage>Must be 'disable' or 'enable'</constraintErrorMessage> + <help>Enable multicast operation over tunnel</help> + <valueless/> </properties> </leafNode> <node name="parameters"> |