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

DISPATCH-113 -- expose topology_last_changed to management #117

Closed
wants to merge 5 commits into from

Conversation

mgoulish
Copy link
Contributor

No description provided.

Copy link
Member

@ted-ross ted-ross left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use an integer seconds-since-the-epoch for this value. Then you can update qdstat -n to look like the following:

$ qdstat -n
Routers in the Network
Last Topology Change: Wed Nov 23 14:56:11 2016
  router-id  next-hop  link
  ===========================
  QDR.A      -         1
  QDR.B      -         0
  QDR.C      QDR.A     -
  QDR.D      QDR.A     -
  QDR.X      (self)    -
  QDR.Y      QDR.A     -

},
"lastTopoChange": {
"description": "Timestamp showing the most recent change to this node's neighborhood.",
"type": "string"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be an integer, not a string. Seconds since the epoch is more than sufficient granularity.

@asfgit asfgit closed this in cb0a14b Nov 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants