From d7e21ad16473dbc2b12f20c6ef34a09f73863912 Mon Sep 17 00:00:00 2001
From: Samo Penic <samo.penic@gmail.com>
Date: Sat, 07 Jan 2017 20:55:10 +0000
Subject: [PATCH] Copying all tapes to all remotes. Copy is possible to configured directory. Must fix runs

---
 networkedExample.py |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/networkedExample.py b/networkedExample.py
index 00bb8d9..a38856f 100755
--- a/networkedExample.py
+++ b/networkedExample.py
@@ -24,13 +24,21 @@
 #this is how analyses are defined
 def analyze(run, **kwargs):
 	host=kwargs.get('host', None)
+	print("Demo analysis")
 	print("Analysis on host "+host['name']+" for run "+run.Dir.fullpath()+" completed")
+	print("here comes info on the run variable:")
+	print(run)
+	print("here comes info on the host variable:")
+	print(host)
+	print("here comes info on the hosts variable:")
+	print(kwargs.get('hosts',None))
+	print("here comes info on the args variable:")
+	print(kwargs.get('args',None))
 
 
 
-
-hosts=({'name':'natalie','address':'kabinet.penic.eu', 'runs':Runs, 'username':'samo'},
+hosts=({'name':'natalie','address':'kabinet.penic.eu', 'runs':Runs, 'username':'samo', 'remotebasepath':'simulations-test/subdir/subdir'},
 	{'name':'Hestia','address':'127.0.0.1', 'runs':Runs, 'username':'samo'})
-
 analyses={'analysis1':analyze,}
+
 tsmgr.start(hosts, analyses=analyses)

--
Gitblit v1.9.3