summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos/class-match-vif.xml.i
diff options
context:
space:
mode:
authorRoman Khramshin <HollyGurza@users.noreply.github.com>2024-05-31 16:04:42 +0700
committerGitHub <noreply@github.com>2024-05-31 12:04:42 +0300
commit5563bcd9eaef5d5d8a020b92d43a86028e3c26c1 (patch)
treef580a6cfd3afc0f45de784f646d76fb96867241b /interface-definitions/include/qos/class-match-vif.xml.i
parenta9fb0ac0ca5644db7bf9d75951b3cd97c3598c60 (diff)
downloadvyos-1x-5563bcd9eaef5d5d8a020b92d43a86028e3c26c1.tar.gz
vyos-1x-5563bcd9eaef5d5d8a020b92d43a86028e3c26c1.zip
T5307: QoS - traffic-class-map services (#3492)
added new syntax to work with class match filters in QoS policy
Diffstat (limited to 'interface-definitions/include/qos/class-match-vif.xml.i')
-rw-r--r--interface-definitions/include/qos/class-match-vif.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/qos/class-match-vif.xml.i b/interface-definitions/include/qos/class-match-vif.xml.i
new file mode 100644
index 000000000..ec58db606
--- /dev/null
+++ b/interface-definitions/include/qos/class-match-vif.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from qos/class-match-vif.xml.i -->
+<leafNode name="vif">
+ <properties>
+ <help>Virtual Local Area Network (VLAN) ID for this match</help>
+ <valueHelp>
+ <format>u32:0-4095</format>
+ <description>Virtual Local Area Network (VLAN) tag </description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-4095"/>
+ </constraint>
+ <constraintErrorMessage>VLAN ID must be between 0 and 4095</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->