From b8bd0a1739c4fa1c1c965628eab4f4a65b31f25f Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 13 Nov 2023 09:14:38 +0100 Subject: pim: T5733: split out XML definitions to be re-used by pim6 (cherry picked from commit c5e2c25f8968c0f06a9e4e992decc46a4f690868) --- interface-definitions/include/pim/bsm.xml.i | 14 ++ .../include/pim/dr-priority.xml.i | 14 ++ interface-definitions/include/pim/hello.xml.i | 14 ++ .../include/pim/join-prune-interval.xml.i | 15 ++ .../include/pim/keep-alive-timer.xml.i | 15 ++ interface-definitions/include/pim/packets.xml.i | 15 ++ interface-definitions/include/pim/passive.xml.i | 8 ++ .../include/pim/register-suppress-time.xml.i | 14 ++ interface-definitions/protocols-pim.xml.in | 156 +++++---------------- 9 files changed, 146 insertions(+), 119 deletions(-) create mode 100644 interface-definitions/include/pim/bsm.xml.i create mode 100644 interface-definitions/include/pim/dr-priority.xml.i create mode 100644 interface-definitions/include/pim/hello.xml.i create mode 100644 interface-definitions/include/pim/join-prune-interval.xml.i create mode 100644 interface-definitions/include/pim/keep-alive-timer.xml.i create mode 100644 interface-definitions/include/pim/packets.xml.i create mode 100644 interface-definitions/include/pim/passive.xml.i create mode 100644 interface-definitions/include/pim/register-suppress-time.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/pim/bsm.xml.i b/interface-definitions/include/pim/bsm.xml.i new file mode 100644 index 000000000..cc2cf14ca --- /dev/null +++ b/interface-definitions/include/pim/bsm.xml.i @@ -0,0 +1,14 @@ + + + + Do not process bootstrap messages + + + + + + Do not process unicast bootstrap messages + + + + 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 @@ + + + + Designated Router Election Priority + + u32:1-4294967295 + Value of the new DR Priority + + + + + + + diff --git a/interface-definitions/include/pim/hello.xml.i b/interface-definitions/include/pim/hello.xml.i new file mode 100644 index 000000000..0c7601be7 --- /dev/null +++ b/interface-definitions/include/pim/hello.xml.i @@ -0,0 +1,14 @@ + + + + Hello Interval + + u32:1-180 + Hello Interval in seconds + + + + + + + diff --git a/interface-definitions/include/pim/join-prune-interval.xml.i b/interface-definitions/include/pim/join-prune-interval.xml.i new file mode 100644 index 000000000..f7519ad67 --- /dev/null +++ b/interface-definitions/include/pim/join-prune-interval.xml.i @@ -0,0 +1,15 @@ + + + + Join Prune Send Interval + + u32:1-65535 + Interval in seconds + + + + + + 60 + + diff --git a/interface-definitions/include/pim/keep-alive-timer.xml.i b/interface-definitions/include/pim/keep-alive-timer.xml.i new file mode 100644 index 000000000..9e71b7a14 --- /dev/null +++ b/interface-definitions/include/pim/keep-alive-timer.xml.i @@ -0,0 +1,15 @@ + + + + Keep alive Timer + + u32:1-65535 + Keep alive Timer in seconds + + + + + + 210 + + 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 @@ + + + + Packets to process at once + + u32:1-255 + Number of packets + + + + + + 3 + + diff --git a/interface-definitions/include/pim/passive.xml.i b/interface-definitions/include/pim/passive.xml.i new file mode 100644 index 000000000..e4e9ca0b1 --- /dev/null +++ b/interface-definitions/include/pim/passive.xml.i @@ -0,0 +1,8 @@ + + + + Disable sending and receiving PIM control packets on the interface + + + + diff --git a/interface-definitions/include/pim/register-suppress-time.xml.i b/interface-definitions/include/pim/register-suppress-time.xml.i new file mode 100644 index 000000000..80180e9b6 --- /dev/null +++ b/interface-definitions/include/pim/register-suppress-time.xml.i @@ -0,0 +1,14 @@ + + + + Register Suppress Timer + + u32:1-65535 + In seconds + + + + + + + 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 @@ - #include - - - Do not process bootstrap messages - - - - - - Do not process unicast bootstrap messages - - - - - - Designated Router Election Priority - - u32:1-4294967295 - Value of the new DR Priority - - - - - - - - - Hello Interval - - u32:1-180 - Hello Interval in seconds - - - - - - - - - Internet Group Management Protocol (IGMP) options - - - - - Interface IGMP version - - 2 - IGMP version 2 - - - 3 - IGMP version 3 - - - - - - 3 + #include + #include + #include + #include + #include + #include + + + Internet Group Management Protocol (IGMP) options + + + + + Interface IGMP version + + 1 2 + + + 2 + IGMP version 2 + + + 3 + IGMP version 3 + + + + + + 3 - - - Disable sending and receiving PIM control packets on the interface - - - - #include @@ -102,8 +67,8 @@ - - + + Internet Group Management Protocol (IGMP) options @@ -121,46 +86,11 @@ - - - - Join Prune Send Interval - - u32:1-65535 - Interval in seconds - - - - - - 60 - - - - Keep alive Timer - - u32:1-65535 - Keep alive Timer in seconds - - - - - - 210 - - - - Packets to process at once - - u32:1-255 - Number of packets - - - - - - 3 - + + #include + #include + #include + #include Only accept registers from a specific source prefix list @@ -173,18 +103,6 @@ - - - Register Suppress Timer - - u32:1-65535 - In seconds - - - - - - Rendezvous Point -- cgit v1.2.3