summaryrefslogtreecommitdiff
path: root/interface-definitions/include/qos/max-length.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-03-21 21:41:41 +0100
committerChristian Poessinger <christian@poessinger.com>2022-03-21 21:41:41 +0100
commit3584691b35f35e40a1bfc22c34da031141fd0dfa (patch)
tree264b571f5d52494ac809832d701f0693ec4a91da /interface-definitions/include/qos/max-length.xml.i
parent18483a2f7d18aecb40b2003cec9a9dae6bcfaa24 (diff)
downloadvyos-1x-3584691b35f35e40a1bfc22c34da031141fd0dfa.tar.gz
vyos-1x-3584691b35f35e40a1bfc22c34da031141fd0dfa.zip
qos: T4284: initial XML interface definitions for rewrite
Diffstat (limited to 'interface-definitions/include/qos/max-length.xml.i')
-rw-r--r--interface-definitions/include/qos/max-length.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/qos/max-length.xml.i b/interface-definitions/include/qos/max-length.xml.i
new file mode 100644
index 000000000..4cc20f8c4
--- /dev/null
+++ b/interface-definitions/include/qos/max-length.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from qos/max-length.xml.i -->
+<leafNode name="max-length">
+ <properties>
+ <help>Maximum packet length (ipv4)</help>
+ <valueHelp>
+ <format>u32:0-65535</format>
+ <description>Maximum packet/payload length</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 0-65535"/>
+ </constraint>
+ <constraintErrorMessage>Maximum IPv4 total packet length is 65535</constraintErrorMessage>
+ </properties>
+</leafNode>
+<!-- include end -->