pyvcloud
pyvcloud copied to clipboard
Gateway.add_external_network method cannot allocate ip address correctly
My code is like:
gateway.add_external_network(service_network, [('52.9.0.1/23','52.9.0.140')])
But I got 52.9.0.10
on ConfigureIPSetting page.
I think there is a bug in https://github.com/vmware/pyvcloud/blob/d0cd6b9ee984a6395499ac8e742b656241a5e601/pyvcloud/vcd/gateway.py#L335.
When I change it to
if **ip_assigned** and ip_assigned.lower() != 'auto':
I can get the correct result.
Thanks @nickliuibm We are looking into that .
Hi, @kkkothari, any update on this issue ?
We will fix it in our next release.
This fix has not been delivered. Please re-open the git issue.
Hey team, has there been any progress here? Thanks!