auto* root = e.get_netzone_root();
auto* lilibeth = root->create_host("Lilibeth", 1e15);
auto link = sg4::LinkInRoute(e.link_by_name("10"));
- root->add_route(e.host_by_name("Tremblay")->get_netpoint(), lilibeth->get_netpoint(), nullptr, nullptr, {link}, true);
+ root->add_route(e.host_by_name("Tremblay"), lilibeth, {link}, true);
lilibeth->set_state_profile(simgrid::kernel::profile::ProfileBuilder::from_string("lilibeth_profile", R"(
4 0
5 1