]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/kernel/routing/NetZoneImpl.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Vivaldi on top of StarZone
[simgrid.git] / include / simgrid / kernel / routing / NetZoneImpl.hpp
index f829d7fe03aed93d5424c37a8dac20ed10b89754..bbd3899e8805755eb5332f81ee0b3bc02e9eb55a 100644 (file)
@@ -134,6 +134,8 @@ public:
   s4u::Disk* create_disk(const std::string& name, double read_bandwidth, double write_bandwidth);
   /** @brief Make a link within that NetZone */
   virtual s4u::Link* create_link(const std::string& name, const std::vector<double>& bandwidths);
+  /** @brief Make a router within that NetZone */
+  NetPoint* create_router(const std::string& name);
   /** @brief Creates a new route in this NetZone */
   virtual void add_bypass_route(NetPoint* src, NetPoint* dst, NetPoint* gw_src, NetPoint* gw_dst,
                                 std::vector<resource::LinkImpl*>& link_list, bool symmetrical);