Skip to content

Commit

Permalink
UDN: Use managedTap instead passt
Browse files Browse the repository at this point in the history
Signed-off-by: Or Shoval <[email protected]>
  • Loading branch information
oshoval committed Dec 16, 2024
1 parent 9bd7b45 commit db96b4f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/e2e/persistentips_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ var _ = DescribeTableSubtree("Persistent IPs", func(params testParams) {
testParams{
role: rolePrimary,
ipsFrom: defaultNetworkStatusAnnotationIPs,
vmi: vmiWithPasst,
vmi: vmiWithManagedTap,
}),
)

Expand Down Expand Up @@ -378,9 +378,9 @@ func vmiWithMultus(namespace string) *kubevirtv1.VirtualMachineInstance {
)
}

func vmiWithPasst(namespace string) *kubevirtv1.VirtualMachineInstance {
func vmiWithManagedTap(namespace string) *kubevirtv1.VirtualMachineInstance {
const (
interfaceName = "passtnet"
interfaceName = "pod"
cloudInitNetworkData = `
version: 2
ethernets:
Expand All @@ -389,11 +389,11 @@ ethernets:
)
return testenv.NewVirtualMachineInstance(
namespace,
testenv.WithMemory("2048Mi"),
testenv.WithMemory("1024Mi"),
testenv.WithInterface(kubevirtv1.Interface{
Name: interfaceName,
Binding: &kubevirtv1.PluginBinding{
Name: "passt",
Name: "l2bridge",
},
}),
testenv.WithNetwork(kubevirtv1.Network{
Expand Down

0 comments on commit db96b4f

Please sign in to comment.