X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net.py;h=23a13b6b30185ad32c5912b00ac58d0ed99c3ffe;hb=ac6786141feadccdc48b819ab21a825a54881ded;hp=a2b28ca05e2e0606bc3843087a46cfc7b4d354bc;hpb=0975227f6b0e10da26c079163299c37e3716d9dc;p=nodemanager.git diff --git a/net.py b/net.py index a2b28ca..23a13b6 100644 --- a/net.py +++ b/net.py @@ -7,7 +7,7 @@ import os, string, time, socket import sioc, plnet # local modules -import bwlimitlxc as bwlimit +import plnode.bwlimit as bwlimit import logger, iptables, tools # we can't do anything without a network @@ -30,10 +30,10 @@ def GetSlivers(data, config, plc): if not 'interfaces' in data: # added by caglar # band-aid for short period as old API returns networks instead of interfaces - # logger.log_missing_data('net.GetSlivers','interfaces') + # logger.log_missing_data('net.GetSlivers', 'interfaces') # return if not 'networks' in data: - logger.log_missing_data('net.GetSlivers','interfaces') + logger.log_missing_data('net.GetSlivers', 'interfaces') return else: KEY_NAME = "networks"