Update frr.py to use pimd
This commit is contained in:
parent
a3c3d0c18d
commit
840a27632d
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue