/* creation of the environment */
e.load_platform(argv[1]);
+ e.seal_platform();
XBT_INFO("Workstation number: %zu, link number: %zu", e.get_host_count(), e.get_link_count());
std::vector<sg4::Host*> hosts = e.get_all_hosts();
if (strcmp(argv[2], "FULL_LINK") == 0)
test_full_link(hosts);
if (strcmp(argv[2], "PROP") == 0)
- XBT_INFO("SG_TEST_mem: %s", sg4::Host::by_name("host1")->get_property("SG_TEST_mem"));
+ XBT_INFO("SG_TEST_mem: %s", e.host_by_name("host1")->get_property("SG_TEST_mem"));
}
return 0;