services/frr.py: frrboot.sh: start 'staticd' to support static routes
Unlike Quagga, FRR requires 'staticd' to be running in order to support provisioning and use of static routes in the running configuration (e.g., 'ip route a.b.c.d/p nexthop'). Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
This commit is contained in:
parent
5ae3ad9011
commit
d2fe352797
1 changed files with 3 additions and 0 deletions
|
@ -208,6 +208,9 @@ bootfrr()
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bootdaemon "zebra"
|
bootdaemon "zebra"
|
||||||
|
if grep -q "^ip route " $FRR_CONF; then
|
||||||
|
bootdaemon "staticd"
|
||||||
|
fi
|
||||||
for r in rip ripng ospf6 ospf bgp babel; do
|
for r in rip ripng ospf6 ospf bgp babel; do
|
||||||
if grep -q "^router \\<${r}\\>" $FRR_CONF; then
|
if grep -q "^router \\<${r}\\>" $FRR_CONF; then
|
||||||
bootdaemon "${r}d"
|
bootdaemon "${r}d"
|
||||||
|
|
Loading…
Add table
Reference in a new issue