Fix
authorSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 17 Jul 2009 18:32:43 +0000 (18:32 +0000)
committerSapan Bhatia <sapanb@cs.princeton.edu>
Fri, 17 Jul 2009 18:32:43 +0000 (18:32 +0000)
sfa/rspecs/aggregates/rspec_manager_max.py

index 15a6cb6..b8e0920 100644 (file)
@@ -81,7 +81,7 @@ def allocations_to_rspec(allocations):
 def if_endpoints(ifs):
     nodes=[]
     for l in ifs:
-        nodes.extend([topology[l][0]])
+        nodes.extend(topology[l][0])
     return nodes
 
 def lock_state_file():
@@ -319,7 +319,8 @@ def main():
     t = get_interface_map()
     r = Rspec()
     rspec_xml = open(sys.argv[1]).read()
-    get_rspec(None,'foo')
+    #get_rspec(None,'foo')
+    create_slice(None, "foo", rspec_xml)
     
 if __name__ == "__main__":
     main()