Update frr.py to use pimd

This commit is contained in:
apwiggins 2019-04-10 09:23:11 -03:00 committed by GitHub
parent a3c3d0c18d
commit 840a27632d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,7 +171,7 @@ bootdaemon()
flags=""
if [ "$1" = "xpimd" ] && \\
if [ "$1" = "pimd" ] && \\
grep -E -q '^[[:space:]]*router[[:space:]]+pim6[[:space:]]*$' $FRR_CONF; then
flags="$flags -6"
fi
@ -210,7 +210,7 @@ bootfrr()
done
if grep -E -q '^[[:space:]]*router[[:space:]]+pim6?[[:space:]]*$' $FRR_CONF; then
bootdaemon "xpimd"
bootdaemon "pimd"
fi
$FRR_BIN_DIR/vtysh -b
@ -608,14 +608,14 @@ class FRRBabel(FrrService):
return " babel wired\n babel split-horizon\n"
class FRRXpimd(FrrService):
class FRRpimd(FrrService):
"""
PIM multicast routing based on XORP.
"""
name = 'FRRXpimd'
name = 'FRRpimd'
startup = ()
shutdown = ('killall xpimd',)
validate = ('pidof xpimd',)
shutdown = ('killall pimd',)
validate = ('pidof pimd',)
ipv4_routing = True
@classmethod