git://git.onelab.eu
/
nodemanager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
reguire gnupg1 on f>=31; sense the system to use gpg1 when installed
[nodemanager.git]
/
net.py
diff --git
a/net.py
b/net.py
index
884898e
..
7756d6b
100644
(file)
--- a/
net.py
+++ b/
net.py
@@
-1,17
+1,21
@@
-"""network configuration"""
+"""
+network configuration
+"""
# system provided modules
# system provided modules
-import os
, string, time, socket
+import os
# PlanetLab system modules
import sioc, plnet
# local modules
import plnode.bwlimit as bwlimit
# PlanetLab system modules
import sioc, plnet
# local modules
import plnode.bwlimit as bwlimit
-import logger, iptables, tools
+import logger
+import iptables
+import tools
# we can't do anything without a network
# we can't do anything without a network
-priority
=
1
+priority
=
1
dev_default = tools.get_default_if()
dev_default = tools.get_default_if()