From patchwork Thu Aug 11 20:23:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Mauricio_V=C3=A1squez?= X-Patchwork-Id: 658323 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 3s9KGL1y0mz9sDf for ; Fri, 12 Aug 2016 06:23:22 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=studenti.polito.it header.i=@studenti.polito.it header.b=qDK7WRAP; dkim-atps=neutral Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id 8264910C77; Thu, 11 Aug 2016 13:23:21 -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 3397210C2C for ; Thu, 11 Aug 2016 13:23:20 -0700 (PDT) Received: from bar5.cudamail.com (localhost [127.0.0.1]) by mx1e3.cudamail.com (Postfix) with ESMTPS id BC3DE4200F0 for ; Thu, 11 Aug 2016 14:23:19 -0600 (MDT) X-ASG-Debug-ID: 1470946996-09eadd5770060a0001-byXFYA Received: from mx3-pf1.cudamail.com ([192.168.14.2]) by bar5.cudamail.com with ESMTP id Z68jm8wvt1e7FFKy (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 11 Aug 2016 14:23:16 -0600 (MDT) X-Barracuda-Envelope-From: mauricio.vasquezbernal@studenti.polito.it X-Barracuda-RBL-Trusted-Forwarder: 192.168.14.2 Received: from unknown (HELO compass.polito.it) (130.192.55.110) by mx3-pf1.cudamail.com with ESMTPS (DHE-RSA-AES256-SHA encrypted); 11 Aug 2016 20:23:15 -0000 Received-SPF: pass (mx3-pf1.cudamail.com: SPF record at studenti.polito.it designates 130.192.55.110 as permitted sender) X-Barracuda-Apparent-Source-IP: 130.192.55.110 X-Barracuda-RBL-IP: 130.192.55.110 Received: from localhost (localhost [127.0.0.1]) by compass.polito.it (Postfix) with ESMTP id 2EA971001B3 for ; Thu, 11 Aug 2016 22:23:13 +0200 (CEST) Authentication-Results: compass.polito.it (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=studenti.polito.it DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= studenti.polito.it; h=x-mailer:message-id:date:date:subject :subject:to:from:from:received:received; s=y2k10; t=1470946992; bh=wqH7n5Hkj9xwDIMuntjDwugseVFZcb3VEN033pbrpzg=; b=qDK7WRAPIzhS aulud/YqV8bxmUFZaGUs9JaqbnTJk9TVRjQqahltN0aU3ylLNmC165c6WLuPqZmW UxLYvQYuc/xTFE8WpV026FyusgJPnoGMknzIBYtyHX30dhqNtk0pcEXdkwl7q/nB 9eo276/QSoV4bjo5Eu6DH/w4zmGJFsQ= X-Virus-Scanned: amavisd-new at studenti.polito.it X-Spam-Flag: NO X-Spam-Score: -5.76 X-Spam-Level: X-Spam-Status: No, score=-5.76 tagged_above=-100 required=3.5 tests=[ALL_TRUSTED=-5, AWL=0.740, BAYES_00=-1.5] autolearn=ham Received: from compass.polito.it ([127.0.0.1]) by localhost (compass.polito.it [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id BdbYCufb2shf for ; Thu, 11 Aug 2016 22:23:12 +0200 (CEST) Received: from mvb-X455LJ.lan (unknown [93.56.118.14]) (using TLSv1.2 with cipher AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: s203403@studenti.polito.it) by compass.polito.it (Postfix) with ESMTPSA id EE4F01001BA for ; Thu, 11 Aug 2016 22:23:11 +0200 (CEST) X-CudaMail-Envelope-Sender: mauricio.vasquezbernal@studenti.polito.it From: Mauricio Vasquez B To: dev@openvswitch.org X-CudaMail-MID: CM-V1-810046349 X-CudaMail-DTE: 081116 X-CudaMail-Originating-IP: 130.192.55.110 Date: Thu, 11 Aug 2016 22:23:00 +0200 X-ASG-Orig-Subj: [##CM-V1-810046349##][PATCH] ovn: make external_ids naming uniform Message-Id: <1470946980-8311-1-git-send-email-mauricio.vasquezbernal@studenti.polito.it> X-Mailer: git-send-email 1.9.1 X-GBUdb-Analysis: 0, 130.192.55.110, Ugly c=0 p=0 Source New X-MessageSniffer-Rules: 0-0-0-10164-c X-Barracuda-Connect: UNKNOWN[192.168.14.2] X-Barracuda-Start-Time: 1470946996 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 global 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.31944 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] ovn: make external_ids naming uniform 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" In some places it is called "external-ids" while in others "external_ids" is used. This commit changes it to external_ids in all of them. Signed-off-by: Mauricio Vasquez B --- ovn/controller/ovn-controller.8.xml | 12 ++++++------ ovn/ovn-architecture.7.xml | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/ovn/controller/ovn-controller.8.xml b/ovn/controller/ovn-controller.8.xml index 3fda8e7..4681b3f 100644 --- a/ovn/controller/ovn-controller.8.xml +++ b/ovn/controller/ovn-controller.8.xml @@ -159,7 +159,7 @@

Open vSwitch Database Usage

- ovn-controller uses a number of external-ids + ovn-controller uses a number of external_ids keys in the Open vSwitch database to keep track of ports and interfaces. For proper operation, users should not change or clear these keys:

@@ -176,7 +176,7 @@
- external-ids:ovn-localnet-port in the Port + external_ids:ovn-localnet-port in the Port table
@@ -193,13 +193,13 @@

Each localnet logical port is implemented as a pair of patch ports, one in the integration bridge, one in a different - bridge, with the same external-ids:ovn-localnet-port + bridge, with the same external_ids:ovn-localnet-port value.

- external-ids:ovn-l2gateway-port in the Port + external_ids:ovn-l2gateway-port in the Port table
@@ -216,13 +216,13 @@

Each l2gateway logical port is implemented as a pair of patch ports, one in the integration bridge, one in a different - bridge, with the same external-ids:ovn-l2gateway-port + bridge, with the same external_ids:ovn-l2gateway-port value.

- external-ids:ovn-logical-patch-port in the + external_ids:ovn-logical-patch-port in the Port table
diff --git a/ovn/ovn-architecture.7.xml b/ovn/ovn-architecture.7.xml index 9c7166f..1a1bd39 100644 --- a/ovn/ovn-architecture.7.xml +++ b/ovn/ovn-architecture.7.xml @@ -447,7 +447,7 @@ where the VM is powered on, the integration between the hypervisor and Open vSwitch (described in IntegrationGuide.md) adds the VIF to the OVN integration bridge and stores vif-id in - external-ids:iface-id to indicate that the + external_ids:iface-id to indicate that the interface is an instantiation of the new VIF. (None of this code is new in OVN; this is pre-existing integration work that has already been done on hypervisors that support OVS.) @@ -455,10 +455,10 @@
  • On the hypervisor where the VM is powered on, ovn-controller - notices external-ids:iface-id in the new + notices external_ids:iface-id in the new Interface. In response, in the OVN Southbound DB, it updates the Binding table's chassis column for the - row that links the logical port from external-ids: + row that links the logical port from external_ids: iface-id to the hypervisor. Afterward, ovn-controller updates the local hypervisor's OpenFlow tables so that packets to and from the VIF are properly handled. @@ -632,7 +632,7 @@ parent_port column of Binding table, the ovn-controller in the hypervisor whose OVN integration bridge has that same value in vif-id in - external-ids:iface-id + external_ids:iface-id updates the local hypervisor's OpenFlow tables so that packets to and from the VIF with the particular VLAN tag are properly handled. Afterward it updates the chassis column of