[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.