X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4740be30808ce9367af87084c8bf989883b1f2a0..fd77edf75909515d711d8be2c27e61e23a72ba74:/src/surf/network_ib.cpp diff --git a/src/surf/network_ib.cpp b/src/surf/network_ib.cpp index 5f52e8c316..ecc9e63597 100644 --- a/src/surf/network_ib.cpp +++ b/src/surf/network_ib.cpp @@ -8,9 +8,10 @@ #include #include "network_ib.hpp" + +#include "src/surf/HostImpl.hpp" #include "simgrid/sg_config.h" #include "maxmin_private.hpp" -#include "src/surf/host_interface.hpp" XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(surf_network); @@ -94,8 +95,9 @@ void surf_network_model_init_IB(void) if (surf_network_model) return; + + simgrid::surf::on_link.connect(netlink_parse_init); surf_network_model = new simgrid::surf::NetworkIBModel(); - net_define_callbacks(); xbt_dynar_push(all_existing_models, &surf_network_model); networkActionStateChangedCallbacks.connect(IB_action_state_changed_callback); networkCommunicateCallbacks.connect(IB_action_init_callback); @@ -104,7 +106,7 @@ void surf_network_model_init_IB(void) } -#include // FIXME: move that back to the parsing area +#include "src/surf/xml/platf.hpp" // FIXME: move that back to the parsing area namespace simgrid { namespace surf {