summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos
diff options
context:
space:
mode:
authorkhramshinr <khramshinr@gmail.com>2024-03-14 14:38:16 +0800
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-03-20 06:12:54 +0000
commitf37cc9e15fe0ef4e3e88f5839b0fb23bb72dc7e5 (patch)
tree3f9048d755d04195e50e771069c49256effd7534 /interface-definitions/include/qos
parent8be1318b9ed6a8d18e0d854f9d3d4751b3bacacc (diff)
downloadvyos-1x-f37cc9e15fe0ef4e3e88f5839b0fb23bb72dc7e5.tar.gz
vyos-1x-f37cc9e15fe0ef4e3e88f5839b0fb23bb72dc7e5.zip
qos: T1871: add MTU option when configure limiter traffic-policy
add mtu to default and specified class update smoke test (cherry picked from commit 84bbcdf5b7980f701aba6e158a2be4a05e7076d9)
Diffstat (limited to 'interface-definitions/include/qos')
-rw-r--r--interface-definitions/include/qos/mtu.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/qos/mtu.xml.i b/interface-definitions/include/qos/mtu.xml.i
new file mode 100644
index 000000000..161d4c27f
--- /dev/null
+++ b/interface-definitions/include/qos/mtu.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from qos/mtu.xml.i -->
+<leafNode name="mtu">
+ <properties>
+ <help>MTU size for this class</help>
+ <valueHelp>
+ <format>u32:256-65535</format>
+ <description>Bytes</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 256-65535"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->