Comment 2 for bug 1811905

Revision history for this message
Harald Jensås (harald-jensas) wrote : Re: Deffered IP allocation, port update with binding_host_id + set new mac address fails

Here if new_mac is in the request fixed_ips defaults to [] if original port does not have fixed_ips.

neutron/db/ipam_pluggable_backend.py:387

        if new_mac:
            original = self._make_port_dict(db_port, process_extensions=False)
            if original.get('mac_address') != new_mac:
                original_ips = original.get('fixed_ips', [])
                new_ips = new_port.setdefault('fixed_ips', original_ips)