From: Tony Mack Date: Mon, 23 Jun 2008 17:21:14 +0000 (+0000) Subject: minor updates X-Git-Tag: tests-4.3-0~150 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=a8e3f912c79a314673fd1e764938da101c4db5ac;p=tests.git minor updates --- diff --git a/qaapi/qa/PLCs.py b/qaapi/qa/PLCs.py index 80221e8..287aac9 100644 --- a/qaapi/qa/PLCs.py +++ b/qaapi/qa/PLCs.py @@ -57,11 +57,17 @@ class PLC(dict, Remote): self.config.api = xmlrpclib.Server(api_server, allow_none = 1) self.config.api_type = 'xmlrpc' + def update_node_images(self): + pass + def scp_to_webroot(self, localfiles, recursive = False): if self.config.verbose: utils.header("Copying %s to %s webroot" % (localfiles, self['name']), logfile = self.config.logfile) self.scp_to("%(localfiles)s" % locals(), "/var/www/html/") - + url = 'http://%s/%s' % (self['ip'], localfiles) + + return url + class PLCs(Table): def __init__(self, config, plcs):