)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":4694,"name":"Miguel Lavalle","email":"miguel@mlavalle.com","username":"minsel"},"change_message_id":"2e62a2d5b2cece90ebae5b4f52be1abccc29d21c","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     LIU Yulong \u003ci@liuyulong.me\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-04-04 16:38:18 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"[WIP][L3][QoS] Cover mixed dvr_snat and compute node dvr router"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"The dvr_snat node can also run the nova-compute which will"},{"line_number":10,"context_line":"make the fip_qos l3 agent failed to install the qos rules for"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"bf659307_a8f45588","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":5},"updated":"2018-04-10 15:30:28.000000000","message":"Is it still WIP? Or is it ready for review?","commit_id":"b6ab2d8a95dc443538ccfe11bdaede56f85f1cf6"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"dfc2073f01cf6d2dd886dc309f173fc7200c6063","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     LIU Yulong \u003ci@liuyulong.me\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-04-04 16:38:18 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"[WIP][L3][QoS] Cover mixed dvr_snat and compute node dvr router"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"The dvr_snat node can also run the nova-compute which will"},{"line_number":10,"context_line":"make the fip_qos l3 agent failed to install the qos rules for"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"bf659307_6b0a86d2","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":5},"in_reply_to":"bf659307_a8f45588","updated":"2018-04-12 03:09:13.000000000","message":"Yes, I will add some functional test code.","commit_id":"b6ab2d8a95dc443538ccfe11bdaede56f85f1cf6"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"33e8a962121c255daeb7a652a500d307439e09d0","unresolved":false,"context_lines":[{"line_number":10,"context_line":"make the fip_qos l3 agent failed to install the qos rules for"},{"line_number":11,"context_line":"the router floating IPs tc rule."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"For dvr router in snat node, we should process the floating"},{"line_number":14,"context_line":"IP QoS again in qrouter-namesapce to cover the mixed deployment"},{"line_number":15,"context_line":"with nova-compute scenario."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"9f6a8fd7_290034ab","line":13,"range":{"start_line":13,"start_character":23,"end_line":13,"end_character":27},"updated":"2018-04-20 11:39:59.000000000","message":"nit: s/node/mode ?","commit_id":"de24307636c61961668b49e300214a302fe0aa54"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"68b819b0ee8f40f446eb2aaefc17848014e75caa","unresolved":false,"context_lines":[{"line_number":10,"context_line":"make the fip_qos l3 agent failed to install the qos rules for"},{"line_number":11,"context_line":"the router floating IPs tc rule."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"For dvr router in snat node, we should process the floating"},{"line_number":14,"context_line":"IP QoS again in qrouter-namesapce to cover the mixed deployment"},{"line_number":15,"context_line":"with nova-compute scenario."},{"line_number":16,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"9f6a8fd7_3cce2b2e","line":13,"range":{"start_line":13,"start_character":23,"end_line":13,"end_character":27},"in_reply_to":"9f6a8fd7_290034ab","updated":"2018-04-20 15:08:19.000000000","message":"It\u0027s indeed node, will change to `mixed deployment node`.","commit_id":"de24307636c61961668b49e300214a302fe0aa54"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"68b819b0ee8f40f446eb2aaefc17848014e75caa","unresolved":false,"context_lines":[{"line_number":14,"context_line":"IP QoS again in qrouter-namesapce to cover the mixed deployment"},{"line_number":15,"context_line":"with nova-compute scenario."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Once fip_qos l3 agent extension can get the fip-namespace"},{"line_number":18,"context_line":"rfp-device, the tc rules will be set again on it."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: I9eca25201e0647d4da77b325fba03cca1db5bb4d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"9f6a8fd7_fc3d13dd","line":17,"range":{"start_line":17,"start_character":44,"end_line":17,"end_character":57},"updated":"2018-04-20 15:08:19.000000000","message":"This should be qrouter-namesapce","commit_id":"de24307636c61961668b49e300214a302fe0aa54"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"7499605c1a17e0cabaebccf05206077710845899","unresolved":false,"context_lines":[{"line_number":11,"context_line":"qos tc rules for the dvr router floating IPs."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To cover such mixed deployment, the tc rules for floating IP"},{"line_number":14,"context_line":"qos will be processed again in qrouter-namesapce of the"},{"line_number":15,"context_line":"dvr_snat node, and the device is rfp-device."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I9eca25201e0647d4da77b325fba03cca1db5bb4d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"9f6a8fd7_6038033d","line":14,"range":{"start_line":14,"start_character":39,"end_line":14,"end_character":48},"updated":"2018-04-26 16:19:27.000000000","message":"nit: namespace","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"c5330f8228f43a7c87d85e38d975360a6e3ab52a","unresolved":false,"context_lines":[{"line_number":11,"context_line":"qos tc rules for the dvr router floating IPs."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To cover such mixed deployment, the tc rules for floating IP"},{"line_number":14,"context_line":"qos will be processed again in qrouter-namesapce of the"},{"line_number":15,"context_line":"dvr_snat node, and the device is rfp-device."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I9eca25201e0647d4da77b325fba03cca1db5bb4d"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"9f6a8fd7_43093c2f","line":14,"range":{"start_line":14,"start_character":39,"end_line":14,"end_character":48},"in_reply_to":"9f6a8fd7_6038033d","updated":"2018-04-27 07:24:25.000000000","message":"Done","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"7eca3f1ac72c86b9f64559fc0803ce7aead1c3a4","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To cover such mixed deployment, the tc rules for floating IP"},{"line_number":14,"context_line":"qos will be processed again in qrouter-namesapce of the"},{"line_number":15,"context_line":"dvr_snat node, and the device is rfp-device."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I9eca25201e0647d4da77b325fba03cca1db5bb4d"},{"line_number":18,"context_line":"Closes-Bug: #1758316"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"9f6a8fd7_6906f122","line":15,"range":{"start_line":15,"start_character":15,"end_line":15,"end_character":18},"updated":"2018-04-24 07:49:00.000000000","message":"shoudn\u0027t be \"when\" or something like that? I think I don\u0027t understand this last sentence here :/","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"7eca3f1ac72c86b9f64559fc0803ce7aead1c3a4","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To cover such mixed deployment, the tc rules for floating IP"},{"line_number":14,"context_line":"qos will be processed again in qrouter-namesapce of the"},{"line_number":15,"context_line":"dvr_snat node, and the device is rfp-device."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I9eca25201e0647d4da77b325fba03cca1db5bb4d"},{"line_number":18,"context_line":"Closes-Bug: #1758316"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"9f6a8fd7_842fac86","line":15,"range":{"start_line":15,"start_character":33,"end_line":15,"end_character":43},"updated":"2018-04-24 07:49:00.000000000","message":"what is \"rfp-device\"?","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"04bf07ba37db32d149c435e12e6278fa32bc9237","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To cover such mixed deployment, the tc rules for floating IP"},{"line_number":14,"context_line":"qos will be processed again in qrouter-namesapce of the"},{"line_number":15,"context_line":"dvr_snat node, and the device is rfp-device."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I9eca25201e0647d4da77b325fba03cca1db5bb4d"},{"line_number":18,"context_line":"Closes-Bug: #1758316"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"9f6a8fd7_712d73a6","line":15,"range":{"start_line":15,"start_character":15,"end_line":15,"end_character":18},"in_reply_to":"9f6a8fd7_6906f122","updated":"2018-04-24 11:27:04.000000000","message":"It is and, this means the rfp-device in the qrouter-namesapce.","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"04bf07ba37db32d149c435e12e6278fa32bc9237","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To cover such mixed deployment, the tc rules for floating IP"},{"line_number":14,"context_line":"qos will be processed again in qrouter-namesapce of the"},{"line_number":15,"context_line":"dvr_snat node, and the device is rfp-device."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I9eca25201e0647d4da77b325fba03cca1db5bb4d"},{"line_number":18,"context_line":"Closes-Bug: #1758316"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"9f6a8fd7_d15d5f47","line":15,"range":{"start_line":15,"start_character":33,"end_line":15,"end_character":43},"in_reply_to":"9f6a8fd7_842fac86","updated":"2018-04-24 11:27:04.000000000","message":"It\u0027s one endpoint of veth pair which connect qrouter-namespace and fip-namespace:\n\nhttps://github.com/openstack/neutron/blob/master/neutron/agent/l3/namespaces.py#L29","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"25bfdfdf1c8a3e1a3b7dda0c4e77ca524841c411","unresolved":false,"context_lines":[{"line_number":12,"context_line":""},{"line_number":13,"context_line":"To cover such mixed deployment, the tc rules for floating IP"},{"line_number":14,"context_line":"qos will be processed again in qrouter-namesapce of the"},{"line_number":15,"context_line":"dvr_snat node, and the device is rfp-device."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Change-Id: I9eca25201e0647d4da77b325fba03cca1db5bb4d"},{"line_number":18,"context_line":"Closes-Bug: #1758316"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"9f6a8fd7_a7718d46","line":15,"range":{"start_line":15,"start_character":33,"end_line":15,"end_character":43},"in_reply_to":"9f6a8fd7_d15d5f47","updated":"2018-04-24 12:27:19.000000000","message":"ok, now I think I got it. Thanks :)","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"}],"neutron/agent/l3/extensions/fip_qos.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"33e8a962121c255daeb7a652a500d307439e09d0","unresolved":false,"context_lines":[{"line_number":293,"context_line":"            rate \u003d rates.get(direction)"},{"line_number":294,"context_line":"            tc_wrapper \u003d self._get_tc_wrapper(device)"},{"line_number":295,"context_line":"            tc_wrapper.set_ip_rate_limit(direction, fip,"},{"line_number":296,"context_line":"                                         rate[\u0027rate\u0027], rate[\u0027burst\u0027])"},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"    def process_floating_ip_addresses(self, context, router_info):"},{"line_number":299,"context_line":"        # Loop all the router floating ips, the corresponding floating IP tc"}],"source_content_type":"text/x-python","patch_set":8,"id":"9f6a8fd7_e9079c81","line":296,"updated":"2018-04-20 11:39:59.000000000","message":"Maybe You can merge this method with above one and add parameter like \"cache\u003dTrue/False\" which will decide what to do?","commit_id":"de24307636c61961668b49e300214a302fe0aa54"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"68b819b0ee8f40f446eb2aaefc17848014e75caa","unresolved":false,"context_lines":[{"line_number":293,"context_line":"            rate \u003d rates.get(direction)"},{"line_number":294,"context_line":"            tc_wrapper \u003d self._get_tc_wrapper(device)"},{"line_number":295,"context_line":"            tc_wrapper.set_ip_rate_limit(direction, fip,"},{"line_number":296,"context_line":"                                         rate[\u0027rate\u0027], rate[\u0027burst\u0027])"},{"line_number":297,"context_line":""},{"line_number":298,"context_line":"    def process_floating_ip_addresses(self, context, router_info):"},{"line_number":299,"context_line":"        # Loop all the router floating ips, the corresponding floating IP tc"}],"source_content_type":"text/x-python","patch_set":8,"id":"9f6a8fd7_5c2c3fab","line":296,"in_reply_to":"9f6a8fd7_e9079c81","updated":"2018-04-20 15:08:19.000000000","message":"Done","commit_id":"de24307636c61961668b49e300214a302fe0aa54"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"33e8a962121c255daeb7a652a500d307439e09d0","unresolved":false,"context_lines":[{"line_number":327,"context_line":"                      \"for router: %s\", router_info.router_id)"},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"        # 4. for dvr router in snat node, we should process the floating"},{"line_number":330,"context_line":"        # IP QoS again in qrouter-namesapce to cover the mixed deployment"},{"line_number":331,"context_line":"        # with nova-compute scenario."},{"line_number":332,"context_line":"        dvr_fip_device \u003d None"},{"line_number":333,"context_line":"        if is_distributed_router and agent_mode \u003d\u003d ("}],"source_content_type":"text/x-python","patch_set":8,"id":"9f6a8fd7_49a7a8a8","line":330,"range":{"start_line":330,"start_character":34,"end_line":330,"end_character":43},"updated":"2018-04-20 11:39:59.000000000","message":"nitty nit: s/namesapce/namespace :)\nand also, shouldn\u0027t this be just added to comment above where other 3 points are described already?","commit_id":"de24307636c61961668b49e300214a302fe0aa54"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"68b819b0ee8f40f446eb2aaefc17848014e75caa","unresolved":false,"context_lines":[{"line_number":327,"context_line":"                      \"for router: %s\", router_info.router_id)"},{"line_number":328,"context_line":""},{"line_number":329,"context_line":"        # 4. for dvr router in snat node, we should process the floating"},{"line_number":330,"context_line":"        # IP QoS again in qrouter-namesapce to cover the mixed deployment"},{"line_number":331,"context_line":"        # with nova-compute scenario."},{"line_number":332,"context_line":"        dvr_fip_device \u003d None"},{"line_number":333,"context_line":"        if is_distributed_router and agent_mode \u003d\u003d ("}],"source_content_type":"text/x-python","patch_set":8,"id":"9f6a8fd7_dc112f5f","line":330,"range":{"start_line":330,"start_character":34,"end_line":330,"end_character":43},"in_reply_to":"9f6a8fd7_49a7a8a8","updated":"2018-04-20 15:08:19.000000000","message":"Done","commit_id":"de24307636c61961668b49e300214a302fe0aa54"},{"author":{"_account_id":17120,"name":"Manjeet Singh Bhatia","email":"manjeet.s.bhatia@intel.com","username":"manjeets"},"change_message_id":"0a912195b0d1658117dd8fcff25f88bb81f95b2d","unresolved":false,"context_lines":[{"line_number":288,"context_line":"                self.process_ip_rate_limit("},{"line_number":289,"context_line":"                    fip, direction, device,"},{"line_number":290,"context_line":"                    rate[\u0027rate\u0027], rate[\u0027burst\u0027])"},{"line_number":291,"context_line":"            else:"},{"line_number":292,"context_line":"                tc_wrapper \u003d self._get_tc_wrapper(device)"},{"line_number":293,"context_line":"                tc_wrapper.set_ip_rate_limit(direction, fip,"},{"line_number":294,"context_line":"                                             rate[\u0027rate\u0027], rate[\u0027burst\u0027])"},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"    def process_floating_ip_addresses(self, context, router_info):"},{"line_number":297,"context_line":"        # Loop all the router floating ips, the corresponding floating IP tc"}],"source_content_type":"text/x-python","patch_set":9,"id":"9f6a8fd7_a5453b45","line":294,"range":{"start_line":291,"start_character":11,"end_line":294,"end_character":73},"updated":"2018-04-20 20:07:33.000000000","message":"would it make sense to add unit test in tests/unit/agent/l3/extensions/test_fip_qos.py as well for _process_update_policy (with_cache\u003dFalse) ? and make sure processing is done in a different way ?","commit_id":"f5dc06b0006d33f2a5cc2b9a6646f33f4f3a2e2c"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"1f7816ffd71b0a53f9788090ee30e1f994767ab0","unresolved":false,"context_lines":[{"line_number":288,"context_line":"                self.process_ip_rate_limit("},{"line_number":289,"context_line":"                    fip, direction, device,"},{"line_number":290,"context_line":"                    rate[\u0027rate\u0027], rate[\u0027burst\u0027])"},{"line_number":291,"context_line":"            else:"},{"line_number":292,"context_line":"                tc_wrapper \u003d self._get_tc_wrapper(device)"},{"line_number":293,"context_line":"                tc_wrapper.set_ip_rate_limit(direction, fip,"},{"line_number":294,"context_line":"                                             rate[\u0027rate\u0027], rate[\u0027burst\u0027])"},{"line_number":295,"context_line":""},{"line_number":296,"context_line":"    def process_floating_ip_addresses(self, context, router_info):"},{"line_number":297,"context_line":"        # Loop all the router floating ips, the corresponding floating IP tc"}],"source_content_type":"text/x-python","patch_set":9,"id":"9f6a8fd7_6c52a8e0","line":294,"range":{"start_line":291,"start_character":11,"end_line":294,"end_character":73},"in_reply_to":"9f6a8fd7_a5453b45","updated":"2018-04-21 02:39:54.000000000","message":"Done","commit_id":"f5dc06b0006d33f2a5cc2b9a6646f33f4f3a2e2c"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"7499605c1a17e0cabaebccf05206077710845899","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                        self.process_ip_rates(fip, device, rates)"},{"line_number":169,"context_line":"                    if dvr_fip_device:"},{"line_number":170,"context_line":"                        self.process_ip_rates("},{"line_number":171,"context_line":"                            fip, device, rates, with_cache\u003dFalse)"},{"line_number":172,"context_line":"            self.fip_qos_map.update_policy(qos_policy)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def _process_reset_fip(self, fip):"}],"source_content_type":"text/x-python","patch_set":11,"id":"9f6a8fd7_40813fc3","line":171,"range":{"start_line":171,"start_character":33,"end_line":171,"end_character":39},"updated":"2018-04-26 16:19:27.000000000","message":"Is this supposed to be dvr_fip_device ?","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"c5330f8228f43a7c87d85e38d975360a6e3ab52a","unresolved":false,"context_lines":[{"line_number":168,"context_line":"                        self.process_ip_rates(fip, device, rates)"},{"line_number":169,"context_line":"                    if dvr_fip_device:"},{"line_number":170,"context_line":"                        self.process_ip_rates("},{"line_number":171,"context_line":"                            fip, device, rates, with_cache\u003dFalse)"},{"line_number":172,"context_line":"            self.fip_qos_map.update_policy(qos_policy)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def _process_reset_fip(self, fip):"}],"source_content_type":"text/x-python","patch_set":11,"id":"9f6a8fd7_83175452","line":171,"range":{"start_line":171,"start_character":33,"end_line":171,"end_character":39},"in_reply_to":"9f6a8fd7_40813fc3","updated":"2018-04-27 07:24:25.000000000","message":"Done","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"7eca3f1ac72c86b9f64559fc0803ce7aead1c3a4","unresolved":false,"context_lines":[{"line_number":330,"context_line":"        #    with nova-compute scenario."},{"line_number":331,"context_line":"        is_distributed_router \u003d router_info.router.get(\u0027distributed\u0027)"},{"line_number":332,"context_line":"        agent_mode \u003d router_info.agent_conf.agent_mode"},{"line_number":333,"context_line":"        LOG.debug(\"Start process router %(router_id)s floating IP QoS, \""},{"line_number":334,"context_line":"                  \"router distributed: %(distributed)s, \""},{"line_number":335,"context_line":"                  \"agent mode: %(agent_mode)s\","},{"line_number":336,"context_line":"                  {\"router_id\": router_info.router_id,"}],"source_content_type":"text/x-python","patch_set":11,"id":"9f6a8fd7_249ee0b8","line":333,"range":{"start_line":333,"start_character":33,"end_line":333,"end_character":40},"updated":"2018-04-24 07:49:00.000000000","message":"nitty nit: router\u0027s floating IP","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"7499605c1a17e0cabaebccf05206077710845899","unresolved":false,"context_lines":[{"line_number":330,"context_line":"        #    with nova-compute scenario."},{"line_number":331,"context_line":"        is_distributed_router \u003d router_info.router.get(\u0027distributed\u0027)"},{"line_number":332,"context_line":"        agent_mode \u003d router_info.agent_conf.agent_mode"},{"line_number":333,"context_line":"        LOG.debug(\"Start process router %(router_id)s floating IP QoS, \""},{"line_number":334,"context_line":"                  \"router distributed: %(distributed)s, \""},{"line_number":335,"context_line":"                  \"agent mode: %(agent_mode)s\","},{"line_number":336,"context_line":"                  {\"router_id\": router_info.router_id,"}],"source_content_type":"text/x-python","patch_set":11,"id":"9f6a8fd7_c0054f16","line":333,"range":{"start_line":333,"start_character":25,"end_line":333,"end_character":32},"updated":"2018-04-26 16:19:27.000000000","message":"s/processing","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"767458a97d2b381709660800abd0993cd313632d","unresolved":false,"context_lines":[{"line_number":330,"context_line":"        #    with nova-compute scenario."},{"line_number":331,"context_line":"        is_distributed_router \u003d router_info.router.get(\u0027distributed\u0027)"},{"line_number":332,"context_line":"        agent_mode \u003d router_info.agent_conf.agent_mode"},{"line_number":333,"context_line":"        LOG.debug(\"Start process router %(router_id)s floating IP QoS, \""},{"line_number":334,"context_line":"                  \"router distributed: %(distributed)s, \""},{"line_number":335,"context_line":"                  \"agent mode: %(agent_mode)s\","},{"line_number":336,"context_line":"                  {\"router_id\": router_info.router_id,"}],"source_content_type":"text/x-python","patch_set":11,"id":"9f6a8fd7_7e9e0964","line":333,"range":{"start_line":333,"start_character":25,"end_line":333,"end_character":32},"in_reply_to":"9f6a8fd7_053a50e6","updated":"2018-05-02 02:51:13.000000000","message":"Done","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"9707a990424d0bc96eb263e2ca88d340790d8333","unresolved":false,"context_lines":[{"line_number":330,"context_line":"        #    with nova-compute scenario."},{"line_number":331,"context_line":"        is_distributed_router \u003d router_info.router.get(\u0027distributed\u0027)"},{"line_number":332,"context_line":"        agent_mode \u003d router_info.agent_conf.agent_mode"},{"line_number":333,"context_line":"        LOG.debug(\"Start process router %(router_id)s floating IP QoS, \""},{"line_number":334,"context_line":"                  \"router distributed: %(distributed)s, \""},{"line_number":335,"context_line":"                  \"agent mode: %(agent_mode)s\","},{"line_number":336,"context_line":"                  {\"router_id\": router_info.router_id,"}],"source_content_type":"text/x-python","patch_set":11,"id":"9f6a8fd7_053a50e6","line":333,"range":{"start_line":333,"start_character":25,"end_line":333,"end_character":32},"in_reply_to":"9f6a8fd7_c0054f16","updated":"2018-04-28 18:53:48.000000000","message":"@LIU Yulong: do You plan to address those comments also?","commit_id":"79ddddfaa241ba2d851b69e11994198ecfe612b3"},{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"2200317d9f748db95fc41b05ca07a3d299d8d91e","unresolved":false,"context_lines":[{"line_number":344,"context_line":"        device \u003d self._get_rate_limit_ip_device(router_info)"},{"line_number":345,"context_line":"        if not device:"},{"line_number":346,"context_line":"            LOG.debug(\"No relevant QoS device found \""},{"line_number":347,"context_line":"                      \"for router: %s\", router_info.router_id)"},{"line_number":348,"context_line":""},{"line_number":349,"context_line":"        dvr_fip_device \u003d self._get_dvr_fip_device(router_info)"},{"line_number":350,"context_line":"        if not device and not dvr_fip_device:"}],"source_content_type":"text/x-python","patch_set":13,"id":"5f7c97a3_e872ae11","line":347,"updated":"2018-05-03 14:40:20.000000000","message":"This should be moved to L351 and this \u0027if\u0027 can go away as that one covers both conditions.","commit_id":"c09035566ba40d85abe0074783cba093a1edfa79"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"d675971d2a2abef8e5f59243c625d3fc582ecb93","unresolved":false,"context_lines":[{"line_number":344,"context_line":"        device \u003d self._get_rate_limit_ip_device(router_info)"},{"line_number":345,"context_line":"        if not device:"},{"line_number":346,"context_line":"            LOG.debug(\"No relevant QoS device found \""},{"line_number":347,"context_line":"                      \"for router: %s\", router_info.router_id)"},{"line_number":348,"context_line":""},{"line_number":349,"context_line":"        dvr_fip_device \u003d self._get_dvr_fip_device(router_info)"},{"line_number":350,"context_line":"        if not device and not dvr_fip_device:"}],"source_content_type":"text/x-python","patch_set":13,"id":"5f7c97a3_4ce64c19","line":347,"in_reply_to":"5f7c97a3_e872ae11","updated":"2018-05-04 02:09:52.000000000","message":"Done","commit_id":"c09035566ba40d85abe0074783cba093a1edfa79"}],"neutron/tests/unit/agent/l3/extensions/test_fip_qos.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"a41c9e05a472c2e9d60fc8653ae98f30db12aac3","unresolved":false,"context_lines":[{"line_number":349,"context_line":"            self.fip_qos_ext.add_router(self.context, self.router)"},{"line_number":350,"context_line":"            tc_wrapper.set_ip_rate_limit.assert_not_called()"},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"    def _test_process_ip_rates(self, with_cache\u003dTrue):"},{"line_number":353,"context_line":"        rates \u003d {\u0027egress\u0027: {\u0027rate\u0027: 333, \u0027burst\u0027: 444},"},{"line_number":354,"context_line":"                 \u0027ingress\u0027: {\u0027rate\u0027: 111, \u0027burst\u0027: 222}}"},{"line_number":355,"context_line":"        fip \u003d \u0027123.123.123.123\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"9f6a8fd7_267b6c7b","line":352,"range":{"start_line":352,"start_character":48,"end_line":352,"end_character":52},"updated":"2018-04-21 11:29:32.000000000","message":"I would personally prefer to not set default value here and call this helper always with passed value here - IMO it would be easier to read","commit_id":"8ba6ea3a044d8eff21e1b34ce85b0406a6fa0f43"},{"author":{"_account_id":9531,"name":"liuyulong","display_name":"LIU Yulong","email":"i@liuyulong.me","username":"LIU-Yulong"},"change_message_id":"cb4a5e59482ef5c5db0032f84dc4e0ebc42370a3","unresolved":false,"context_lines":[{"line_number":349,"context_line":"            self.fip_qos_ext.add_router(self.context, self.router)"},{"line_number":350,"context_line":"            tc_wrapper.set_ip_rate_limit.assert_not_called()"},{"line_number":351,"context_line":""},{"line_number":352,"context_line":"    def _test_process_ip_rates(self, with_cache\u003dTrue):"},{"line_number":353,"context_line":"        rates \u003d {\u0027egress\u0027: {\u0027rate\u0027: 333, \u0027burst\u0027: 444},"},{"line_number":354,"context_line":"                 \u0027ingress\u0027: {\u0027rate\u0027: 111, \u0027burst\u0027: 222}}"},{"line_number":355,"context_line":"        fip \u003d \u0027123.123.123.123\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"9f6a8fd7_6c661ec4","line":352,"range":{"start_line":352,"start_character":48,"end_line":352,"end_character":52},"in_reply_to":"9f6a8fd7_267b6c7b","updated":"2018-04-23 13:05:55.000000000","message":"Done","commit_id":"8ba6ea3a044d8eff21e1b34ce85b0406a6fa0f43"},{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"a41c9e05a472c2e9d60fc8653ae98f30db12aac3","unresolved":false,"context_lines":[{"line_number":358,"context_line":"        with mock.patch.object("},{"line_number":359,"context_line":"                self.fip_qos_ext, \u0027_get_tc_wrapper\u0027,"},{"line_number":360,"context_line":"                return_value\u003dtc_wrapper) as get_tc_wrapper:"},{"line_number":361,"context_line":"            with mock.patch.object("},{"line_number":362,"context_line":"                    self.fip_qos_ext, \u0027process_ip_rate_limit\u0027) as process_ip:"},{"line_number":363,"context_line":"                self.fip_qos_ext.process_ip_rates("},{"line_number":364,"context_line":"                    fip, device, rates, with_cache\u003dwith_cache)"}],"source_content_type":"text/x-python","patch_set":10,"id":"9f6a8fd7_c6b2b049","line":361,"range":{"start_line":361,"start_character":12,"end_line":361,"end_character":16},"updated":"2018-04-21 11:29:32.000000000","message":"nit: You can do both mocks in one \"with\" statement and You will then have one indentation level less :)","commit_id":"8ba6ea3a044d8eff21e1b34ce85b0406a6fa0f43"}]}
