---
ovn-sb.xml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/ovn-sb.xml b/ovn-sb.xml
index 15d47ef039cc..cdfca499274d 100644
--- a/ovn-sb.xml
+++ b/ovn-sb.xml
@@ -2574,8 +2574,8 @@ tcp.flags = RST;
For every Logical_Switch_Port
record in
OVN_Northbound
database, ovn-northd
creates a record in this table. ovn-northd
populates
- and maintains every column except the chassis
column,
- which it leaves empty in new records.
+ and maintains every column except the chassis
and
+ virtual_parent
columns, which it leaves empty in new records.
@@ -2593,6 +2593,12 @@ tcp.flags = RST;
to populate the chassis
column.)
+
+ ovn-controller
also populates the
+ virtual_parent
column of records whose type
is
+ virtual
.
+
+
When a chassis shuts down gracefully, it should clean up the
chassis
column that it previously had populated.
From patchwork Thu Oct 22 03:54:13 2020
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Ben Pfaff
X-Patchwork-Id: 1385919
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=ovn.org
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 4CGtm94N1qz9sSn
for ; Thu, 22 Oct 2020 14:54:49 +1100 (AEDT)
Received: from localhost (localhost [127.0.0.1])
by fraxinus.osuosl.org (Postfix) with ESMTP id 1259386F50;
Thu, 22 Oct 2020 03:54:47 +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 SEOS3d5cMWUO; Thu, 22 Oct 2020 03:54:45 +0000 (UTC)
Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])
by fraxinus.osuosl.org (Postfix) with ESMTP id D096D86D4D;
Thu, 22 Oct 2020 03:54:39 +0000 (UTC)
Received: from lf-lists.osuosl.org (localhost [127.0.0.1])
by lists.linuxfoundation.org (Postfix) with ESMTP id A3F4BC1ADA;
Thu, 22 Oct 2020 03:54:39 +0000 (UTC)
X-Original-To: dev@openvswitch.org
Delivered-To: ovs-dev@lists.linuxfoundation.org
Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])
by lists.linuxfoundation.org (Postfix) with ESMTP id 12532C08A1
for ; Thu, 22 Oct 2020 03:54:36 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by whitealder.osuosl.org (Postfix) with ESMTP id EC23986C7B
for ; Thu, 22 Oct 2020 03:54:35 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from whitealder.osuosl.org ([127.0.0.1])
by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id dB4QZuEhnO83 for ;
Thu, 22 Oct 2020 03:54:35 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net
[217.70.183.193])
by whitealder.osuosl.org (Postfix) with ESMTPS id C53A086C74
for ; Thu, 22 Oct 2020 03:54:34 +0000 (UTC)
X-Originating-IP: 75.54.222.30
Received: from sigfpe.attlocal.net
(75-54-222-30.lightspeed.rdcyca.sbcglobal.net [75.54.222.30])
(Authenticated sender: blp@ovn.org)
by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 87932240006;
Thu, 22 Oct 2020 03:54:32 +0000 (UTC)
From: Ben Pfaff
To: dev@openvswitch.org
Date: Wed, 21 Oct 2020 20:54:13 -0700
Message-Id: <20201022035415.33541-6-blp@ovn.org>
X-Mailer: git-send-email 2.26.2
In-Reply-To: <20201022035415.33541-1-blp@ovn.org>
References: <20201022035415.33541-1-blp@ovn.org>
MIME-Version: 1.0
Cc: Ben Pfaff
Subject: [ovs-dev] [PATCH ovn 6/8] ovn-sb: Update Service_Monitor
documentation.
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: ,
Errors-To: ovs-dev-bounces@openvswitch.org
Sender: "dev"
Signed-off-by: Ben Pfaff
---
ovn-sb.xml | 102 +++++++++++++++++++++++++++++------------------------
1 file changed, 56 insertions(+), 46 deletions(-)
diff --git a/ovn-sb.xml b/ovn-sb.xml
index cdfca499274d..c78984fc867a 100644
--- a/ovn-sb.xml
+++ b/ovn-sb.xml
@@ -4033,62 +4033,50 @@ tcp.flags = RST;
- This table montiors a service for its liveliness. The service
- can be an IPv4 tcp or a udp service. ovn-controller
- periodically sends out service monitor packets and updates the
- status of the service. Service monitoring for IPv6 services is
- not supported.
+ Each row in this table configures monitoring a service for its liveness.
+ The service can be an IPv4 TCP or UDP
+ service. ovn-controller
periodically sends out service
+ monitor packets and updates the status of the service. Service monitoring
+ for IPv6 services is not supported.
-
- IP of the service to be monitored. Only IPv4 is supported.
-
-
-
- The protocol of the service. It can be either tcp
or
- udp
.
-
-
-
- The tcp or udp port of the service.
-
-
-
- The VIF of logical port on which the service is running. The
- ovn-controller
which binds this logical_port
- monitors the service by sending periodic monitor packets.
-
+
+ ovn-northd
uses this feature to implement the load balancer
+ health check feature offered to the CMS through the northbound database.
+
-
+
- The ovn-controller
which binds the
- logical_port
updates the status to online
- offline
or error
.
+ ovn-northd
sets these columns and values to configure the
+ service monitor.
-
- For tcp service, ovn-controller
sends a
- TCP SYN
packet to the service and expects a
- TCP ACK
response to consider the service to be
- online
.
-
+
+ IP of the service to be monitored. Only IPv4 is supported.
+
-
- For udp service, ovn-controller
sends a udp
- packet to the service and doesn't expect any reply. If it receives
- ICMP reply, then it considers the service to be offline
.
-
-
+
+ The protocol of the service.
+
-
- Source Ethernet address to use in the service monitor packet.
-
+
+ The TCP or UDP port of the service.
+
-
- Source IPv4 address to use in the service monitor packet.
-
+
+ The VIF of the logical port on which the service is running. The
+ ovn-controller
that binds this logical_port
+ monitors the service by sending periodic monitor packets.
+
+
+
+ Source Ethernet address to use in the service monitor packet.
+
+
+
+ Source IPv4 address to use in the service monitor packet.
+
-
The interval, in seconds, between service monitor checks.
@@ -4109,6 +4097,28 @@ tcp.flags = RST;
+
+
+ The ovn-controller
on the chassis that hosts the updates this column to report the service's
+ status.
+
+
+
+
+ For TCP service, ovn-controller
sends a SYN to the
+ service and expects an ACK response to consider the service to be
+ online
.
+
+
+
+ For UDP service, ovn-controller
sends a UDP packet to
+ the service and doesn't expect any reply. If it receives an ICMP
+ reply, then it considers the service to be offline
.
+
+
+
+
See External IDs at the beginning of this document.
From patchwork Thu Oct 22 03:54:14 2020
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Ben Pfaff
X-Patchwork-Id: 1385917
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.133; helo=hemlock.osuosl.org;
envelope-from=ovs-dev-bounces@openvswitch.org; receiver=)
Authentication-Results: ozlabs.org;
dmarc=none (p=none dis=none) header.from=ovn.org
Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 4CGtm84w8kz9sT6
for ; Thu, 22 Oct 2020 14:54:48 +1100 (AEDT)
Received: from localhost (localhost [127.0.0.1])
by hemlock.osuosl.org (Postfix) with ESMTP id F3021875F0;
Thu, 22 Oct 2020 03:54:45 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from hemlock.osuosl.org ([127.0.0.1])
by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 6VxsCQap93j7; Thu, 22 Oct 2020 03:54:44 +0000 (UTC)
Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])
by hemlock.osuosl.org (Postfix) with ESMTP id 1A1E0876CE;
Thu, 22 Oct 2020 03:54:44 +0000 (UTC)
Received: from lf-lists.osuosl.org (localhost [127.0.0.1])
by lists.linuxfoundation.org (Postfix) with ESMTP id E0C7DC1ADA;
Thu, 22 Oct 2020 03:54:43 +0000 (UTC)
X-Original-To: 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 A9843C08A1
for ; Thu, 22 Oct 2020 03:54:40 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by fraxinus.osuosl.org (Postfix) with ESMTP id 8E9E0869BC
for ; Thu, 22 Oct 2020 03:54:40 +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 Z9NgUU15tane for ;
Thu, 22 Oct 2020 03:54:39 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net
[217.70.183.193])
by fraxinus.osuosl.org (Postfix) with ESMTPS id 2318D86888
for ; Thu, 22 Oct 2020 03:54:35 +0000 (UTC)
X-Originating-IP: 75.54.222.30
Received: from sigfpe.attlocal.net
(75-54-222-30.lightspeed.rdcyca.sbcglobal.net [75.54.222.30])
(Authenticated sender: blp@ovn.org)
by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id DAEC9240005;
Thu, 22 Oct 2020 03:54:33 +0000 (UTC)
From: Ben Pfaff
To: dev@openvswitch.org
Date: Wed, 21 Oct 2020 20:54:14 -0700
Message-Id: <20201022035415.33541-7-blp@ovn.org>
X-Mailer: git-send-email 2.26.2
In-Reply-To: <20201022035415.33541-1-blp@ovn.org>
References: <20201022035415.33541-1-blp@ovn.org>
MIME-Version: 1.0
Cc: Ben Pfaff
Subject: [ovs-dev] [PATCH ovn 7/8] ovn-sb: Document details of
HA_Chassis_Group column ref_chassis.
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: ,
Errors-To: ovs-dev-bounces@openvswitch.org
Sender: "dev"
Signed-off-by: Ben Pfaff
---
ovn-sb.xml | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/ovn-sb.xml b/ovn-sb.xml
index c78984fc867a..749bd0745962 100644
--- a/ovn-sb.xml
+++ b/ovn-sb.xml
@@ -3906,7 +3906,16 @@ tcp.flags = RST;
- A list of which references this HA chassis group.
+ The set of that reference this HA chassis group.
+ To determine the correct , find the
+ chassisredirect
type that
+ references this . This is derived from some particular logical router.
+ Starting from that LR, find the set of all logical switches and routers
+ connected to it, directly or indirectly, across router ports that link
+ one LRP to another or to a LSP. For each LSP in these logical switches,
+ find the corresponding and add its bound (if any) to .
From patchwork Thu Oct 22 03:54:15 2020
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Ben Pfaff
X-Patchwork-Id: 1385920
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.136; helo=silver.osuosl.org;
envelope-from=ovs-dev-bounces@openvswitch.org; receiver=)
Authentication-Results: ozlabs.org;
dmarc=none (p=none dis=none) header.from=ovn.org
Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(No client certificate requested)
by ozlabs.org (Postfix) with ESMTPS id 4CGtmC4MnGz9sSn
for ; Thu, 22 Oct 2020 14:54:51 +1100 (AEDT)
Received: from localhost (localhost [127.0.0.1])
by silver.osuosl.org (Postfix) with ESMTP id 8A97E20500;
Thu, 22 Oct 2020 03:54:49 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from silver.osuosl.org ([127.0.0.1])
by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id NUxNc5F9yFKk; Thu, 22 Oct 2020 03:54:44 +0000 (UTC)
Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56])
by silver.osuosl.org (Postfix) with ESMTP id AD1B42051D;
Thu, 22 Oct 2020 03:54:42 +0000 (UTC)
Received: from lf-lists.osuosl.org (localhost [127.0.0.1])
by lists.linuxfoundation.org (Postfix) with ESMTP id 73FD6C08A1;
Thu, 22 Oct 2020 03:54:42 +0000 (UTC)
X-Original-To: dev@openvswitch.org
Delivered-To: ovs-dev@lists.linuxfoundation.org
Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133])
by lists.linuxfoundation.org (Postfix) with ESMTP id 298C5C08A1
for ; Thu, 22 Oct 2020 03:54:39 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
by hemlock.osuosl.org (Postfix) with ESMTP id 0F98487677
for ; Thu, 22 Oct 2020 03:54:39 +0000 (UTC)
X-Virus-Scanned: amavisd-new at osuosl.org
Received: from hemlock.osuosl.org ([127.0.0.1])
by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 8gEktUQ7Q7Qf for ;
Thu, 22 Oct 2020 03:54:38 +0000 (UTC)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6
Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net
[217.70.183.193])
by hemlock.osuosl.org (Postfix) with ESMTPS id F17F58764B
for ; Thu, 22 Oct 2020 03:54:37 +0000 (UTC)
X-Originating-IP: 75.54.222.30
Received: from sigfpe.attlocal.net
(75-54-222-30.lightspeed.rdcyca.sbcglobal.net [75.54.222.30])
(Authenticated sender: blp@ovn.org)
by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id 3D6B9240003;
Thu, 22 Oct 2020 03:54:34 +0000 (UTC)
From: Ben Pfaff
To: dev@openvswitch.org
Date: Wed, 21 Oct 2020 20:54:15 -0700
Message-Id: <20201022035415.33541-8-blp@ovn.org>
X-Mailer: git-send-email 2.26.2
In-Reply-To: <20201022035415.33541-1-blp@ovn.org>
References: <20201022035415.33541-1-blp@ovn.org>
MIME-Version: 1.0
Cc: Ben Pfaff
Subject: [ovs-dev] [PATCH ovn 8/8] Makefile: Ensure OVN include directories
come before OVS ones.
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: ,
Errors-To: ovs-dev-bounces@openvswitch.org
Sender: "dev"
Otherwise, when files present in both directories, the OVS ones are
chosen. This is a problem if the OVS build tree has stray OVN headers
(because there was an build there that included OVN).
Signed-off-by: Ben Pfaff
---
Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 610eb9f79a12..3bc31090396d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -36,6 +36,8 @@ endif
AM_CPPFLAGS += -I $(top_srcdir)/include
AM_CPPFLAGS += -I $(top_srcdir)/ovn
AM_CPPFLAGS += -I $(top_builddir)/include
+AM_CPPFLAGS += -I $(top_srcdir)/lib
+AM_CPPFLAGS += -I $(top_builddir)/lib
AM_CPPFLAGS += -I $(OVS_SRCDIR)/include
AM_CPPFLAGS += -I $(OVS_BUILDDIR)/include
@@ -43,8 +45,6 @@ AM_CPPFLAGS += -I $(OVS_SRCDIR)/lib
AM_CPPFLAGS += -I $(OVS_BUILDDIR)/lib
AM_CPPFLAGS += -I $(OVS_SRCDIR)
AM_CPPFLAGS += -I $(OVS_BUILDDIR)
-AM_CPPFLAGS += -I $(top_srcdir)/lib
-AM_CPPFLAGS += -I $(top_builddir)/lib
AM_CPPFLAGS += $(SSL_INCLUDES)