aboutsummaryrefslogtreecommitdiff
path: root/agent
diff options
context:
space:
mode:
authorTrumeet <17158086+Trumeet@users.noreply.github.com>2021-01-13 21:18:17 -0800
committerTrumeet <17158086+Trumeet@users.noreply.github.com>2021-01-13 21:18:17 -0800
commit5dd680f20f286f243427c39d432e4cc67e194445 (patch)
treeea3e2396eac788d0001fd34c3a53f3692cf768d2 /agent
parent122a80b1a5e8c6ba51479692cf4bc529369bd0a7 (diff)
downloaddn42peering-5dd680f20f286f243427c39d432e4cc67e194445.tar
dn42peering-5dd680f20f286f243427c39d432e4cc67e194445.tar.gz
dn42peering-5dd680f20f286f243427c39d432e4cc67e194445.tar.bz2
dn42peering-5dd680f20f286f243427c39d432e4cc67e194445.zip
fix(agent): the name of BGP sessions is invalidv1.3
Diffstat (limited to 'agent')
-rw-r--r--agent/src/main/resources/bird2_v4.conf.ftlh2
-rw-r--r--agent/src/main/resources/bird2_v6.conf.ftlh2
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