From patchwork Sat Oct 10 04:21:39 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Pfaff X-Patchwork-Id: 528540 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 6E684140E42 for ; Sat, 10 Oct 2015 15:21:55 +1100 (AEDT) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id C0B6B10B02; Fri, 9 Oct 2015 21:21:54 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx1e3.cudamail.com (mx1.cudamail.com [69.90.118.67]) by archives.nicira.com (Postfix) with ESMTPS id D6E7E10AB4 for ; Fri, 9 Oct 2015 21:21:52 -0700 (PDT) Received: from bar5.cudamail.com (localhost [127.0.0.1]) by mx1e3.cudamail.com (Postfix) with ESMTPS id 556E0420522 for ; Fri, 9 Oct 2015 22:21:52 -0600 (MDT) X-ASG-Debug-ID: 1444450912-09eadd141857dda0001-byXFYA Received: from mx1-pf2.cudamail.com ([192.168.24.2]) by bar5.cudamail.com with ESMTP id t0YDcwSSck6YwJoZ (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 09 Oct 2015 22:21:52 -0600 (MDT) X-Barracuda-Envelope-From: blp@nicira.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.24.2 Received: from unknown (HELO mail-pa0-f47.google.com) (209.85.220.47) by mx1-pf2.cudamail.com with ESMTPS (RC4-SHA encrypted); 10 Oct 2015 04:21:51 -0000 Received-SPF: unknown (mx1-pf2.cudamail.com: Multiple SPF records returned) X-Barracuda-RBL-Trusted-Forwarder: 209.85.220.47 Received: by pabve7 with SMTP id ve7so45507165pab.2 for ; Fri, 09 Oct 2015 21:21:51 -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:cc:subject:date:message-id; bh=4v9BcRH44li538anjh7dCtI6m9mew+ITSHMWPWFDsHQ=; b=iH+Y5v3hKfVeMBlFjrbHaZs1SDaKN+H2tctKld/rIyHr+cVOpJIYk+8lUdVBRUfPCX Ntn/ozxlZbgTbOyG96f2iwhyI9L4j6riOsZ9Zf4u6ddBuEzAKYsN9VM/6kGD079cQEl9 98EbIx+1mMbmqV51xdw2/fl7BMXt4NBpKpERVpUNuT3FStsieTT9zZOtWdiPf1aclh6Q 4hAZCJYIdJS9Vc5dQf4+cVuy51IHZLqZh7VtFZ6i1qcnEIFSTDRqQ/VRAF7wK75cM7xl xgqtQRRL+CUyIpiFaxc8ypyjUkPYgAnGpZjvYVBwGauTWB1aPfnQ3h6fYzDT8HwFS3Q0 Of4Q== X-Gm-Message-State: ALoCoQl+YJ3otJsMgp1yWXkF/loNhjOAulIdgbf7e0azx0nw6fpNmAeqpS4t9bqVYliBzuuA1X6p X-Received: by 10.68.57.143 with SMTP id i15mr20038863pbq.104.1444450911289; Fri, 09 Oct 2015 21:21:51 -0700 (PDT) Received: from sigabrt.gateway.sonic.net (173-228-112-112.dsl.dynamic.fusionbroadband.com. [173.228.112.112]) by smtp.gmail.com with ESMTPSA id y5sm5337168pbt.77.2015.10.09.21.21.48 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 09 Oct 2015 21:21:49 -0700 (PDT) X-CudaMail-Envelope-Sender: blp@nicira.com X-Barracuda-Apparent-Source-IP: 173.228.112.112 From: Ben Pfaff To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-E2-1008110882 X-CudaMail-DTE: 100915 X-CudaMail-Originating-IP: 209.85.220.47 Date: Fri, 9 Oct 2015 21:21:39 -0700 X-ASG-Orig-Subj: [##CM-E2-1008110882##][PATCH 20/23] ovn-nb: Add "enabled" column to Logical_Router_Port. Message-Id: <1444450902-12236-1-git-send-email-blp@nicira.com> X-Mailer: git-send-email 2.1.3 X-Barracuda-Connect: UNKNOWN[192.168.24.2] X-Barracuda-Start-Time: 1444450912 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 Cc: Ben Pfaff Subject: [ovs-dev] [PATCH 20/23] ovn-nb: Add "enabled" column to Logical_Router_Port. 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: Ben Pfaff Acked-by: Justin Pettit --- ovn/ovn-nb.ovsschema | 3 ++- ovn/ovn-nb.xml | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ovn/ovn-nb.ovsschema b/ovn/ovn-nb.ovsschema index 9d254e8..d45a682 100644 --- a/ovn/ovn-nb.ovsschema +++ b/ovn/ovn-nb.ovsschema @@ -1,7 +1,7 @@ { "name": "OVN_Northbound", "version": "2.0.0", - "cksum": "1378979036 4524", + "cksum": "4186002454 4601", "tables": { "Logical_Switch": { "columns": { @@ -85,6 +85,7 @@ "refTable": "Logical_Router_Port", "refType": "strong"}, "min": 0, "max": 1}}, + "enabled": {"type": {"key": "boolean", "min": 0, "max": 1}}, "external_ids": { "type": {"key": "string", "value": "string", "min": 0, "max": "unlimited"}}}, diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml index 89c3e7d..681f6c7 100644 --- a/ovn/ovn-nb.xml +++ b/ovn/ovn-nb.xml @@ -485,6 +485,13 @@ The Ethernet address that belongs to this router port. + + This column is used to administratively set port state. If this column + is empty or is set to true, the port is enabled. If this + column is set to false, the port is disabled. A disabled + port has all ingress and egress traffic dropped. + +

A given router port serves one of two purposes: