[pve-devel] [PATCH sdn 0/1] fix #7152: avoid repeated ip link calls during SDN configuration
Krzysztof Klimonda
kklimonda at syntaxhighlighted.com
Wed Dec 17 16:10:39 CET 2025
This patch addresses issue #7152 where repeated calls to
PVE::INotify::read_etc_network_interfaces (which internally spawns
ip -details -json link show) were slowing down SDN configuration.
Reuse the interfaces configuration already prepared in
Controllers::generate_frr_config and pass it through to the
functions that need it.
Krzysztof Klimonda (1):
fix #7152: sdn: pass interfaces config to avoid repeated ip link calls
src/PVE/Network/SDN/Controllers.pm | 4 ++--
src/PVE/Network/SDN/Controllers/BgpPlugin.pm | 4 ++--
src/PVE/Network/SDN/Controllers/EvpnPlugin.pm | 8 ++++----
src/PVE/Network/SDN/Controllers/IsisPlugin.pm | 4 ++--
src/PVE/Network/SDN/Controllers/Plugin.pm | 4 ++--
src/PVE/Network/SDN/Zones/EvpnPlugin.pmh | 2 +-
src/PVE/Network/SDN/Zones/Plugin.pm | 5 ++---
src/PVE/Network/SDN/Zones/VxlanPlugin.pm | 2 +-
8 files changed, 16 insertions(+), 17 deletions(-)
--
2.52.0
More information about the pve-devel
mailing list