Change return value to be array instead of dict. aggregate.py creates dict.
authorFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 13 Mar 2009 19:03:22 +0000 (19:03 +0000)
committerFaiyaz Ahmed <faiyaza@cs.princeton.edu>
Fri, 13 Mar 2009 19:03:22 +0000 (19:03 +0000)
GetLinkSpecs.py

index 32bddda..28a367b 100755 (executable)
@@ -81,5 +81,5 @@ class GetLinkSpecs(GetNodeNetworks, GetNodes):
                     'endpoint': ifspecs,
                     'start_time': int(time()),
                     'duration': '-1'})
-        return {'LinkSpec': linkspecs}
+        return linkspecs