diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2021-05-10 11:55:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-10 10:55:50 +0200 |
commit | fe12810cc65f8db51d8dbadd00835828e8e410c8 (patch) | |
tree | 46ab66240e625815bc283df1778b89f05de4f6fa /smoketest/scripts/cli/test_policy.py | |
parent | 735acbc47ace059b6d7317206f35ad9da49fde74 (diff) | |
download | vyos-1x-fe12810cc65f8db51d8dbadd00835828e8e410c8.tar.gz vyos-1x-fe12810cc65f8db51d8dbadd00835828e8e410c8.zip |
smoketest: policy: T3526: replace seq x for policy tests
Diffstat (limited to 'smoketest/scripts/cli/test_policy.py')
-rwxr-xr-x | smoketest/scripts/cli/test_policy.py | 6 |
1 files 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' |