Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get_router_diagnostics #158

Merged
merged 2 commits into from
Jun 5, 2015
Merged

Add get_router_diagnostics #158

merged 2 commits into from
Jun 5, 2015

Conversation

mundya
Copy link
Member

@mundya mundya commented Jun 4, 2015

This returns the router counter diagnostics as a namedtuple.

This returns the router counter diagnostics as a namedtuple.
@mundya mundya added this to the 1.0 milestone Jun 4, 2015
@mossblaser mossblaser mentioned this pull request Jun 4, 2015
2 tasks
This live test reads the routing table info *twice* from (1, 1) and in doing so
ensures that the second reading's local P2P count increases. (Don't panic: the
test accounts for the possibility of the counter wrapping around!)
@mossblaser
Copy link
Member

Thank you very much for adding that one! I've just added a live test simply out of sheer paranoia since we've been bitten by it in the past ;). That said, "shockingly", it does in fact seem to work!

When you're happy with my additional test, merge at will!

I'd say this definitely covers part one of #45. I should ask Genting about his histogram-related discoveries at some point...

@mundya
Copy link
Member Author

mundya commented Jun 5, 2015

That's a very slick live test, thank you. I'd really like a script that displays a heat map of dropped multicast packets, but that's for another day. Merging!

mundya added a commit that referenced this pull request Jun 5, 2015
Add `get_router_diagnostics`
@mundya mundya merged commit 24ba103 into master Jun 5, 2015
@mundya mundya deleted the rtr_diag branch June 5, 2015 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants