From patchwork Wed Dec 15 21:26:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Williams X-Patchwork-Id: 1568796 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=aWR75w98; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=openvswitch.org (client-ip=2605:bc80:3010::137; helo=smtp4.osuosl.org; envelope-from=ovs-dev-bounces@openvswitch.org; receiver=) Received: from smtp4.osuosl.org (smtp4.osuosl.org [IPv6:2605:bc80:3010::137]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JDpGW4Sy9z9sR4 for ; Thu, 16 Dec 2021 08:26:43 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 8F1154159B; Wed, 15 Dec 2021 21:26:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OJSCHcDLpW9Q; Wed, 15 Dec 2021 21:26:39 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [IPv6:2605:bc80:3010:104::8cd3:938]) by smtp4.osuosl.org (Postfix) with ESMTPS id D8EC1401F0; Wed, 15 Dec 2021 21:26:38 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9F646C001E; Wed, 15 Dec 2021 21:26:38 +0000 (UTC) X-Original-To: ovs-dev@openvswitch.org Delivered-To: ovs-dev@lists.linuxfoundation.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id F3539C0012 for ; Wed, 15 Dec 2021 21:26:36 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id D30D141600 for ; Wed, 15 Dec 2021 21:26:36 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xg-uqSIt0bLH for ; Wed, 15 Dec 2021 21:26:36 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by smtp4.osuosl.org (Postfix) with ESMTPS id 0B3C34163E for ; Wed, 15 Dec 2021 21:26:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1639603594; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=a10S9Hm6wuI7ouym7suR4Nfaxgux5rI3X56dugdz4nc=; b=aWR75w98LzM6EZDHPKSTsoAp7sbQSqEXK3HtuYKCQGML0UVPQokiMNwLDmY5g/rKsnPIjb RFTFwqjSbY9JYFHFBLIsALvn0sKahjMcNc7HCNM8w5K/jERWbxzhT1gytd3DB1whXGprsb Bkby6AXggLbhiHZwCiPzJ6yB/omR+4A= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-639-o5AL0boINcaYGHfSIInBbA-1; Wed, 15 Dec 2021 16:26:33 -0500 X-MC-Unique: o5AL0boINcaYGHfSIInBbA-1 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9C10518C8C02 for ; Wed, 15 Dec 2021 21:26:32 +0000 (UTC) Received: from localhost.localdomain (ovpn-0-21.rdu2.redhat.com [10.22.0.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 2FBEC5BD1F for ; Wed, 15 Dec 2021 21:26:32 +0000 (UTC) Message-ID: <737ee4ccc9019970f1e7e4ac60b588e3750bb8f5.camel@redhat.com> From: Dan Williams To: ovs-dev@openvswitch.org Date: Wed, 15 Dec 2021 15:26:31 -0600 User-Agent: Evolution 3.40.4 (3.40.4-2.fc34) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dcbw@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [ovs-dev] [PATCH ovn 0/4] ovn-ctl: database path fixes and RAFT election timer passthrough 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" This series fixes inconsistencies in handling database control and pidfile paths by allowing users to override those paths like they can already do with the database file and JSON-RPC socket paths. Finally it builds on OVS 2.16's support for specifying the RAFT election timer at database creation time by allowing that value to be passed through to ovs-ctl. Dan Williams (4): ovn-ctl: use user-provided control socket paths ovn-ctl: allow overriding the database pidfile path ovn-ctl: pass database socket to ovn-*ctl init ovn-ctl: add RAFT election timer argument and pass to create_cluster utilities/ovn-ctl | 100 ++++++++++++++++++++++++++++------------------ 1 file changed, 62 insertions(+), 38 deletions(-)