aboutsummaryrefslogtreecommitdiff
path: root/rumba/model.py
diff options
context:
space:
mode:
authorMarco Capitani <m.capitani@nextworks.it>2017-11-16 16:59:04 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-11-17 15:17:31 +0000
commit38e25070ab5e5b74917797f9049dd226afeb9728 (patch)
tree219891c01f85a6c4c8da13c6f247e7230282bad7 /rumba/model.py
parent9d21bf51eb1765e0bdb15ef3d8b8700327bf2f66 (diff)
downloadrumba-38e25070ab5e5b74917797f9049dd226afeb9728.tar.gz
rumba-38e25070ab5e5b74917797f9049dd226afeb9728.zip
storyboard: add logging and log retrieval
Diffstat (limited to 'rumba/model.py')
-rw-r--r--rumba/model.py16
1 files changed, 12 insertions, 4 deletions
diff --git a/rumba/model.py b/rumba/model.py
index 7a68459..7573df2 100644
--- a/rumba/model.py
+++ b/rumba/model.py
@@ -370,12 +370,20 @@ class Node:
destination
)
- def setup_vlan(self, vlan_id, int_name):
- ssh_support.setup_vlan(
+ def fetch_files(self, paths, destination):
+ ssh_support.copy_files_from_testbed(
self.ssh_config,
self.ssh_config,
- vlan_id,
- int_name
+ paths,
+ destination
+ )
+
+ def fetch_file(self, path, destination):
+ ssh_support.copy_file_from_testbed(
+ self.ssh_config,
+ self.ssh_config,
+ path,
+ destination
)