parent->last_id = 0;
parent->resource_list = xbt_dynar_new(sizeof(char *), NULL);
xbt_dynar_sort (host_names, &compare_hostnames);
xbt_dynar_foreach(host_names, iter, host_name) {
parent->last_id = 0;
parent->resource_list = xbt_dynar_new(sizeof(char *), NULL);
xbt_dynar_sort (host_names, &compare_hostnames);
xbt_dynar_foreach(host_names, iter, host_name) {