-
Notifications
You must be signed in to change notification settings - Fork 10
/
yanfd.toml.sample
147 lines (96 loc) · 3.22 KB
/
yanfd.toml.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
[core]
# Logging level
log_level = "INFO"
[faces]
# Size of queues in the face system
queue_size = 1024
# Enables or disables congestion marking
congestion_marking = true
# If true, face threads will be locked to processor cores
lock_threads_to_cores = false
[faces.ethernet]
# Whether to enable Ethernet transports
enabled = true
# EtherType to use for NDN
ethertype = 0x8624
# MAC address used for multicast Ethernet faces
multicast_address = "01:00:5e:00:17:aa"
[faces.udp]
# Port used for unicast UDP faces
port_unicast = 6363
# Port used for multicast UDP faces
port_multicast = 56363
# IPv4 address used for multicast UDP faces
multicast_address_ipv4 = "224.0.23.170"
# IPv6 address used for multicast UDP faces
multicast_address_ipv6 = "ff02::114"
# Lifetime of on-demand faces (in seconds)
lifetime = 600
[faces.tcp]
# Whether to enable TCP listener
enabled = true
# Port used for unicast TCP faces
port_unicast = 6363
# Lifetime of on-demand faces (in seconds)
lifetime = 600
[faces.unix]
# Whether to enable Unix stream transports
enabled = true
# Location of the socket file
socket_path = "/run/nfd/nfd.sock"
[faces.websocket]
# Whether to enable WebSocket listener
enabled = true
# Bind address for WebSocket listener
bind = ""
# Port for WebSocket listener
port = 9696
# Whether to enable TLS
tls_enabled = false
# TLS certificate path (relative to the config file)
tls_cert = ""
# TLS private key (relative to the config file)
tls_key = ""
[fw]
# Number of forwarding threads
threads = 8
# Size of queues in the forwarding system
queue_size = 1024
# If true, face threads will be locked to processor cores
lock_threads_to_cores = false
[mgmt]
# Controls whether management over /localhop is enabled or disabled
allow_localhop = false
[tables]
# Size of queues in the table system
queue_size = 1024
[tables.content_store]
# Capacity of each forwarding thread's content store (in number of Data packets). Note that the
# total capacity of all content stores in the forwarder will be the number of threads
# multiplied by this value. This is the startup configuration value and can be changed at
# runtime via management.
capacity = 1024
# Whether contents will be admitted to the Content Store.
admit = true
# Whether contents will be served from the Content Store.
serve = true
# Cache replacement policy to use in each thread's content store.
replacement_policy = "lru"
[tables.dead_nonce_list]
# Lifetime of entries in the Dead Nonce List (milliseconds)
lifetime = 6000
[tables.network_region]
# List of prefixes that the forwarder is in the producer region for
regions = []
[tables.rib]
# Enables or disables auto prefix propagation
auto_prefix_propagation = false
[tables.fib]
# Selects the algorithm used to implement the FIB
# Allowed options: nametree, hashtable
# Default: nametree
algorithm = "nametree"
[tables.fib.hashtable]
# Specifies the virtual node depth. Must be a positive number.
# Default is 5.
m = 5