diff options
author | Christian Breunig <christian@breunig.cc> | 2024-03-17 08:41:22 +0100 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2024-03-17 08:46:47 +0100 |
commit | 16395c902ff79fcb34019a6d499467488ed45849 (patch) | |
tree | 3e4e96bc6d911e649520f0c4079b8cedfcee7093 /smoketest | |
parent | f237e75e9fd156c2e4ce15dd6ca8fd4d5d8790cc (diff) | |
download | vyos-1x-16395c902ff79fcb34019a6d499467488ed45849.tar.gz vyos-1x-16395c902ff79fcb34019a6d499467488ed45849.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
Diffstat (limited to 'smoketest')
-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', }, |