Flap detection vol2 (#915)

* 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.
This commit is contained in:
Milos Gajdos
2019-11-05 17:44:24 +00:00
committed by Asim Aslam
parent f67c5e779f
commit b84134581c
3 changed files with 254 additions and 81 deletions

View File

@@ -7,6 +7,7 @@ func testSetup() (*table, Route) {
route := Route{
Service: "dest.svc",
Address: "dest.addr",
Gateway: "dest.gw",
Network: "dest.network",
Router: "src.router",