From: Anil-Kumar Vengalil Date: Tue, 9 Jun 2009 13:05:30 +0000 (+0000) Subject: passing slice hrn to slice control methods X-Git-Tag: sfa-0.9-0@14641~332 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=eb10b17ab73f5cd252ae5bbc2d0783141b6fff08;p=sfa.git passing slice hrn to slice control methods --- diff --git a/geni/util/slices.py b/geni/util/slices.py index b18c869e..8486057e 100644 --- a/geni/util/slices.py +++ b/geni/util/slices.py @@ -251,9 +251,9 @@ class Slices(SimpleStorage): def start_slice(self, hrn): if self.api.interface in ['aggregate']: - self.start_slice_aggregate() + self.start_slice_aggregate(hrn) elif self.api.interface in ['slicemgr']: - self.start_slice_smgr() + self.start_slice_smgr(hrn) def start_slice_aggregate(self, hrn): slicename = hrn_to_pl_slicename(hrn) @@ -276,9 +276,9 @@ class Slices(SimpleStorage): def stop_slice(self, hrn): if self.api.interface in ['aggregate']: - self.stop_slice_aggregate() + self.stop_slice_aggregate(hrn) elif self.api.interface in ['slicemgr']: - self.stop_slice_smgr() + self.stop_slice_smgr(hrn) def stop_slice_aggregate(self, hrn): slicename = hrn_to_pl_slicename(hrn)