X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=geni%2Futil%2Fslices.py;h=b063eb765b939321e4ce107b7403da9f99b1d765;hb=023c25b9663d4b7d9caf1a5e962309756bc6f840;hp=1ba2f9550a62fd7ab52399ecfff9c7f66f880b83;hpb=5727015c03f47bea83ad892c2321a40508337875;p=sfa.git diff --git a/geni/util/slices.py b/geni/util/slices.py index 1ba2f955..b063eb76 100644 --- a/geni/util/slices.py +++ b/geni/util/slices.py @@ -268,9 +268,9 @@ class Slices(SimpleStorage): def start_slice_smgr(self, hrn): credential = self.api.getCredential() - aggregates = Aggregates() + aggregates = Aggregates(self.api) for aggregate in aggregates: - aggreegates[aggregate].start_slice(credential, hrn) + aggregates[aggregate].start_slice(credential, hrn) return 1 @@ -293,7 +293,7 @@ class Slices(SimpleStorage): def stop_slice_smgr(self, hrn): credential = self.api.getCredential() - aggregates = Aggregates() + aggregates = Aggregates(self.api) for aggregate in aggregates: - aggregate[aggregate].stop_slice(credential, hrn) + aggregates[aggregate].stop_slice(credential, hrn)