diff options
author | Nicolas Fort <nicolasfort1988@gmail.com> | 2022-06-21 17:32:56 +0000 |
---|---|---|
committer | Nicolas Fort <nicolasfort1988@gmail.com> | 2022-06-22 13:56:28 +0000 |
commit | 8c1f4802b48ac52ae737a47c136d603bc99ac7dd (patch) | |
tree | 816acb0b09975a2eeedf7c2fb6ec1b961d35e04f /smoketest/scripts/cli/test_policy.py | |
parent | 32df4dc8fbd28115c0c3fa7f529db9377fdfe8b5 (diff) | |
download | vyos-1x-8c1f4802b48ac52ae737a47c136d603bc99ac7dd.tar.gz vyos-1x-8c1f4802b48ac52ae737a47c136d603bc99ac7dd.zip |
Policy: T4475: add support for matching ipv6 addresses on peer option in route-map
Diffstat (limited to 'smoketest/scripts/cli/test_policy.py')
-rwxr-xr-x | smoketest/scripts/cli/test_policy.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_policy.py b/smoketest/scripts/cli/test_policy.py index d1531163f..3d37d22ae 100755 --- a/smoketest/scripts/cli/test_policy.py +++ b/smoketest/scripts/cli/test_policy.py @@ -715,6 +715,7 @@ class TestPolicy(VyOSUnitTestSHIM.TestCase): local_pref = '300' metric = '50' peer = '2.3.4.5' + peerv6 = '2001:db8::1' tag = '6542' goto = '25' @@ -803,6 +804,14 @@ class TestPolicy(VyOSUnitTestSHIM.TestCase): 'peer' : peer, }, }, + + '31' : { + 'action' : 'permit', + 'match' : { + 'peer' : peerv6, + }, + }, + '40' : { 'action' : 'permit', 'match' : { |