Allow gateway address to be unset for an existing subnet
Validation of the gateway IP address was taken place even
if the gateway IP was set to None; this was causing an
AddrFormatError exception to be raised by method
'_validate_gw_out_of_pools'. With this change we skip
the validation in case the gateway is set to None.
Reviewed: https:/ /review. openstack. org/39266 github. com/openstack/ neutron/ commit/ e4f150d2a2f95db 797f6540e5676d4 77f2d4e780
Committed: http://
Submitter: Jenkins
Branch: stable/grizzly
commit e4f150d2a2f95db 797f6540e5676d4 77f2d4e780
Author: armando-migliaccio <email address hidden>
Date: Tue Jul 9 19:08:49 2013 -0700
Allow gateway address to be unset for an existing subnet
Validation of the gateway IP address was taken place even gw_out_ of_pools' . With this change we skip
if the gateway IP was set to None; this was causing an
AddrFormatError exception to be raised by method
'_validate_
the validation in case the gateway is set to None.
Fixes bug #1178273
Change-Id: Ib84378a4fd2cef dbbcacce695abbf af82c647dd3 55dfb5ebce81c6b abf2e445da)
(cherry picked from commit 40a5853970cdd15