pyvcloud icon indicating copy to clipboard operation
pyvcloud copied to clipboard

Gateway.add_external_network method cannot allocate ip address correctly

Open nickliuibm opened this issue 5 years ago • 5 comments

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.

nickliuibm avatar Jul 18 '19 22:07 nickliuibm

Thanks @nickliuibm We are looking into that .

kkkothari avatar Jul 19 '19 09:07 kkkothari

Hi, @kkkothari, any update on this issue ?

nickliuibm avatar Jul 31 '19 14:07 nickliuibm

We will fix it in our next release.

pandeys avatar Aug 07 '19 10:08 pandeys

This fix has not been delivered. Please re-open the git issue.

Saamy88 avatar Feb 10 '20 22:02 Saamy88

Hey team, has there been any progress here? Thanks!

chrislaskey avatar Apr 10 '20 21:04 chrislaskey