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
Build and Push Docker Image / build (push) Successful in 3m41s
This commit is contained in:
+32
-29
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user