- surf::Link** blueLinks_ = nullptr;
- surf::Link** blackLinks_ = nullptr;
- surf::Link** greenLinks_ = nullptr;
- surf::Link** myNodes_ = nullptr;
+ surf::LinkImpl** blueLinks_ = nullptr;
+ surf::LinkImpl** blackLinks_ = nullptr;
+ surf::LinkImpl** greenLinks_ = nullptr;
+ surf::LinkImpl** myNodes_ = nullptr;
*
* Generate dragonfly according to the topology asked for, according to:
* Cray Cascade: a Scalable HPC System based on a Dragonfly Network
*
* Generate dragonfly according to the topology asked for, according to:
* Cray Cascade: a Scalable HPC System based on a Dragonfly Network
* LIMITATIONS (for now):
* - Routing is only static and uses minimal routes.
* - When n links are used between two routers/groups, we consider only one link with n times the bandwidth (needs to
* LIMITATIONS (for now):
* - Routing is only static and uses minimal routes.
* - When n links are used between two routers/groups, we consider only one link with n times the bandwidth (needs to
* - All links have the same characteristics for now
* - Blue links are all attached to routers in the chassis n°0. This limits
* the number of groups possible to the number of blades in a chassis. This
* is also not realistic, as blue level can use more links than a single
* Aries can handle, thus it should use several routers.
*/
* - All links have the same characteristics for now
* - Blue links are all attached to routers in the chassis n°0. This limits
* the number of groups possible to the number of blades in a chassis. This
* is also not realistic, as blue level can use more links than a single
* Aries can handle, thus it should use several routers.
*/
- explicit AsClusterDragonfly(As* father, const char* name);
- ~AsClusterDragonfly() override;
+ explicit DragonflyZone(NetZone* father, const char* name);
+ ~DragonflyZone() override;
// void create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id, int rank, int position) override;
// void create_links_for_node(sg_platf_cluster_cbarg_t cluster, int id, int rank, int position) override;
- void getLocalRoute(NetCard* src, NetCard* dst, sg_platf_route_cbarg_t into, double* latency) override;
+ void getLocalRoute(NetPoint* src, NetPoint* dst, sg_platf_route_cbarg_t into, double* latency) override;
- void createLink(char* id, int numlinks, Link** linkup, Link** linkdown);
+ void createLink(char* id, int numlinks, surf::LinkImpl** linkup, surf::LinkImpl** linkdown);