blob: 998b7d40e4ab74741570f0909c23d70fd0e10e88 [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
23 }
24
25 ; Section to enable TCP bulk insert capability
26 ; If section is present, then TCP bulk insert is enabled (empty section enables
27 ; TCP bulk insert to listen on "localhost:7376")
28 tcp_bulk_insert {
Alexander Afanasyev2d6ffb52014-07-23 14:27:28 -070029 host "localhost" ; Set to listen on different IP address or hostname
30 port 7376 ; Set to listen on different port number
Alexander Afanasyevb4da9eb2014-05-24 16:52:17 -070031 }
32
33 validator
34 {
Alexander Afanasyev2d6ffb52014-07-23 14:27:28 -070035 ; The following rule disables all security in the repo
36 trust-anchor {
37 type any
38 }
Alexander Afanasyevb4da9eb2014-05-24 16:52:17 -070039 }
40}