public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH sdn 0/1] fix #7152: avoid repeated ip link calls during SDN configuration
@ 2025-12-17 15:10 Krzysztof Klimonda
  2025-12-17 15:10 ` [pve-devel] [PATCH sdn 1/1] fix #7152: sdn: pass interfaces config to avoid repeated ip link calls Krzysztof Klimonda
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Klimonda @ 2025-12-17 15:10 UTC (permalink / raw)
  To: pve-devel; +Cc: Krzysztof Klimonda


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


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-12-18 13:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-17 15:10 [pve-devel] [PATCH sdn 0/1] fix #7152: avoid repeated ip link calls during SDN configuration Krzysztof Klimonda
2025-12-17 15:10 ` [pve-devel] [PATCH sdn 1/1] fix #7152: sdn: pass interfaces config to avoid repeated ip link calls Krzysztof Klimonda

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal