)]}'
{"networking_ovn/ovsdb/impl_idl_ovn.py":[{"author":{"_account_id":11762,"name":"Han Zhou","email":"zhouhan@gmail.com","username":"hanzhou"},"change_message_id":"b0fb29f2aef9a36b708c2be1ea43c1ed28db4635","unresolved":false,"context_lines":[{"line_number":151,"context_line":"                # Handle provider network port"},{"line_number":152,"context_line":"                elif lport.name.startswith("},{"line_number":153,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX):"},{"line_number":154,"context_line":"                    network_id \u003d lport.name.replace("},{"line_number":155,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX, \u0027\u0027)"},{"line_number":156,"context_line":"                    if utils.ovn_name(network_id) \u003d\u003d lswitch.name:"},{"line_number":157,"context_line":"                        provnet_port \u003d lport.name"},{"line_number":158,"context_line":"            result.append({\u0027name\u0027: lswitch.name,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_b5101f50","line":155,"range":{"start_line":154,"start_character":0,"end_line":155,"end_character":67},"updated":"2017-03-17 18:16:53.000000000","message":"this logic should be encaped in a function in utils, to avoid inconsistent code change in the future.","commit_id":"31feaec5db3c5f0cca4a332e9b78e069a4b0e472"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"8409a2814c3f471efd26003d3bf5ab2b652faff5","unresolved":false,"context_lines":[{"line_number":151,"context_line":"                # Handle provider network port"},{"line_number":152,"context_line":"                elif lport.name.startswith("},{"line_number":153,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX):"},{"line_number":154,"context_line":"                    network_id \u003d lport.name.replace("},{"line_number":155,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX, \u0027\u0027)"},{"line_number":156,"context_line":"                    if utils.ovn_name(network_id) \u003d\u003d lswitch.name:"},{"line_number":157,"context_line":"                        provnet_port \u003d lport.name"},{"line_number":158,"context_line":"            result.append({\u0027name\u0027: lswitch.name,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_b6bbbb71","line":155,"range":{"start_line":154,"start_character":0,"end_line":155,"end_character":67},"in_reply_to":"1a1ced50_b5101f50","updated":"2017-03-18 07:25:46.000000000","message":"OK","commit_id":"31feaec5db3c5f0cca4a332e9b78e069a4b0e472"},{"author":{"_account_id":11762,"name":"Han Zhou","email":"zhouhan@gmail.com","username":"hanzhou"},"change_message_id":"b0fb29f2aef9a36b708c2be1ea43c1ed28db4635","unresolved":false,"context_lines":[{"line_number":153,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX):"},{"line_number":154,"context_line":"                    network_id \u003d lport.name.replace("},{"line_number":155,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX, \u0027\u0027)"},{"line_number":156,"context_line":"                    if utils.ovn_name(network_id) \u003d\u003d lswitch.name:"},{"line_number":157,"context_line":"                        provnet_port \u003d lport.name"},{"line_number":158,"context_line":"            result.append({\u0027name\u0027: lswitch.name,"},{"line_number":159,"context_line":"                           \u0027ports\u0027: ports,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_b5373fe2","line":156,"range":{"start_line":156,"start_character":20,"end_line":156,"end_character":66},"updated":"2017-03-17 18:16:53.000000000","message":"if not equal, it deserves an error log. It may be caused by ungraceful upgrading to a version with new naming convention? If that\u0027s the case we would end up adding a new provnet port unnecessarily.","commit_id":"31feaec5db3c5f0cca4a332e9b78e069a4b0e472"},{"author":{"_account_id":11762,"name":"Han Zhou","email":"zhouhan@gmail.com","username":"hanzhou"},"change_message_id":"19f123ff886b7cad3619695f46fa944471561f25","unresolved":false,"context_lines":[{"line_number":153,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX):"},{"line_number":154,"context_line":"                    network_id \u003d lport.name.replace("},{"line_number":155,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX, \u0027\u0027)"},{"line_number":156,"context_line":"                    if utils.ovn_name(network_id) \u003d\u003d lswitch.name:"},{"line_number":157,"context_line":"                        provnet_port \u003d lport.name"},{"line_number":158,"context_line":"            result.append({\u0027name\u0027: lswitch.name,"},{"line_number":159,"context_line":"                           \u0027ports\u0027: ports,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_23513d0f","line":156,"range":{"start_line":156,"start_character":20,"end_line":156,"end_character":66},"in_reply_to":"1a1ced50_16072f1d","updated":"2017-03-20 04:09:12.000000000","message":"I thought it again, and I think it is better to set the provnet_port here without checking the network_id. In normal case it should not happen, but if this happens, it may be a serious problem if we add a new provnet port without deleting the old one, because two localnet ports on same lswitch will cause loop and packet storm (I haven\u0027t test it yet).","commit_id":"31feaec5db3c5f0cca4a332e9b78e069a4b0e472"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"be8455511e1b3606045afdc8bc195bbe4bb05982","unresolved":false,"context_lines":[{"line_number":153,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX):"},{"line_number":154,"context_line":"                    network_id \u003d lport.name.replace("},{"line_number":155,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX, \u0027\u0027)"},{"line_number":156,"context_line":"                    if utils.ovn_name(network_id) \u003d\u003d lswitch.name:"},{"line_number":157,"context_line":"                        provnet_port \u003d lport.name"},{"line_number":158,"context_line":"            result.append({\u0027name\u0027: lswitch.name,"},{"line_number":159,"context_line":"                           \u0027ports\u0027: ports,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_9e6ec494","line":156,"range":{"start_line":156,"start_character":20,"end_line":156,"end_character":66},"in_reply_to":"1a1ced50_23513d0f","updated":"2017-03-20 05:37:03.000000000","message":"OK, will remove it.","commit_id":"31feaec5db3c5f0cca4a332e9b78e069a4b0e472"},{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"8409a2814c3f471efd26003d3bf5ab2b652faff5","unresolved":false,"context_lines":[{"line_number":153,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX):"},{"line_number":154,"context_line":"                    network_id \u003d lport.name.replace("},{"line_number":155,"context_line":"                        ovn_const.OVN_PROVNET_PORT_NAME_PREFIX, \u0027\u0027)"},{"line_number":156,"context_line":"                    if utils.ovn_name(network_id) \u003d\u003d lswitch.name:"},{"line_number":157,"context_line":"                        provnet_port \u003d lport.name"},{"line_number":158,"context_line":"            result.append({\u0027name\u0027: lswitch.name,"},{"line_number":159,"context_line":"                           \u0027ports\u0027: ports,"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a1ced50_16072f1d","line":156,"range":{"start_line":156,"start_character":20,"end_line":156,"end_character":66},"in_reply_to":"1a1ced50_b5373fe2","updated":"2017-03-18 07:25:46.000000000","message":"In normal circumstances this is not supposed to happen, there may be manual results, in which case I think it is no longer the provenet port of this network, will not use it, but will not remove it too.\nIf the naming rules change in the future, we can reconsider it. Do you feel acceptable?","commit_id":"31feaec5db3c5f0cca4a332e9b78e069a4b0e472"}]}
