Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Factory functions for all Netzones
[simgrid.git] / src / kernel / routing / ClusterZone.cpp
index 23b711d..0df128e 100644 (file)
@@ -161,4 +161,12 @@ void ClusterZone::create_links_for_node(ClusterCreationArgs* cluster, int id, in
 }
 } // namespace routing
 } // namespace kernel
+
+namespace s4u {
+NetZone* createClusterZone(const std::string& name)
+{
+  return (new kernel::routing::ClusterZone(name))->get_iface();
+}
+} // namespace s4u
+
 } // namespace simgrid