summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface/vlan-protocol.xml.i
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2024-03-21 01:04:36 +0100
committerGitHub <noreply@github.com>2024-03-21 01:04:36 +0100
commitd03916b59d69c765ecba1f727d8dd1d5a952ccbc (patch)
tree0c78dcfe9eda0960a4ff30ee67ab9c3d6fbba073 /interface-definitions/include/interface/vlan-protocol.xml.i
parent33dfe6e07e5cd33363aa22e35f827d8c59ee5e06 (diff)
parent9c9b1febff6863ccd3632a04d9e307909b3efe7a (diff)
downloadvyos-1x-d03916b59d69c765ecba1f727d8dd1d5a952ccbc.tar.gz
vyos-1x-d03916b59d69c765ecba1f727d8dd1d5a952ccbc.zip
Merge pull request #3158 from c-po/bridge-T6125
bridge: T6125: support 802.1ad (ethertype 0x88a8) VLAN filtering
Diffstat (limited to 'interface-definitions/include/interface/vlan-protocol.xml.i')
-rw-r--r--interface-definitions/include/interface/vlan-protocol.xml.i23
1 files changed, 23 insertions, 0 deletions
diff --git a/interface-definitions/include/interface/vlan-protocol.xml.i b/interface-definitions/include/interface/vlan-protocol.xml.i
new file mode 100644
index 000000000..2fe8d65d7
--- /dev/null
+++ b/interface-definitions/include/interface/vlan-protocol.xml.i
@@ -0,0 +1,23 @@
+<!-- include start from interface/vif.xml.i -->
+<leafNode name="protocol">
+ <properties>
+ <help>Protocol used for service VLAN (default: 802.1ad)</help>
+ <completionHelp>
+ <list>802.1ad 802.1q</list>
+ </completionHelp>
+ <valueHelp>
+ <format>802.1ad</format>
+ <description>Provider Bridging (IEEE 802.1ad, Q-inQ), ethertype 0x88a8</description>
+ </valueHelp>
+ <valueHelp>
+ <format>802.1q</format>
+ <description>VLAN-tagged frame (IEEE 802.1q), ethertype 0x8100</description>
+ </valueHelp>
+ <constraint>
+ <regex>(802.1q|802.1ad)</regex>
+ </constraint>
+ <constraintErrorMessage>Ethertype must be 802.1ad or 802.1q</constraintErrorMessage>
+ </properties>
+ <defaultValue>802.1ad</defaultValue>
+</leafNode>
+<!-- include end -->