Commit Graph

6 Commits

Author SHA1 Message Date
f23638c036 fix import paths for v2 release
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-01-30 14:44:40 +03:00
29c1076950 refactor and cleanup some router code 2020-01-22 16:33:31 +00:00
23d65145e6 Use the same logic for advertising routes in Router and Network
router.Query() allows to query the routes with given router.Strategy.
It uses the same logic as was implemented in flushRoutes but the code
was never updated. This way we are consistent across both router and
network packages.
2020-01-17 16:25:18 +00:00
da04aa8ae8 Switch to AdvertiseLocal by default 2019-12-02 17:36:20 +00:00
55252cbc32 Fix the router test; get rid of time dependency () 2019-11-20 14:53:12 +00:00
b84134581c Flap detection vol2 ()
* We now purge flapping routes before regular tick processes them

* Updated comments

* Record the timestamp as soon as you receive the event

* Set route Address to routing table test

* Fixed a bunch of deadlocks. Added basic Router tests.
2019-11-05 17:44:24 +00:00