Task #1328
closednfd-status: plain text status command
100%
Description
Develop a command tool nfd-status
to show NFD status as plain text.
Output should contain:
- version information and global counters (from StatusServer #1199)
- NFD version
- start timestamp
- current timestamp
- current number of NameTree entries
- current number of FIB entries
- current number of PIT entries (regardless of whether it is pending or satisfied)
- current number of Measurements entries
- current number of CS entries
- total number of incoming Interests since forwarder starts
- total number of outgoing Interests since forwarder starts
- total number of incoming Datas since forwarder starts
- total number of outgoing Datas since forwarder starts
- Faces (via FaceStatus protocol)
- FaceId
- Uri
- counters
- FIB (via FibEnumeration protocol)
- prefix
- nexthop
This tool is a NDN consumer. It must not depend on HTTP.
Updated by Junxiao Shi over 10 years ago
- Description updated (diff)
- Estimated time set to 6.00 h
Assignee should start reading FaceStatus and FibEnumeration protocol.
Development of this task should occur side-by-side with #1199 #1192 #1245.
Updated by Jerald Paul Abraham over 10 years ago
- Status changed from New to In Progress
Making a ndn-cpp tool to use NFD FIB Enumeration protocol and Face Status protocol.
Updated by Jerald Paul Abraham over 10 years ago
- % Done changed from 0 to 30
Public Github Repository:
https://github.com/jeraldabraham/nfd-status
Update:
- Basic Consumer Tool Skeleton Added
- Fetch Requests To NFD Face Management Protocol & NFD FIB Enumeration Protocol Added
Updated by Junxiao Shi over 10 years ago
This tool should go into /tools/ directory of NFD repository, instead of a separate repository, because it's solely used with NFD and is useless with another forwarder.
Updated by Jerald Paul Abraham over 10 years ago
Ok.
Will move it to nfd/tools once development is complete. This tool will then be within namespace nfd.
Updated by Junxiao Shi over 10 years ago
This tool should be in NFD repository since the first commit, not moved later.
Code must conform to CodeStyle and every commit needs to be reviewed.
Please use nfd_status
namespace.
Updated by Jerald Paul Abraham over 10 years ago
From my experience, that is time consuming and inefficient. Gerrit reviews have caused back and forth design changes which is pointless, even though they are mandatory and necessary.
As there is no pre-decided design, the developer must be allowed to come up with his first version. I would recommend one review in such cases.
Updated by Junxiao Shi over 10 years ago
You can write a design document or slides, send to nfd-dev mailing list, and request a design review.
In this way it's less likely to receive negative review due to design problem.
Updated by Junxiao Shi over 10 years ago
- Description updated (diff)
version information and global counters encoding/decoding procedures are implemented in the library as part of #1199.
There won't be a formal definition of the format at this moment.
Updated by Alex Afanasyev over 10 years ago
- Priority changed from Normal to High
This code MUST be moved to NFD asap. If you want, I can do it too (as well as adjust the code style). Let me know.
Updated by Jerald Paul Abraham over 10 years ago
I will try to complete this by today Alex. If there is not good progress, you can take over.
Updated by Alex Afanasyev over 10 years ago
- Assignee changed from Jerald Paul Abraham to Alex Afanasyev
Updated by Alex Afanasyev over 10 years ago
- Status changed from In Progress to Code review
- % Done changed from 30 to 100
Updated by Alex Afanasyev over 10 years ago
- Status changed from Code review to Closed