Syntax error.
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 30 Jan 2009 21:51:33 +0000 (21:51 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 30 Jan 2009 21:51:33 +0000 (21:51 +0000)
net.py

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 ***")