summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_policy.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-17 08:41:22 +0100
committerChristian Breunig <christian@breunig.cc>2024-03-17 08:46:47 +0100
commit16395c902ff79fcb34019a6d499467488ed45849 (patch)
tree3e4e96bc6d911e649520f0c4079b8cedfcee7093 /smoketest/scripts/cli/test_policy.py
parentf237e75e9fd156c2e4ce15dd6ca8fd4d5d8790cc (diff)
downloadvyos-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/scripts/cli/test_policy.py')
-rwxr-xr-xsmoketest/scripts/cli/test_policy.py1
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',
},