From patchwork Thu Mar 7 13:19:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lorenzo Bianconi X-Patchwork-Id: 1909242 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fg2zyBdi; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Tr8z95xt5z1yX8 for ; Fri, 8 Mar 2024 00:19:33 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 85EC4401F9; Thu, 7 Mar 2024 13:19:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Se7kYPpEm0A8; Thu, 7 Mar 2024 13:19:30 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=2605:bc80:3010:104::8cd3:938; helo=lists.linuxfoundation.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 0CB7A40199 Authentication-Results: smtp4.osuosl.org; dkim=fail reason="signature verification failed" (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fg2zyBdi Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp4.osuosl.org (Postfix) with ESMTPS id 0CB7A40199; Thu, 7 Mar 2024 13:19:30 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id CF72EC0077; Thu, 7 Mar 2024 13:19:29 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) by lists.linuxfoundation.org (Postfix) with ESMTP id 4AEA3C0037 for ; Thu, 7 Mar 2024 13:19:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3AAF0828A9 for ; Thu, 7 Mar 2024 13:19:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Osly32eDiTKj for ; Thu, 7 Mar 2024 13:19:27 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=170.10.129.124; helo=us-smtp-delivery-124.mimecast.com; envelope-from=lorenzo.bianconi@redhat.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 3064B827FD Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=redhat.com DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 3064B827FD Authentication-Results: smtp1.osuosl.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fg2zyBdi Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp1.osuosl.org (Postfix) with ESMTPS id 3064B827FD for ; Thu, 7 Mar 2024 13:19:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1709817564; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=S4avLukH/X7BfDxV6pNdzbrvo83UWOBcMhXYhx1MGLE=; b=fg2zyBdi2GXPO0ry/8a44tuQaRfborKmo4FwvbS0XoImejl1NdaFL0t5OZKuQjzJqiX15J 2yU9lNPxU7cFWPXOGs+Zo/wOiJwYhvIi4gWCmH9zxZnwxeN5A/akkOZcYU9EonmIxMjLzW ENSBolSEOrsKKoTdzU7jUEJeURF7pvU= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-1-iTMWsk3BNwGrZ8OgOh9_Tw-1; Thu, 07 Mar 2024 08:19:23 -0500 X-MC-Unique: iTMWsk3BNwGrZ8OgOh9_Tw-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2d4143a6201so2315001fa.3 for ; Thu, 07 Mar 2024 05:19:22 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709817561; x=1710422361; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=S4avLukH/X7BfDxV6pNdzbrvo83UWOBcMhXYhx1MGLE=; b=OOC46fnnq85f/9GLVv9QVomEX2RdUCGrG5meEByfBsw6346vLsH5yu7WBldUCPrmBN Ms1WbVw6YKHAFcGXAAj0AtFl2bZm+v5kAbE07UKB8VgXCbi/gk+yqALo3wHIP2/JA5ym x4kpawZibmtDX9QwPftvLwhbjbxDAxCw7JuMMhPs89w485z+gYstyFYziDuAuWNWGjpP 8yU+FeB3bbJIIJh41uLd/4u4o88ZlvpRWVj6CBZUdO3fJAJCprGi16/zn5gdymNj+N0s M8n4rMQZEis7aM1rKJNWD2oMN7fjl2/CXukTPvYrQM3K5x+sRsl9lCgUxDovcLSg0gmA v6vA== X-Gm-Message-State: AOJu0Yxvbpo1chaImPxWCZkKp0Qi8QOrQgdzdT7ULF5xIt3xQwZRde09 O1GU7c99Eebtk+71MZkNGDdzEuWhMRGmXPRBQPX319KikLTLkxiedwbyUV5BQ3zvZf6JxoMBndi 2rMgl+IEa871sQJ2yrPvh8NsUNSzqNiZNV30wU74xQVTKP9kxcwSW/iM+k7ARQKT5c98S4e413Y yzfV9Bhuavf14mbgmkc09VCI8Yq+gtinUmZMzdt7FKpxmW X-Received: by 2002:a05:651c:1252:b0:2d2:a4e2:bb84 with SMTP id h18-20020a05651c125200b002d2a4e2bb84mr1160878ljh.47.1709817561156; Thu, 07 Mar 2024 05:19:21 -0800 (PST) X-Google-Smtp-Source: AGHT+IEI6AhjhWxFw5meNLz/KNpMPG26RrwSGRkWwuFEOr9GCp6Brziy4MiDzeoh/5daz8hk3stRkg== X-Received: by 2002:a05:651c:1252:b0:2d2:a4e2:bb84 with SMTP id h18-20020a05651c125200b002d2a4e2bb84mr1160862ljh.47.1709817560432; Thu, 07 Mar 2024 05:19:20 -0800 (PST) Received: from localhost (net-93-71-3-198.cust.vodafonedsl.it. [93.71.3.198]) by smtp.gmail.com with ESMTPSA id er15-20020a05600c84cf00b00412ff07df2bsm2592822wmb.37.2024.03.07.05.19.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 05:19:20 -0800 (PST) From: Lorenzo Bianconi To: dev@openvswitch.org Date: Thu, 7 Mar 2024 14:19:10 +0100 Message-ID: X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Cc: dceara@redhat.com Subject: [ovs-dev] [PATCH ovn 0/3] Introduce ECMP_nexthop monitor in ovn-controller X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" Reported-at: https://issues.redhat.com/browse/FDP-56 Lorenzo Bianconi (3): northd: Introduce ECMP_Nexthop table in SB db. northd: Add nexhop id in ct_label.label. ofctrl: Introduce ecmp_nexthop_monitor. controller/ofctrl.c | 102 ++++++++++++++ controller/ofctrl.h | 2 + controller/ovn-controller.c | 2 + northd/en-northd.c | 4 + northd/inc-proc-northd.c | 8 +- northd/northd.c | 109 ++++++++++++++- northd/northd.h | 3 + ovn-sb.ovsschema | 15 +- ovn-sb.xml | 19 +++ tests/ovn-northd.at | 4 + tests/ovn.at | 4 +- tests/system-ovn-kmod.at | 263 ++++++++++++++++++++++++++++++++++++ tests/system-ovn.at | 52 ++++--- 13 files changed, 557 insertions(+), 30 deletions(-)