X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FStart.py;h=e1ca60e90fc5c0f235ac75cd3b8312287af644ff;hb=f88768144de1bb402f19a8b4c09e1f9fa005fb57;hp=26a29589a92543779be554f9d9581bcf3aa78302;hpb=4da1ef02b7f08ab669ec21685d66259443bff303;p=sfa.git diff --git a/sfa/methods/Start.py b/sfa/methods/Start.py index 26a29589..e1ca60e9 100644 --- a/sfa/methods/Start.py +++ b/sfa/methods/Start.py @@ -2,7 +2,7 @@ ### $URL: https://svn.planet-lab.org/svn/sfa/trunk/sfa/methods/stop_slice.py $ from sfa.util.faults import * -from sfa.util.namespace import * +from sfa.util.xrn import urn_to_hrn from sfa.util.method import Method from sfa.util.parameter import Parameter, Mixed from sfa.trust.auth import Auth @@ -36,6 +36,6 @@ class Start(Method): self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, origin_hrn, hrn, self.name)) manager = self.api.get_interface_manager() - manager.start_slice(self.api, xrn, valid_creds) + manager.start_slice(self.api, xrn, creds) return 1