summaryrefslogtreecommitdiff
path: root/interface-definitions/protocols-pim.xml.in
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/protocols-pim.xml.in
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/protocols-pim.xml.in')
-rw-r--r--interface-definitions/protocols-pim.xml.in156
1 files changed, 37 insertions, 119 deletions
diff --git a/interface-definitions/protocols-pim.xml.in b/interface-definitions/protocols-pim.xml.in
index 733279aa4..96bd7504c 100644
--- a/interface-definitions/protocols-pim.xml.in
+++ b/interface-definitions/protocols-pim.xml.in
@@ -20,74 +20,39 @@
</constraint>
</properties>
<children>
- #include <include/bfd/bfd.xml.i>
- <leafNode name="no-bsm">
- <properties>
- <help>Do not process bootstrap messages</help>
- <valueless/>
- </properties>
- </leafNode>
- <leafNode name="no-unicast-bsm">
- <properties>
- <help>Do not process unicast bootstrap messages</help>
- <valueless/>
- </properties>
- </leafNode>
- <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>
- <leafNode name="hello">
- <properties>
- <help>Hello Interval</help>
- <valueHelp>
- <format>u32:1-180</format>
- <description>Hello Interval in seconds</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-180"/>
- </constraint>
- </properties>
- </leafNode>
- <node name="igmp">
- <properties>
- <help>Internet Group Management Protocol (IGMP) options</help>
- </properties>
- <children>
- <leafNode name="version">
- <properties>
- <help>Interface IGMP version</help>
- <valueHelp>
- <format>2</format>
- <description>IGMP version 2</description>
- </valueHelp>
- <valueHelp>
- <format>3</format>
- <description>IGMP version 3</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 2-3"/>
- </constraint>
- </properties>
- <defaultValue>3</defaultValue>
+ #include <include/bfd/bfd.xml.i>
+ #include <include/pim/bsm.xml.i>
+ #include <include/pim/dr-priority.xml.i>
+ #include <include/pim/hello.xml.i>
+ #include <include/pim/passive.xml.i>
+ #include <include/source-address-ipv4.xml.i>
+ <node name="igmp">
+ <properties>
+ <help>Internet Group Management Protocol (IGMP) options</help>
+ </properties>
+ <children>
+ <leafNode name="version">
+ <properties>
+ <help>Interface IGMP version</help>
+ <completionHelp>
+ <list>1 2</list>
+ </completionHelp>
+ <valueHelp>
+ <format>2</format>
+ <description>IGMP version 2</description>
+ </valueHelp>
+ <valueHelp>
+ <format>3</format>
+ <description>IGMP version 3</description>
+ </valueHelp>
+ <constraint>
+ <validator name="numeric" argument="--range 2-3"/>
+ </constraint>
+ </properties>
+ <defaultValue>3</defaultValue>
</leafNode>
</children>
</node>
- <leafNode name="passive">
- <properties>
- <help>Disable sending and receiving PIM control packets on the interface</help>
- <valueless/>
- </properties>
- </leafNode>
- #include <include/source-address-ipv4.xml.i>
</children>
</tagNode>
<node name="ecmp">
@@ -102,8 +67,8 @@
</properties>
</leafNode>
</children>
- </node>
- <node name="igmp">
+ </node>
+ <node name="igmp">
<properties>
<help>Internet Group Management Protocol (IGMP) options</help>
</properties>
@@ -121,46 +86,11 @@
</properties>
</leafNode>
</children>
- </node>
- <leafNode name="join-prune-interval">
- <properties>
- <help>Join Prune Send Interval</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>Interval in seconds</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
- <defaultValue>60</defaultValue>
- </leafNode>
- <leafNode name="keep-alive-timer">
- <properties>
- <help>Keep alive Timer</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>Keep alive Timer in seconds</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
- <defaultValue>210</defaultValue>
- </leafNode>
- <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>
+ </node>
+ #include <include/pim/join-prune-interval.xml.i>
+ #include <include/pim/keep-alive-timer.xml.i>
+ #include <include/pim/packets.xml.i>
+ #include <include/pim/register-suppress-time.xml.i>
<leafNode name="register-accept-list">
<properties>
<help>Only accept registers from a specific source prefix list</help>
@@ -173,18 +103,6 @@
</completionHelp>
</properties>
</leafNode>
- <leafNode name="register-suppress-time">
- <properties>
- <help>Register Suppress Timer</help>
- <valueHelp>
- <format>u32:1-65535</format>
- <description>In seconds</description>
- </valueHelp>
- <constraint>
- <validator name="numeric" argument="--range 1-65535"/>
- </constraint>
- </properties>
- </leafNode>
<node name="rp">
<properties>
<help>Rendezvous Point</help>