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-13 22:19:32 +0100
commitc5e2c25f8968c0f06a9e4e992decc46a4f690868 (patch)
tree742d9af7114aefc0917d6dd8093b4bdba8ced5ed /interface-definitions/include/pim/dr-priority.xml.i
parent9abc02edcc237760f1f8aa1b3f08d7f4d18f866c (diff)
downloadvyos-1x-c5e2c25f8968c0f06a9e4e992decc46a4f690868.tar.gz
vyos-1x-c5e2c25f8968c0f06a9e4e992decc46a4f690868.zip
pim: T5733: split out XML definitions to be re-used by pim6
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 -->