Task #1328
closed
nfd-status: plain text status command
Added by Junxiao Shi over 10 years ago.
Updated over 10 years ago.
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)
- FIB (via FibEnumeration protocol)
This tool is a NDN consumer. It must not depend on HTTP.
- Description updated (diff)
- Estimated time set to 6.00 h
- Status changed from New to In Progress
Making a ndn-cpp tool to use NFD FIB Enumeration protocol and Face Status protocol.
- % 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
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.
Ok.
Will move it to nfd/tools once development is complete. This tool will then be within namespace nfd.
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.
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.
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.
- 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.
- 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.
I will try to complete this by today Alex. If there is not good progress, you can take over.
- Assignee changed from Jerald Paul Abraham to Alex Afanasyev
- Status changed from In Progress to Code review
- % Done changed from 30 to 100
- Status changed from Code review to Closed
Also available in: Atom
PDF