nlsr: discover Faces from NFD
refs: #2954
Change-Id: I072972d88bce0e1012e96f33577657048b7df1e1
diff --git a/nlsr.conf b/nlsr.conf
index 329a702..ef569ce 100644
--- a/nlsr.conf
+++ b/nlsr.conf
@@ -11,7 +11,7 @@
; lsa-refresh-time is the time in seconds, after which router will refresh its LSAs
lsa-refresh-time 1800 ; default value 1800. Valid values 240-7200
- ; router-dead-interval is the time in seconds after which an inactive router's
+ ; router-dead-interval is the time in seconds after which an inactive routers
; LSAs are removed
;router-dead-interval 3600 ; default value: 2*lsa-refresh-time. Value must be larger
; than lsa-refresh-time
@@ -39,7 +39,7 @@
;log4cxx-conf /path/to/log4cxx-conf ; path for log4cxx configuration file (Absolute path)
}
-; the neighbors section contains the configuration for router's neighbors and hello's behavior
+; the neighbor's section contains the configuration for router's neighbors and hellos behavior
neighbors
{
@@ -65,6 +65,16 @@
first-hello-interval 10 ; Default value 10. Valid values 0-10
+ face-dataset-fetch-tries 3 ; default is 3. Valid values 1-10. The FaceDataset is
+ ; gotten from NFD, and is needed to configure NLSR
+ ; correctly. It is recommended not to set this
+ : variable too high, because it could cause
+ ; congestion for NFD.
+
+ face-dataset-fetch-interval 3600 ; default is 3600. Valid values 1800-5400.
+ ; This controls how often (in seconds) NLSR will attempt to
+ ; fetch a FaceStatus dataset from NFD.
+
; neighbor command is used to configure router's neighbor. Each neighbor will need
; one block of neighbor command
@@ -105,7 +115,7 @@
}
-; the fib section is used to configure fib entry's type to ndn FIB updated by NLSR
+; the fib section is used to configure fib entrys type to ndn FIB updated by NLSR
fib
{