Statistics
| Branch: | Tag: | Revision:

root / aquarium / testbigeye.py @ 87ace70f

History | View | Annotate | Download (150 Bytes)

1

    
2
import zmq
3

    
4
context = zmq.Context()
5

    
6
sock = context.socket(zmq.PUB)
7
sock.bind('tcp://127.0.0.1:6666')
8

    
9
def fake_ganeti(message):        
10
        sock.send(message)