diff mbox

[KVM-AUTOTEST,17/17] KVM test: rename path parameters in kvm_vm.copy_files_*()

Message ID 1294079238-21239-17-git-send-email-mgoldish@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Michael Goldish Jan. 3, 2011, 6:27 p.m. UTC
None
diff mbox

Patch

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):