Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Issue#71: add check in add_route for gw_src/gw_dst
authorBruno Donassolo <bruno.donassolo@inria.fr>
Fri, 28 May 2021 17:49:45 +0000 (19:49 +0200)
committerBruno Donassolo <bruno.donassolo@inria.fr>
Fri, 28 May 2021 17:57:15 +0000 (19:57 +0200)
commitfe620eda269ea46829c7c46afefa3650c6a509cd
tree87b544ecd451d953070288f59c966741378a44f5
parent8394a0c6dcbc6c3c9dfc53a50550e46c4ef93473
Issue#71: add check in add_route for gw_src/gw_dst

When adding a NetZoneRoute, check if gw_src and gw_dst belongs to the
respective netzones.

We need to recursively search for the netpoint inside the netzone since
the netpoint can be from one of its children.
MANIFEST.in
include/simgrid/kernel/routing/NetZoneImpl.hpp
include/simgrid/kernel/routing/StarZone.hpp
src/kernel/routing/NetZoneImpl.cpp
src/kernel/routing/RoutedZone.cpp
src/kernel/routing/StarZone.cpp
src/kernel/routing/StarZone_test.cpp
teshsuite/s4u/CMakeLists.txt
teshsuite/s4u/issue71/issue71.cpp [new file with mode: 0644]
teshsuite/s4u/issue71/issue71.tesh [new file with mode: 0644]
teshsuite/s4u/issue71/platform_bad.xml [new file with mode: 0644]