Allow to update subnet without 'allocation_pools'
Heat allow to update 'allocation_pools' for subnet
resource in Change: I26f96f712dfa9405814e26a06668db7a608e84b8,
but the patch introduced a problem: if user remove the
'allocation_pools' from template when updating, heat will
pass 'allocation_pools=None' to neutron, but neutron doesn't
accept the None value for this property, an error will be
raised: BadRequest: Invalid input for allocation_pools.
Reason: Invalid data format for IP pool: 'None'. This patch
will pass [] to neutron to fix this problem.
Change-Id: I83e56d4494564de97717da6f6c0a9ae2cd9852dd
Closes-Bug: #1511909
1 file changed