SliverStatus renamed to status
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 20 Aug 2012 19:26:04 +0000 (15:26 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Mon, 20 Aug 2012 19:26:04 +0000 (15:26 -0400)
sfa/methods/SliverStatus.py
sfa/planetlab/pldriver.py

index deb7998..6935d01 100644 (file)
@@ -3,7 +3,7 @@ from sfa.util.method import Method
 
 from sfa.storage.parameter import Parameter, Mixed
 
-class SliverStatus(Method):
+class Status(Method):
     """
     Get the status of a sliver
     
@@ -25,7 +25,7 @@ class SliverStatus(Method):
 
         self.api.logger.info("interface: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, hrn, self.name))
     
-        status = self.api.manager.SliverStatus(self.api, hrn, valid_creds, options)
+        status = self.api.manager.Status(self.api, hrn, valid_creds, options)
 
         return status
     
index 33b8804..8388ea2 100644 (file)
@@ -579,7 +579,7 @@ class PlDriver (Driver):
     def describe(self, creds, urns, options):
         return {}
     
-    def sliver_status (self, slice_urn, slice_hrn):
+    def status (self, slice_urn, slice_hrn):
         # find out where this slice is currently running
         slicename = hrn_to_pl_slicename(slice_hrn)