)]}'
{"neutron/db/db_base_plugin_v2.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e5350cccd7e9c494441ff5efd6d4a5fc5005b492","unresolved":false,"context_lines":[{"line_number":438,"context_line":"    def delete_network(self, context, id):"},{"line_number":439,"context_line":"        self._ensure_network_not_in_use(context, id)"},{"line_number":440,"context_line":"        registry.notify(resources.NETWORK, events.BEFORE_DELETE, self,"},{"line_number":441,"context_line":"                        context\u003dcontext, network_id\u003did)"},{"line_number":442,"context_line":"        with db_api.context_manager.reader.using(context):"},{"line_number":443,"context_line":"            auto_delete_port_ids \u003d [p.id for p in context.session.query("},{"line_number":444,"context_line":"                models_v2.Port.id).filter_by(network_id\u003did).filter("}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_2146387e","line":441,"updated":"2017-12-05 17:41:20.000000000","message":"still, anything failing below this line will leave segment removed and network in place. there is an alternative patch that may actually fix this issue too: https://review.openstack.org/#/c/475955/ it moves segment removal into precommit_delete which should guarantee it\u0027s either both segment and network gone, or none.","commit_id":"ec59daf1eb6928fad3070a04a9b1e65ff2cbceab"}],"neutron/db/l3_db.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"59009b540b0d6bcc0c66c130a2c2b678f41ff143","unresolved":false,"context_lines":[{"line_number":1455,"context_line":"        query \u003d model_query.query_with_hooks(context, fip_model)"},{"line_number":1456,"context_line":"        query \u003d query.filter(or_(fip_model.fixed_port_id.isnot(None),"},{"line_number":1457,"context_line":"                                 fip_model.router_id.isnot(None)))"},{"line_number":1458,"context_line":"        query \u003d query.filter_by(floating_network_id\u003dnetwork_id)"},{"line_number":1459,"context_line":"        return query.count()"},{"line_number":1460,"context_line":""},{"line_number":1461,"context_line":"    def _router_exists(self, context, router_id):"}],"source_content_type":"text/x-python","patch_set":1,"id":"df87a7cf_01469422","line":1458,"updated":"2017-12-05 17:14:40.000000000","message":"don\u0027t know if this should go first, probably...","commit_id":"ec59daf1eb6928fad3070a04a9b1e65ff2cbceab"}]}
