From patchwork Fri Dec 13 04:08:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Haigh X-Patchwork-Id: 11289787 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id ADE0214DB for ; Fri, 13 Dec 2019 04:10:06 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8AF5A2073B for ; Fri, 13 Dec 2019 04:10:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=crc.id.au header.i=@crc.id.au header.b="WezB1vs5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8AF5A2073B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=crc.id.au Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ifcFz-0007RQ-Ci; Fri, 13 Dec 2019 04:08:47 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ifcFy-0007RJ-3r for xen-devel@lists.xenproject.org; Fri, 13 Dec 2019 04:08:46 +0000 X-Inumbo-ID: 3fa4c008-1d5e-11ea-88e7-bc764e2007e4 Received: from mail.crc.id.au (unknown [2407:e400:b000:200::25]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 3fa4c008-1d5e-11ea-88e7-bc764e2007e4; Fri, 13 Dec 2019 04:08:44 +0000 (UTC) Received: from ws19.umd.com.au (2407-e400-b000-202-0-0-0-3-cpe.spintel.net.au [IPv6:2407:e400:b000:202::3]) (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) (Client did not present a certificate) by mail.crc.id.au (Postfix) with ESMTPSA id BE2CC2001C1; Fri, 13 Dec 2019 15:08:40 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=crc.id.au; s=default; t=1576210120; bh=CufguGy8ZeEKrbDl8s/ZRAQqjvUwJPjmKtkxkjLmTFE=; h=From:To:Cc:Subject:Date; b=WezB1vs5V6gB2MpxaPLHSpf8AeWksWKkiS9sCX3GzhGHw6XV2xVAYdK2LT07EOpaf glu2mqjBKEJZsa/IjtQ7wmO9kLpUjz510gHsE1TUQ+XJWqsPZNeE9CspezlZSvQQxT qIq7yJelhMEQ8kpkJG5PCeGQPbUl0/JiA9sLTp3U= From: Steven Haigh To: xen-devel@lists.xenproject.org Date: Fri, 13 Dec 2019 15:08:33 +1100 Message-Id: X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH v2 0/2] [PATCH-for-4.13] Work towards removing brctl X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Ian Jackson , Steven Haigh , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Start updating scripts for network functionality (Resending as the patch emails seem to have been eaten somewhere) The scripts for networking in Xen have a mixture of formatting, tab spacing, space spacing inconsistencies. We also have issues where CentOS 8 does not have brctl - being replaced with ip / bridge commands. This series starts cleaning up whitespace and formatting, as well as starts adding conditionals for using brctl (if present) but using ip if /usr/sbin/brctl is not installed. Changes since v1 * Fixed reference to /usr/bin/brctl instead of /usr/sbin/brctl Steven Haigh (2): Tidy up whitespace and formatting in file to be consistent. Use ip for bridge related functions where brctl is not present tools/hotplug/Linux/colo-proxy-setup | 30 +++-- tools/hotplug/Linux/vif-bridge | 19 ++- tools/hotplug/Linux/vif2 | 12 +- tools/hotplug/Linux/xen-network-common.sh | 151 +++++++++++----------- 4 files changed, 121 insertions(+), 91 deletions(-)