X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2Fget_trusted_certs.py;h=1b26d468c5e588d11c0bb9100cdc690179d46e17;hb=713d58df0baa1f9739eec9bfa30ceb41d7149e23;hp=53a687f36cd1efa8e20a8fe9d5045614b2b9d814;hpb=0a9902d2a55a0a9ac03601345c4284293669012b;p=sfa.git diff --git a/sfa/methods/get_trusted_certs.py b/sfa/methods/get_trusted_certs.py index 53a687f3..1b26d468 100644 --- a/sfa/methods/get_trusted_certs.py +++ b/sfa/methods/get_trusted_certs.py @@ -1,4 +1,5 @@ from sfa.util.method import Method +from sfa.util.sfalogging import logger from sfa.trust.auth import Auth from sfa.trust.credential import Credential @@ -9,10 +10,10 @@ from sfa.storage.parameter import Parameter, Mixed class get_trusted_certs(Method): """ @param cred credential string specifying the rights of the caller - @return list of gid strings + @return list of gid strings """ - interfaces = ['registry', 'aggregate', 'slicemgr'] + interfaces = ['registry', 'aggregate'] accepts = [ Mixed(Parameter(str, "Credential string"), @@ -25,7 +26,7 @@ class get_trusted_certs(Method): # If cred is not specified just return the gid for this interface. # This is true when when a peer is attempting to initiate federation # with this interface - self.api.logger.debug("get_trusted_certs: %r" % cred) + logger.debug("get_trusted_certs: %r" % cred) if not cred: gid_strings = [] for gid in self.api.auth.trusted_cert_list: