- /** @brief Retrieve the AS of the given name (or nullptr if not found) */
- simgrid::s4u::NetZone* asByNameOrNull(const char* name);
+ /** @brief Retrieve the netzone of the given name (or nullptr if not found) */
+ simgrid::s4u::NetZone* netzoneByNameOrNull(const char* name);
+
+ /** @brief Retrieve the netcard of the given name (or nullptr if not found) */
+ simgrid::kernel::routing::NetCard* netcardByNameOrNull(const char* name);