From f1b8d773cd05856b97574de544da98d0d060d238 Mon Sep 17 00:00:00 2001 From: Yifeng Xiao Date: Wed, 21 Aug 2024 18:26:59 +0800 Subject: [PATCH] Fix AllocationSize The size is number of IP addresses not prefix length. --- pkg/cloudprovider/vsphereparavirtual/nsxipmanager/nsx_vpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cloudprovider/vsphereparavirtual/nsxipmanager/nsx_vpc.go b/pkg/cloudprovider/vsphereparavirtual/nsxipmanager/nsx_vpc.go index 55a3f15c4..3548b1dc3 100644 --- a/pkg/cloudprovider/vsphereparavirtual/nsxipmanager/nsx_vpc.go +++ b/pkg/cloudprovider/vsphereparavirtual/nsxipmanager/nsx_vpc.go @@ -12,7 +12,7 @@ import ( "k8s.io/klog/v2" ) -const allocationSize = 24 +const allocationSize = 256 var _ NSXIPManager = &NSXVPCIPManager{}