from time import sleep import sys from test1 import TestHolon from icehms import run_holon if __name__ == "__main__": holon = TestHolon("Holon2") holon.other = ("Holon1") run_holon(holon)
from time import sleep import sys from test1 import TestHolon from icehms import run_holon, AgentManager, IceManager if __name__ == "__main__": holon = TestHolon("Holon2") holon.setLogLevel(10) holon.other = ("Holon1") #icemgr = IceManager(adapterId="Holon2_adapter", publishedEndpoints="tcp -h 10.0.0.103 -p 10000", endpoints="tcp -h 10.0.0.103 -p 10000") #icemgr = IceManager(adapterId="Holon2_adapter", publishedEndpoints="tcp -h utopie.sintef.no -p 10000", endpoints="tcp -h utopie.sintef.no -p 10000") icemgr = IceManager(adapterId="Holon2_adapter", publishedEndpoints="tcp -h eko.sintef.no -p 14000", endpoints="tcp -h 192.168.0.100 -p 10000") mgr = AgentManager(icemgr=icemgr, logLevel=10) mgr.addHolon(holon) mgr.waitForShutdown()
from time import sleep import sys from test1 import TestHolon from icehms import run_holon, AgentManager, IceManager if __name__ == "__main__": holon = TestHolon("Holon2") holon.setLogLevel(10) holon.other = "Holon1" # icemgr = IceManager(adapterId="Holon2_adapter", publishedEndpoints="tcp -h 10.0.0.103 -p 10000", endpoints="tcp -h 10.0.0.103 -p 10000") # icemgr = IceManager(adapterId="Holon2_adapter", publishedEndpoints="tcp -h utopie.sintef.no -p 10000", endpoints="tcp -h utopie.sintef.no -p 10000") icemgr = IceManager( adapterId="Holon2_adapter", publishedEndpoints="tcp -h eko.sintef.no -p 14000", endpoints="tcp -h 192.168.0.100 -p 10000", ) mgr = AgentManager(icemgr=icemgr, logLevel=10) mgr.addHolon(holon) mgr.waitForShutdown()