1
0
Fork 0
frr/debian/tests/bgpd-snmp-rpki

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
399 B
Text
Raw Normal View History

#!/bin/sh
set -e
# enable bgpd with SNMP & RPKI modules
cat >> /etc/frr/daemons <<EOF
bgpd=yes
bgpd_options="-A 127.0.0.1 -Msnmp -Mrpki"
EOF
service frr restart
# check that it actually started
pgrep watchfrr
pgrep zebra
pgrep bgpd
# just for debugging
vtysh -c 'show modules'
# ... and SNMP & RPKI should be loaded
vtysh -c 'show modules' | grep -q snmp
vtysh -c 'show modules' | grep -q rpki