X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=net.py;h=b96286405f4b3b5f83bf128bfacf094b5df1c4ed;hb=1b4f53e648b13f7629970787b6ec03387e2d966a;hp=cb7850ebbb8485c4cfdb14a2fa0a8a1c0d4662fe;hpb=db4118a58cef01c0ad8ac5c76c752c6051e1575b;p=nodemanager.git diff --git a/net.py b/net.py index cb7850e..b962864 100644 --- a/net.py +++ b/net.py @@ -1,6 +1,3 @@ -# $Id$ -# $URL$ - """network configuration""" # system provided modules @@ -10,21 +7,21 @@ import os, string, time, socket import sioc, plnet # local modules -import bwlimit, logger, iptables, tools +import plnode.bwlimit as bwlimit +import logger, iptables, tools # we can't do anything without a network priority=1 dev_default = tools.get_default_if() -# added by caglar -# band-aid for short period as old API returns networks instead of interfaces def start(): logger.log("net: plugin starting up...") def GetSlivers(data, config, plc): # added by caglar + # band-aid for short period as old API returns networks instead of interfaces global KEY_NAME KEY_NAME = "interfaces" #################