From patchwork Fri Dec 13 02:50:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Haigh X-Patchwork-Id: 11289745 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 463D214B7 for ; Fri, 13 Dec 2019 02:52:02 +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 1890B2073B for ; Fri, 13 Dec 2019 02:52:02 +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="ckAYrKQZ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1890B2073B 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 1ifb2T-0000dA-Rj; Fri, 13 Dec 2019 02:50:45 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1ifb2R-0000d5-EA for xen-devel@lists.xenproject.org; Fri, 13 Dec 2019 02:50:43 +0000 X-Inumbo-ID: 57f7d272-1d53-11ea-b6f1-bc764e2007e4 Received: from mail.crc.id.au (unknown [2407:e400:b000:200::25]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 57f7d272-1d53-11ea-b6f1-bc764e2007e4; Fri, 13 Dec 2019 02:50:40 +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 49659200125; Fri, 13 Dec 2019 13:50:33 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=crc.id.au; s=default; t=1576205433; bh=oNkpD8Te3z47PVxCsdRPkDzozUylQyRoH1KyXrGvMng=; h=From:To:Cc:Subject:Date; b=ckAYrKQZgt1wqDT9mKETXOl3+CDQ8aU4l6y0I1sp/GLFg3RdtEY/Eb8VDlUbO2KgA NLa5EE1fOatr+ee+eYXsCgnjyi9r3AoIxbH2UMhHkt+Q8QoEmgY5KqWccGQxu4cRB6 nCoPJdsgMM3pUifX659VgmG4YcVsAq7YNWFM0sq4= From: Steven Haigh To: netwiz@crc.id.au, xen-devel@lists.xenproject.org Date: Fri, 13 Dec 2019 13:50:22 +1100 Message-Id: X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Subject: [Xen-devel] [PATCH 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 , Wei Liu Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Start updating scripts for network functionality 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. 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(-)