)]}'
{"neutron/agent/linux/ovs_lib.py":[{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"b8c4efbd3f74fd3d31aabb0fabe38cc17462d604","unresolved":false,"context_lines":[{"line_number":434,"context_line":"            return data[name_idx]"},{"line_number":435,"context_line":"        except Exception as e:"},{"line_number":436,"context_line":"            LOG.warn(_(\"Unable to parse interface details. Exception: %s\"), e)"},{"line_number":437,"context_line":"            return"},{"line_number":438,"context_line":""},{"line_number":439,"context_line":"    def get_vif_port_by_id(self, port_id):"},{"line_number":440,"context_line":"        args \u003d [\u0027--format\u003djson\u0027, \u0027--\u0027, \u0027--columns\u003dexternal_ids,name,ofport\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_cf21ecb6","line":437,"updated":"2014-07-30 23:34:58.000000000","message":"nit: unneed return.","commit_id":"e27862bc423a6a66c6ab669f378752ac6b9bfd16"}],"neutron/plugins/ml2/plugin.py":[{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"b8c4efbd3f74fd3d31aabb0fabe38cc17462d604","unresolved":false,"context_lines":[{"line_number":992,"context_line":"                LOG.debug(_(\"The port \u0027%s\u0027 was deleted\"), id)"},{"line_number":993,"context_line":"                return"},{"line_number":994,"context_line":"            port \u003d self._make_port_dict(port_db)"},{"line_number":995,"context_line":""},{"line_number":996,"context_line":"            network \u003d self.get_network(context, port[\u0027network_id\u0027])"},{"line_number":997,"context_line":"            mech_context \u003d None"},{"line_number":998,"context_line":"            if port[\u0027device_owner\u0027] \u003d\u003d const.DEVICE_OWNER_DVR_INTERFACE:"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_2fbc28b5","side":"PARENT","line":995,"updated":"2014-07-30 23:34:58.000000000","message":"unneeded whitespace change.","commit_id":"4ab8740cd81709ffdc54dee1962aa211fead44b8"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"b8c4efbd3f74fd3d31aabb0fabe38cc17462d604","unresolved":false,"context_lines":[{"line_number":490,"context_line":"        None,"},{"line_number":491,"context_line":"        \u0027_ml2_port_result_filter_hook\u0027)"},{"line_number":492,"context_line":""},{"line_number":493,"context_line":"    def _notify_port_updated(self, mech_context, isDeleted\u003dFalse):"},{"line_number":494,"context_line":"        port \u003d mech_context._port"},{"line_number":495,"context_line":"        segment \u003d mech_context.bound_segment"},{"line_number":496,"context_line":"        if not segment:"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_4fb31cec","line":493,"updated":"2014-07-30 23:34:58.000000000","message":"nit: is_deleted to be consistent with style.","commit_id":"e27862bc423a6a66c6ab669f378752ac6b9bfd16"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"b8c4efbd3f74fd3d31aabb0fabe38cc17462d604","unresolved":false,"context_lines":[{"line_number":501,"context_line":"                        {\u0027port_id\u0027: port[\u0027id\u0027],"},{"line_number":502,"context_line":"                         \u0027network_id\u0027: network[\u0027id\u0027]})"},{"line_number":503,"context_line":"            return"},{"line_number":504,"context_line":"        if isDeleted:"},{"line_number":505,"context_line":"            self.notifier.port_delete(mech_context._plugin_context, port,"},{"line_number":506,"context_line":"                                             segment[api.NETWORK_TYPE],"},{"line_number":507,"context_line":"                                             segment[api.SEGMENTATION_ID],"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_0f4684c0","line":504,"updated":"2014-07-30 23:34:58.000000000","message":"I think we should pull this out to a new function instead called _notify_port_deleted(). I don\u0027t think we need lines 494-503 in this case.","commit_id":"e27862bc423a6a66c6ab669f378752ac6b9bfd16"}],"neutron/plugins/ml2/rpc.py":[{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"b8c4efbd3f74fd3d31aabb0fabe38cc17462d604","unresolved":false,"context_lines":[{"line_number":256,"context_line":"                                       physical_network\u003dphysical_network),"},{"line_number":257,"context_line":"                         topic\u003dself.topic_port_update)"},{"line_number":258,"context_line":""},{"line_number":259,"context_line":"    def port_delete(self, context, port, network_type, segmentation_id,"},{"line_number":260,"context_line":"                    physical_network):"},{"line_number":261,"context_line":"        self.fanout_cast(context,"},{"line_number":262,"context_line":"                         self.make_msg(\u0027port_delete\u0027,"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_ef4b10b0","line":259,"updated":"2014-07-30 23:34:58.000000000","message":"I think you also need to bump: \n\n RPC_API_VERSION \u003d \u00271.3\u0027\n\nabove where this is mixed in perhaps.","commit_id":"e27862bc423a6a66c6ab669f378752ac6b9bfd16"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"b8c4efbd3f74fd3d31aabb0fabe38cc17462d604","unresolved":false,"context_lines":[{"line_number":317,"context_line":"    def port_delete(self, context, **kwargs):"},{"line_number":318,"context_line":"        port \u003d kwargs.get(\u0027port\u0027)"},{"line_number":319,"context_line":"        self.updated_ports.add(port[\u0027id\u0027])"},{"line_number":320,"context_line":"        #Delete the port from ovsdb"},{"line_number":321,"context_line":"        port_name \u003d self.int_br.get_vif_port_name_by_id(port[\u0027id\u0027])"},{"line_number":322,"context_line":"        self.int_br.delete_port(port_name)"},{"line_number":323,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_2f46e8a7","line":320,"updated":"2014-07-30 23:34:58.000000000","message":"nit: #\u003cspace\u003e Delete port from ovsdb.","commit_id":"e27862bc423a6a66c6ab669f378752ac6b9bfd16"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"b8c4efbd3f74fd3d31aabb0fabe38cc17462d604","unresolved":false,"context_lines":[{"line_number":318,"context_line":"        port \u003d kwargs.get(\u0027port\u0027)"},{"line_number":319,"context_line":"        self.updated_ports.add(port[\u0027id\u0027])"},{"line_number":320,"context_line":"        #Delete the port from ovsdb"},{"line_number":321,"context_line":"        port_name \u003d self.int_br.get_vif_port_name_by_id(port[\u0027id\u0027])"},{"line_number":322,"context_line":"        self.int_br.delete_port(port_name)"},{"line_number":323,"context_line":""},{"line_number":324,"context_line":"    def tunnel_update(self, context, **kwargs):"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_cf5acc50","line":321,"updated":"2014-07-30 23:34:58.000000000","message":"I think there is a potential race condition that can occur here. We should probably check \n\nif port_name:\n\nto make sure we don\u0027t pass None to delete_port.","commit_id":"e27862bc423a6a66c6ab669f378752ac6b9bfd16"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"b8c4efbd3f74fd3d31aabb0fabe38cc17462d604","unresolved":false,"context_lines":[{"line_number":319,"context_line":"        self.updated_ports.add(port[\u0027id\u0027])"},{"line_number":320,"context_line":"        #Delete the port from ovsdb"},{"line_number":321,"context_line":"        port_name \u003d self.int_br.get_vif_port_name_by_id(port[\u0027id\u0027])"},{"line_number":322,"context_line":"        self.int_br.delete_port(port_name)"},{"line_number":323,"context_line":""},{"line_number":324,"context_line":"    def tunnel_update(self, context, **kwargs):"},{"line_number":325,"context_line":"        LOG.debug(_(\"tunnel_update received\"))"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_af9f5801","line":322,"updated":"2014-07-30 23:34:58.000000000","message":"I don\u0027t actually think we want to remove the port from ovsdb as nova does that for us. I think instead we want to remove the flows that were added specific for this port.","commit_id":"e27862bc423a6a66c6ab669f378752ac6b9bfd16"}]}
