From a8e3f912c79a314673fd1e764938da101c4db5ac Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Mon, 23 Jun 2008 17:21:14 +0000 Subject: [PATCH] minor updates --- qaapi/qa/PLCs.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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): -- 2.47.0