git://git.onelab.eu
/
nodemanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ede9b6
)
Syntax error.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Fri, 30 Jan 2009 21:51:33 +0000
(21:51 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Fri, 30 Jan 2009 21:51:33 +0000
(21:51 +0000)
net.py
patch
|
blob
|
history
diff --git
a/net.py
b/net.py
index
606527c
..
ba48959
100644
(file)
--- a/
net.py
+++ b/
net.py
@@
-15,7
+15,7
@@
import bwlimit, logger, iptables
def GetSlivers(plc, data, config):
InitInterfaces(plc, data) # writes sysconfig files.
- if ('OVERRIDES' in dir(config)) and (config.OVERRIDESget('net_max_rate') == -1):
+ if ('OVERRIDES' in dir(config)) and (config.OVERRIDES
.
get('net_max_rate') == -1):
logger.log("Slice and node BW Limits disabled.")
if len(bwlimit.get()):
logger.verbose("*** DISABLING NODE BW LIMITS ***")