fix bug in sfa.plc.aggregate.get_rspec()
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Thu, 12 May 2011 21:06:31 +0000 (17:06 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Thu, 12 May 2011 21:06:31 +0000 (17:06 -0400)
sfa/plc/aggregate.py

index 5de3ad8..afc20d4 100644 (file)
@@ -93,6 +93,7 @@ class Aggregate:
                     sliver = {}
                     sliver['hostname'] = self.nodes[node_id]['hostname']
                     sliver['tags'] = []
+                    slivers.append(sliver)
                     for tag in tags:
                         # if tag isn't bound to a node then it applies to all slivers
                         if not tag['node_id']: