git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e0678ef
)
try creating /OMF and /OMF/SYSTEM groups at start
author
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Fri, 19 Mar 2010 12:24:10 +0000
(12:24 +0000)
committer
Barış Metin
<Talip-Baris.Metin@sophia.inria.fr>
Fri, 19 Mar 2010 12:24:10 +0000
(12:24 +0000)
omf/omf_slicemgr.py
patch
|
blob
|
history
diff --git
a/omf/omf_slicemgr.py
b/omf/omf_slicemgr.py
index
3ad62c7
..
917c325
100644
(file)
--- a/
omf/omf_slicemgr.py
+++ b/
omf/omf_slicemgr.py
@@
-371,6
+371,10
@@
if __name__ == "__main__":
t = task.LoopingCall(slicemgr.flush_commands)
t.start(5.0) # check every 5 seconds
t = task.LoopingCall(slicemgr.flush_commands)
t.start(5.0) # check every 5 seconds
+
+ reactor.callLater(1, slicemgr.create_node, "/OMF")
+ reactor.callLater(1, slicemgr.create_node, "/OMF/SYSTEM")
+
reactor.connectTCP(slicemgr.id.host, 5222, slicemgr.factory)
reactor.listenTCP(5053, server.Site(slicemgr), interface="localhost")
reactor.run(installSignalHandlers=True)
reactor.connectTCP(slicemgr.id.host, 5222, slicemgr.factory)
reactor.listenTCP(5053, server.Site(slicemgr), interface="localhost")
reactor.run(installSignalHandlers=True)