Hi all. Testing possibility to use ExaBGP in my setup
Centos 7
in systemd service looks like
[Service]
Environment=exabgp_daemon_daemonize=false
ExecStart=/bin/exabgp /etc/exabgp/exabgp.conf
ExecReload=/bin/kill -SIGUSR2 $MAINPID
tried SIGUSR1 also
exabgp.conf
process service-kea {
run /bin/python3.6 -m exabgp healthcheck -F /etc/exabgp/healthcheck.conf;
encoder text;
}
neighbor 172.16.70.1 {
description "test BGP connection";
router-id 172.16.70.2;
local-address 172.16.70.2;
local-as 65533;
peer-as 65534;
adj-rib-in false;
api services {
processes [ service-kea ];
}
group-updates false;
family {
ipv4 unicast;
}
capability {
route-refresh enable;
add-path send;
}
}
healthcheck.conf looks like
name = kea
cmd = "/etc/exabgp/checkdhcp.sh"
ip =
10.10.82.4/32
withdraw-on-down
silent
no-ip-setup
ExaBGP works well with healthchecker, announncing and withdrawing routes, but when performing systemctl reload exabgp in logs i see:
Thu, 06 Jun 2019 17:51:22 30147 reactor SIGUSR2 received
Thu, 06 Jun 2019 17:51:22 30147 reactor scheduling reload of configuration and processes
Thu, 06 Jun 2019 17:51:22 30147 configuration performing reload of exabgp 4.0.10-a8462350
Thu, 06 Jun 2019 17:51:22 30147 configuration problem with the configuration file, no change done
Thu, 06 Jun 2019 17:51:22 30147 configuration problem parsing configuration file line 15
Thu, 06 Jun 2019 17:51:22 30147 configuration error message: the name "services" already exists in api
Any ideas where to look for fix?
Thanks.