summaryrefslogtreecommitdiff
path: root/interface-definitions/include/pim/dr-priority.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/dr-priority.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/dr-priority.xml.i')
-rw-r--r--interface-definitions/include/pim/dr-priority.xml.i14
1 files changed, 14 insertions, 0 deletions
diff --git a/interface-definitions/include/pim/dr-priority.xml.i b/interface-definitions/include/pim/dr-priority.xml.i
new file mode 100644
index 000000000..bfda4e257
--- /dev/null
+++ b/interface-definitions/include/pim/dr-priority.xml.i
@@ -0,0 +1,14 @@
+<!-- include start from pim/dr-priority.xml.i -->
+<leafNode name="dr-priority">
+ <properties>
+ <help>Designated Router Election Priority</help>
+ <valueHelp>
+ <format>u32:1-4294967295</format>
+ <description>Value of the new DR Priority</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 1-4294967295"/>
+ </constraint>
+ </properties>
+</leafNode>
+<!-- include end -->