Project

General

Profile

Wiki » History » Revision 14

Revision 13 (Shuo Chen, 03/26/2014 06:29 AM) → Revision 14/27 (Shuo Chen, 03/26/2014 06:40 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](http://redmine.named-data.net/projects/nfd/wiki/Command_Interests) specification. 

 **Repo protocol** conforms to **protocols and specifications** for operating and controlling. 

 * [NFD command interests](http://redmine.named-data.net/projects/nfd/wiki/Command_Interests) for constructing signed interest of access control. 
 * [[Repo Protocol Specification|Repo Protocol Specification]] 
 * [NFD Control Command specification](http://redmine.named-data.net/projects/nfd/wiki/ControlCommand): 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](http://redmine.named-data.net/projects/ndn-cpp-dev) as NDN client library and database sqlite3 as underlying data storage. 

 ### platform and libraries 
 * [C++ 03](http://en.cppreference.com/w/), [[CodeStyle|code style guidelines]] 
 * [Boost >=1.48.0](http://www.boost.org/doc/libs/1_48_0/), we use [[Boost|a limited set of Boost libraries]] 
 * [Boost Unit Test Framework](http://www.boost.org/doc/libs/1_48_0/libs/test/doc/html/index.html), more information on [[UnitTesting|unit testing]] 
 * [ndn-cpp-dev](https://github.com/named-data/ndn-cpp-dev), Extended version of NDN C++ client library  
 * [waf build system](https://code.google.com/p/waf/) 
 * [sqlite3](http://sqlite.org/) 

 ### specific design 
 * [[Database design|Database design]] 
 * [[Software Structure|Software Structure]]