Hello Jawad,
at the moment there is no way to add/remove static routes via the API. But if you like to add this functionality, you should take a look at the file ManagementConnection.cpp [1] and the BundleCore::addRoute() method [2].
Kind regards, Johannes Morgenroth
[1] https://github.com/ibrdtn/ibrdtn/blob/master/ibrdtn/daemon/src/api/Managemen... [2] https://github.com/ibrdtn/ibrdtn/blob/master/ibrdtn/daemon/src/core/BundleCo...
Am 09.01.2014 16:43, schrieb Jawad Seddar:
Hi everyone,
I am a new user of IBR-DTN (v 0.10.2) and I would like to know if it is possible to add and delete static routes while the daemon is running (e.g. through API calls) in the same way we can add and delete connections through this api command : "connection <eid> [tcp|udp|file] [add|del] <ip> <port> <global|local>".
Regards, J.