fix bug
authorTony Mack <tmack@cs.princeton.edu>
Fri, 1 May 2009 00:50:45 +0000 (00:50 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 1 May 2009 00:50:45 +0000 (00:50 +0000)
geni/methods/start_slice.py

index d3023d3..5eec8f7 100644 (file)
@@ -6,7 +6,7 @@ from geni.util.parameter import Parameter, Mixed
 from geni.util.auth import Auth
 from geni.util.slices import Slices
 
-class start_slices(Method):
+class start_slice(Method):
     """
     Start the specified slice      
 
@@ -28,6 +28,6 @@ class start_slices(Method):
        
         self.api.auth.check(cred, 'startslice')
         slices = Slices(self.api)
-        slices.stop_slice(hrn):
+        slices.start_slice(hrn)
         
         return 1