From patchwork Mon Dec 4 13:16:01 2017
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Lucas Martins
X-Patchwork-Id: 844235
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org
Authentication-Results: ozlabs.org;
spf=pass (mailfrom) smtp.mailfrom=openvswitch.org
(client-ip=140.211.169.12; helo=mail.linuxfoundation.org;
envelope-from=ovs-dev-bounces@openvswitch.org;
receiver=)
Received: from mail.linuxfoundation.org (mail.linuxfoundation.org
[140.211.169.12])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
bits)) (No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 3yr54629CRz9sNV
for ;
Tue, 5 Dec 2017 00:16:22 +1100 (AEDT)
Received: from mail.linux-foundation.org (localhost [127.0.0.1])
by mail.linuxfoundation.org (Postfix) with ESMTP id B5F83C12;
Mon, 4 Dec 2017 13:16:18 +0000 (UTC)
X-Original-To: dev@openvswitch.org
Delivered-To: ovs-dev@mail.linuxfoundation.org
Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
[172.17.192.35])
by mail.linuxfoundation.org (Postfix) with ESMTPS id 70955BCE
for ; Mon, 4 Dec 2017 13:16:17 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 29C78403
for ; Mon, 4 Dec 2017 13:16:17 +0000 (UTC)
Received: from smtp.corp.redhat.com
(int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mx1.redhat.com (Postfix) with ESMTPS id 9675D356E7;
Mon, 4 Dec 2017 13:16:16 +0000 (UTC)
Received: from lucas-t460s.redhat.com (ovpn-117-224.ams2.redhat.com
[10.36.117.224])
by smtp.corp.redhat.com (Postfix) with ESMTP id C10696A852;
Mon, 4 Dec 2017 13:16:15 +0000 (UTC)
From: lmartins@redhat.com
To: dev@openvswitch.org
Date: Mon, 4 Dec 2017 13:16:01 +0000
Message-Id: <20171204131601.4330-1-lmartins@redhat.com>
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16
(mx1.redhat.com [10.5.110.30]);
Mon, 04 Dec 2017 13:16:16 +0000 (UTC)
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI,
T_RP_MATCHES_RCVD autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
Cc: Lucas Alvares Gomes
Subject: [ovs-dev] [PATCH v1] OVN: Add external_ids to NAT and
Logical_Router_Static_Route tables.
X-BeenThere: ovs-dev@openvswitch.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
MIME-Version: 1.0
Sender: ovs-dev-bounces@openvswitch.org
Errors-To: ovs-dev-bounces@openvswitch.org
From: Lucas Alvares Gomes
The external_ids column is missing from the NAT and
Logical_Router_Static_Route tables.
Signed-off-by: Lucas Alvares Gomes
Acked-by: Miguel Angel Ajo
Acked-by: Daniel Alvarez
---
ovn/ovn-nb.ovsschema | 14 ++++++++++----
ovn/ovn-nb.xml | 14 ++++++++++++++
2 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/ovn/ovn-nb.ovsschema b/ovn/ovn-nb.ovsschema
index fcd878cf2..081ddb54c 100644
--- a/ovn/ovn-nb.ovsschema
+++ b/ovn/ovn-nb.ovsschema
@@ -1,7 +1,7 @@
{
"name": "OVN_Northbound",
- "version": "5.8.1",
- "cksum": "607160660 16929",
+ "version": "5.9.0",
+ "cksum": "1120419033 17249",
"tables": {
"NB_Global": {
"columns": {
@@ -238,7 +238,10 @@
"dst-ip"]]},
"min": 0, "max": 1}},
"nexthop": {"type": "string"},
- "output_port": {"type": {"key": "string", "min": 0, "max": 1}}},
+ "output_port": {"type": {"key": "string", "min": 0, "max": 1}},
+ "external_ids": {
+ "type": {"key": "string", "value": "string",
+ "min": 0, "max": "unlimited"}}},
"isRoot": false},
"NAT": {
"columns": {
@@ -252,7 +255,10 @@
"enum": ["set", ["dnat",
"snat",
"dnat_and_snat"
- ]]}}}},
+ ]]}}},
+ "external_ids": {
+ "type": {"key": "string", "value": "string",
+ "min": 0, "max": "unlimited"}}},
"isRoot": false},
"DHCP_Options": {
"columns": {
diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml
index 1091c05ce..4e3899f28 100644
--- a/ovn/ovn-nb.xml
+++ b/ovn/ovn-nb.xml
@@ -1540,6 +1540,13 @@
address as the one via which the is reachable.
+
+
+
+ See External IDs at the beginning of this document.
+
+
+
@@ -1618,6 +1625,13 @@
port instance on the redirect-chassis
.
+
+
+
+ See External IDs at the beginning of this document.
+
+
+