From: Barış Metin Date: Wed, 10 Mar 2010 22:42:06 +0000 (+0000) Subject: listen localhost for xml-rpc requests, until we have some sort of authentication. X-Git-Tag: PLCAPI-5.0-3^2~17 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3c4cc4bcddb573941570ffa26c51d287cfe32fa3;p=plcapi.git listen localhost for xml-rpc requests, until we have some sort of authentication. --- diff --git a/omf/omf-slicemgr.py b/omf/omf-slicemgr.py index 8b2af22..0589aab 100644 --- a/omf/omf-slicemgr.py +++ b/omf/omf-slicemgr.py @@ -264,7 +264,7 @@ if __name__ == "__main__": t = task.LoopingCall(slicemgr.flush_commands) t.start(5.0) # check every 5 seconds reactor.connectTCP(slicemgr.id.host, 5222, slicemgr.factory) - reactor.listenTCP(5053, server.Site(slicemgr)) + reactor.listenTCP(5053, server.Site(slicemgr), interface="localhost") reactor.run(installSignalHandlers=True)