BGP routing table update time
Hi all, I’m trying to parse birdc output to process routing tables. While each route entry has a timestamp associated with it, I can’t find a convenient way of determining when the contents of a table were last changed, other than parsing the entire table and checking the timestamps of each route. I’d like to avoid this, so is there a better way of determining when a route table was last updated that I’m missing? If not, would a patch adding a “time of last update” value to the table be of interest? Thanks, Tom P
On Wed, Apr 17, 2019 at 03:14:10PM +0000, Tom Petty wrote:
Hi all,
I’m trying to parse birdc output to process routing tables. While each route entry has a timestamp associated with it, I can’t find a convenient way of determining when the contents of a table were last changed, other than parsing the entire table and checking the timestamps of each route.
I’d like to avoid this, so is there a better way of determining when a route table was last updated that I’m missing? If not, would a patch adding a “time of last update” value to the table be of interest?
Hi I don't think we keep this stat, but it makes sense to do that. We already have some 'show table' patches (showing table-wide stats) outside of master branch, so we should merge them and include timestamp in them. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
Hi again, Could you point me towards those patches so I can take a closer look? I¹ve had a quick look through Git but can¹t find them. Thanks, Tom P On 18/04/2019, 12:13, "Ondrej Zajicek" <santiago@crfreenet.org> wrote:
On Wed, Apr 17, 2019 at 03:14:10PM +0000, Tom Petty wrote:
Hi all,
I¹m trying to parse birdc output to process routing tables. While each route entry has a timestamp associated with it, I can¹t find a convenient way of determining when the contents of a table were last changed, other than parsing the entire table and checking the timestamps of each route.
I¹d like to avoid this, so is there a better way of determining when a route table was last updated that I¹m missing? If not, would a patch adding a ³time of last update² value to the table be of interest?
Hi
I don't think we keep this stat, but it makes sense to do that. We already have some 'show table' patches (showing table-wide stats) outside of master branch, so we should merge them and include timestamp in them.
-- Elen sila lumenn' omentielvo
Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org) OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net) "To err is human -- to blame it on a computer is even more so."
participants (2)
-
Ondrej Zajicek -
Tom Petty