From fe12810cc65f8db51d8dbadd00835828e8e410c8 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Mon, 10 May 2021 11:55:50 +0300 Subject: smoketest: policy: T3526: replace seq x for policy tests --- smoketest/scripts/cli/test_policy.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/smoketest/scripts/cli/test_policy.py b/smoketest/scripts/cli/test_policy.py index a144d0b88..1a18c8191 100755 --- a/smoketest/scripts/cli/test_policy.py +++ b/smoketest/scripts/cli/test_policy.py @@ -371,7 +371,7 @@ class TestPolicy(unittest.TestCase): continue for rule, rule_config in comm_list_config['rule'].items(): - tmp = f'bgp community-list {comm_list}' + tmp = f'bgp community-list {comm_list} seq {rule}' if rule_config['action'] == 'permit': tmp += ' permit' else: @@ -434,7 +434,7 @@ class TestPolicy(unittest.TestCase): expanded = '' if not comm_list.isnumeric(): expanded = ' expanded' - tmp = f'bgp extcommunity-list{expanded} {comm_list}' + tmp = f'bgp extcommunity-list{expanded} {comm_list} seq {rule}' if rule_config['action'] == 'permit': tmp += ' permit' @@ -494,7 +494,7 @@ class TestPolicy(unittest.TestCase): continue for rule, rule_config in comm_list_config['rule'].items(): - tmp = f'bgp large-community-list expanded {comm_list}' + tmp = f'bgp large-community-list expanded {comm_list} seq {rule}' if rule_config['action'] == 'permit': tmp += ' permit' -- cgit v1.2.3