From patchwork Mon Nov 4 11:04:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Huettner X-Patchwork-Id: 2006173 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" (2048-bit key; unprotected) header.d=stackit.cloud header.i=@stackit.cloud header.a=rsa-sha256 header.s=selector1 header.b=dlbMJZd+; dkim=fail reason="signature verification failed" (2048-bit key) header.d=stackit.cloud header.i=@stackit.cloud header.a=rsa-sha256 header.s=selector1 header.b=dlbMJZd+; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::133; helo=smtp2.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=patchwork.ozlabs.org) Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) (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 4XhpXW25Wsz1xxN for ; Mon, 4 Nov 2024 22:05:15 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 83C964064D; Mon, 4 Nov 2024 11:05:13 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 7JcUW2pVZMC9; Mon, 4 Nov 2024 11:05:10 +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 smtp2.osuosl.org CD6E340594 Authentication-Results: smtp2.osuosl.org; dkim=fail reason="signature verification failed" (2048-bit key, unprotected) header.d=stackit.cloud header.i=@stackit.cloud header.a=rsa-sha256 header.s=selector1 header.b=dlbMJZd+; dkim=fail reason="signature verification failed" (2048-bit key) header.d=stackit.cloud header.i=@stackit.cloud header.a=rsa-sha256 header.s=selector1 header.b=dlbMJZd+ Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp2.osuosl.org (Postfix) with ESMTPS id CD6E340594; Mon, 4 Nov 2024 11:04:59 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 2D7A6C08B4; Mon, 4 Nov 2024 11:04:59 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [IPv6:2605:bc80:3010::133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 19901C08A8 for ; Mon, 4 Nov 2024 11:04:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 19B504063F for ; Mon, 4 Nov 2024 11:04:36 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id gsQBSrCMCwn0 for ; Mon, 4 Nov 2024 11:04:33 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a01:111:f403:260d::61b; helo=eur03-dba-obe.outbound.protection.outlook.com; envelope-from=felix.huettner@stackit.cloud; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 47494405B1 Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=reject dis=none) header.from=stackit.cloud DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 47494405B1 Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on2061b.outbound.protection.outlook.com [IPv6:2a01:111:f403:260d::61b]) by smtp2.osuosl.org (Postfix) with ESMTPS id 47494405B1 for ; Mon, 4 Nov 2024 11:04:33 +0000 (UTC) ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=u2H0hhNtgkhphquXswM6afzYCiFXEgARlxHuvQCvPZd7Yoq849v7T4s4pnSrI4cOnjCKgXiBALkbkWuPfuCri41t8yjMlWmoMqJhXcXSv09YY5AgkwZPG3tjUHm9wmC6+QhSrZ389eLJws4mGqh10ZsZcmb/nYaF2UOQPFwYABtLweEOAQV6l8ktZE68H1a8Q87OCKaH46xdN9DIf2hxYxuKOu03shrYSSSb1LkcxuwNDUOxb5lgGW9XkIVq/JqzPDgT3ESiW4vMEtFZcNTF98xoFcDNniQggCcoht5bPd1x6rZFHFztkcvqrAbTnNUOSNBlenIF2JIjhTGX1XWaNw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=weXdITvYFYpPg5jw9Pvl2/e4Ei5zNn7yiJ7w57LmiLk=; b=aI0fK364CQc0tmxsd/MomwZPBJcatmXkqBRXA8Su8nqdGNyewJLr2b4BSk1oRgfTS9uexwfdsrxInpQX+TRFpteTrdthgwLQTtlS8dMGnhiejO0oBlxkiAMyxbys9aQtoihmnq1T93xcGJEvT8e+Pcgk5q73Bh2eKpYmUu0b2/+woeoU0pIWNFUiuZM1qS6elVc2wgdgisGnNEvT+JVfS3ciaLUtRwBzkMXmO6w2KB1LkpzG3ZB2G33/kQmccD9JroXe5jJSQvoc4m2zCMog1C3rDnjG7i5fHRNREtQctl7J4e2Ts5DJz/up3F+hIrSwtrkpdzPBIVQbgrACuNkSaA== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=fail (sender ip is 52.169.0.179) smtp.rcpttodomain=openvswitch.org smtp.mailfrom=stackit.cloud; dmarc=pass (p=reject sp=none pct=100) action=none header.from=stackit.cloud; dkim=pass (signature was verified) header.d=stackit.cloud; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=stackit.cloud] dkim=[1,1,header.d=stackit.cloud] dmarc=[1,1,header.from=stackit.cloud]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stackit.cloud; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=weXdITvYFYpPg5jw9Pvl2/e4Ei5zNn7yiJ7w57LmiLk=; b=dlbMJZd+nC/tpzEAHyK0OIraywkjGEQIm6VMGHaFGYBGzROMVwNBsJN5lfJ/7bI3HxWXgyCyA2kA9Iz9Mb1uckFjbDLM28FzYFkTbvkr1wnaC2c+X6r7PB0IdFwrbO95m+r5lj4Vt4sqocNGvGUydT4/OZ7Qw7bJy/q3/M6Vcpwo94vW+o3iFVra4PQdxXWP2I7HBF+RvzIKVNGcj79lJzE04UkKJykeyqLdNS7GfkXR2PRRCjzuwRtOO944LhBhS+ZVBz7RmcfTGIufBX1Cr9OqVt0dzSrJT1TPd2VbmeRzrAYyq7hnDRr1dLekSiGXip4QAFnu3QdONLi9jMrjBw== Received: from DU7P190CA0028.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:550::14) by AS2PR10MB7779.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:647::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.15; Mon, 4 Nov 2024 11:04:30 +0000 Received: from DB1PEPF000509F5.eurprd02.prod.outlook.com (2603:10a6:10:550:cafe::9b) by DU7P190CA0028.outlook.office365.com (2603:10a6:10:550::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8114.30 via Frontend Transport; Mon, 4 Nov 2024 11:04:30 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 52.169.0.179) smtp.mailfrom=stackit.cloud; dkim=pass (signature was verified) header.d=stackit.cloud;dmarc=pass action=none header.from=stackit.cloud; Received-SPF: Fail (protection.outlook.com: domain of stackit.cloud does not designate 52.169.0.179 as permitted sender) receiver=protection.outlook.com; client-ip=52.169.0.179; helo=eu2.smtp.exclaimer.net; Received: from eu2.smtp.exclaimer.net (52.169.0.179) by DB1PEPF000509F5.mail.protection.outlook.com (10.167.242.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.17 via Frontend Transport; Mon, 4 Nov 2024 11:04:28 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (104.47.18.111) by eu2.smtp.exclaimer.net (52.169.0.179) with Exclaimer Signature Manager ESMTP Proxy eu2.smtp.exclaimer.net (tlsversion=TLS12, tlscipher=TLS_DIFFIEHELLMAN_WITH_AES256_NONE); Mon, 4 Nov 2024 11:04:29 +0000 X-ExclaimerHostedSignatures-MessageProcessed: true X-ExclaimerProxyLatency: 4353208 X-ExclaimerImprintLatency: 2367381 X-ExclaimerImprintAction: 2a6117f0f8c64f8f80bf5c1f102cdf6a ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=pTRUaqJu2SqQy9r+JHOQhP4Hzta1PHTZ5G+4+mm9m4TkVdvhPUOuRcz2fUrMdT7ao6XaPhPetGIPzYj45w8LBPO9xLgpfLz02G6HCqdpTI8KnKqVYUHXybYvRydapHPNYIGFJl7fNs86mNdKMyxhHtz3oIxXZ9eEjcDiZC8vSxyLsJguOjdAp8Xs7dMks4aWwjdTZky/A8C5hUTdsS2yiDVkkwFuQHy5QwBZAcNDF0eZvMxevVa7+BLseJJh+HChkt5TjxNvEKgf17StnpySxsyoc1aAk2dQrNhyQm4dut4cqG2kJ8Q5qbQ1QLk1FGNBE2wUyvKofYyQ/a9fnJCIdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=weXdITvYFYpPg5jw9Pvl2/e4Ei5zNn7yiJ7w57LmiLk=; b=B42SmmH/KY7RfPl3wbzi7gPKGAHmX0O+VER9wDGiyY4ph01XD4pEl4kDIfbbMEyRE3NRSIREAhL/GIrnjnwU1iTQAJoXoHrJhFsVxMFMib6Vou5OdIuXYeHs4yu0z9zmcshVFcWiZDzT+iUSqddjHvphGIl26I4L98JIOg5vgkdSz+z0Na4OrtMK1CT1zbRCUzh82vSwCbER8nv99yZyLEKchkduhRLkORl2582RprGiKeXqS4Ub0ys3ZnAK1QRFaojD8wZFJx2qdAtqhlOYHr5ZxCS8eDX8lciGrKcfIzrBhkQ4+YvjoqIFVD9OrnA/bqUbveXPFYMRka2bT3UwoQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stackit.cloud; dmarc=pass action=none header.from=stackit.cloud; dkim=pass header.d=stackit.cloud; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stackit.cloud; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=weXdITvYFYpPg5jw9Pvl2/e4Ei5zNn7yiJ7w57LmiLk=; b=dlbMJZd+nC/tpzEAHyK0OIraywkjGEQIm6VMGHaFGYBGzROMVwNBsJN5lfJ/7bI3HxWXgyCyA2kA9Iz9Mb1uckFjbDLM28FzYFkTbvkr1wnaC2c+X6r7PB0IdFwrbO95m+r5lj4Vt4sqocNGvGUydT4/OZ7Qw7bJy/q3/M6Vcpwo94vW+o3iFVra4PQdxXWP2I7HBF+RvzIKVNGcj79lJzE04UkKJykeyqLdNS7GfkXR2PRRCjzuwRtOO944LhBhS+ZVBz7RmcfTGIufBX1Cr9OqVt0dzSrJT1TPd2VbmeRzrAYyq7hnDRr1dLekSiGXip4QAFnu3QdONLi9jMrjBw== Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=stackit.cloud; Received: from PAVPR10MB6914.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:30d::9) by PR3PR10MB4112.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:af::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.17; Mon, 4 Nov 2024 11:04:25 +0000 Received: from PAVPR10MB6914.EURPRD10.PROD.OUTLOOK.COM ([fe80::f00d:feeb:e45e:54f8]) by PAVPR10MB6914.EURPRD10.PROD.OUTLOOK.COM ([fe80::f00d:feeb:e45e:54f8%7]) with mapi id 15.20.8137.013; Mon, 4 Nov 2024 11:04:25 +0000 Date: Mon, 4 Nov 2024 12:04:23 +0100 To: dev@openvswitch.org Message-ID: Mail-Followup-To: dev@openvswitch.org References: Content-Disposition: inline In-Reply-To: X-please-dont-add-a-signature: thanks X-ClientProxiedBy: FR3P281CA0118.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a3::13) To PAVPR10MB6914.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:102:30d::9) MIME-Version: 1.0 X-MS-TrafficTypeDiagnostic: PAVPR10MB6914:EE_|PR3PR10MB4112:EE_|DB1PEPF000509F5:EE_|AS2PR10MB7779:EE_ X-MS-Office365-Filtering-Correlation-Id: 8890d6d0-127e-4d0b-daea-08dcfcc07401 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0;ARA:13230040|366016|376014|1800799024; X-Microsoft-Antispam-Message-Info-Original: oLZlJe2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hRo8z3dYKfslQh1ICF+vBZ3MRES3ds6oJ6HuOE7M5q214sH6gKCqF0SBX6z2o8tXIaIAv+lDbMikTiXns1RBlzZhUxBDPF5AH8AsBIuH8bXFSomV0p70gH+sPBsEoATlgVF8q1lzNpLxEgjdihY8vUEAT98InTAA3pTGZrt6geMtzgc9aIONekZhWElH2jM+Ptx0BnjYGhlCilpazaZa8fcsWYN4VBWmfkY2D/ePb0XBsetQRAOG+PVN96Du X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAVPR10MB6914.EURPRD10.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR10MB4112 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB1PEPF000509F5.eurprd02.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 03e93887-6c4e-4e75-20fe-08dcfcc071e6 X-Microsoft-Antispam: BCL:0; ARA:13230040|14060799003|35042699022|36860700013|376014|1800799024|82310400026; X-Microsoft-Antispam-Message-Info: VXfrcHckYEMYbfzbOmmh4fPmqHJu2gKbT9H8WN+4Tc3gxfwHZc65fQJwxDma8XAl5fEJIAdXut7DZo/uK0lMfLmU6XfMsXSXXWLS6LGj8QR8GNmi4AAvIGzggB3si3+IyCyGWeb9CwzXMlC9lqICqbomFgkzzQYgKKzNnsIYCmOm/T3qa0ibhl3AeGk9W3tLSF+xRAEpUL/m6VGrFTrSjKKS6C9lvbmk3G0A1lCQ5Ia63DJ3p85X+69RyhlcX+n4mujZnfGVORrnqtDE0xRw6HX08vf60Nc+usIxInnZRGyGk2qbN2EQiNDgQu4RvEWqGZvOsGfsBxrCtIT5UUSLcSdjuWDh/pSnBXGSLD2myL0ZyKTnYEk0SrK8/T8PDdshzB6t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CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:eu2.smtp.exclaimer.net; PTR:eu2.smtp.exclaimer.net; CAT:NONE; SFS:(13230040)(14060799003)(35042699022)(36860700013)(376014)(1800799024)(82310400026); DIR:OUT; SFP:1101; X-OriginatorOrg: stackit.cloud X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Nov 2024 11:04:28.7310 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8890d6d0-127e-4d0b-daea-08dcfcc07401 X-MS-Exchange-CrossTenant-Id: d04f4717-5a6e-4b98-b3f9-6918e0385f4c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=d04f4717-5a6e-4b98-b3f9-6918e0385f4c; Ip=[52.169.0.179]; Helo=[eu2.smtp.exclaimer.net] X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF000509F5.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS2PR10MB7779 Subject: [ovs-dev] [PATCH ovn v2 14/32] northd: Remove learned routes if lrp is removed. X-BeenThere: ovs-dev@openvswitch.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Felix Huettner via dev From: Felix Huettner Reply-To: Felix Huettner Errors-To: ovs-dev-bounces@openvswitch.org Sender: "dev" learned routes must be bound to a lrp on which the routes where learned. In case the lrp is deleted for whatever reason no ovn-controller would clean these routes up, therefor we do this in northd. Signed-off-by: Felix Huettner --- northd/en-northd.c | 2 ++ northd/inc-proc-northd.c | 1 + northd/northd.c | 31 ++++++++++++++++++++++++++++--- northd/northd.h | 1 + 4 files changed, 32 insertions(+), 3 deletions(-) diff --git a/northd/en-northd.c b/northd/en-northd.c index 6e90336f6..8152ccbcf 100644 --- a/northd/en-northd.c +++ b/northd/en-northd.c @@ -101,6 +101,8 @@ northd_get_input_data(struct engine_node *node, EN_OVSDB_GET(engine_get_input("SB_chassis_template_var", node)); input_data->sbrec_mirror_table = EN_OVSDB_GET(engine_get_input("SB_mirror", node)); + input_data->sbrec_route_table = + EN_OVSDB_GET(engine_get_input("SB_route", node)); struct ed_type_lb_data *lb_data = engine_get_input_data("lb_data", node); diff --git a/northd/inc-proc-northd.c b/northd/inc-proc-northd.c index 741295709..59cb50853 100644 --- a/northd/inc-proc-northd.c +++ b/northd/inc-proc-northd.c @@ -204,6 +204,7 @@ void inc_proc_northd_init(struct ovsdb_idl_loop *nb, engine_add_input(&en_northd, &en_sb_service_monitor, NULL); engine_add_input(&en_northd, &en_sb_static_mac_binding, NULL); engine_add_input(&en_northd, &en_sb_chassis_template_var, NULL); + engine_add_input(&en_northd, &en_sb_route, NULL); engine_add_input(&en_northd, &en_sb_fdb, northd_sb_fdb_change_handler); engine_add_input(&en_northd, &en_global_config, northd_global_config_handler); diff --git a/northd/northd.c b/northd/northd.c index b4412e70c..d93137a2d 100644 --- a/northd/northd.c +++ b/northd/northd.c @@ -3417,6 +3417,28 @@ cleanup_mac_bindings( } } +/* Remove received route entries that refer to logical_ports which are + * deleted. */ +static void +cleanup_routes( + const struct sbrec_route_table *sbrec_route_table, + struct hmap *lr_datapaths, struct hmap *lr_ports) +{ + const struct sbrec_route *r; + SBREC_ROUTE_TABLE_FOR_EACH_SAFE (r, sbrec_route_table) { + const struct ovn_datapath *od = + ovn_datapath_from_sbrec(NULL, lr_datapaths, r->datapath); + if (strcmp(r->type, "receive")) { + continue; + } + + if (!od || ovn_datapath_is_stale(od) || + !ovn_port_find(lr_ports, r->logical_port)) { + sbrec_route_delete(r); + } + } +} + static void cleanup_sb_ha_chassis_groups( const struct sbrec_ha_chassis_group_table *sbrec_ha_chassis_group_table, @@ -4220,6 +4242,7 @@ build_ports(struct ovsdb_idl_txn *ovnsb_txn, const struct sbrec_mirror_table *sbrec_mirror_table, const struct sbrec_mac_binding_table *sbrec_mac_binding_table, const struct sbrec_ha_chassis_group_table *sbrec_ha_chassis_group_table, + const struct sbrec_route_table *sbrec_route_table, struct ovsdb_idl_index *sbrec_chassis_by_name, struct ovsdb_idl_index *sbrec_chassis_by_hostname, struct ovsdb_idl_index *sbrec_ha_chassis_grp_by_name, @@ -4245,7 +4268,7 @@ build_ports(struct ovsdb_idl_txn *ovnsb_txn, &tag_alloc_table, &sb_only, &nb_only, &both); /* Purge stale Mac_Bindings if ports are deleted. */ - bool remove_mac_bindings = !ovs_list_is_empty(&sb_only); + bool any_sb_port_deleted = !ovs_list_is_empty(&sb_only); /* Assign explicitly requested tunnel ids first. */ struct ovn_port *op; @@ -4287,7 +4310,7 @@ build_ports(struct ovsdb_idl_txn *ovnsb_txn, * Mac_Bindings are purged. */ if (op->od->sb != op->sb->datapath) { - remove_mac_bindings = true; + any_sb_port_deleted = true; } if (op->nbsp) { tag_alloc_create_new_tag(&tag_alloc_table, op->nbsp); @@ -4333,8 +4356,9 @@ build_ports(struct ovsdb_idl_txn *ovnsb_txn, hmap_insert(lr_ports, &op->key_node, op->key_node.hash); } - if (remove_mac_bindings) { + if (any_sb_port_deleted) { cleanup_mac_bindings(sbrec_mac_binding_table, lr_datapaths, lr_ports); + cleanup_routes(sbrec_route_table, lr_datapaths, lr_ports); } tag_alloc_destroy(&tag_alloc_table); @@ -19021,6 +19045,7 @@ ovnnb_db_run(struct northd_input *input_data, input_data->sbrec_mirror_table, input_data->sbrec_mac_binding_table, input_data->sbrec_ha_chassis_group_table, + input_data->sbrec_route_table, input_data->sbrec_chassis_by_name, input_data->sbrec_chassis_by_hostname, input_data->sbrec_ha_chassis_grp_by_name, diff --git a/northd/northd.h b/northd/northd.h index 126d58626..7b318087a 100644 --- a/northd/northd.h +++ b/northd/northd.h @@ -51,6 +51,7 @@ struct northd_input { const struct sbrec_chassis_template_var_table *sbrec_chassis_template_var_table; const struct sbrec_mirror_table *sbrec_mirror_table; + const struct sbrec_route_table *sbrec_route_table; /* Northd lb data node inputs*/ const struct hmap *lbs;