summaryrefslogtreecommitdiff
path: root/interface-definitions/include/pim/packets.xml.i
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-11-13 09:14:38 +0100
committerChristian Breunig <christian@breunig.cc>2023-11-15 20:23:49 +0100
commitb8bd0a1739c4fa1c1c965628eab4f4a65b31f25f (patch)
tree24b21b9756e9bb053c605fe6c37ea29452572aa2 /interface-definitions/include/pim/packets.xml.i
parent6b44aa0692653493b8d0e0c639a4369860ec603f (diff)
downloadvyos-1x-b8bd0a1739c4fa1c1c965628eab4f4a65b31f25f.tar.gz
vyos-1x-b8bd0a1739c4fa1c1c965628eab4f4a65b31f25f.zip
pim: T5733: split out XML definitions to be re-used by pim6
(cherry picked from commit c5e2c25f8968c0f06a9e4e992decc46a4f690868)
Diffstat (limited to 'interface-definitions/include/pim/packets.xml.i')
-rw-r--r--interface-definitions/include/pim/packets.xml.i15
1 files changed, 15 insertions, 0 deletions
diff --git a/interface-definitions/include/pim/packets.xml.i b/interface-definitions/include/pim/packets.xml.i
new file mode 100644
index 000000000..1dc00c971
--- /dev/null
+++ b/interface-definitions/include/pim/packets.xml.i
@@ -0,0 +1,15 @@
+<!-- include start from pim/packets.xml.i -->
+<leafNode name="packets">
+ <properties>
+ <help>Packets to process at once</help>
+ <valueHelp>
+ <format>u32:1-255</format>
+ <description>Number of packets</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-255"/>
+ </constraint>
+ </properties>
+ <defaultValue>3</defaultValue>
+</leafNode>
+<!-- include end -->