X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0b0b1cbe4bf84b70b18a0139dc198a540d230ab0..cf6a1d5f1eddea2b377415ab57c5185058488269:/src/surf/xml/platf_private.hpp diff --git a/src/surf/xml/platf_private.hpp b/src/surf/xml/platf_private.hpp index fbe530cb4b..6c0c475a4c 100644 --- a/src/surf/xml/platf_private.hpp +++ b/src/surf/xml/platf_private.hpp @@ -121,6 +121,7 @@ public: class ClusterZoneCreationArgs { public: + std::string routing; std::vector host_links; std::vector cabinets; std::unique_ptr backbone; @@ -174,6 +175,8 @@ extern XBT_PRIVATE xbt::signal on_cluster_crea } // namespace kernel } // namespace simgrid +/********** Routing **********/ +void routing_cluster_add_backbone(std::unique_ptr link); /*** END of the parsing cruft ***/ XBT_PUBLIC simgrid::kernel::routing::NetZoneImpl* @@ -186,6 +189,8 @@ sg_platf_new_host_begin(const simgrid::kernel::routing::HostCreationArgs* host); XBT_PUBLIC void sg_platf_new_host_set_properties(const std::unordered_map& props); XBT_PUBLIC void sg_platf_new_host_seal(int pstate); // That Host is fully described +XBT_PUBLIC void +sg_platf_new_hostlink(const simgrid::kernel::routing::HostLinkCreationArgs* h); // Add a host_link to the current Zone XBT_PUBLIC void sg_platf_new_link(const simgrid::kernel::routing::LinkCreationArgs* link); // Add a link to the current Zone XBT_PUBLIC void @@ -198,7 +203,8 @@ XBT_PUBLIC void sg_platf_zone_cluster_populate( simgrid::kernel::routing::ClusterZoneCreationArgs* clust); // Add a routing cluster to the current Zone XBT_PUBLIC simgrid::kernel::routing::NetPoint* // Add a router to the current Zone sg_platf_new_router(const std::string&, const std::string& coords); - +XBT_PUBLIC void +sg_platf_new_cabinet(const simgrid::kernel::routing::CabinetCreationArgs* cabinet); // Add a cabinet to the current Zone XBT_PUBLIC void sg_platf_new_route(simgrid::kernel::routing::RouteCreationArgs* route); // Add a route XBT_PUBLIC void sg_platf_new_bypassRoute(simgrid::kernel::routing::RouteCreationArgs* bypassroute); // Add a bypassRoute