diff options
author | Trumeet <17158086+Trumeet@users.noreply.github.com> | 2021-01-13 21:18:17 -0800 |
---|---|---|
committer | Trumeet <17158086+Trumeet@users.noreply.github.com> | 2021-01-13 21:18:17 -0800 |
commit | 5dd680f20f286f243427c39d432e4cc67e194445 (patch) | |
tree | ea3e2396eac788d0001fd34c3a53f3692cf768d2 | |
parent | 122a80b1a5e8c6ba51479692cf4bc529369bd0a7 (diff) | |
download | dn42peering-1.3.tar dn42peering-1.3.tar.gz dn42peering-1.3.tar.bz2 dn42peering-1.3.zip |
fix(agent): the name of BGP sessions is invalidv1.3
-rw-r--r-- | agent/src/main/resources/bird2_v4.conf.ftlh | 2 | ||||
-rw-r--r-- | agent/src/main/resources/bird2_v6.conf.ftlh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/agent/src/main/resources/bird2_v4.conf.ftlh b/agent/src/main/resources/bird2_v4.conf.ftlh index e698069..ea10c9e 100644 --- a/agent/src/main/resources/bird2_v4.conf.ftlh +++ b/agent/src/main/resources/bird2_v4.conf.ftlh @@ -1,4 +1,4 @@ -protocol bgp ${name} from dnpeers { +protocol bgp dn42_${name} from dnpeers { neighbor ${ipv4} as ${asn}; direct; } diff --git a/agent/src/main/resources/bird2_v6.conf.ftlh b/agent/src/main/resources/bird2_v6.conf.ftlh index d8f4306..579fa84 100644 --- a/agent/src/main/resources/bird2_v6.conf.ftlh +++ b/agent/src/main/resources/bird2_v6.conf.ftlh @@ -1,4 +1,4 @@ -protocol bgp ${name}_v6 from dnpeers { +protocol bgp dn42_${name}_v6 from dnpeers { neighbor ${ipv6}%${dev} as ${asn}; direct; }
\ No newline at end of file |