X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Ffederica%2Ffdshell.py;h=42ec030f198bbf05b276d53a95f65f2e9788a9cc;hb=4986fe8b86a26b532b96674531569bbc70d7d7ac;hp=1b290b0593eac97a5d2681d77953a97cb25bf05d;hpb=a692f60f6cfe4e24727f01042b1e1019846c7846;p=sfa.git diff --git a/sfa/federica/fdshell.py b/sfa/federica/fdshell.py index 1b290b05..42ec030f 100644 --- a/sfa/federica/fdshell.py +++ b/sfa/federica/fdshell.py @@ -24,17 +24,17 @@ class FdShell: # xxx turn on verbosity self.proxy = xmlrpclib.Server(url, verbose = True) + # xxx get credentials from the config ? + # right now basic auth data goes into the URL + # so do *not* add any credential at that point def __getattr__(self, name): def func(*args, **kwds): if name not in FdShell.direct_calls: raise Exception, "Illegal method call %s for FEDERICA driver"%(name) - # xxx get credentials from the config ? - # right now basic auth data goes into the URL - # the API still provides for a first credential arg though - credential='xxx-unused-xxx' logger.info("Issuing %s args=%s kwds=%s to federica"%\ (name,args,kwds)) - result=getattr(self.proxy, "AggregateManager.%s"%name)(credential, *args, **kwds) +# result=getattr(self.proxy, "AggregateManager.%s"%name)(credential, *args, **kwds) + result=getattr(self.proxy, "AggregateManager.%s"%name)(*args, **kwds) logger.debug('FdShell %s (%s) returned ... '%(name,name)) return result return func