From: Brendan Cully Subject: [PATCH 1 of 2] Remus: use imqebt instead of ebtables Date: Mon, 01 Feb 2010 16:13:28 -0800 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org # HG changeset patch # User Brendan Cully # Date 1265068105 28800 # Node ID d30a67608592a1b68c286bb352b9f7fbe37f0e19 # Parent 857d7b2dd8c78f7212eb1f5741815aa34cbcfc64 Remus: use imqebt instead of ebtables I added a standalone IMQ-aware ebtables version in the initial Remus submission, but forgot to actually activate it. This fixes that oversight. Signed-off-by: Brendan Cully diff --git a/tools/remus/remus b/tools/remus/remus --- a/tools/remus/remus +++ b/tools/remus/remus @@ -199,8 +199,8 @@ for mod in ['sch_queue', 'imq', 'ebt_imq']: util.runcmd(['modprobe', mod]) util.runcmd("ip link set %s up" % (imqdev)) - util.runcmd("ebtables -F FORWARD") - util.runcmd("ebtables -A FORWARD -i %s -j imq --todev %s" % (vid, imqdev)) + util.runcmd("%s -F FORWARD" % (imqebt)) + util.runcmd("%s -A FORWARD -i %s -j imq --todev %s" % (imqebt, vid, imqdev)) return imqdev