Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/vital2/xen-api into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
theryecatcher committed Oct 31, 2018
2 parents bdf76e7 + 8de6b6f commit 93621cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xen_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@
logger.addHandler(handler)

# Initialize zmq contexts
zmqMaster = config.get("VITAL", "ZMQ_MASTER")
ctx = zmq.Context()
task_socket = ctx.socket(zmq.PUSH)
task_socket.connect('tcp://Vlab-server:5000')
task_socket.connect('tcp://' + zmqMaster + ':5000')

class XenAPI:
"""
Expand Down

0 comments on commit 93621cc

Please sign in to comment.