SliverStatus renamed to status
[sfa.git] / sfa / methods / SliverStatus.py
index f722c7c..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
     
@@ -19,13 +19,13 @@ class SliverStatus(Method):
         ]
     returns = Parameter(dict, "Status details")
 
-    def call(self, slice_xrn, creds, options={}):
+    def call(self, slice_xrn, creds, options):
         hrn, type = urn_to_hrn(slice_xrn)
         valid_creds = self.api.auth.checkCredentials(creds, 'sliverstatus', hrn)
 
         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