summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_protocols_ripng.py
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2025-10-16 17:17:51 +0200
committerGitHub <noreply@github.com>2025-10-16 17:17:51 +0200
commit69a9b93f71c818bf134ea06ad73d86a513628f06 (patch)
tree304a5239108c55882d79d1a1e25246d7f1f6000f /smoketest/scripts/cli/test_protocols_ripng.py
parentd8dc670cd3eb7c9d0e41d8211284e1469657cc42 (diff)
parentb221b50a444c3c80f5c322b9c06d4c0288999944 (diff)
downloadvyos-1x-69a9b93f71c818bf134ea06ad73d86a513628f06.tar.gz
vyos-1x-69a9b93f71c818bf134ea06ad73d86a513628f06.zip
Merge pull request #4794 from c-po/reuse-frr-reload-py
frr: T7664: drop BASH/SED implementation in smoketest getFRRconfig()
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_ripng.py')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_ripng.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/smoketest/scripts/cli/test_protocols_ripng.py b/smoketest/scripts/cli/test_protocols_ripng.py
index 305f31db5..c410f0f30 100755
--- a/smoketest/scripts/cli/test_protocols_ripng.py
+++ b/smoketest/scripts/cli/test_protocols_ripng.py
@@ -17,7 +17,6 @@
import unittest
from base_vyostest_shim import VyOSUnitTestSHIM
-from base_vyostest_shim import CSTORE_GUARD_TIME
from vyos.ifconfig import Section
from vyos.frrender import ripng_daemon
@@ -41,8 +40,6 @@ class TestProtocolsRIPng(VyOSUnitTestSHIM.TestCase):
# ensure we can also run this test on a live system - so lets clean
# out the current configuration :)
cls.cli_delete(cls, base_path)
- # Enable CSTORE guard time required by FRR related tests
- cls._commit_guard_time = CSTORE_GUARD_TIME
cls.cli_set(cls, ['policy', 'access-list6', acl_in, 'rule', '10', 'action', 'permit'])
cls.cli_set(cls, ['policy', 'access-list6', acl_in, 'rule', '10', 'source', 'any'])
@@ -69,7 +66,7 @@ class TestProtocolsRIPng(VyOSUnitTestSHIM.TestCase):
self.cli_delete(base_path)
self.cli_commit()
- frrconfig = self.getFRRconfig('router ripng', endsection='^exit')
+ frrconfig = self.getFRRconfig('router ripng', stop_section='^exit')
self.assertNotIn(f'router ripng', frrconfig)
# check process health and continuity
@@ -116,7 +113,7 @@ class TestProtocolsRIPng(VyOSUnitTestSHIM.TestCase):
self.cli_commit()
# Verify FRR ospfd configuration
- frrconfig = self.getFRRconfig('router ripng', endsection='^exit')
+ frrconfig = self.getFRRconfig('router ripng', stop_section='^exit')
self.assertIn(f'router ripng', frrconfig)
self.assertIn(f' default-information originate', frrconfig)
self.assertIn(f' default-metric {metric}', frrconfig)