summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_protocols_segment-routing.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_segment-routing.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_segment-routing.py')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_segment-routing.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_protocols_segment-routing.py b/smoketest/scripts/cli/test_protocols_segment-routing.py
index 258e23e75..41f33672b 100755
--- a/smoketest/scripts/cli/test_protocols_segment-routing.py
+++ b/smoketest/scripts/cli/test_protocols_segment-routing.py
@@ -17,7 +17,6 @@
import unittest
from base_vyostest_shim import VyOSUnitTestSHIM
-from base_vyostest_shim import CSTORE_GUARD_TIME
from vyos.configsession import ConfigSessionError
from vyos.ifconfig import Section
@@ -38,8 +37,6 @@ class TestProtocolsSegmentRouting(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
def tearDown(self):
self.cli_delete(base_path)
@@ -126,7 +123,7 @@ class TestProtocolsSegmentRouting(VyOSUnitTestSHIM.TestCase):
sysctl_read(f'net.ipv6.conf.{interface}.seg6_require_hmac'), '0'
) # default
- frrconfig = self.getFRRconfig('segment-routing', endsection='^exit')
+ frrconfig = self.getFRRconfig('segment-routing', stop_section='^exit')
self.assertIn('segment-routing', frrconfig)
self.assertIn(' srv6', frrconfig)
self.assertIn(' locators', frrconfig)