From patchwork Wed Jan 22 19:34:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Haley X-Patchwork-Id: 1227404 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.138; helo=whitealder.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=rKp35MpG; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 482wb26bqrz9sPK for ; Thu, 23 Jan 2020 06:34:38 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E44E686E2A; Wed, 22 Jan 2020 19:34: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 kZM7xMvEwqHa; Wed, 22 Jan 2020 19:34:33 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by whitealder.osuosl.org (Postfix) with ESMTP id E9FD286A1E; Wed, 22 Jan 2020 19:34:33 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id CFB8FC1796; Wed, 22 Jan 2020 19:34:33 +0000 (UTC) X-Original-To: ovs-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 A340EC0174 for ; Wed, 22 Jan 2020 19:34:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 8CF6187D11 for ; Wed, 22 Jan 2020 19:34:32 +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 EMp0+fkUO3sq for ; Wed, 22 Jan 2020 19:34:32 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qk1-f178.google.com (mail-qk1-f178.google.com [209.85.222.178]) by hemlock.osuosl.org (Postfix) with ESMTPS id DCE6587D8E for ; Wed, 22 Jan 2020 19:34:31 +0000 (UTC) Received: by mail-qk1-f178.google.com with SMTP id r14so862490qke.13 for ; Wed, 22 Jan 2020 11:34:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=ERyyL4iJA3oiCu+EkgzfwYNV7lxLH7HzG4NUJN3JT2Y=; b=rKp35MpGR8GB9WLVixLJX3jUC3NDrSGDf76angX2w+YgXLKXTkLMijC/w9AtLdiCJT G1cnZH3QAo9fC4wjRhyDBgpVMJWO3kV8vkmOZtuu8EBffvu0WJ2iHuNkQx+S/alXpHwQ UGlCavnZna+q+nx50fny4xqTT5jfGEUb7cz7ODKN3m9RjKX0je73rzNu9mddaBYs/7FU 8djPfGhYPbGeeVGLg6TLF6cho9D5437Os0TLT5j0oxqVYSH/BqDTDoYw2WfKHh+D+Nev JOBuTlHp1mLVpbfydP54A9SU/EGNP8YfJun+GOjrg+pW1QyJ5WxTJNzgGuWojiqgRfSU TQtQ== 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=ERyyL4iJA3oiCu+EkgzfwYNV7lxLH7HzG4NUJN3JT2Y=; b=oQe3d8sRxI4i14adWn9RiiNkCfYjia7g9m+Lebr4iVYS/4U5m1QaeyA7LEq6g9L6oT 39TSOuVhOyPDU1nLBSA1WddF+45za+C02FX+jqhFaaMU8JLBNAbzKHPjfgbKsBq/uE7B evbZJPr71AsfMmJGUmbPPpHP0VNqGOpT35jPF6wUtz6ejtWBPFICiHXDWpCWhOccQHXl FZw4ImodmwfGd1YhhqRD8zAa3/EjR/5cJKG0iL83P/j5JS1nl5nQB9xId7VOb9IGNvJo YAZ79Cj5fK3RNg5oOIB5ahx7GidlSX/3DfCyN+CoSUl6iD9ajufSTNVWbBmgufQct4Gi A/pQ== X-Gm-Message-State: APjAAAWQoj5fhlhp7KJyrEG298Z6F0cWs3h8qNA3gmoUazPV4tRRyexL CZHJSrrfTHwAYjGBRGrI3i8OEuRF X-Google-Smtp-Source: APXvYqzP8mWJZhzD8pXdXLpXVwJmVMuRoG3ZGpaRfXQBOGX/cqmAYuNPR42fyEstXBpDyZ+6pxO4+A== X-Received: by 2002:a37:a085:: with SMTP id j127mr3652220qke.89.1579721669784; Wed, 22 Jan 2020 11:34:29 -0800 (PST) Received: from r.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id m8sm21913549qtk.60.2020.01.22.11.34.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Jan 2020 11:34:28 -0800 (PST) From: Brian Haley To: ovs-dev@openvswitch.org Date: Wed, 22 Jan 2020 14:34:27 -0500 Message-Id: <20200122193427.5929-1-haleyb.dev@gmail.com> X-Mailer: git-send-email 2.17.1 Subject: [ovs-dev] [PATCH ovn] Fix LISTEN_ON_IP typo 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" Fix LISTEN_ON_IP typo Found by inspection in utilities/ovndb-servers.ocf Signed-off-by: Brian Haley --- utilities/ovndb-servers.ocf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utilities/ovndb-servers.ocf b/utilities/ovndb-servers.ocf index 4678a1dc9..42e0412ad 100755 --- a/utilities/ovndb-servers.ocf +++ b/utilities/ovndb-servers.ocf @@ -236,15 +236,15 @@ ovsdb_server_notify() { # In order to over-ride inactivity_probe for LB use case, we need to # create connection entry to listen on 0.0.0.0 for master node. if [ "x${LISTEN_ON_MASTER_IP_ONLY}" = xno ]; then - LISTON_ON_IP="0.0.0.0" + LISTEN_ON_IP="0.0.0.0" else - LISTON_ON_IP=${MASTER_IP} + LISTEN_ON_IP=${MASTER_IP} fi conn=`ovn-nbctl get NB_global . connections` if [ "$conn" == "[]" ] then ovn-nbctl -- --id=@conn_uuid create Connection \ -target="p${NB_MASTER_PROTO}\:${NB_MASTER_PORT}\:${LISTON_ON_IP}" \ +target="p${NB_MASTER_PROTO}\:${NB_MASTER_PORT}\:${LISTEN_ON_IP}" \ inactivity_probe=$INACTIVE_PROBE -- set NB_Global . connections=@conn_uuid fi @@ -252,7 +252,7 @@ inactivity_probe=$INACTIVE_PROBE -- set NB_Global . connections=@conn_uuid if [ "$conn" == "[]" ] then ovn-sbctl -- --id=@conn_uuid create Connection \ -target="p${SB_MASTER_PROTO}\:${SB_MASTER_PORT}\:${LISTON_ON_IP}" \ +target="p${SB_MASTER_PROTO}\:${SB_MASTER_PORT}\:${LISTEN_ON_IP}" \ inactivity_probe=$INACTIVE_PROBE -- set SB_Global . connections=@conn_uuid fi