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

[Xen-changelog] [xen-unstable] Remus: use imqebt instead of ebtables



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1265189860 0
# Node ID 62ce32978d2e00a34255b248f081aea55713f88e
# Parent  0e453e4d932ddd4aa687be5d85e3a00c29cac600
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>
---
 tools/remus/remus |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 0e453e4d932d -r 62ce32978d2e tools/remus/remus
--- a/tools/remus/remus Wed Feb 03 09:36:37 2010 +0000
+++ b/tools/remus/remus Wed Feb 03 09:37:40 2010 +0000
@@ -199,8 +199,8 @@ class Netbuffer(BufferedDevice):
         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-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

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