)]}'
{"networking_ovn/l3/l3_ovn.py":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"de1a4172ab37561d20755b58b527e4b24654533c","unresolved":false,"context_lines":[{"line_number":349,"context_line":"                                    logical_ip\u003dnetwork,"},{"line_number":350,"context_line":"                                    external_ip\u003drouter_ip))"},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"    def _update_lrouter_routes(self, context, router_id, add, remove):"},{"line_number":353,"context_line":"        lrouter_name \u003d utils.ovn_name(router_id)"},{"line_number":354,"context_line":"        with self._ovn.transaction(check_error\u003dTrue) as txn:"},{"line_number":355,"context_line":"            for route in add:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_63d5c543","line":352,"range":{"start_line":352,"start_character":37,"end_line":352,"end_character":44},"updated":"2017-05-24 09:01:53.000000000","message":"Just a note, slightly unrelated to the patch. The context parameter doesn\u0027t seem to be used anywhere in this method and can be removed.","commit_id":"268de3f32b06b63ae056bb90ac1ee6297ffa565d"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"7846b9101b735623403be21859ae0e0242593f55","unresolved":false,"context_lines":[{"line_number":349,"context_line":"                                    logical_ip\u003dnetwork,"},{"line_number":350,"context_line":"                                    external_ip\u003drouter_ip))"},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"    def _update_lrouter_routes(self, context, router_id, add, remove):"},{"line_number":353,"context_line":"        lrouter_name \u003d utils.ovn_name(router_id)"},{"line_number":354,"context_line":"        with self._ovn.transaction(check_error\u003dTrue) as txn:"},{"line_number":355,"context_line":"            for route in add:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_d21e6f0a","line":352,"range":{"start_line":352,"start_character":37,"end_line":352,"end_character":44},"in_reply_to":"ff0f0b1f_63d5c543","updated":"2017-05-25 13:45:05.000000000","message":"Let\u0027s remove it in another patch:)","commit_id":"268de3f32b06b63ae056bb90ac1ee6297ffa565d"},{"author":{"_account_id":10237,"name":"Numan Siddique","email":"nusiddiq@redhat.com","username":"numansiddique"},"change_message_id":"c79986a9914c59d4963c3f939106b7de5b2dbaa6","unresolved":false,"context_lines":[{"line_number":721,"context_line":"        add \u003d [{\u0027destination\u0027: \u00270.0.0.0/0\u0027, \u0027nexthop\u0027: current_gw_ip}"},{"line_number":722,"context_line":"               ] if current_gw_ip else []"},{"line_number":723,"context_line":"        for router_id in router_ids:"},{"line_number":724,"context_line":"            l3plugin._update_lrouter_routes(context, router_id, add, remove)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_bba68faa","line":724,"updated":"2017-05-23 10:31:39.000000000","message":"The patch looks good to me.\nI have one suggestion on optimation for the function _update_lrouter_routes() (probably out of the scope of this patch). Right now we are doing a transaction for each router_id in router_ids. Probably we can combine all into one transaction in the function \"_update_lrouter_routes()\".","commit_id":"268de3f32b06b63ae056bb90ac1ee6297ffa565d"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"7846b9101b735623403be21859ae0e0242593f55","unresolved":false,"context_lines":[{"line_number":721,"context_line":"        add \u003d [{\u0027destination\u0027: \u00270.0.0.0/0\u0027, \u0027nexthop\u0027: current_gw_ip}"},{"line_number":722,"context_line":"               ] if current_gw_ip else []"},{"line_number":723,"context_line":"        for router_id in router_ids:"},{"line_number":724,"context_line":"            l3plugin._update_lrouter_routes(context, router_id, add, remove)"}],"source_content_type":"text/x-python","patch_set":2,"id":"ff0f0b1f_f2fa93ba","line":724,"in_reply_to":"ff0f0b1f_bba68faa","updated":"2017-05-25 13:45:05.000000000","message":"That\u0027s a good point, I recorded it.\nhttps://bugs.launchpad.net/networking-ovn/+bug/1693512","commit_id":"268de3f32b06b63ae056bb90ac1ee6297ffa565d"}]}
