From patchwork Fri Mar 9 22:57:25 2018
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Gurucharan Shetty
X-Patchwork-Id: 884054
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=)
Authentication-Results: ozlabs.org;
dmarc=none (p=none dis=none) header.from=ovn.org
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 3zyjSv3p5jz9shy
for ;
Sat, 10 Mar 2018 09:57:35 +1100 (AEDT)
Received: from mail.linux-foundation.org (localhost [127.0.0.1])
by mail.linuxfoundation.org (Postfix) with ESMTP id 759A911B5;
Fri, 9 Mar 2018 22:57:33 +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 EF8511177
for ; Fri, 9 Mar 2018 22:57:31 +0000 (UTC)
X-Greylist: whitelisted by SQLgrey-1.7.6
Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com
[209.85.192.193])
by smtp1.linuxfoundation.org (Postfix) with ESMTPS id D8ADE5E4
for ; Fri, 9 Mar 2018 22:57:30 +0000 (UTC)
Received: by mail-pf0-f193.google.com with SMTP id h19so1866148pfd.12
for ; Fri, 09 Mar 2018 14:57:30 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:from:to:subject:date:message-id;
bh=d2oB8d+YUBtLMiO7YZOBv2EJMlZJbt6UNuqnlxqXkBc=;
b=eD3yPxWZVBObI3lRmhrtJOO0SrkMdeGoGDz5oC5iL0Xz4XoJrfwPJ3zl95Tn/18gqP
VPywtMLhYXgpCDNl8ora0ZHsDOvEzXYiPYh/Eu6OEsN9feDUz9HXTCeyhkwVs6ArZ0pw
y4SlK2tlwO7EEIdmeF8fo95iYksg51+JhP7UfQ9WIGK+WmaPDamo+bhC4/Uw/fAdtYgS
QtYFLwnuXQ4+spIgoHxww6sOFwS2gx1stCc9GdA3tppMc+VJaAWnmPVEXG+jqYt2hXTo
gMJqKFogcY1EfIQAZ7ItrV1QJb4FufGtVQfbQORnbPP56BhCndqONac1IOZ8FFVGcXwL
WirA==
X-Gm-Message-State: AElRT7H6Sb3C4y7yu8FDzxVc0eJTmc64zHZTL3LZRyJNVieR288qUejf
nGa9OrlH5FUw9v5pZzmSv3OGDQ==
X-Google-Smtp-Source:
AG47ELujQcCwVcRJs0KyCgCfzX5klj+ONuyUAv/KWj6sTcq+ES5L3+/8vlrP+omndkJ4XD71yWjHgQ==
X-Received: by 10.98.8.219 with SMTP id 88mr145074pfi.4.1520636250299;
Fri, 09 Mar 2018 14:57:30 -0800 (PST)
Received: from ubuntu.eng.vmware.com ([66.170.99.1])
by smtp.gmail.com with ESMTPSA id
v8sm4371018pff.38.2018.03.09.14.57.29 for
(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
Fri, 09 Mar 2018 14:57:29 -0800 (PST)
From: Gurucharan Shetty
To: dev@openvswitch.org
Date: Fri, 9 Mar 2018 14:57:25 -0800
Message-Id: <1520636245-4498-1-git-send-email-guru@ovn.org>
X-Mailer: git-send-email 2.7.4
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
smtp1.linux-foundation.org
Subject: [ovs-dev] [PATCH] ovn-nb: Document a load_balancer VIP requirement.
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
When the Load_Balancer is added to the logical_switch,
the VIP has to be in a different subnet than the one used
for the logical_switch. Since VIP is in a different subnet,
you should connect your logical switch to either a OVN
logical router or a real router (this is because the client
can now send a packet with VIP as the destination IP address
and router's mac address as the destination MAC address).
Signed-off-by: Gurucharan Shetty
Acked-by: Ben Pfaff
---
ovn/ovn-nb.xml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml
index b7a5b6b..6bb93de 100644
--- a/ovn/ovn-nb.xml
+++ b/ovn/ovn-nb.xml
@@ -951,6 +951,15 @@
"[fd0f::1]:8800". Examples for value are "10.0.0.1, 10.0.0.2" and
"20.0.0.10:8800, 20.0.0.11:8800".
+
+ When the Load_Balancer
is added to the
+ logical_switch
, the VIP has to be in a different subnet
+ than the one used for the logical_switch
. Since VIP is
+ in a different subnet, you should connect your logical switch to
+ either a OVN logical router or a real router (this is because the
+ client can now send a packet with VIP as the destination IP address
+ and router's mac address as the destination MAC address).
+