X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/10d527068096e98e4f574a89434d8f25b6641b28..657a66f7b1356f4d91ae3392f2cd999f0406a60c:/src/surf/xml/platf_private.hpp diff --git a/src/surf/xml/platf_private.hpp b/src/surf/xml/platf_private.hpp index 66f1ef2c3a..fbe530cb4b 100644 --- a/src/surf/xml/platf_private.hpp +++ b/src/surf/xml/platf_private.hpp @@ -119,6 +119,13 @@ public: double lat; }; +class ClusterZoneCreationArgs { +public: + std::vector host_links; + std::vector cabinets; + std::unique_ptr backbone; +}; + class DiskCreationArgs { public: std::string id; @@ -167,8 +174,6 @@ extern XBT_PRIVATE xbt::signal on_cluster_crea } // namespace kernel } // namespace simgrid -/********** Routing **********/ -void routing_cluster_add_backbone(simgrid::kernel::resource::LinkImpl* bb); /*** END of the parsing cruft ***/ XBT_PUBLIC simgrid::kernel::routing::NetZoneImpl* @@ -181,17 +186,16 @@ 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 sg_platf_new_disk(const simgrid::kernel::routing::DiskCreationArgs* disk); // Add a disk to the current host XBT_PUBLIC void sg_platf_new_peer(const simgrid::kernel::routing::PeerCreationArgs* peer); // Add a peer to the current Zone -XBT_PUBLIC void sg_platf_new_cluster(simgrid::kernel::routing::ClusterCreationArgs* clust); // Add a cluster to the current Zone -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_tag_cluster( + simgrid::kernel::routing::ClusterCreationArgs* clust); // Add a regular cluster to the current Zone +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);