Reference IPAM driver skipped subnet_update processing
if allocation_pools in subnet request are blank.
Built-in ipam implementation allows to update allocation pools
to blank value (i.e. clean up allocation pools for subnet).
To make Reference ipam driver consistent with built-in ipam
implementation allocation_pool check was removed.
Included UT to verify that allocation pools can be updated to blank
value now.
Reviewed: https:/ /review. openstack. org/345498 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=de2a70165c3 51abcc1266b79ba e46fcd8ce68e59
Committed: https:/
Submitter: Jenkins
Branch: master
commit de2a70165c351ab cc1266b79bae46f cd8ce68e59
Author: Pavel Bondar <email address hidden>
Date: Thu Jul 21 17:51:54 2016 +0300
Fix updating allocation_pools on subnet update
Reference IPAM driver skipped subnet_update processing
if allocation_pools in subnet request are blank.
Built-in ipam implementation allows to update allocation pools
to blank value (i.e. clean up allocation pools for subnet).
To make Reference ipam driver consistent with built-in ipam
implementation allocation_pool check was removed.
Included UT to verify that allocation pools can be updated to blank
value now.
Change-Id: I0654e46d4bc60f 6cf51ffddeead23 8dd4f064db2
Closes-Bug: #1605277