diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-01-27 12:28:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-27 12:28:06 +0200 |
| commit | a50a34fe815f707f5c52ca8e61ce155f10306f47 (patch) | |
| tree | 623e83b27d46c5a668d6e9bb42f4dbf738291b54 /smoketest/scripts/cli | |
| parent | 1c8e9d5c409ba6b0a7e63cacb8e886bada036b4b (diff) | |
| parent | 1659d7b60ee1128c365c597ee85697c051c23e4b (diff) | |
| download | vyos-1x-a50a34fe815f707f5c52ca8e61ce155f10306f47.tar.gz vyos-1x-a50a34fe815f707f5c52ca8e61ce155f10306f47.zip | |
Merge pull request #1 from vyos/sever-sever-lcp
LCP: enable by default route-no-paths
Diffstat (limited to 'smoketest/scripts/cli')
| -rwxr-xr-x | smoketest/scripts/cli/test_vpp.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_vpp.py b/smoketest/scripts/cli/test_vpp.py index ba0d0d728..60253593d 100755 --- a/smoketest/scripts/cli/test_vpp.py +++ b/smoketest/scripts/cli/test_vpp.py @@ -75,7 +75,6 @@ class TestVPP(VyOSUnitTestSHIM.TestCase): poll_sleep = '0' self.cli_set(base_path + ['settings', 'cpu', 'main-core', main_core]) - self.cli_set(base_path + ['settings', 'lcp', 'route-no-paths']) self.cli_set(base_path + ['settings', 'unix', 'poll-sleep-usec', poll_sleep]) # commit changes @@ -99,7 +98,15 @@ class TestVPP(VyOSUnitTestSHIM.TestCase): # route-no-paths is not present in the output # looks like vpp bug _, out = rc_cmd('sudo vppctl show lcp') - required_str = 'route-no-paths' + required_str = 'lcp route-no-paths on' + self.assertIn(required_str, out) + + self.cli_set(base_path + ['settings', 'lcp', 'ignore-kernel-routes']) + self.cli_commit() + + # check disabled 'route no path' + _, out = rc_cmd('sudo vppctl show lcp') + required_str = 'lcp route-no-paths off' self.assertIn(required_str, out) def test_02_vpp_vxlan(self): |
