From f4f081cefcc560cbcc5640b098f3172ff006e15a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 9 May 2021 19:42:58 +0200 Subject: bgp: xml: T2771: add filter-list building block --- .../include/bgp/afi-common-flowspec.xml.i | 26 ++-------------------- interface-definitions/include/bgp/afi-common.xml.i | 24 +------------------- .../include/bgp/afi-filter-list.xml.i | 25 +++++++++++++++++++++ 3 files changed, 28 insertions(+), 47 deletions(-) create mode 100644 interface-definitions/include/bgp/afi-filter-list.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/bgp/afi-common-flowspec.xml.i b/interface-definitions/include/bgp/afi-common-flowspec.xml.i index 9582274d1..819e5cbb5 100644 --- a/interface-definitions/include/bgp/afi-common-flowspec.xml.i +++ b/interface-definitions/include/bgp/afi-common-flowspec.xml.i @@ -1,27 +1,5 @@ - - - - as-path-list to filter route updates to/from this peer - - - - - As-path-list to filter outgoing route updates to this peer - - policy as-path-list - - - - - - As-path-list to filter incoming route updates from this peer - - policy as-path-list - - - - - + +#include #include #include #include diff --git a/interface-definitions/include/bgp/afi-common.xml.i b/interface-definitions/include/bgp/afi-common.xml.i index ac4a3fca0..20b0dda66 100644 --- a/interface-definitions/include/bgp/afi-common.xml.i +++ b/interface-definitions/include/bgp/afi-common.xml.i @@ -75,29 +75,7 @@ - - - as-path-list to filter route updates to/from this peer - - - - - As-path-list to filter outgoing route updates to this peer - - policy as-path-list - - - - - - As-path-list to filter incoming route updates from this peer - - policy as-path-list - - - - - +#include Maximum number of prefixes to accept from this peer diff --git a/interface-definitions/include/bgp/afi-filter-list.xml.i b/interface-definitions/include/bgp/afi-filter-list.xml.i new file mode 100644 index 000000000..df7619a1a --- /dev/null +++ b/interface-definitions/include/bgp/afi-filter-list.xml.i @@ -0,0 +1,25 @@ + + + + as-path-list to filter route updates to/from this peer + + + + + As-path-list to filter outgoing route updates to this peer + + policy as-path-list + + + + + + As-path-list to filter incoming route updates from this peer + + policy as-path-list + + + + + + -- cgit v1.2.3