From c97a196c75f556105c02c43de3cc6719e8dfe559 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 6 Feb 2021 10:46:49 +0100 Subject: rip: T2833: xml: split out (access|prefix)-list to re includable --- .../include/rip-access-list.xml.i | 39 ++++++ .../include/rip-prefix-list.xml.i | 33 +++++ interface-definitions/protocols-rip.xml.in | 155 +-------------------- 3 files changed, 78 insertions(+), 149 deletions(-) create mode 100644 interface-definitions/include/rip-access-list.xml.i create mode 100644 interface-definitions/include/rip-prefix-list.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/rip-access-list.xml.i b/interface-definitions/include/rip-access-list.xml.i new file mode 100644 index 000000000..0db6863e5 --- /dev/null +++ b/interface-definitions/include/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-prefix-list.xml.i b/interface-definitions/include/rip-prefix-list.xml.i new file mode 100644 index 000000000..58969a86b --- /dev/null +++ b/interface-definitions/include/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/protocols-rip.xml.in b/interface-definitions/protocols-rip.xml.in index 34d0a5a10..385784f92 100644 --- a/interface-definitions/protocols-rip.xml.in +++ b/interface-definitions/protocols-rip.xml.in @@ -1,4 +1,4 @@ - + @@ -49,43 +49,7 @@ Filter networks in routing updates - - - 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 - - - - - - - - + #include Apply filtering to an interface @@ -98,107 +62,11 @@ - - - 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 - - - - - - - - - - - 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 - - - - - + #include + #include - - - 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 - - - - - + #include @@ -264,18 +132,7 @@ - - - Administrative distance for network - - u32:1-255 - Administrative distance - - - - - - + #include -- cgit v1.2.3