X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f8b73381cb02cdf39dd7829afe40df5f218a27f0..fc1551b7a3cbbcdb9fb48500f70683318c87c47b:/src/surf/surf_routing.c diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index 634b3c7e38..4a4077e4b2 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -1512,7 +1512,7 @@ static void parse_create_host_link(int i) host.V_host_core = struct_cluster->S_cluster_core; host.V_host_state_initial = SURF_RESOURCE_ON; host.V_host_coord = ""; - surf_parse_host(&host); + sg_platf_new_host(&host); XBT_DEBUG(""); A_surfxml_link_sharing_policy = A_surfxml_link_sharing_policy_SHARED; @@ -1645,7 +1645,7 @@ void routing_parse_Scluster(void) host.V_host_core = struct_cluster->S_cluster_core; host.V_host_state_initial = SURF_RESOURCE_ON; host.V_host_coord = ""; - surf_parse_host(&host); + sg_platf_new_host(&host); XBT_DEBUG(""); A_surfxml_link_sharing_policy = A_surfxml_link_sharing_policy_SHARED; @@ -1725,7 +1725,7 @@ void routing_parse_Scluster(void) host.V_host_core = struct_cluster->S_cluster_core; host.V_host_state_initial = SURF_RESOURCE_ON; host.V_host_coord = ""; - surf_parse_host(&host); + sg_platf_new_host(&host); XBT_DEBUG(""); A_surfxml_link_sharing_policy = A_surfxml_link_sharing_policy_SHARED;