slice_tests_path = tests_path + os.sep + 'slice' + os.sep
vserver_scripts_path = path + os.sep + 'vserver' + os.sep
log_filename = logfile.filename
-
+
def update_api(self, plc = None):
# Set up API acccess
# If plc is specified, find its configuration
execfile(config_file, self.__dict__)
except:
raise "Could not find system config in %s" % config_file
-
+
+ self.logfile = logfile
self.auth = {}
self.auth['Username'] = self.PLC_ROOT_USER
self.auth['AuthString'] = self.PLC_ROOT_PASSWORD
node = Node(self)
if hasattr(self, 'nodes') and hostname in self.nodes.keys():
node.update(self.nodes[hostname])
+ node.__init_logfile__()
return node
def load(self, conffile):