Skip to content

Commit 53685df

Browse files
mslocrianlguohan
authored andcommitted
[docker-frr]: updated daemons for frr 6.0.2 (#2461)
Signed-off-by: Stegen Smith <[email protected]>
1 parent f28a670 commit 53685df

File tree

2 files changed

+39
-37
lines changed

2 files changed

+39
-37
lines changed

dockers/docker-fpm-frr/daemons

Lines changed: 38 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
# This file tells the frr package which daemons to start.
22
#
3-
# Entries are in the format: <daemon>=(yes|no|priority)
4-
# 0, "no" = disabled
5-
# 1, "yes" = highest priority
6-
# 2 .. 10 = lower priorities
7-
# Read /usr/share/doc/frr/README.Debian for details.
8-
#
93
# Sample configurations for these daemons can be found in
104
# /usr/share/doc/frr/examples/.
115
#
@@ -18,10 +12,8 @@
1812
# When using "vtysh" such a config file is also needed. It should be owned by
1913
# group "frrvty" and set to ug=rw,o= though. Check /etc/pam.d/frr, too.
2014
#
21-
# The watchfrr daemon is always started. Per default in monitoring-only but
22-
# that can be changed via /etc/frr/daemons.conf.
15+
# The watchfrr and zebra daemons are always started.
2316
#
24-
zebra=yes
2517
bgpd=yes
2618
ospfd=no
2719
ospf6d=no
@@ -34,3 +26,40 @@ nhrpd=no
3426
eigrpd=no
3527
babeld=no
3628
sharpd=no
29+
pbrd=no
30+
bfdd=no
31+
fabricd=no
32+
33+
#
34+
# If this option is set the /etc/init.d/frr script automatically loads
35+
# the config via "vtysh -b" when the servers are started.
36+
# Check /etc/pam.d/frr if you intend to use "vtysh"!
37+
#
38+
vtysh_enable=yes
39+
zebra_options=" -A 127.0.0.1 -s 90000000"
40+
bgpd_options=" -A 127.0.0.1"
41+
ospfd_options=" -A 127.0.0.1"
42+
ospf6d_options=" -A ::1"
43+
ripd_options=" -A 127.0.0.1"
44+
ripngd_options=" -A ::1"
45+
isisd_options=" -A 127.0.0.1"
46+
pimd_options=" -A 127.0.0.1"
47+
ldpd_options=" -A 127.0.0.1"
48+
nhrpd_options=" -A 127.0.0.1"
49+
eigrpd_options=" -A 127.0.0.1"
50+
babeld_options=" -A 127.0.0.1"
51+
sharpd_options=" -A 127.0.0.1"
52+
pbrd_options=" -A 127.0.0.1"
53+
staticd_options="-A 127.0.0.1"
54+
bfdd_options=" -A 127.0.0.1"
55+
fabricd_options="-A 127.0.0.1"
56+
57+
# The list of daemons to watch is automatically generated by the init script.
58+
watchfrr_options="-r '/usr/lib/frr/watchfrr.sh restart %s' -s '/usr/lib/frr/watchfrr.sh start %s' -k '/usr/lib/frr/watchfrr.sh stop %s'"
59+
60+
# for debugging purposes, you can specify a "wrap" command to start instead
61+
# of starting the daemon directly, e.g. to use valgrind on ospfd:
62+
# ospfd_wrap="/usr/bin/valgrind"
63+
# or you can use "all_wrap" for all daemons, e.g. to use perf record:
64+
# all_wrap="/usr/bin/perf record --call-graph -"
65+
# the normal daemon command is added to this at the end.

dockers/docker-fpm-frr/daemons.conf

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1 @@
1-
#
2-
# If this option is set the /etc/init.d/frr script automatically loads
3-
# the config via "vtysh -b" when the servers are started.
4-
# Check /etc/pam.d/frr if you intend to use "vtysh"!
5-
#
6-
vtysh_enable=yes
7-
zebra_options=" -s 90000000 --daemon -A 127.0.0.1 -M fpm"
8-
bgpd_options=" --daemon -A 127.0.0.1"
9-
ospfd_options=" --daemon -A 127.0.0.1"
10-
ospf6d_options=" --daemon -A ::1"
11-
ripd_options=" --daemon -A 127.0.0.1"
12-
ripngd_options=" --daemon -A ::1"
13-
isisd_options=" --daemon -A 127.0.0.1"
14-
pimd_options=" --daemon -A 127.0.0.1"
15-
ldpd_options=" --daemon -A 127.0.0.1"
16-
nhrpd_options=" --daemon -A 127.0.0.1"
17-
eigrpd_options=" --daemon -A 127.0.0.1"
18-
babeld_options=" --daemon -A 127.0.0.1"
19-
sharpd_options=" --daemon -A 127.0.0.1"
20-
21-
# The list of daemons to watch is automatically generated by the init script.
22-
watchfrr_enable=yes
23-
watchfrr_options=(-d -r /usr/sbin/servicebBfrrbBrestartbB%s -s /usr/sbin/servicebBfrrbBstartbB%s -k /usr/sbin/servicebBfrrbBstopbB%s -b bB -t 30)
24-
25-
# If valgrind_enable is 'yes' the frr daemons will be started via valgrind.
26-
# The use case for doing so is tracking down memory leaks, etc in frr.
27-
valgrind_enable=no
28-
valgrind=/usr/bin/valgrind
1+
# this file is deprecated, please use "daemons" instead.

0 commit comments

Comments
 (0)