diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-01-29 15:27:42 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-29 15:27:42 +0200 |
| commit | 2d5462f4a024469629f6fb2c5286e7f45d6a6df1 (patch) | |
| tree | 1d98f9e6c59aeeb388dd0aa90006bca2f0bb5c23 /python | |
| parent | 5c9d6dfdccfc61b88913dd8625dfcbb7fa2fdabb (diff) | |
| download | vyos-1x-2d5462f4a024469629f6fb2c5286e7f45d6a6df1.tar.gz vyos-1x-2d5462f4a024469629f6fb2c5286e7f45d6a6df1.zip | |
Use lcp_nl_resync instead of lcp_resync for control_vpp.py
Use lcp_nl_resync (available with patch 04)
0004-Improved-lcp-resync.patch
It improves sync speed and should fix or smoketest issues related to connecting to VPP API speed
Diffstat (limited to 'python')
| -rw-r--r-- | python/vyos/vpp/control_vpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/vpp/control_vpp.py b/python/vyos/vpp/control_vpp.py index 39ecac906..2c81b2db2 100644 --- a/python/vyos/vpp/control_vpp.py +++ b/python/vyos/vpp/control_vpp.py @@ -283,7 +283,7 @@ class VPPControl: This clears all routes in VPP configured by LCP and re-creates them based on the current state of the kernel. """ - return self.__vpp_api_client.api.lcp_resync() + return self.__vpp_api_client.api.lcp_nl_resync() @_Decorators.check_retval @_Decorators.api_call |
