antrea
antrea copied to clipboard
Negative Count for total number of IPs in ExternalIPPool
Describe the bug If I provide a CIDR say 10.10.0.1/32 in ExternalIPPool CRD, then the total number of available IPs should be zero as per current implementation but it shows -1.
To Reproduce Apply externalIPPool CRD with only one IP in the CIDR then describe the externalIPPool created it will show that the total number of IPs are -1.
Expected Total Number of IPs should be 0.
Actual behavior Total Number of IPs should be 0.