Shuo Chen | 478204c | 2014-03-18 18:27:04 -0700 | [diff] [blame] | 1 | repo |
| 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:/example/data/1" |
| 8 | prefix "ndn:/example/data/2" |
| 9 | } |
| 10 | |
| 11 | ; Section defining list of command prefixes (to insert or delete Data) to register. |
| 12 | ; Only 'prefix' option is allowed here, which can be repeated multiple times |
| 13 | command |
| 14 | { |
| 15 | prefix "ndn:/example/repo/1" |
| 16 | prefix "ndn:/example/repo/2" |
| 17 | } |
| 18 | |
| 19 | ; Section to specify where data should be stored |
| 20 | ; Right now only a single 'sqlite' option is allowed: |
| 21 | storage |
| 22 | { |
| 23 | method "sqlite" ; Currently, only sqlite storage engine is supported |
| 24 | path "/var/db/ndn-repo-ng" ; path to repo-ng storage folder |
| 25 | } |
| 26 | |
| 27 | ; Section to enable TCP bulk insert capability |
| 28 | ; If section is present, then TCP bulk insert is enabled (empty section enables |
| 29 | ; TCP bulk insert to listen on "localhost:7376") |
| 30 | tcp_bulk_insert { |
| 31 | ; host "localhost" ; Set to listen on different IP address or hostname |
| 32 | ; port 7376 ; Set to listen on different port number |
| 33 | } |
| 34 | |
| 35 | validator |
| 36 | { |
| 37 | policy "not implemented yet" |
| 38 | } |
| 39 | } |