aboutsummaryrefslogtreecommitdiff
path: root/rumba/model.py
diff options
context:
space:
mode:
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
)