|
; Mandatory
|
|
network
|
|
{
|
|
name "/ndn" ; Name prefix of the networks router belongs to in URI format.
|
|
}
|
|
|
|
; Mandatory
|
|
site-name
|
|
{
|
|
name "/edu/memphis/" ; Name of the site to which this router belongs to in URI
|
|
; format
|
|
}
|
|
|
|
; Mandatory
|
|
router-name
|
|
{
|
|
name "/router/name" ; Name of the router in URI format
|
|
}
|
|
|
|
; This configuration command is used to configure neighboring router
|
|
ndnneighbor
|
|
{
|
|
name "/name/of/neighbor1" ; Name of the neighbor in URI format
|
|
connecting-face 7 ; Face number of connecting face of the neighbor
|
|
|
|
link-cost 25.4 ; Link cost to reach the neighbor. Double value. If
|
|
; Link cost is not configured default value of 10 is
|
|
; used as link cost
|
|
}
|
|
|
|
|
|
; This configuration command is used to advertise the name prefix of the names
|
|
; reachable from this router
|
|
ndnname
|
|
{
|
|
name "/name/prefix1" ; name in URI format
|
|
}
|
|
|
|
; Root key prefix name, Mandatory
|
|
root-key-prefix
|
|
{
|
|
name "/root/key/prefix" ; name in URI format. This prefix is routable to
|
|
; each neighbor of this router
|
|
}
|
|
|
|
; Sync prefix for chronosync, Mandatory
|
|
chronosync-sync-prefix
|
|
{
|
|
name "/sync/prefix/" ; name in URI format. This prefix is routable to
|
|
; each neighbor
|
|
}
|
|
|
|
|
|
; Numer of time NLSR will try to send interest if interest is timed out
|
|
interest-retry-number
|
|
{
|
|
times 3 ; times in integer value. Default value is 3.
|
|
}
|
|
|
|
; Nlsr waits interest-resend-time before sendind out an interest again after
|
|
; interest has timed out
|
|
interest-resend-time
|
|
{
|
|
second 10 ; second in integer value. Default value is 1 second
|
|
}
|
|
|
|
; It is the time in seconds after which router will refresh its LSAs.
|
|
lsa-refresh-time
|
|
{
|
|
second 1800 ; second in interger value. Default value 3600
|
|
}
|
|
|
|
; Number of faces NLSR will add in NDN FIB for each reachable name prefixes
|
|
max-faces-per-prefix
|
|
{
|
|
number 5 ; number in integer value. Default value is 0 which
|
|
; add all available faces in FIB. This command can be
|
|
; used to restrict the number of faces added to FIB
|
|
}
|
|
|
|
; Directory where NLSR will write its log
|
|
log-dir
|
|
{
|
|
directory "/path/to/log/dir" ; Path of directory in string.
|
|
}
|
|
|
|
; Type of faces will be added in NDN FIB
|
|
tunnel-type
|
|
{
|
|
type "udp" ; type in string. Either udp or tcp can be used as value
|
|
}
|
|
|
|
; used for turning debugging of NLSR on or off
|
|
debugging
|
|
{
|
|
on-off "off" ; string value. Either on or off can be used as value
|
|
}
|
|
|
|
; used for turning detalied debugging of NLSR on or off
|
|
detailed-logging
|
|
{
|
|
on-off "off" ; string value. Either on or off can be used as value
|
|
}
|
|
|
|
|
|
; Used to configure NLSR to calculate hyper bolic routing table
|
|
hyperbolic-routing
|
|
{
|
|
mode "ON" ; String value. Three values: ON - Hyperbolic routing,
|
|
; off - Hyperbolic off, calculate Link state routing
|
|
; dry-run - calculate both hyperbolic and link state
|
|
; routing for testing and comparing them. But link state
|
|
; table is used to update FIB
|
|
}
|
|
|
|
; Used to configure hyperbolic coordinate of the router. Mandatory if 'hyperbolic-routing'
|
|
; is 'on' or 'dry-run'
|
|
hyperbolic-cordinate
|
|
{
|
|
radius 10.1 ; hyperbolic radius in double
|
|
angle 45.2 ; hyperbolic angle in double
|
|
}
|