+ def call(self, xrn, creds):
+
+ valid_creds = self.api.auth.checkCredentials(creds, 'stopslice', xrn,
+ check_sliver_callback=self.api.driver.check_sliver_credentials)
+ # log the call
+ origin_hrn = Credential(cred=valid_creds[0]).get_gid_caller().get_hrn()
+ self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s" %
+ (self.api.interface, origin_hrn, xrn, self.name))