)]}'
{"neutron/db/ipam_pluggable_backend.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"0a7874cf25185206b70a09f3f42eb49887d0e5f5","unresolved":false,"context_lines":[{"line_number":348,"context_line":"                        auto_assign_subnets.append(subnet_to_delete)"},{"line_number":349,"context_line":"                        new_fixed_ips.append(subnet_to_delete)"},{"line_number":350,"context_line":"                    elif old_ip[\u0027subnet_id\u0027] not in \\"},{"line_number":351,"context_line":"                            [ip[\u0027subnet_id\u0027] for ip in new_fixed_ips]:"},{"line_number":352,"context_line":"                        new_fixed_ips.append(old_ip)"},{"line_number":353,"context_line":""},{"line_number":354,"context_line":"        if \u0027fixed_ips\u0027 in new_port:"}],"source_content_type":"text/x-python","patch_set":3,"id":"5ff73747_1cc50c8f","line":351,"updated":"2017-04-23 03:25:34.000000000","message":"It looks to me like this is going to strip multiple addresses from the same subnet off by only looking at subnet. I will update the parent patch test case to cover this.","commit_id":"f03d290e62979bbc7c5632b376b4ada949672afc"},{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"4c14111a9142a9ac998718b6f9c2d2622020e9ee","unresolved":false,"context_lines":[{"line_number":352,"context_line":"                        subnet_to_delete[\u0027delete_subnet\u0027] \u003d True"},{"line_number":353,"context_line":"                        auto_assign_subnets.append(subnet_to_delete)"},{"line_number":354,"context_line":"                        new_fixed_ips.append(subnet_to_delete)"},{"line_number":355,"context_line":"                    elif old_ip[\u0027subnet_id\u0027] not in new_ip_subnets and \\"},{"line_number":356,"context_line":"                            old_ip[\u0027ip_address\u0027] not in \\"},{"line_number":357,"context_line":"                            new_ips_by_subnet_ids.get(old_ip[\u0027subnet_id\u0027], []):"},{"line_number":358,"context_line":"                        new_fixed_ips.append(old_ip)"}],"source_content_type":"text/x-python","patch_set":5,"id":"5ff73747_85796f94","line":355,"updated":"2017-04-25 23:25:30.000000000","message":"This logic still doesn\u0027t seem quite right because we are carrying over old fixed IPs to new_fixed_ips even if the user specified fixed_ips. So if a user issues a port update that changes the mac and the IPs at the same time, it looks like we will preserve the old IPs here as well.\n\nI think you want to adjust L345 to do setdefault with original[\u0027fixed_ips\u0027] as the default value rather than an empty list. Then you can get rid of this logic trying to preserve the non-auto addrs because they will already be in new_fixed_ips.","commit_id":"5686b288bd13e3827dfef93e280eef9a7a2c3853"},{"author":{"_account_id":1926,"name":"Derek Higgins","email":"derekh@redhat.com","username":"derekh"},"change_message_id":"594be5fbc687b68aa8cebcc090c0bfb2906625ba","unresolved":false,"context_lines":[{"line_number":352,"context_line":"                        subnet_to_delete[\u0027delete_subnet\u0027] \u003d True"},{"line_number":353,"context_line":"                        auto_assign_subnets.append(subnet_to_delete)"},{"line_number":354,"context_line":"                        new_fixed_ips.append(subnet_to_delete)"},{"line_number":355,"context_line":"                    elif old_ip[\u0027subnet_id\u0027] not in new_ip_subnets and \\"},{"line_number":356,"context_line":"                            old_ip[\u0027ip_address\u0027] not in \\"},{"line_number":357,"context_line":"                            new_ips_by_subnet_ids.get(old_ip[\u0027subnet_id\u0027], []):"},{"line_number":358,"context_line":"                        new_fixed_ips.append(old_ip)"}],"source_content_type":"text/x-python","patch_set":5,"id":"5ff73747_25c04d50","line":355,"in_reply_to":"5ff73747_85796f94","updated":"2017-04-26 10:34:04.000000000","message":"Hmm, I was intentionally doing this, I thought is fixed_ips were provided in the update that any subnets not mentioned should remain the same. I\u0027m not sure why I thought this. I\u0027ll update the patch.","commit_id":"5686b288bd13e3827dfef93e280eef9a7a2c3853"}]}
