diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-17 08:41:22 +0100 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-17 17:19:07 +0000 |
commit | c54b1fd63d5a046befe58da299530de12798cf36 (patch) | |
tree | a9ed00f2bd703b630da9863f9b7f813b5c8a8b67 /smoketest/scripts | |
parent | d18d773238efc34026a580fc7f5f79c408ea8cfa (diff) | |
download | vyos-1x-c54b1fd63d5a046befe58da299530de12798cf36.tar.gz vyos-1x-c54b1fd63d5a046befe58da299530de12798cf36.zip |
policy: T6129: add route-map option "as-path exclude all"
Remove all AS numbers from the AS_PATH of the BGP path's NLRI.
set policy route-map <name> rule <rule> set as-path exclude all
(cherry picked from commit 16395c902ff79fcb34019a6d499467488ed45849)
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-x | smoketest/scripts/cli/test_policy.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_policy.py b/smoketest/scripts/cli/test_policy.py index c21d8af4e..ee4445251 100755 --- a/smoketest/scripts/cli/test_policy.py +++ b/smoketest/scripts/cli/test_policy.py @@ -1065,6 +1065,7 @@ class TestPolicy(VyOSUnitTestSHIM.TestCase): '20' : { 'action' : 'permit', 'set' : { + 'as-path-exclude' : 'all', 'evpn-gateway-ipv4' : '192.0.2.99', 'evpn-gateway-ipv6' : '2001:db8:f00::1', }, |