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.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user