From 799b7f511248d68bbbe05e0dfd2aa4849fc32387 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 5 May 2022 18:44:01 +0200 Subject: policy: T4414: add support for route-map "as-path prepend last-as x" --- .../include/version/quagga-version.xml.i | 2 +- interface-definitions/policy.xml.in | 57 ++++++++++++++++------ 2 files changed, 42 insertions(+), 17 deletions(-) (limited to 'interface-definitions') diff --git a/interface-definitions/include/version/quagga-version.xml.i b/interface-definitions/include/version/quagga-version.xml.i index bb8ad7f82..f9944acce 100644 --- a/interface-definitions/include/version/quagga-version.xml.i +++ b/interface-definitions/include/version/quagga-version.xml.i @@ -1,3 +1,3 @@ - + diff --git a/interface-definitions/policy.xml.in b/interface-definitions/policy.xml.in index ddb0159d5..1d5d7dd55 100644 --- a/interface-definitions/policy.xml.in +++ b/interface-definitions/policy.xml.in @@ -948,24 +948,49 @@ - + - Remove ASN(s) from a Border Gateway Protocol (BGP) AS-path attribute - - txt - BGP AS path exclude string (ex: "456 64500 45001") - - - - - - Prepend string for a Border Gateway Protocol (BGP) AS-path attribute - - txt - BGP AS path prepend string (ex: "64501 64501") - + Transform BGP AS_PATH attribute - + + + + Remove/exclude from the as-path attribute + + u32 + AS number + + + + + + + + + Prepend to the as-path + + u32 + AS number + + + + + + + + + Use the last AS-number in the as-path + + u32:1-10 + Number of times to insert + + + + + + + + BGP atomic aggregate attribute -- cgit v1.2.3