blob: 50ba2e9018d7c49f966c56b053bb2a2f6e048ae4 [file] [log] [blame]
Alexander Afanasyevb4da9eb2014-05-24 16:52:17 -07001repo
2{
3 ; Section defining list of Data prefixes to register
4 ; Only 'prefix' option is allowed here, which can be repeated multiple times
5 data
6 {
7 prefix "ndn:/localhost/repo-ng"
8 }
9
10 ; Section defining list of command prefixes (to insert or delete Data) to register.
11 ; Only 'prefix' option is allowed here, which can be repeated multiple times
12 command
13 {
14 prefix "ndn:/localhost/repo-ng"
15 }
16
17 ; Section to specify where data should be stored
18 ; Right now only a single 'sqlite' option is allowed:
19 storage
20 {
21 method "sqlite" ; Currently, only sqlite storage engine is supported
22 path "/var/lib/ndn/repo-ng" ; path to repo-ng storage folder
Alexander Afanasyev201cbe52014-07-25 14:51:44 -070023 max-packets 100000 ; Maximum number of Data packet repo will store
Alexander Afanasyevb4da9eb2014-05-24 16:52:17 -070024 }
25
26 ; Section to enable TCP bulk insert capability
27 ; If section is present, then TCP bulk insert is enabled (empty section enables
28 ; TCP bulk insert to listen on "localhost:7376")
29 tcp_bulk_insert {
Alexander Afanasyev2d6ffb52014-07-23 14:27:28 -070030 host "localhost" ; Set to listen on different IP address or hostname
31 port 7376 ; Set to listen on different port number
Alexander Afanasyevb4da9eb2014-05-24 16:52:17 -070032 }
33
34 validator
35 {
Alexander Afanasyev2d6ffb52014-07-23 14:27:28 -070036 ; The following rule disables all security in the repo
37 trust-anchor {
38 type any
39 }
Alexander Afanasyevb4da9eb2014-05-24 16:52:17 -070040 }
41}