WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH 1 of 2] Remus: use imqebt instead of ebtables

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH 1 of 2] Remus: use imqebt instead of ebtables
From: Brendan Cully <brendan@xxxxxxxxx>
Date: Mon, 01 Feb 2010 16:13:28 -0800
Delivery-date: Mon, 01 Feb 2010 16:14:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <patchbomb.1265069607@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <patchbomb.1265069607@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.2+41-4441e8d7f04f
# HG changeset patch
# User Brendan Cully <brendan@xxxxxxxxx>
# 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 <brendan@xxxxxxxxx>

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
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel