From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id 501D8DF2B for ; Wed, 20 Apr 2022 16:20:09 +0200 (CEST) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 44A10C8FE for ; Wed, 20 Apr 2022 16:19:39 +0200 (CEST) Received: from bastionodiso.odiso.net (bastionodiso.odiso.net [185.151.191.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS id E3E5DC8E8 for ; Wed, 20 Apr 2022 16:19:37 +0200 (CEST) Received: from kvmformation3.odiso.net (formationkvm3.odiso.net [10.3.94.12]) by bastionodiso.odiso.net (Postfix) with ESMTP id 5E8E79E80; Wed, 20 Apr 2022 16:19:31 +0200 (CEST) Received: by kvmformation3.odiso.net (Postfix, from userid 0) id 44E9783CED; Wed, 20 Apr 2022 16:19:31 +0200 (CEST) From: Alexandre Derumier To: pve-devel@lists.proxmox.com Date: Wed, 20 Apr 2022 16:19:29 +0200 Message-Id: <20220420141930.1626073-1-aderumier@odiso.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL 0.139 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% HEADER_FROM_DIFFERENT_DOMAINS 0.248 From and EnvelopeFrom 2nd level mail domains are different KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment KAM_LAZY_DOMAIN_SECURITY 1 Sending domain does not have any anti-forgery methods NO_DNS_FOR_FROM 0.001 Envelope sender has no MX or A DNS records SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_NONE 0.001 SPF: sender does not publish an SPF Record T_SCC_BODY_TEXT_LINE -0.01 - URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [bgpplugin.pm, evpnplugin.pm] Subject: [pve-devel] [PATCH pve-network 0/1] controllers: evpn: fix multiple exit-nodes with route-map filtering X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Apr 2022 14:20:09 -0000 2 forums users have reported problems when multiple evpn exit-nodes are defined. This was because of a loop between default gw exchanged between the exit-nodes. This patch add a filtering of incoming default routes on the exit-nodes with a new route-map Alexandre Derumier (1): controllers: evpn: fix multiple exit-nodes with route-map filtering PVE/Network/SDN/Controllers/BgpPlugin.pm | 5 ++-- PVE/Network/SDN/Controllers/EvpnPlugin.pm | 23 +++++++++++++++---- .../expected_controller_config | 3 +++ .../expected_controller_config | 3 +++ .../evpn/ebgp/expected_controller_config | 3 +++ .../ebgp_loopback/expected_controller_config | 3 +++ .../evpn/exitnode/expected_controller_config | 6 +++++ .../expected_controller_config | 6 +++++ .../expected_controller_config | 3 +++ .../exitnode_snat/expected_controller_config | 6 +++++ .../evpn/ipv4/expected_controller_config | 3 +++ .../evpn/ipv4ipv6/expected_controller_config | 3 +++ .../expected_controller_config | 3 +++ .../evpn/ipv6/expected_controller_config | 3 +++ .../expected_controller_config | 3 +++ .../evpn/rt_import/expected_controller_config | 3 +++ 16 files changed, 72 insertions(+), 7 deletions(-) -- 2.30.2