summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces_ethernet.xml.in
diff options
context:
space:
mode:
authorNicolas Vollmar <nvollmar@gmail.com>2024-12-12 19:34:20 +0100
committerNicolas Vollmar <nvo@scaling.ch>2024-12-24 13:44:20 +0100
commit3d5cc842ea651de68cfac299d6a8bd2849c9a1f8 (patch)
treeb5342ba5384996859f58a6c72e9c70c434fbede5 /interface-definitions/interfaces_ethernet.xml.in
parentb05cbfa71570bce1f4f470551e5c0217d14ba5a8 (diff)
downloadvyos-1x-3d5cc842ea651de68cfac299d6a8bd2849c9a1f8.tar.gz
vyos-1x-3d5cc842ea651de68cfac299d6a8bd2849c9a1f8.zip
T6944: adds option to enable switchdev mode on ethernet interface
Diffstat (limited to 'interface-definitions/interfaces_ethernet.xml.in')
-rw-r--r--interface-definitions/interfaces_ethernet.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface-definitions/interfaces_ethernet.xml.in b/interface-definitions/interfaces_ethernet.xml.in
index 89f990d41..b3559a626 100644
--- a/interface-definitions/interfaces_ethernet.xml.in
+++ b/interface-definitions/interfaces_ethernet.xml.in
@@ -56,6 +56,12 @@
</properties>
<defaultValue>auto</defaultValue>
</leafNode>
+ <leafNode name="switchdev">
+ <properties>
+ <help>Enables switchdev mode on interface</help>
+ <valueless/>
+ </properties>
+ </leafNode>
#include <include/interface/eapol.xml.i>
<node name="evpn">
<properties>