feat: enhance evobgp with new command-line tools for bundle management, including pull, verify, and apply functionalities. Update go.mod to include necessary dependencies and complete todos in architecture plan for improved observability and deployment practices.
CI / changes (push) Successful in 4s
CI / go (push) Failing after 6s
CI / bird2 (push) Has been skipped
CI / openapi (push) Has been skipped

This commit is contained in:
Denozordec
2026-04-05 14:07:45 +07:00
parent 272542b92a
commit bf52b21150
131 changed files with 9222 additions and 17 deletions
+11
View File
@@ -32,3 +32,14 @@ func TestRenderStaticIPv4Protocol_Empty(t *testing.T) {
t.Fatal(got)
}
}
func TestRenderStaticIPv6Protocol_Dedup(t *testing.T) {
p := netip.MustParsePrefix("2001:db8::/32")
got := RenderStaticIPv6Protocol("evobgp_v6", []netip.Prefix{p, p})
if !strings.Contains(got, "2001:db8::/32") {
t.Fatal(got)
}
if !strings.Contains(got, "ipv6") {
t.Fatal(got)
}
}