From 8c1f4802b48ac52ae737a47c136d603bc99ac7dd Mon Sep 17 00:00:00 2001 From: Nicolas Fort Date: Tue, 21 Jun 2022 17:32:56 +0000 Subject: Policy: T4475: add support for matching ipv6 addresses on peer option in route-map --- smoketest/scripts/cli/test_policy.py | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'smoketest/scripts/cli') 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' : { -- cgit v1.2.3