X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c2a222e04147f18da89065b5758210f67a810cd2..3907e83884bae6278656e9cd2cb7ef92a8f707fb:/teshsuite/python/platform-mix/platform-mix.py?ds=sidebyside diff --git a/teshsuite/python/platform-mix/platform-mix.py b/teshsuite/python/platform-mix/platform-mix.py index 618605b55a..5bab3cbfe4 100644 --- a/teshsuite/python/platform-mix/platform-mix.py +++ b/teshsuite/python/platform-mix/platform-mix.py @@ -1,4 +1,4 @@ -# Copyright (c) 2006-2022. The SimGrid Team. All rights reserved. +# Copyright (c) 2006-2023. The SimGrid Team. All rights reserved. # # This program is free software; you can redistribute it and/or modify it # under the terms of the license (GNU LGPL) which comes with this package. @@ -63,8 +63,8 @@ def load_platform(): hosts.append(host2) link1 = dijkstra.create_link("link1_up", [1e9]).set_latency(1e-3).set_concurrency_limit(10).seal() link2 = dijkstra.create_link("link1_down", ["1GBps"]).set_latency("1ms").seal() - dijkstra.add_route(host1.netpoint, host2.netpoint, None, None, [LinkInRoute(link1)], False) - dijkstra.add_route(host2.netpoint, host1.netpoint, None, None, [LinkInRoute(link2)], False) + dijkstra.add_route(host1, host2, [LinkInRoute(link1)], False) + dijkstra.add_route(host2, host1, [LinkInRoute(link2)], False) dijkstra.seal() # vivaldi