)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"f51ea25dfe32784e41208d055c9b1e9d500d98b8","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Arslan Qadeer \u003carslanq@xgrid.co\u003e"},{"line_number":5,"context_line":"CommitDate: 2017-04-18 04:29:16 -0400"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":" Bug Fix For QOS"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":" Replacing \"policing_rate\" with \"qos_max_rate\" and \"policing_burst\" with \"qos_burst\""},{"line_number":10,"context_line":""},{"line_number":11,"context_line":" BUG-ID: 1683073"},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_2712aa0a","line":9,"range":{"start_line":7,"start_character":0,"end_line":9,"end_character":84},"updated":"2017-04-18 10:09:08.000000000","message":"The first line and the body of the commit message should tell what changed and why it has been changed so reviewers can understand the context.\n\nI can not get the why from this commit message neither from the bug report. The bug report also says it\u0027s a \"workaround\", so please mind expanding this a bit ? \n\n...\n\nAlso, take a look at for more information about the commit message: https://wiki.openstack.org/wiki/GitCommitMessages#Summary_of_Git_commit_message_structure","commit_id":"2e6f280938bcd4d9c85cc078ac9a05b60f1bc169"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"f51ea25dfe32784e41208d055c9b1e9d500d98b8","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":" Replacing \"policing_rate\" with \"qos_max_rate\" and \"policing_burst\" with \"qos_burst\""},{"line_number":10,"context_line":""},{"line_number":11,"context_line":" BUG-ID: 1683073"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I8cf1d662c392765d6474abbeff8e6202b6cc970e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"7ffa3b31_475a56f3","line":11,"updated":"2017-04-18 10:09:08.000000000","message":"Closes-Bug: #1683073","commit_id":"2e6f280938bcd4d9c85cc078ac9a05b60f1bc169"},{"author":{"_account_id":10237,"name":"Numan Siddique","email":"nusiddiq@redhat.com","username":"numansiddique"},"change_message_id":"f3c5362c48d94ce161caa9f9d690f4f23fbbb745","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":" Replacing \"policing_rate\" with \"qos_max_rate\" and \"policing_burst\" with \"qos_burst\""},{"line_number":10,"context_line":""},{"line_number":11,"context_line":" BUG-ID: 1683073"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: I8cf1d662c392765d6474abbeff8e6202b6cc970e"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"7ffa3b31_0b6777bf","line":11,"updated":"2017-04-20 04:51:23.000000000","message":"Change this to - \"Closes-bug: #1683073\"\nSee this review as an example - https://review.openstack.org/#/c/455677/","commit_id":"34c49b5b29732766e644bd80daca0ca35d9e9b8c"}],"networking_ovn/ml2/qos_driver.py":[{"author":{"_account_id":24438,"name":"Guoshuai Li","email":"liguoshuai1989@gmail.com","username":"Guoshuai"},"change_message_id":"08abc81ccaf92a69d3b48d6e13892aae20fdb6f7","unresolved":false,"context_lines":[{"line_number":89,"context_line":"        for rule in all_rules:"},{"line_number":90,"context_line":"            if isinstance(rule, qos_rule.QosBandwidthLimitRule):"},{"line_number":91,"context_line":"                if rule.max_kbps:"},{"line_number":92,"context_line":"                    options[\u0027qos_max_rate\u0027] \u003d str(rule.max_kbps)"},{"line_number":93,"context_line":"                if rule.max_burst_kbps:"},{"line_number":94,"context_line":"                    options[\u0027qos_burst\u0027] \u003d str(rule.max_burst_kbps)"},{"line_number":95,"context_line":"        return options"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ffa3b31_032d2cfd","line":92,"range":{"start_line":92,"start_character":55,"end_line":92,"end_character":63},"updated":"2017-04-19 17:49:49.000000000","message":"rule.max_kbps ‘s unit is kbps\nqos_max_rate ‘s unit bit/s.\nSo need to convert units.\n like this:\noptions[\u0027qos_max_rate\u0027] \u003d str(rule.max_kbps * 1000)\noptions[\u0027qos_burst\u0027] \u003d str(rule.max_burst_kbps * 1000)","commit_id":"2e6f280938bcd4d9c85cc078ac9a05b60f1bc169"},{"author":{"_account_id":6773,"name":"Lucas Alvares Gomes","email":"lucasagomes@gmail.com","username":"lucasagomes"},"change_message_id":"f51ea25dfe32784e41208d055c9b1e9d500d98b8","unresolved":false,"context_lines":[{"line_number":91,"context_line":"                if rule.max_kbps:"},{"line_number":92,"context_line":"                    options[\u0027qos_max_rate\u0027] \u003d str(rule.max_kbps)"},{"line_number":93,"context_line":"                if rule.max_burst_kbps:"},{"line_number":94,"context_line":"                    options[\u0027qos_burst\u0027] \u003d str(rule.max_burst_kbps)"},{"line_number":95,"context_line":"        return options"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"    def get_qos_options(self, port):"}],"source_content_type":"text/x-python","patch_set":1,"id":"7ffa3b31_e7ca826c","line":94,"updated":"2017-04-18 10:09:08.000000000","message":"If this is really a workaround as pointed out in the bug ticker, let\u0027s add a # FIXME note in the code so we don\u0027t lose track of it.","commit_id":"2e6f280938bcd4d9c85cc078ac9a05b60f1bc169"}],"networking_ovn/tests/unit/ml2/test_qos_driver.py":[{"author":{"_account_id":23458,"name":"Dong Jun","email":"dongjun.01@bytedance.com","username":"Dongj"},"change_message_id":"d93a8e090f1e5c466299b321829e1dec96256278","unresolved":false,"context_lines":[{"line_number":62,"context_line":"        self.policy \u003d self._create_fake_policy()"},{"line_number":63,"context_line":"        self.port \u003d self._create_fake_port()"},{"line_number":64,"context_line":"        self.rule \u003d self._create_bw_limit_rule()"},{"line_number":65,"context_line":"        self.expected \u003d {\u0027qos_max_rate\u0027: \u00271\u0027, \u0027qos_burst\u0027: \u0027100\u0027}"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"    def _create_bw_limit_rule(self):"},{"line_number":68,"context_line":"        rule_obj \u003d qos_rule.QosBandwidthLimitRule()"}],"source_content_type":"text/x-python","patch_set":3,"id":"7ffa3b31_e37fcf12","line":65,"range":{"start_line":65,"start_character":8,"end_line":65,"end_character":65},"updated":"2017-04-20 07:53:28.000000000","message":"It failed, should multiply by 1000 to 1000 and 100000.","commit_id":"01052390aca664994ad4df3cddd798a74baa7a41"}]}
