From patchwork Fri Mar 13 22:32:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Pfaff X-Patchwork-Id: 1254704 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.138; helo=whitealder.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 whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48fL782M11z9sPF for ; Sat, 14 Mar 2020 09:32:52 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 89D4D88EA4; Fri, 13 Mar 2020 22:32:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bCAnj-GBdh8B; Fri, 13 Mar 2020 22:32:46 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id 01FF188E60; Fri, 13 Mar 2020 22:32:46 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id B5614C089F; Fri, 13 Mar 2020 22:32:45 +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 6069FC0177 for ; Fri, 13 Mar 2020 22:32:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 4A6632381E for ; Fri, 13 Mar 2020 22:32:43 +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 U8Q-3lmaohaf for ; Fri, 13 Mar 2020 22:32:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by silver.osuosl.org (Postfix) with ESMTPS id 9153223724 for ; Fri, 13 Mar 2020 22:32:40 +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 relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 4FB501C0004; Fri, 13 Mar 2020 22:32:36 +0000 (UTC) From: Ben Pfaff To: dev@openvswitch.org Date: Fri, 13 Mar 2020 15:32:24 -0700 Message-Id: <20200313223227.2914645-3-blp@ovn.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20200313223227.2914645-1-blp@ovn.org> References: <20200313223227.2914645-1-blp@ovn.org> MIME-Version: 1.0 Cc: Han Zhou , Ben Pfaff Subject: [ovs-dev] [PATCH 2/5] ovn-architecture: Correct documentation of localnet ports. 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" Their LSes can have multiple additional LSPs, not just one. Suggested-by: Han Zhou Signed-off-by: Ben Pfaff --- ovn-architecture.7.xml | 29 ++++++++++++++++++++--------- 1 file changed, 20 insertions(+), 9 deletions(-) diff --git a/ovn-architecture.7.xml b/ovn-architecture.7.xml index 415c895e497f..3e1bb7237b2a 100644 --- a/ovn-architecture.7.xml +++ b/ovn-architecture.7.xml @@ -441,17 +441,28 @@

A localnet logical switch port bridges a logical switch to a - physical VLAN. A logical switch with a localnet LSP should - have only one other LSP. Some kinds of gateways (see Gateways - below) use a logical switch with a router port as the second LSP. On the - other hand, when the second LSP is a VIF, the logical switch is not really - a logical network, since it is bridged to the physical network rather than - insulated from it, and therefore cannot have independent but overlapping IP - address namespaces, etc. (A deployment might nevertheless choose such a - configuration to take advantage of the OVN control plane and features such - as port security and ACLs.) + physical VLAN. Any given logical switch should have no more than one + localnet port. Such a logical switch is used in two + scenarios:

+
    +
  • + With one or more router logical switch ports, to attach L3 + gateway routers and distributed gateways to a physical network. +
  • + +
  • + With one or more VIF logical switch ports, to attach VMs or containers + directly to a physical network. In this case, the logical switch is not + really logical, since it is bridged to the physical network rather than + insulated from it, and therefore cannot have independent but overlapping + IP address namespaces, etc. A deployment might nevertheless choose such + a configuration to take advantage of the OVN control plane and features + such as port security and ACLs. +
  • +
+

A localport logical switch port is a special kind of VIF logical switch port. These ports are present in every chassis, not bound