I think there is value to know the number of times an interface has flapped in addition to the last time it happened.
The interface flapped over the weekend? Not sure I care that much. The interface last flapped over the weekend and the counter went up 6000 times? I probably need to check it out. donald On Mon, Apr 11, 2016 at 4:48 AM, Paul Jakma <p...@jakma.org> wrote: > On Thu, 7 Apr 2016, Christian Franke wrote: > > From: Christian Franke <nob...@nowhere.ws> >> >> 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. >> > > + unsigned int up_count; >> + char up_last[QUAGGA_TIMESTAMP_LEN]; >> + unsigned int down_count; >> + char down_last[QUAGGA_TIMESTAMP_LEN]; >> + >> > > Why not just store timestamps here? > > It'd be nice to have "Move UI out of core processes" as a goal, and it'd > be nice to keep UI related formatting out of core stuff as a result, or not? > > regards, > -- > Paul Jakma p...@jakma.org @pjakma Key ID: 64A2FF6A > Fortune: > "I've seen the forgeries I've sent out." > -- John F. Haugh II (j...@rpp386.dallas.tx.us), about forging net news > articles > > > _______________________________________________ > Quagga-dev mailing list > Quagga-dev@lists.quagga.net > https://lists.quagga.net/mailman/listinfo/quagga-dev >
_______________________________________________ Quagga-dev mailing list Quagga-dev@lists.quagga.net https://lists.quagga.net/mailman/listinfo/quagga-dev