+// add a router
+int gtnets_add_router(int id){
+ return gtnets_sim->add_router(id);
+}
+
+// add a route between a source and a destination as an array of link indices
+// (note that there is no gtnets_add_network_card(), as we discover them
+// on the fly via calls to gtnets_add_route()
+int gtnets_add_onehop_route(int src, int dst, int link){
+ return gtnets_sim->add_onehop_route(src, dst, link);
+}
+