From 2d5462f4a024469629f6fb2c5286e7f45d6a6df1 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Wed, 29 Jan 2025 15:27:42 +0200 Subject: 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 --- python/vyos/vpp/control_vpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') 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 -- cgit v1.2.3