-
Notifications
You must be signed in to change notification settings - Fork 453
Open
Labels
Description
Hi Team,
I run exabgp with two different configuration files but both configuration files use different named pipes.
When I run the command "exabgpcli show neighbor summary" to see the status of all the neighbors, it randomly sends the command to different pipes so I can only get half of the result I want.
Is there a way that I can control which pipe that exabgpcli sends to?
Thank you.
Exabgp Version
[root@localhost ~]# exabgpcli version
exabgp 4.2.21
PIPE Files created like this
/bin/bash -c "/usr/bin/mkfifo -m 0777 /var/run/exabgp_clean.cmd"
/bin/bash -c "/usr/bin/mkfifo -m 0777 /var/run/exabgp_clean.{in,out}"
/bin/bash -c "/usr/bin/mkfifo -m 0777 /var/run/exabgp_rtbh.cmd"
/bin/bash -c "/usr/bin/mkfifo -m 0777 /var/run/exabgp_rtbh.{in,out}"
Configuration File 1
exabgp_clean.conf
process announce-routes {
run /usr/bin/socat stdout pipe:/var/run/exabgp_clean.cmd;
encoder json;
}
template {
neighbor clean {
router-id 172.31.250.119;
local-as 65000; # local AS number
peer-as 65000; # remote AS number
group-updates false;
family {
ipv4 flow;
ipv4 unicast;
} # 啟用的AFI
api {
processes [ announce-routes ];
}
}
}
neighbor 172.31.250.118{
local-address 172.31.250.119;
inherit clean;
}
Configuration File 2
exabgp_rtbh.conf
process announce-routes {
run /usr/bin/socat stdout pipe:/var/run/exabgp_rtbh.cmd;
encoder json;
}
template {
neighbor rtbh {
router-id 172.31.250.143;
local-as 65000; # local AS number
peer-as 65000; # remote AS number
group-updates false;
family {
ipv4 flow;
ipv4 unicast;
} # 啟用的AFI
api {
processes [ announce-routes ];
}
}
}
neighbor 172.31.250.142{
local-address 172.31.250.143;
inherit rtbh;
}```