From patchwork Wed Sep 2 00:21:43 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Justin Pettit X-Patchwork-Id: 513109 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (li376-54.members.linode.com [96.126.127.54]) by ozlabs.org (Postfix) with ESMTP id 7C1E814018C for ; Wed, 2 Sep 2015 10:22:01 +1000 (AEST) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 54F1810A05; Tue, 1 Sep 2015 17:21:54 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx3v1.cudamail.com (mx3.cudamail.com [64.34.241.5]) by archives.nicira.com (Postfix) with ESMTPS id B682610A04 for ; Tue, 1 Sep 2015 17:21:53 -0700 (PDT) Received: from bar3.cudamail.com (bar1 [192.168.15.1]) by mx3v1.cudamail.com (Postfix) with ESMTP id 2EA0C618BB2 for ; Tue, 1 Sep 2015 18:21:53 -0600 (MDT) X-ASG-Debug-ID: 1441153309-03dd7b127e410a10001-byXFYA Received: from mx3-pf3.cudamail.com ([192.168.14.3]) by bar3.cudamail.com with ESMTP id REPRvtRSjskW0EKd (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 01 Sep 2015 18:21:50 -0600 (MDT) X-Barracuda-Envelope-From: jpettit@nicira.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.3 Received: from unknown (HELO mail-pa0-f44.google.com) (209.85.220.44) by mx3-pf3.cudamail.com with ESMTPS (RC4-SHA encrypted); 2 Sep 2015 00:21:49 -0000 Received-SPF: unknown (mx3-pf3.cudamail.com: Multiple SPF records returned) X-Barracuda-RBL-Trusted-Forwarder: 209.85.220.44 Received: by padhy1 with SMTP id hy1so12051897pad.1 for ; Tue, 01 Sep 2015 17:21:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=x+QJZh4ErXwlfw9dJD5/OndWJOFfdeaVFGO2GrDemrY=; b=hIYbJbC8TNBP65pMM/ocDw3yeA0lamY3NYkzlKS0oK853l7b7yhTNryQHkcNm8ANpo Bhd3WXs9ue0jO+hGUFzC3EuHlEEYPFNPRhrcqfRLHJl1QtCfsoyiWbhudrNaFInnMFng AbnfU5nyDOmGylvB6UOSHc5FBYQM1yJ/MfSfzUIuvCdT7ojU+goVpC2fQQ9gbdl/vfst p4XEaNVbsRJBYG1TBOpY2f/cBChZZu6bbwLRbloTjxR48s8inTLlXJgI77pODVlcrxg8 aziWx/gCmp8Ueglt12MzdaQXh45m2YCau4WLoVgJJUnUM3I5kH4EGVQY2Iij6n/dvhyY WDjQ== X-Gm-Message-State: ALoCoQlOtiMkGFlkMxY3t5gRI0mix7HELIUdiql2Lcw5BFe0V14An4bdSS8n00jG9VMLvD7eORKM X-Received: by 10.66.66.40 with SMTP id c8mr51240741pat.70.1441153309261; Tue, 01 Sep 2015 17:21:49 -0700 (PDT) Received: from localhost.localdomain ([208.91.2.4]) by smtp.gmail.com with ESMTPSA id ew13sm19615245pac.25.2015.09.01.17.21.48 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 01 Sep 2015 17:21:48 -0700 (PDT) X-CudaMail-Envelope-Sender: jpettit@nicira.com X-Barracuda-Apparent-Source-IP: 208.91.2.4 From: Justin Pettit To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-V3-831070090 X-CudaMail-DTE: 090115 X-CudaMail-Originating-IP: 209.85.220.44 Date: Tue, 1 Sep 2015 17:21:43 -0700 X-ASG-Orig-Subj: [##CM-V3-831070090##][PATCH 3/3] ovn-sb: Describe the pipeline stages generated by ovn-northd. Message-Id: <1441153303-86713-3-git-send-email-jpettit@nicira.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1441153303-86713-1-git-send-email-jpettit@nicira.com> References: <1441153303-86713-1-git-send-email-jpettit@nicira.com> X-Barracuda-Connect: UNKNOWN[192.168.14.3] X-Barracuda-Start-Time: 1441153309 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-ASG-Whitelist: Header =?UTF-8?B?eFwtY3VkYW1haWxcLXdoaXRlbGlzdFwtdG8=?= X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 Subject: [ovs-dev] [PATCH 3/3] ovn-sb: Describe the pipeline stages generated by ovn-northd. 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: Justin Pettit Acked-by: Russell Bryant --- ovn/ovn-sb.xml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/ovn/ovn-sb.xml b/ovn/ovn-sb.xml index 38837c1..cbae2e9 100644 --- a/ovn/ovn-sb.xml +++ b/ovn/ovn-sb.xml @@ -321,6 +321,49 @@ the logical output port replaced by the group member.

+

Pipeline Stages

+ +

+ ovn-northd is responsible for populating the + , so the stages are an implementation + detail and subject to change. This section describes the current + logical flow table. +

+ +

+ The ingress pipeline consists of the following stages: +

+
    +
  • + Port Security (Table 0): Validates the source address, drops + packets with a VLAN tag, and, if configured, verifies that the + logical port is allowed to send with the source address. +
  • + +
  • + L2 Destination Lookup (Table 1): Forwards known unicast + addresses to the appropriate logical port. Unicast packets to + unknown hosts are forwarded to logical ports configured to have + an unknown addresses. Broadcast, and multicast are + flooded to all ports in the logical switch. +
  • +
+ +

+ The egress pipeline consists of the following stages: +

+
    +
  • + ACL (Table 0): Applies any specified access control lists. +
  • + +
  • + Port Security (Table 1): If configured, verifies that the + logical port is allowed to receive packets with the destination + address. +
  • +
+ The logical datapath to which the logical flow belongs.