X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c5f8dbbcfb10a8a1c797d0fe1671d7f7698cf6cd..8d0b1f2f1840a16bb9551f1cfd74f2488599f95b:/teshsuite/s4u/monkey-masterworkers/monkey-masterworkers.py diff --git a/teshsuite/s4u/monkey-masterworkers/monkey-masterworkers.py b/teshsuite/s4u/monkey-masterworkers/monkey-masterworkers.py index 26944b7027..863b39244e 100644 --- a/teshsuite/s4u/monkey-masterworkers/monkey-masterworkers.py +++ b/teshsuite/s4u/monkey-masterworkers/monkey-masterworkers.py @@ -92,7 +92,7 @@ if __name__ == '__main__': for i in range(1, host_count): link = rootzone.create_split_duplex_link(f"link {i}", "1MBps").set_latency("24us") host = rootzone.create_host(f"lilibeth {i}", 1e9) - rootzone.add_route(main.netpoint, host.netpoint, None, None, [LinkInRoute(link, LinkInRoute.Direction.UP)], True) + rootzone.add_route(main, host, [link]) Actor.create("worker", host, worker, i).set_auto_restart(True) e.netzone_root.seal()