Commit c5437193 authored by Thibault VINCENT's avatar Thibault VINCENT
Browse files

fix: xen should use Unix socket too

parent 77f34017
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -737,10 +737,10 @@ class NodeHandler(RpcHandler):
        # get the job
        job = jobmgr.get_job(res['jid'])
        # choose connection endpoint
        if self._host_handle.get_hv_type() == 'xen':
        if self._host_handle.get_hv_type() == 'xen' and migration:
            # FIXME magic values
            ip = '127.0.0.1'
            port = 8002 if migration else 16509
            port = 8002
            endpoint = (ip, port)
        else:
            # FIXME magic values