Change in vdsm[master]: migration: change destServer attribute to private

ykaplan at redhat.com ykaplan at redhat.com
Wed Mar 25 17:42:37 UTC 2015


Yeela Kaplan has uploaded a new change for review.

Change subject: migration: change destServer attribute to private
......................................................................

migration: change destServer attribute to private

Change-Id: Ia9a12439ec15110909706038d31f2a2900fe8c17
Signed-off-by: Yeela Kaplan <ykaplan at redhat.com>
---
M vdsm/virt/migration.py
1 file changed, 3 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/04/39204/1

diff --git a/vdsm/virt/migration.py b/vdsm/virt/migration.py
index c50fbb4..26d6c5e 100644
--- a/vdsm/virt/migration.py
+++ b/vdsm/virt/migration.py
@@ -111,12 +111,12 @@
         self.remoteHost, _ = hostPort.rsplit(':', 1)
 
         if config.getboolean('vars', 'ssl'):
-            self.destServer = vdscli.connect(
+            self._destServer = vdscli.connect(
                 hostPort,
                 useSSL=True,
                 TransportClass=kaxmlrpclib.TcpkeepSafeTransport)
         else:
-            self.destServer = kaxmlrpclib.Server('http://' + hostPort)
+            self._destServer = kaxmlrpclib.Server('http://' + hostPort)
         self.log.debug('Destination server is: ' + hostPort)
 
     def _setupRemoteMachineParams(self):
@@ -169,7 +169,7 @@
         self.log.error(message)
         if not self.hibernating:
             try:
-                self.destServer.destroy(self._vm.id)
+                self._destServer.destroy(self._vm.id)
             except Exception:
                 self.log.exception("Failed to destroy remote VM")
         # if the guest was stopped before migration, we need to cont it


-- 
To view, visit https://gerrit.ovirt.org/39204
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia9a12439ec15110909706038d31f2a2900fe8c17
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yeela Kaplan <ykaplan at redhat.com>


More information about the vdsm-patches mailing list