find bwlimit at plnode-utils
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 18 Jul 2012 12:46:29 +0000 (14:46 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Wed, 18 Jul 2012 12:46:29 +0000 (14:46 +0200)
pl_mom.spec
swapmon.py

index e5bff47..dda1e6c 100644 (file)
@@ -23,8 +23,10 @@ URL: %(echo %{url} | cut -d ' ' -f 2)
 #URL: http://cvs.planet-lab.org/cvs/pl_mom
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: expect
-# swapmon requires vps and bwlimit.py
+# swapmon requires vps and vkill
 Requires: util-vserver, util-vserver-python
+# for bwlimit used in swapmon
+Requires: plnode-utils
 # bwmon requires tc
 Requires: iproute
  
index e3ddf17..6f995fa 100755 (executable)
@@ -23,7 +23,7 @@ import socket
 import time
 
 # bwlimit exports a few useful functions like run(), get_xid(), and get_slice()
-import bwlimit
+import plnode.bwlimit as bwlimit
 
 # Utility functions
 from pl_mom import *