From patchwork Thu Oct 22 03:54:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Pfaff X-Patchwork-Id: 1385915 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ovn.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CGtm30hRFz9sT6 for ; Thu, 22 Oct 2020 14:54:43 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 7174886D50; Thu, 22 Oct 2020 03:54:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C016JmUDqiDw; Thu, 22 Oct 2020 03:54:38 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by fraxinus.osuosl.org (Postfix) with ESMTP id CD1E7869BC; Thu, 22 Oct 2020 03:54:35 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9EDB9C1AD5; Thu, 22 Oct 2020 03:54:35 +0000 (UTC) X-Original-To: dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by lists.linuxfoundation.org (Postfix) with ESMTP id A3134C0052 for ; Thu, 22 Oct 2020 03:54:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 90A53204DB for ; Thu, 22 Oct 2020 03:54:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ok-jtRLeHWcX for ; Thu, 22 Oct 2020 03:54:31 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [217.70.183.193]) by silver.osuosl.org (Postfix) with ESMTPS id 77CF3204E6 for ; Thu, 22 Oct 2020 03:54:31 +0000 (UTC) X-Originating-IP: 75.54.222.30 Received: from sigfpe.attlocal.net (75-54-222-30.lightspeed.rdcyca.sbcglobal.net [75.54.222.30]) (Authenticated sender: blp@ovn.org) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 2F3B3240005; Thu, 22 Oct 2020 03:54:26 +0000 (UTC) From: Ben Pfaff To: dev@openvswitch.org Date: Wed, 21 Oct 2020 20:54:09 -0700 Message-Id: <20201022035415.33541-2-blp@ovn.org> X-Mailer: git-send-email 2.26.2 In-Reply-To: <20201022035415.33541-1-blp@ovn.org> References: <20201022035415.33541-1-blp@ovn.org> MIME-Version: 1.0 Cc: Ben Pfaff Subject: [ovs-dev] [PATCH ovn 2/8] ovn-nb, ovn-sb: Document that LSPs and LRPs must not share names. 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" Signed-off-by: Ben Pfaff --- ovn-nb.xml | 10 ++++++++++ ovn-sb.xml | 13 +++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/ovn-nb.xml b/ovn-nb.xml index 38724f3851b1..5a8ac4a0d0e0 100644 --- a/ovn-nb.xml +++ b/ovn-nb.xml @@ -545,6 +545,11 @@ unique identifier. See Containers, below, for more information.

+ +

+ A logical switch port may not have the same name as a logical router + port, but the database schema cannot enforce this. +

@@ -2093,6 +2098,11 @@ in or another logical router port in .

+ +

+ A logical router port may not have the same name as a logical switch + port, but the database schema cannot enforce this. +

diff --git a/ovn-sb.xml b/ovn-sb.xml index 182ff0a8a282..15d47ef039cc 100644 --- a/ovn-sb.xml +++ b/ovn-sb.xml @@ -2610,10 +2610,15 @@ tcp.flags = RST; - A logical port, taken from in the OVN_Northbound - database's - table. OVN does not prescribe a particular format for the + A logical port. For a logical switch port, this is taken from in the + OVN_Northbound database's table. For a logical router port, this is taken + from in the OVN_Northbound database's table. (This means + that logical switch ports and router port names must share names in an + OVN deployment.) OVN does not prescribe a particular format for the logical port ID.