production
186526 2023-01-10 21:36:40 +08:00
parent 04edb208ee
commit 1009d5a943
4 changed files with 11 additions and 2 deletions

View File

@ -14,10 +14,12 @@ trigger:
steps: steps:
- name: test - name: test
privileged: true
image: alpine:latest image: alpine:latest
commands: commands:
- sed -i '1i\include "./config-example.conf";' bird.conf - sed -i '1i\include "./config-example.conf";' bird.conf
- apk add bird - apk add bird iproute2
- ip link add tunnel-dum0 type dummy
- bird -p -c ./bird.conf - bird -p -c ./bird.conf
--- ---

5
bird/net186_bfd.conf Normal file
View File

@ -0,0 +1,5 @@
protocol bfd net186_bfd {
interface "tunnel-*" {
interval 200 ms;
};
}

View File

@ -3,6 +3,8 @@ template bgp net186 {
interpret communities off; interpret communities off;
bfd on;
ipv6 { ipv6 {
next hop self; next hop self;