local_path -> host_path
remote_path -> guest_path
Signed-off-by: Michael Goldish <[email protected]>
---
client/tests/kvm/kvm_vm.py | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 4680577..056416e 100755
--- a/client/tests/kvm/kvm_vm.py
+++ b/client/tests/kvm/kvm_vm.py
@@ -1256,12 +1256,12 @@ class VM:
return self.login(nic_index, internal_timeout)
- def copy_files_to(self, local_path, remote_path, nic_index=0, timeout=600):
+ def copy_files_to(self, host_path, guest_path, nic_index=0, timeout=600):
"""
Transfer files to the remote host(guest).
- @param local_path: Host path
- @param remote_path: Guest path
+ @param host_path: Host path
+ @param guest_path: Guest path
@param nic_index: The index of the NIC to connect to.
@param timeout: Time (seconds) before giving up on doing the remote
copy.
@@ -1275,15 +1275,15 @@ class VM:
(self.name, address,
kvm_utils.generate_random_string(4)))
kvm_utils.copy_files_to(address, client, username, password, port,
- local_path, remote_path, log_filename, timeout)
+ host_path, guest_path, log_filename, timeout)
- def copy_files_from(self, remote_path, local_path, nic_index=0,
timeout=600):
+ def copy_files_from(self, guest_path, host_path, nic_index=0, timeout=600):
"""
Transfer files from the guest.
- @param local_path: Guest path
- @param remote_path: Host path
+ @param host_path: Guest path
+ @param guest_path: Host path
@param nic_index: The index of the NIC to connect to.
@param timeout: Time (seconds) before giving up on doing the remote
copy.
@@ -1297,8 +1297,7 @@ class VM:
(self.name, address,
kvm_utils.generate_random_string(4)))
kvm_utils.copy_files_from(address, client, username, password, port,
- remote_path, local_path, log_filename,
- timeout)
+ guest_path, host_path, log_filename, timeout)
def serial_login(self, timeout=10):
--
1.7.3.4
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html