From c2ae70181b8ad136f5139c9fdd53e0bb402c9914 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 14 Mar 2021 15:20:51 +0000 Subject: rip: xml: T2547: move building blocks to subfolder As the amount of include files now has reached a certain amount, it is getting more and more crowsded, thuse introducing "per topic" subdirectories on the filesystem to keep a clean structure makes sense. --- .../include/rip-access-list.xml.i | 39 ------------------ .../include/rip-access-list6.xml.i | 39 ------------------ .../include/rip-default-information.xml.i | 15 ------- .../include/rip-default-metric.xml.i | 14 ------- interface-definitions/include/rip-interface.xml.i | 38 ----------------- .../include/rip-prefix-list.xml.i | 33 --------------- .../include/rip-prefix-list6.xml.i | 33 --------------- .../include/rip-redistribute.xml.i | 15 ------- interface-definitions/include/rip-timers.xml.i | 48 ---------------------- .../include/rip/rip-access-list.xml.i | 39 ++++++++++++++++++ .../include/rip/rip-access-list6.xml.i | 39 ++++++++++++++++++ .../include/rip/rip-default-information.xml.i | 15 +++++++ .../include/rip/rip-default-metric.xml.i | 14 +++++++ .../include/rip/rip-interface.xml.i | 38 +++++++++++++++++ .../include/rip/rip-prefix-list.xml.i | 33 +++++++++++++++ .../include/rip/rip-prefix-list6.xml.i | 33 +++++++++++++++ .../include/rip/rip-redistribute.xml.i | 15 +++++++ interface-definitions/include/rip/rip-timers.xml.i | 48 ++++++++++++++++++++++ interface-definitions/protocols-rip.xml.in | 28 ++++++------- interface-definitions/protocols-ripng.xml.in | 26 ++++++------ 20 files changed, 301 insertions(+), 301 deletions(-) delete mode 100644 interface-definitions/include/rip-access-list.xml.i delete mode 100644 interface-definitions/include/rip-access-list6.xml.i delete mode 100644 interface-definitions/include/rip-default-information.xml.i delete mode 100644 interface-definitions/include/rip-default-metric.xml.i delete mode 100644 interface-definitions/include/rip-interface.xml.i delete mode 100644 interface-definitions/include/rip-prefix-list.xml.i delete mode 100644 interface-definitions/include/rip-prefix-list6.xml.i delete mode 100644 interface-definitions/include/rip-redistribute.xml.i delete mode 100644 interface-definitions/include/rip-timers.xml.i create mode 100644 interface-definitions/include/rip/rip-access-list.xml.i create mode 100644 interface-definitions/include/rip/rip-access-list6.xml.i create mode 100644 interface-definitions/include/rip/rip-default-information.xml.i create mode 100644 interface-definitions/include/rip/rip-default-metric.xml.i create mode 100644 interface-definitions/include/rip/rip-interface.xml.i create mode 100644 interface-definitions/include/rip/rip-prefix-list.xml.i create mode 100644 interface-definitions/include/rip/rip-prefix-list6.xml.i create mode 100644 interface-definitions/include/rip/rip-redistribute.xml.i create mode 100644 interface-definitions/include/rip/rip-timers.xml.i diff --git a/interface-definitions/include/rip-access-list.xml.i b/interface-definitions/include/rip-access-list.xml.i deleted file mode 100644 index 9d5366a0d..000000000 --- a/interface-definitions/include/rip-access-list.xml.i +++ /dev/null @@ -1,39 +0,0 @@ - - - - Access-list - - - - - Access list to apply to input packets - - u32 - Access list to apply to input packets - - - policy access-list - - - - - - - - - Access list to apply to output packets - - u32 - Access list to apply to output packets - - - policy access-list - - - - - - - - - diff --git a/interface-definitions/include/rip-access-list6.xml.i b/interface-definitions/include/rip-access-list6.xml.i deleted file mode 100644 index a57f2038d..000000000 --- a/interface-definitions/include/rip-access-list6.xml.i +++ /dev/null @@ -1,39 +0,0 @@ - - - - Access-list - - - - - Access list to apply to input packets - - u32 - Access list to apply to input packets - - - policy access-list6 - - - - - - - - - Access list to apply to output packets - - u32 - Access list to apply to output packets - - - policy access-list6 - - - - - - - - - diff --git a/interface-definitions/include/rip-default-information.xml.i b/interface-definitions/include/rip-default-information.xml.i deleted file mode 100644 index 9dbe744a1..000000000 --- a/interface-definitions/include/rip-default-information.xml.i +++ /dev/null @@ -1,15 +0,0 @@ - - - - Control distribution of default route - - - - - Distribute a default route - - - - - - diff --git a/interface-definitions/include/rip-default-metric.xml.i b/interface-definitions/include/rip-default-metric.xml.i deleted file mode 100644 index e021e47dd..000000000 --- a/interface-definitions/include/rip-default-metric.xml.i +++ /dev/null @@ -1,14 +0,0 @@ - - - - Metric of redistributed routes - - u32:1-16 - Default metric - - - - - - - diff --git a/interface-definitions/include/rip-interface.xml.i b/interface-definitions/include/rip-interface.xml.i deleted file mode 100644 index 1807a944a..000000000 --- a/interface-definitions/include/rip-interface.xml.i +++ /dev/null @@ -1,38 +0,0 @@ - - - - Interface name - - - - - txt - Interface name - - - - - - - - - Split horizon parameters - - - - - Disable split horizon on specified interface - - - - - - Disable split horizon on specified interface - - - - - - - - diff --git a/interface-definitions/include/rip-prefix-list.xml.i b/interface-definitions/include/rip-prefix-list.xml.i deleted file mode 100644 index ec8a34266..000000000 --- a/interface-definitions/include/rip-prefix-list.xml.i +++ /dev/null @@ -1,33 +0,0 @@ - - - - Prefix-list - - - - - Prefix-list to apply to input packets - - txt - Prefix-list to apply to input packets - - - policy prefix-list - - - - - - Prefix-list to apply to output packets - - txt - Prefix-list to apply to output packets - - - policy prefix-list - - - - - - diff --git a/interface-definitions/include/rip-prefix-list6.xml.i b/interface-definitions/include/rip-prefix-list6.xml.i deleted file mode 100644 index b1026bcd2..000000000 --- a/interface-definitions/include/rip-prefix-list6.xml.i +++ /dev/null @@ -1,33 +0,0 @@ - - - - Prefix-list - - - - - Prefix-list to apply to input packets - - txt - Prefix-list to apply to input packets - - - policy prefix-list6 - - - - - - Prefix-list to apply to output packets - - txt - Prefix-list to apply to output packets - - - policy prefix-list6 - - - - - - diff --git a/interface-definitions/include/rip-redistribute.xml.i b/interface-definitions/include/rip-redistribute.xml.i deleted file mode 100644 index 1e47125e9..000000000 --- a/interface-definitions/include/rip-redistribute.xml.i +++ /dev/null @@ -1,15 +0,0 @@ - - - - Metric for redistributed routes - - u32:1-16 - Redistribute route metric - - - - - - -#include - diff --git a/interface-definitions/include/rip-timers.xml.i b/interface-definitions/include/rip-timers.xml.i deleted file mode 100644 index f43ea3f5f..000000000 --- a/interface-definitions/include/rip-timers.xml.i +++ /dev/null @@ -1,48 +0,0 @@ - - - - RIPng timer values - - - - - Garbage collection timer - - u32:5-2147483647 - Garbage colletion time (default 120) - - - - - - 120 - - - - Routing information timeout timer - - u32:5-2147483647 - Routing information timeout timer (default 180) - - - - - - 180 - - - - Routing table update timer - - u32:5-2147483647 - Routing table update timer in seconds (default 30) - - - - - - 30 - - - - diff --git a/interface-definitions/include/rip/rip-access-list.xml.i b/interface-definitions/include/rip/rip-access-list.xml.i new file mode 100644 index 000000000..00ee9b736 --- /dev/null +++ b/interface-definitions/include/rip/rip-access-list.xml.i @@ -0,0 +1,39 @@ + + + + Access-list + + + + + Access list to apply to input packets + + u32 + Access list to apply to input packets + + + policy access-list + + + + + + + + + Access list to apply to output packets + + u32 + Access list to apply to output packets + + + policy access-list + + + + + + + + + diff --git a/interface-definitions/include/rip/rip-access-list6.xml.i b/interface-definitions/include/rip/rip-access-list6.xml.i new file mode 100644 index 000000000..9e4298bc0 --- /dev/null +++ b/interface-definitions/include/rip/rip-access-list6.xml.i @@ -0,0 +1,39 @@ + + + + Access-list + + + + + Access list to apply to input packets + + u32 + Access list to apply to input packets + + + policy access-list6 + + + + + + + + + Access list to apply to output packets + + u32 + Access list to apply to output packets + + + policy access-list6 + + + + + + + + + diff --git a/interface-definitions/include/rip/rip-default-information.xml.i b/interface-definitions/include/rip/rip-default-information.xml.i new file mode 100644 index 000000000..28c540c26 --- /dev/null +++ b/interface-definitions/include/rip/rip-default-information.xml.i @@ -0,0 +1,15 @@ + + + + Control distribution of default route + + + + + Distribute a default route + + + + + + diff --git a/interface-definitions/include/rip/rip-default-metric.xml.i b/interface-definitions/include/rip/rip-default-metric.xml.i new file mode 100644 index 000000000..297af5af8 --- /dev/null +++ b/interface-definitions/include/rip/rip-default-metric.xml.i @@ -0,0 +1,14 @@ + + + + Metric of redistributed routes + + u32:1-16 + Default metric + + + + + + + diff --git a/interface-definitions/include/rip/rip-interface.xml.i b/interface-definitions/include/rip/rip-interface.xml.i new file mode 100644 index 000000000..dd3bddd4f --- /dev/null +++ b/interface-definitions/include/rip/rip-interface.xml.i @@ -0,0 +1,38 @@ + + + + Interface name + + + + + txt + Interface name + + + + + + + + + Split horizon parameters + + + + + Disable split horizon on specified interface + + + + + + Disable split horizon on specified interface + + + + + + + + diff --git a/interface-definitions/include/rip/rip-prefix-list.xml.i b/interface-definitions/include/rip/rip-prefix-list.xml.i new file mode 100644 index 000000000..2569a2a09 --- /dev/null +++ b/interface-definitions/include/rip/rip-prefix-list.xml.i @@ -0,0 +1,33 @@ + + + + Prefix-list + + + + + Prefix-list to apply to input packets + + txt + Prefix-list to apply to input packets + + + policy prefix-list + + + + + + Prefix-list to apply to output packets + + txt + Prefix-list to apply to output packets + + + policy prefix-list + + + + + + diff --git a/interface-definitions/include/rip/rip-prefix-list6.xml.i b/interface-definitions/include/rip/rip-prefix-list6.xml.i new file mode 100644 index 000000000..fcf1499e0 --- /dev/null +++ b/interface-definitions/include/rip/rip-prefix-list6.xml.i @@ -0,0 +1,33 @@ + + + + Prefix-list + + + + + Prefix-list to apply to input packets + + txt + Prefix-list to apply to input packets + + + policy prefix-list6 + + + + + + Prefix-list to apply to output packets + + txt + Prefix-list to apply to output packets + + + policy prefix-list6 + + + + + + diff --git a/interface-definitions/include/rip/rip-redistribute.xml.i b/interface-definitions/include/rip/rip-redistribute.xml.i new file mode 100644 index 000000000..d7a79b007 --- /dev/null +++ b/interface-definitions/include/rip/rip-redistribute.xml.i @@ -0,0 +1,15 @@ + + + + Metric for redistributed routes + + u32:1-16 + Redistribute route metric + + + + + + +#include + diff --git a/interface-definitions/include/rip/rip-timers.xml.i b/interface-definitions/include/rip/rip-timers.xml.i new file mode 100644 index 000000000..3aaaf8e65 --- /dev/null +++ b/interface-definitions/include/rip/rip-timers.xml.i @@ -0,0 +1,48 @@ + + + + RIPng timer values + + + + + Garbage collection timer + + u32:5-2147483647 + Garbage colletion time (default 120) + + + + + + 120 + + + + Routing information timeout timer + + u32:5-2147483647 + Routing information timeout timer (default 180) + + + + + + 180 + + + + Routing table update timer + + u32:5-2147483647 + Routing table update timer in seconds (default 30) + + + + + + 30 + + + + diff --git a/interface-definitions/protocols-rip.xml.in b/interface-definitions/protocols-rip.xml.in index 1ae3bd8f7..089055021 100644 --- a/interface-definitions/protocols-rip.xml.in +++ b/interface-definitions/protocols-rip.xml.in @@ -19,14 +19,14 @@ - #include - #include + #include + #include Filter networks in routing updates - #include + #include Apply filtering to an interface @@ -42,14 +42,14 @@ - #include - #include + #include + #include - #include + #include - #include + #include @@ -165,7 +165,7 @@ Redistribute BGP routes - #include + #include @@ -173,7 +173,7 @@ Redistribute connected routes - #include + #include @@ -181,7 +181,7 @@ Redistribute IS-IS routes - #include + #include @@ -189,7 +189,7 @@ Redistribute kernel routes - #include + #include @@ -197,7 +197,7 @@ Redistribute OSPF routes - #include + #include @@ -205,7 +205,7 @@ Redistribute static routes - #include + #include @@ -223,7 +223,7 @@ - #include + #include diff --git a/interface-definitions/protocols-ripng.xml.in b/interface-definitions/protocols-ripng.xml.in index 3eac27788..1bd52d18e 100644 --- a/interface-definitions/protocols-ripng.xml.in +++ b/interface-definitions/protocols-ripng.xml.in @@ -20,14 +20,14 @@ - #include - #include + #include + #include Filter networks in routing updates - #include + #include Apply filtering to an interface @@ -43,14 +43,14 @@ - #include - #include + #include + #include - #include + #include - #include + #include RIPng network @@ -87,7 +87,7 @@ Redistribute BGP routes - #include + #include @@ -95,7 +95,7 @@ Redistribute connected routes - #include + #include @@ -103,7 +103,7 @@ Redistribute kernel routes - #include + #include @@ -111,7 +111,7 @@ Redistribute OSPFv3 routes - #include + #include @@ -119,7 +119,7 @@ Redistribute static routes - #include + #include @@ -138,7 +138,7 @@ #include - #include + #include -- cgit v1.2.3