Refactor Docker setup to include /run/exabgp directory and update ExaBGP configuration. Added named pipes in standard and compatibility locations, ensuring proper initialization for CLI communication.
Build and Push Docker Image / build (push) Successful in 3m41s

This commit is contained in:
2025-07-11 16:21:30 +07:00
parent a7684e03a1
commit 050cf03339
4 changed files with 58 additions and 32 deletions
+32 -29
View File
@@ -4,38 +4,41 @@ process load-prefixes {
encoder json;
}
# Настройки CLI
cli {
in /app/run/exabgp.in;
out /app/run/exabgp.out;
}
# Настройки BGP
neighbor 192.168.1.1 {
router-id 192.168.1.100;
local-address 192.168.1.100;
local-as 65000;
peer-as 65001;
# Только исходящие анонсы (не принимаем префиксы)
capability {
graceful-restart;
# Глобальные настройки
group default {
# Настройки CLI
cli {
in /run/exabgp/exabgp.in;
out /run/exabgp/exabgp.out;
}
# Настройки сессии (hold-time автоматически рассчитывает keepalive)
hold-time 90;
# Логирование
api {
processes [load-prefixes];
neighbor-changes;
receive {
parsed;
update;
# Настройки BGP
neighbor 192.168.1.1 {
router-id 192.168.1.100;
local-address 192.168.1.100;
local-as 65000;
peer-as 65001;
# Только исходящие анонсы (не принимаем префиксы)
capability {
graceful-restart;
}
send {
parsed;
update;
# Настройки сессии (hold-time автоматически рассчитывает keepalive)
hold-time 90;
# Логирование
api {
processes [load-prefixes];
neighbor-changes;
receive {
parsed;
update;
}
send {
parsed;
update;
}
}
}
}