From: Krzysztof Klimonda <kklimonda@syntaxhighlighted.com>
To: pve-devel@lists.proxmox.com
Cc: Krzysztof Klimonda <kklimonda@syntaxhighlighted.com>
Subject: [pve-devel] [PATCH sdn 0/1] fix #7152: avoid repeated ip link calls during SDN configuration
Date: Wed, 17 Dec 2025 16:10:39 +0100 [thread overview]
Message-ID: <20251217151040.34005-1-kklimonda@syntaxhighlighted.com> (raw)
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
next reply other threads:[~2025-12-18 13:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-17 15:10 Krzysztof Klimonda [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251217151040.34005-1-kklimonda@syntaxhighlighted.com \
--to=kklimonda@syntaxhighlighted.com \
--cc=pve-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox