From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 6B9CE1FF13A for ; Wed, 13 May 2026 17:15:34 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 24A611588C; Wed, 13 May 2026 17:15:02 +0200 (CEST) From: Stefan Hanreich To: pve-devel@lists.proxmox.com Subject: [PATCH manager/network/proxmox-ve-rs v2 0/9] Implement route redistribution for OSPF Date: Wed, 13 May 2026 17:13:50 +0200 Message-ID: <20260513151411.383388-1-s.hanreich@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1778685254350 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.606 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [sdn.pm,ospf.rs,fabrics.pm,mod.rs,frr.rs] Message-ID-Hash: HZDDXDLNLYNPOWP2RTLQV7X2HLHQYOI5 X-Message-ID-Hash: HZDDXDLNLYNPOWP2RTLQV7X2HLHQYOI5 X-MailFrom: s.hanreich@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: ## Introduction This patch series adds support for configuring redistribution settings for OSPF fabrics. This allows redistributing routes learned from other sources via an OSPF fabric. ## Motivation Currently, nodes in OSPF fabrics only announce the route of the loopback interfaces / point-to-point links that are participating in the fabric. With this patch series, users can choose to redistribute local / kernel / connected routes in addition to the fabric-specific routes. It also allows for redistributing routes learned via BGP. Together with the BGP fabric, this allows for utilizing multiple routing protocols, e.g. when using OSPF as IGP but BGP for interconnecting independent clusters. ## Dependencies * perl-rs needs to be bumped with new ve-rs version * pve-network requires proxmox-perl-rs * pve-manager requires pve-network Changes from v1 (Thanks @Hannes L): * properly send kebab-cased route-map property for redistribution settings. * do not render two spaces in the OSPF redistribute setting * include route-map in JSONSchema proxmox-ve-rs: Stefan Hanreich (5): frr: ospf: add redistribute setting frr-templates: render redistribute setting ve-config: add redistribute setting to ospf section config ve-config: use constructor instead of instantiating struct ve-config: ospf: generate redistribute config proxmox-frr-templates/templates/ospfd.jinja | 4 + proxmox-frr/src/ser/ospf.rs | 36 +++++++- proxmox-ve-config/src/sdn/fabric/frr.rs | 16 +++- proxmox-ve-config/src/sdn/fabric/mod.rs | 14 ++- .../fabric/section_config/protocol/ospf.rs | 91 +++++++++++++++++++ 5 files changed, 156 insertions(+), 5 deletions(-) pve-network: Stefan Hanreich (1): fabrics: ospf: add redistribute to api types src/PVE/Network/SDN.pm | 1 + src/PVE/Network/SDN/Fabrics.pm | 35 ++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) pve-manager: Stefan Hanreich (3): ui: sdn: fabrics: add redistribution grid component ui: sdn: fabric edit: allow defining multiple tabs ui: sdn: ospf fabric: add redistribution grid to ospf fabric www/manager6/Makefile | 1 + www/manager6/sdn/fabrics/FabricEdit.js | 22 +- .../sdn/fabrics/RedistributionGrid.js | 189 ++++++++++++++++++ www/manager6/sdn/fabrics/ospf/FabricEdit.js | 19 ++ 4 files changed, 230 insertions(+), 1 deletion(-) create mode 100644 www/manager6/sdn/fabrics/RedistributionGrid.js Summary over all repositories: 11 files changed, 422 insertions(+), 6 deletions(-) -- Generated by murpp 0.11.0