diff options
| author | Jose Phillips <jose@latinol.com> | 2026-05-07 11:40:42 -0500 |
|---|---|---|
| committer | Jose Phillips <jose@latinol.com> | 2026-05-13 19:36:11 +0000 |
| commit | 35d40d7f4d9d95e7754d41c3f97efd4ef20c0625 (patch) | |
| tree | 5f732ec03c95446405c1df4aa6a3ae1bc2aa2a34 /smoketest/scripts/cli | |
| parent | b1f920457dc8ac62c36fae492cc3aa3ec10d051d (diff) | |
| download | vyos-1x-35d40d7f4d9d95e7754d41c3f97efd4ef20c0625.tar.gz vyos-1x-35d40d7f4d9d95e7754d41c3f97efd4ef20c0625.zip | |
T8823: validation of GE and LE according FRR instructions
Diffstat (limited to 'smoketest/scripts/cli')
| -rwxr-xr-x | smoketest/scripts/cli/test_policy.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/smoketest/scripts/cli/test_policy.py b/smoketest/scripts/cli/test_policy.py index eee04eb9b..304bbdbc8 100755 --- a/smoketest/scripts/cli/test_policy.py +++ b/smoketest/scripts/cli/test_policy.py @@ -709,6 +709,7 @@ class TestPolicy(VyOSUnitTestSHIM.TestCase): for rule in test_range: tmp = f'ip prefix-list {prefix_list} seq {rule} permit {prefix} le {rule}' self.assertIn(tmp, config) + def test_prefix_list_ge_le_validation(self): # FRR requires mask_length <= ge <= le for prefix-list rules base = base_path + ['prefix-list', 'getest', 'rule', '10'] |
