From 0cb568c0eb9168c82fa3f12de77737bbab46c53d Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Mon, 11 Nov 2024 20:26:06 +0100 Subject: babel: T4977: use common include for IPv4/IPv6 route redistribution --- .../include/babel/redistribute-common.xml.i | 38 +++++++++++ interface-definitions/protocols_babel.xml.in | 78 ++-------------------- 2 files changed, 42 insertions(+), 74 deletions(-) create mode 100644 interface-definitions/include/babel/redistribute-common.xml.i diff --git a/interface-definitions/include/babel/redistribute-common.xml.i b/interface-definitions/include/babel/redistribute-common.xml.i new file mode 100644 index 000000000..93efe68dd --- /dev/null +++ b/interface-definitions/include/babel/redistribute-common.xml.i @@ -0,0 +1,38 @@ + + + + Border Gateway Protocol (BGP) + + + + + + Connected routes (directly attached subnet or host) + + + + + + Intermediate System to Intermediate System (IS-IS) + + + + + + Redistribute Kernel routes (not installed via the zebra RIB) + + + + + + OpenFabric Routing Protocol + + + + + + Statically configured routes + + + + diff --git a/interface-definitions/protocols_babel.xml.in b/interface-definitions/protocols_babel.xml.in index edea57425..2795a7dd4 100644 --- a/interface-definitions/protocols_babel.xml.in +++ b/interface-definitions/protocols_babel.xml.in @@ -71,36 +71,7 @@ Redistribute IPv4 routes - - - Redistribute BGP routes - - - - - - Redistribute connected routes - - - - - - Redistribute IS-IS routes - - - - - - Redistribute kernel routes - - - - - - Redistribute NHRP routes - - - + #include Redistribute OSPF routes @@ -113,12 +84,6 @@ - - - Redistribute static routes - - - @@ -126,51 +91,16 @@ Redistribute IPv6 routes - - - Redistribute BGP routes - - - - - - Redistribute connected routes - - - - - - Redistribute IS-IS routes - - - - - - Redistribute kernel routes - - - - - - Redistribute NHRP routes - - - + #include - Redistribute OSPFv3 routes + Open Shortest Path First (IPv6) (OSPFv3) - Redistribute RIPng routes - - - - - - Redistribute static routes + Routing Information Protocol next-generation (IPv6) (RIPng) -- cgit v1.2.3