Skip to content

Commit

Permalink
Update test/e2e/kube-ovn/underlay/underlay.go
Browse files Browse the repository at this point in the history
Co-authored-by: 张祖建 <[email protected]>
  • Loading branch information
zcq98 and zhangzujian authored Jul 2, 2024
1 parent c33074d commit c03f529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/kube-ovn/underlay/underlay.go
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ var _ = framework.SerialDescribe("[group:underlay]", func() {
ginkgo.By("Creating underlay subnet " + subnetName)
subnet := framework.MakeSubnet(subnetName, vlanName, strings.Join(underlayCidr, ","), strings.Join(gateway, ","), "", "", excludeIPs, nil, []string{namespaceName})
subnet.Spec.U2OInterconnection = true
// only ipv4 needs to verify that the gateway address is consistent with U2OInterconnectionIP when enabling DHCP and U20
// only ipv4 needs to verify that the gateway address is consistent with U2OInterconnectionIP when enabling DHCP and U2O
if f.HasIPv4() {
subnet.Spec.EnableDHCP = true
}
Expand Down

0 comments on commit c03f529

Please sign in to comment.