Wiki » History » Revision 19
« Previous |
Revision 19/27
(diff)
| Next »
Shuo Chen, 05/30/2014 01:22 AM
Repo protocol and repo-ng¶
Repo protocol¶
Repo protocol is semantics and operating process for persistent storage node in NDN. The operation of NDN repo includes reading from, insertion to and deleting from data objects in NDN repository nodes.
Repo protocol is based on Command Interests specification.
Repo protocol conforms to protocols and specifications for operating and controlling.
- NFD command interests for constructing signed interest of access control.
- Repo Protocol Specification
- NFD Control Command specification: The reponse of insertion and deletion command will follow the response format of this specification, but with different defination of status code.
repo-ng¶
repo-ng (repo-new generation) is an implementation of NDN persistent in-network storage conforming to Repo protocol. It uses ndn-cpp-dev as NDN client library and database sqlite3 as underlying data storage.
platform and libraries¶
- C++ 03, code style guidelines
- Boost >=1.48.0, we use |a limited set of Boost libraries
- Boost Unit Test Framework, more information on [unit testing
- ndn-cpp-dev, Extended version of NDN C++ client library
- waf build system
- sqlite3
specific design¶
current supported functions¶
Most parts of the protocol are supported in repo-ng. The following specifications are not supported in current version.
- For deletion command, if EndBlockId is null in RepoCommandParameter, repo cannot response all the segmented data from StartBlockId
- Command for checking deletion progress
Trust model of command validation and access control have not been designed. All the commands are validated in current version and all the commands could pass.
Updated by Shuo Chen over 10 years ago · 27 revisions