-
Notifications
You must be signed in to change notification settings - Fork 10
/
yanfd.sample.yml
106 lines (91 loc) · 2.96 KB
/
yanfd.sample.yml
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
# YaNFD Sample Configuration
# This file is autogenerated by cmd/make_sample_config.go
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
udp:
# Whether to enable unicast UDP listener
enabled_unicast: true
# Whether to enable multicast UDP listener
enabled_multicast: true
# 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
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
unix:
# Whether to enable Unix stream transports
enabled: true
# Location of the socket file
socket_path: /run/nfd/nfd.sock
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:
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
dead_nonce_list:
# Lifetime of entries in the Dead Nonce List (milliseconds)
lifetime: 6000
network_region:
# List of prefixes that the forwarder is in the producer region for
regions: []
rib:
# Enables or disables readvertising to the routing daemon
readvertise_nlsr: true
fib:
# Selects the algorithm used to implement the FIB
# Allowed options: nametree, hashtable
algorithm: nametree
hashtable:
# Specifies the virtual node depth. Must be a positive number.
m: 5