Use masquerade for tests with explicit pod interface
Bridge has issues with fe: MAC address prefix, so unless a test
case depends on bridge type used, we should avoid it.
@@ -2161,7 +2161,7 @@ func NewRandomVMIWithMasqueradeInterfaceEphemeralDiskAndUserdata(containerImage
}
func AddExplicitPodNetworkInterface(vmi *v1.VirtualMachineInstance) {
- vmi.Spec.Domain.Devices.Interfaces = []v1.Interface{*v1.DefaultBridgeNetworkInterface()}
+ vmi.Spec.Domain.Devices.Interfaces = []v1.Interface{*v1.DefaultMasqueradeNetworkInterface()}
vmi.Spec.Networks = []v1.Network{*v1.DefaultPodNetwork()}
}
