+std::unordered_map<std::string, std::string>* NetZone::properties()
+{
+ return simgrid::simix::kernelImmediate([this] {
+ return &properties_;
+ });
+}
+
+/** Retrieve the property value (or nullptr if not set) */
+const char* NetZone::property(const char* key)
+{
+ return properties_.at(key).c_str();
+}
+void NetZone::setProperty(const char* key, const char* value)
+{
+ simgrid::simix::kernelImmediate([this,key,value] {
+ properties_[key] = value;
+ });
+}
+
+std::vector<NetZone*>* NetZone::children()