From 520d2fb73670cfaa378164896d6993a03893f2b8 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 17 Aug 2021 09:10:56 +0200 Subject: isis: T1316: use common redistribute XML building block for IPv4 and IPv6 --- .../include/isis/protocol-common-config.xml.i | 24 ++++++------- .../include/isis/redistribute-ipv4.xml.i | 42 ---------------------- .../include/isis/redistribute-ipv6.xml.i | 42 ---------------------- .../include/isis/redistribute-level-1-2.xml.i | 20 +++++++++++ 4 files changed, 32 insertions(+), 96 deletions(-) delete mode 100644 interface-definitions/include/isis/redistribute-ipv4.xml.i delete mode 100644 interface-definitions/include/isis/redistribute-ipv6.xml.i create mode 100644 interface-definitions/include/isis/redistribute-level-1-2.xml.i (limited to 'interface-definitions/include/isis') diff --git a/interface-definitions/include/isis/protocol-common-config.xml.i b/interface-definitions/include/isis/protocol-common-config.xml.i index af5a21f49..84e2f7bb2 100644 --- a/interface-definitions/include/isis/protocol-common-config.xml.i +++ b/interface-definitions/include/isis/protocol-common-config.xml.i @@ -447,7 +447,7 @@ Border Gateway Protocol (BGP) - #include + #include @@ -455,7 +455,7 @@ Redistribute connected routes into IS-IS - #include + #include @@ -463,7 +463,7 @@ Redistribute kernel routes into IS-IS - #include + #include @@ -471,7 +471,7 @@ Redistribute OSPF routes into IS-IS - #include + #include @@ -479,7 +479,7 @@ Redistribute RIP routes into IS-IS - #include + #include @@ -487,7 +487,7 @@ Redistribute static routes into IS-IS - #include + #include @@ -502,7 +502,7 @@ Redistribute BGP routes into IS-IS - #include + #include @@ -510,7 +510,7 @@ Redistribute connected routes into IS-IS - #include + #include @@ -518,7 +518,7 @@ Redistribute kernel routes into IS-IS - #include + #include @@ -526,7 +526,7 @@ Redistribute OSPFv3 routes into IS-IS - #include + #include @@ -534,7 +534,7 @@ Redistribute RIPng routes into IS-IS - #include + #include @@ -542,7 +542,7 @@ Redistribute static routes into IS-IS - #include + #include diff --git a/interface-definitions/include/isis/redistribute-ipv4.xml.i b/interface-definitions/include/isis/redistribute-ipv4.xml.i deleted file mode 100644 index fbb6210c7..000000000 --- a/interface-definitions/include/isis/redistribute-ipv4.xml.i +++ /dev/null @@ -1,42 +0,0 @@ - - - - Redistribute into level-1 - - - - - Metric for redistributed routes - - u32:0-16777215 - ISIS default metric - - - - - - - #include - - - - - Redistribute into level-2 - - - - - Metric for redistributed routes - - u32:0-16777215 - ISIS default metric - - - - - - - #include - - - diff --git a/interface-definitions/include/isis/redistribute-ipv6.xml.i b/interface-definitions/include/isis/redistribute-ipv6.xml.i deleted file mode 100644 index 7e679e38a..000000000 --- a/interface-definitions/include/isis/redistribute-ipv6.xml.i +++ /dev/null @@ -1,42 +0,0 @@ - - - - Redistribute into level-1 - - - - - Metric for redistributed routes - - u32:0-16777215 - ISIS default metric - - - - - - - #include - - - - - Redistribute into level-2 - - - - - Metric for redistributed routes - - u32:0-16777215 - ISIS default metric - - - - - - - #include - - - \ No newline at end of file diff --git a/interface-definitions/include/isis/redistribute-level-1-2.xml.i b/interface-definitions/include/isis/redistribute-level-1-2.xml.i new file mode 100644 index 000000000..abb85274f --- /dev/null +++ b/interface-definitions/include/isis/redistribute-level-1-2.xml.i @@ -0,0 +1,20 @@ + + + + Redistribute into level-1 + + + #include + #include + + + + + Redistribute into level-2 + + + #include + #include + + + -- cgit v1.2.3