From patchwork Mon Dec 23 10:36:27 2019
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: taoyunxiang
X-Patchwork-Id: 1214898
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@bilbo.ozlabs.org
Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized)
smtp.mailfrom=openvswitch.org (client-ip=140.211.166.137;
helo=fraxinus.osuosl.org;
envelope-from=ovs-dev-bounces@openvswitch.org;
receiver=)
Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none)
header.from=cmss.chinamobile.com
Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256
bits)) (No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 47hG532Tzsz9s4Y
for ;
Mon, 23 Dec 2019 21:37:26 +1100 (AEDT)
Received: from localhost (localhost [127.0.0.1])
by fraxinus.osuosl.org (Postfix) with ESMTP id B076785DA5;
Mon, 23 Dec 2019 10:37:24 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from fraxinus.osuosl.org ([127.0.0.1])
by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 9Rii7_xv23Yi; Mon, 23 Dec 2019 10:37:23 +0000 (UTC)
Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])
by fraxinus.osuosl.org (Postfix) with ESMTP id 59A5A85D52;
Mon, 23 Dec 2019 10:37:23 +0000 (UTC)
Received: from lf-lists.osuosl.org (localhost [127.0.0.1])
by lists.linuxfoundation.org (Postfix) with ESMTP id 3F8D4C1D80;
Mon, 23 Dec 2019 10:37:23 +0000 (UTC)
X-Original-To: ovs-dev@openvswitch.org
Delivered-To: ovs-dev@lists.linuxfoundation.org
Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137])
by lists.linuxfoundation.org (Postfix) with ESMTP id 16C28C0881
for ; Mon, 23 Dec 2019 10:37:22 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by fraxinus.osuosl.org (Postfix) with ESMTP id 140DC84A43
for ; Mon, 23 Dec 2019 10:37:22 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from fraxinus.osuosl.org ([127.0.0.1])
by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id xn70-doUjXl0 for ;
Mon, 23 Dec 2019 10:37:20 +0000 (UTC)
X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
Received: from cmccmta1.chinamobile.com (cmccmta1.chinamobile.com
[221.176.66.79])
by fraxinus.osuosl.org (Postfix) with ESMTP id 15A3685D52
for ; Mon, 23 Dec 2019 10:37:18 +0000 (UTC)
Received: from spf.mail.chinamobile.com (unknown[172.16.121.17]) by
rmmx-syy-dmz-app02-12002 (RichMail) with SMTP id
2ee25e0098c1647-38508; Mon, 23 Dec 2019 18:36:50 +0800 (CST)
X-RM-TRANSID: 2ee25e0098c1647-38508
X-RM-TagInfo: emlType=0
X-RM-SPAM-FLAG: 00000000
Received: from yun.localdomain (unknown[112.25.154.148])
by rmsmtp-syy-appsvr09-12009 (RichMail) with SMTP id
2ee95e0098ae35a-a036b; Mon, 23 Dec 2019 18:36:50 +0800 (CST)
X-RM-TRANSID: 2ee95e0098ae35a-a036b
From: Yunxiang Tao
To: ovs-dev@openvswitch.org
Date: Mon, 23 Dec 2019 18:36:27 +0800
Message-Id: <20191223103628.20787-2-taoyunxiang@cmss.chinamobile.com>
X-Mailer: git-send-email 2.17.1
In-Reply-To: <20191223103628.20787-1-taoyunxiang@cmss.chinamobile.com>
References:
<20191223103628.20787-1-taoyunxiang@cmss.chinamobile.com>
Cc: Yunxiang Tao
Subject: [ovs-dev] [PATCH ovn v4 1/2] Add "name" column of QoS table
X-BeenThere: ovs-dev@openvswitch.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
MIME-Version: 1.0
Errors-To: ovs-dev-bounces@openvswitch.org
Sender: "dev"
Add "name" column of QoS table and make qos could be list
by command "ovn-nbctl list qos "name"".
Signed-off-by: Yunxiang Tao
---
ovn-nb.ovsschema | 3 ++-
ovn-nb.xml | 6 ++++++
utilities/ovn-nbctl.c | 2 ++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/ovn-nb.ovsschema b/ovn-nb.ovsschema
index 12999a466..02ae48e73 100644
--- a/ovn-nb.ovsschema
+++ b/ovn-nb.ovsschema
@@ -1,7 +1,7 @@
{
"name": "OVN_Northbound",
"version": "5.18.0",
- "cksum": "2806349485 24196",
+ "cksum": "80177565 24240",
"tables": {
"NB_Global": {
"columns": {
@@ -204,6 +204,7 @@
"isRoot": false},
"QoS": {
"columns": {
+ "name": {"type": "string"},
"priority": {"type": {"key": {"type": "integer",
"minInteger": 0,
"maxInteger": 32767}}},
diff --git a/ovn-nb.xml b/ovn-nb.xml
index 5ae52bbde..97f8eba80 100644
--- a/ovn-nb.xml
+++ b/ovn-nb.xml
@@ -1662,6 +1662,12 @@
+
+
+ A name for the logical router.
+
+
+
The value of this field is similar to