From patchwork Wed Mar 16 20:25:47 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Darrell Ball X-Patchwork-Id: 598761 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (archives.nicira.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 3qQNKz2nByz9ssP for ; Thu, 17 Mar 2016 07:26:15 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=xwPzNsaY; dkim-atps=neutral Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id F339210673; Wed, 16 Mar 2016 13:26:01 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v3.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id 93B3B1064C for ; Wed, 16 Mar 2016 13:26:00 -0700 (PDT) Received: from bar6.cudamail.com (localhost [127.0.0.1]) by mx3v3.cudamail.com (Postfix) with ESMTPS id 285EB161C28 for ; Wed, 16 Mar 2016 14:26:00 -0600 (MDT) X-ASG-Debug-ID: 1458159959-0b32372761a4d80001-byXFYA Received: from mx1-pf1.cudamail.com ([192.168.24.1]) by bar6.cudamail.com with ESMTP id 26L9DUoSSEOPGgtG (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 16 Mar 2016 14:25:59 -0600 (MDT) X-Barracuda-Envelope-From: dlu998@gmail.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.24.1 Received: from unknown (HELO mail-pf0-f193.google.com) (209.85.192.193) by mx1-pf1.cudamail.com with ESMTPS (RC4-SHA encrypted); 16 Mar 2016 20:25:58 -0000 Received-SPF: pass (mx1-pf1.cudamail.com: SPF record at _netblocks.google.com designates 209.85.192.193 as permitted sender) X-Barracuda-Apparent-Source-IP: 209.85.192.193 X-Barracuda-RBL-IP: 209.85.192.193 Received: by mail-pf0-f193.google.com with SMTP id x3so8042519pfb.0 for ; Wed, 16 Mar 2016 13:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2oUu1f4NK43QGIk8VYU8UWbQADGYap5Dtwht+i3Yk0c=; b=xwPzNsaYkZmgc6fPEANFDUFk0gmLok6x/XT8MMuAW2aPWZn68tyr7BIBWayLbgqioJ chsaJIU8CjmGOeFRZBgmYcSYs2AULKeZschEFyRXaD58oWb6Iw7+5leuZTCeOz/NIhqd ZRTr+mQXpbEp8EIEincx+mzUoWPeJxNmU0QYiW3FRICu0s+t6IVwwf5Q3wo1aJeqwFlD solCfaIBsqDGtzBJby+FCG0LLXIvLssc1o/hYlJ7dp4+D44TyHrrlgSG6XWW3Rd4eRG1 FE3zwN8iVyMoT69VO/MuDZlsrlLw+Lke+wP+6dxn2Pb/AZe/Vc2qwJ81Nivq0FdZc8vZ rXXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=2oUu1f4NK43QGIk8VYU8UWbQADGYap5Dtwht+i3Yk0c=; b=h6tnK9b0kdufFMmEkNzrkLCJ6fYC2gRqh6AWfVFsRxwKvKY+NvZGcUMrcoiuEFK+QZ 6EFWotKYAvlg6Fb8JE5+myH5tO4qS1JxOgXhjBYTcPzuFsgyxtg+ULRSFaPMJb4qeasd P4UJszmXLv/x/rTl7LFfpxDkb1T8QZP2IBzeb8KDs4BpeBlO+ZU6wy6vu1+Py1PQuV27 zPyp9bpyhYIIdKZJlrHmH2NgVBQqSFJyY2MT5eFpU9JXEkqnVPir+Y5YSWrmitbybuP2 jrt8R7zA68NcVN/19kQ26EOqwWvZ4HrK86mKpqqIMcvrFQFb48SFFfa6vE/xGOLOdh1H X7cQ== X-Gm-Message-State: AD7BkJJx1VyFkTf/+B9fgh3ABkotqcZ9ygl5xjMMrOiZdKGbS6ncf1nvHeuvMR3EkADaYQ== X-Received: by 10.66.102.37 with SMTP id fl5mr9063305pab.32.1458159958102; Wed, 16 Mar 2016 13:25:58 -0700 (PDT) Received: from localhost.localdomain ([208.91.2.3]) by smtp.gmail.com with ESMTPSA id h2sm7681018pfd.91.2016.03.16.13.25.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Mar 2016 13:25:57 -0700 (PDT) X-CudaMail-Envelope-Sender: dlu998@gmail.com From: Darrell Ball X-Google-Original-From: Darrell Ball To: dev@openvswitch.org X-CudaMail-MID: CM-E1-315082808 X-CudaMail-DTE: 031616 X-CudaMail-Originating-IP: 209.85.192.193 Date: Wed, 16 Mar 2016 13:25:47 -0700 X-ASG-Orig-Subj: [##CM-E1-315082808##][PATCH 2/6] Add physical endpts and binding to logical ports to SB schema doc Message-Id: <1458159951-21345-3-git-send-email-dball@vmware.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1458159951-21345-1-git-send-email-dball@vmware.com> References: <1458159951-21345-1-git-send-email-dball@vmware.com> X-GBUdb-Analysis: 0, 209.85.192.193, Ugly c=0.331706 p=-0.04 Source Normal X-MessageSniffer-Rules: 0-0-0-9642-c X-Barracuda-Connect: UNKNOWN[192.168.24.1] X-Barracuda-Start-Time: 1458159959 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.60 X-Barracuda-Spam-Status: No, SCORE=0.60 using per-user scores of TAG_LEVEL=3.5 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.0 tests=BSF_SC5_MJ1963, DKIM_SIGNED, RDNS_NONE X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.27910 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 DKIM_SIGNED Domain Keys Identified Mail: message has a signature 0.10 RDNS_NONE Delivered to trusted network by a host with no rDNS 0.50 BSF_SC5_MJ1963 Custom Rule MJ1963 Subject: [ovs-dev] [PATCH 2/6] Add physical endpts and binding to logical ports to SB schema doc X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" Signed-off-by: Darrell Ball --- ovn/ovn-sb.xml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/ovn/ovn-sb.xml b/ovn/ovn-sb.xml index d62f1e4..fce7123 100644 --- a/ovn/ovn-sb.xml +++ b/ovn/ovn-sb.xml @@ -1168,6 +1168,66 @@ tcp.flags = RST; + +

+ Each row in this table identifies an endpoint on a physical access + network. The table references physical + endpoints for localnet and gateways. A physical endpoint comprises + both a location on a chassis port and encapsulation for access. + A given chassis port location can have several encapsulations + and therefore physical endpoints. +

+ +

+ For localnet physical endpoints, chassis name and chassis port + can be supplied as dummy arguments or omitted. If chassis and + port are omitted, the same encapsulation on all HVs part of a + given localnet is implied and a single logical port could be used. + Then, the physical endpoint is bound to the localnet logical port. + If multiple encapsulations are needed, multiple physical endpoints + would be defined and bound to separate localnet logical ports. + If no physical endpt is bound to a localnet, encap is assumed empty. +

+ +

+ For gateways, a single physical endpoint must be bound to each + logical port. The chassis name of the physical endpoint must + match the chassis system-id. +

+ + + Unique name to reference the physical endpoint. + + + + The transport node the physical endpoint resides on. + + + + The port on the transport node the physical endpoint resides on. + Context is the associated transport node. + + + + The encapsulation type of the physical endpoint. Types include + single vlan for now, but later support for mpls label stack, + IP tunnel outer header and dual vlan. Note that encapsulations + are often directionally different, meaning the encapsulation + expected on ingress is different from the encapsulation + for egressing packets; mpls labels and IP tunnels being + two examples. + + + + The ingress encapsulation type of the physical endpoint. + + + + The egress encapsulation type of the physical endpoint. + + +
+

Most rows in this table identify the physical location of a logical port. @@ -1222,6 +1282,13 @@ tcp.flags = RST; ovn-controller/ovn-controller-vtep. + + The physical endpoints that the logical port resides on. + To successfully identify phys_endpts, this column must be + records. This is populated by a + CMS physical management component. + +

A number that represents the logical port in the key (e.g. STT key or @@ -1331,6 +1398,7 @@ tcp.flags = RST; + This column will be deprecated. If set, indicates that the port represents a connection to a specific VLAN on a locally accessible network. The VLAN ID is used to match incoming traffic and is also added to outgoing traffic.