]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: count iface up/down events and keep last time of their occurrence
authorChristian Franke <nobody@nowhere.ws>
Thu, 7 Apr 2016 19:43:44 +0000 (16:43 -0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 8 Apr 2016 00:41:43 +0000 (20:41 -0400)
commit55ce4d3addcc1ba24c0c1fe2491a7aeb17a37137
treee5f11c25ac171681734dd7586adecae575cb9e03
parentae616d60b5d6469fd9eca61e85dff17b05f67694
zebra: count iface up/down events and keep last time of their occurrence

It is quite useful to be able to assert whether specific interfaces have
flapped or also to verify that specific interfaces have not flapped.

By having counters for those events and storing the last time of their
occurrence, this is made possible.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Acked-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
zebra/interface.c
zebra/interface.h