commit b0d758e1b4af9aed8c2da6e0bac4723d8e4f5443
Author: Harald Jensås <email address hidden>
Date: Wed Jan 16 02:44:32 2019 +0100
Fix port update deferred IP allocation with host_id + new MAC
IP allocation was initially deffered due to lack of binding
information. On port update the with both `mac_address` and
`binding_host_id`` in the request 'fixed_ips: []' was
appended to the new_port data. This caused the check for
fixed_ips_requested to return True, which in turn cause
deferred_ip_allocation to evaluates False.
Only set the new_port default fixed_ips to original_ips if
the original port had fixed_ips.
Reviewed: https:/ /review. openstack. org/631116 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=b0d758e1b4a f9aed8c2da6e0ba c4723d8e4f5443
Committed: https:/
Submitter: Zuul
Branch: master
commit b0d758e1b4af9ae d8c2da6e0bac472 3d8e4f5443
Author: Harald Jensås <email address hidden>
Date: Wed Jan 16 02:44:32 2019 +0100
Fix port update deferred IP allocation with host_id + new MAC
IP allocation was initially deffered due to lack of binding host_id` ` in the request 'fixed_ips: []' was ips_requested to return True, which in turn cause ip_allocation to evaluates False.
information. On port update the with both `mac_address` and
`binding_
appended to the new_port data. This caused the check for
fixed_
deferred_
Only set the new_port default fixed_ips to original_ips if
the original port had fixed_ips.
Closes-Bug: #1811905 a29f9d0cc6627e9 649b43bc4a1
Change-Id: If98a82f8432b09