)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"259facd7374bd2f1f03ce33b7ee38c17c46a134f","unresolved":false,"context_lines":[{"line_number":14,"context_line":"Later in time we may want to revise this, to make TC \u0026 queueing possible,"},{"line_number":15,"context_line":"but this is good enough for egress limiting."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Also, removed the qos extension base del+set for an update, which is an"},{"line_number":18,"context_line":"implementation specific detail."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: Ie802a235ae19bf679ba638563ac7377337448f2a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a4dcd0f_41707bdc","line":17,"updated":"2015-08-11 13:26:31.000000000","message":"wrong.","commit_id":"82f879ac606b37420a8c8691821daf1130655cb6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"eac27d21f7f94029edf908659d6255c5fd9df34a","unresolved":false,"context_lines":[{"line_number":14,"context_line":"Later in time we may want to revise this, to make TC \u0026 queueing possible,"},{"line_number":15,"context_line":"but this is good enough for egress limiting."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Also, removed the qos extension base del+set for an update, which is an"},{"line_number":18,"context_line":"implementation specific detail."},{"line_number":19,"context_line":""},{"line_number":20,"context_line":"Change-Id: Ie802a235ae19bf679ba638563ac7377337448f2a"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1a4dcd0f_3c479278","line":17,"in_reply_to":"1a4dcd0f_41707bdc","updated":"2015-08-11 13:35:58.000000000","message":"Done","commit_id":"82f879ac606b37420a8c8691821daf1130655cb6"}],"neutron/agent/common/ovs_lib.py":[{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"83432bab8e26256a968cfdaaaf5b5af3898f2e30","unresolved":false,"context_lines":[{"line_number":493,"context_line":"                                      max_burst_kbps):"},{"line_number":494,"context_line":"        with self.ovsdb.transaction(check_error\u003dTrue) as txn:"},{"line_number":495,"context_line":"            txn.add(self.ovsdb.db_set(\u0027Interface\u0027, port_name,"},{"line_number":496,"context_line":"                                      (\u0027ingress_policing_rate\u0027, max_kbps)))"},{"line_number":497,"context_line":"            txn.add(self.ovsdb.db_set(\u0027Interface\u0027, port_name,"},{"line_number":498,"context_line":"                                      (\u0027ingress_policing_burst\u0027,"},{"line_number":499,"context_line":"                                       max_burst_kbps)))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_7574559b","line":496,"updated":"2015-08-11 12:23:25.000000000","message":"max_kbps needs to be integer here i believe","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c6b9fce7fc17eed9020f0d2079115b82e30d586","unresolved":false,"context_lines":[{"line_number":493,"context_line":"                                      max_burst_kbps):"},{"line_number":494,"context_line":"        with self.ovsdb.transaction(check_error\u003dTrue) as txn:"},{"line_number":495,"context_line":"            txn.add(self.ovsdb.db_set(\u0027Interface\u0027, port_name,"},{"line_number":496,"context_line":"                                      (\u0027ingress_policing_rate\u0027, max_kbps)))"},{"line_number":497,"context_line":"            txn.add(self.ovsdb.db_set(\u0027Interface\u0027, port_name,"},{"line_number":498,"context_line":"                                      (\u0027ingress_policing_burst\u0027,"},{"line_number":499,"context_line":"                                       max_burst_kbps)))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_cbb90a17","line":496,"in_reply_to":"1a4dcd0f_7574559b","updated":"2015-08-11 12:50:11.000000000","message":"ahhh, that\u0027s why ovsdb native fails... no errors or explosions anyway :)","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c5ddabb23bd1d8fa9847dc65d5a78742cb35682","unresolved":false,"context_lines":[{"line_number":493,"context_line":"                                      max_burst_kbps):"},{"line_number":494,"context_line":"        with self.ovsdb.transaction(check_error\u003dTrue) as txn:"},{"line_number":495,"context_line":"            txn.add(self.ovsdb.db_set(\u0027Interface\u0027, port_name,"},{"line_number":496,"context_line":"                                      (\u0027ingress_policing_rate\u0027, max_kbps)))"},{"line_number":497,"context_line":"            txn.add(self.ovsdb.db_set(\u0027Interface\u0027, port_name,"},{"line_number":498,"context_line":"                                      (\u0027ingress_policing_burst\u0027,"},{"line_number":499,"context_line":"                                       max_burst_kbps)))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_ebdba6eb","line":496,"in_reply_to":"1a4dcd0f_cbb90a17","updated":"2015-08-11 13:35:43.000000000","message":"Done","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"83432bab8e26256a968cfdaaaf5b5af3898f2e30","unresolved":false,"context_lines":[{"line_number":496,"context_line":"                                      (\u0027ingress_policing_rate\u0027, max_kbps)))"},{"line_number":497,"context_line":"            txn.add(self.ovsdb.db_set(\u0027Interface\u0027, port_name,"},{"line_number":498,"context_line":"                                      (\u0027ingress_policing_burst\u0027,"},{"line_number":499,"context_line":"                                       max_burst_kbps)))"},{"line_number":500,"context_line":""},{"line_number":501,"context_line":"    def create_egress_bw_limit_for_port(self, port_name, max_kbps,"},{"line_number":502,"context_line":"                                        max_burst_kbps):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_959ec1b6","line":499,"updated":"2015-08-11 12:23:25.000000000","message":"same","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c5ddabb23bd1d8fa9847dc65d5a78742cb35682","unresolved":false,"context_lines":[{"line_number":496,"context_line":"                                      (\u0027ingress_policing_rate\u0027, max_kbps)))"},{"line_number":497,"context_line":"            txn.add(self.ovsdb.db_set(\u0027Interface\u0027, port_name,"},{"line_number":498,"context_line":"                                      (\u0027ingress_policing_burst\u0027,"},{"line_number":499,"context_line":"                                       max_burst_kbps)))"},{"line_number":500,"context_line":""},{"line_number":501,"context_line":"    def create_egress_bw_limit_for_port(self, port_name, max_kbps,"},{"line_number":502,"context_line":"                                        max_burst_kbps):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_0bd7f2bf","line":499,"in_reply_to":"1a4dcd0f_959ec1b6","updated":"2015-08-11 13:35:43.000000000","message":"Done","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"54859bd627ae8d254321a8f94c393160d773e3e2","unresolved":false,"context_lines":[{"line_number":503,"context_line":"        self._set_egress_bw_limit_for_port("},{"line_number":504,"context_line":"            port_name, max_kbps, max_burst_kbps)"},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"    def get_egress_bw_limit_for_port(self, port_name):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        max_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":509,"context_line":"                                       \u0027ingress_policing_rate\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_55f6f9f9","line":506,"updated":"2015-08-11 12:28:18.000000000","message":"You must update devref with new names of the functions. (Those are documented in unmerged patch: https://review.openstack.org/211259; meaning, you should rebase accordingly)","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c5ddabb23bd1d8fa9847dc65d5a78742cb35682","unresolved":false,"context_lines":[{"line_number":503,"context_line":"        self._set_egress_bw_limit_for_port("},{"line_number":504,"context_line":"            port_name, max_kbps, max_burst_kbps)"},{"line_number":505,"context_line":""},{"line_number":506,"context_line":"    def get_egress_bw_limit_for_port(self, port_name):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        max_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":509,"context_line":"                                       \u0027ingress_policing_rate\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_2609c52c","line":506,"in_reply_to":"1a4dcd0f_55f6f9f9","updated":"2015-08-11 13:35:43.000000000","message":"I will do on a separate patch over yours, don\u0027t want to rebase this one unnecessarily.","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"54859bd627ae8d254321a8f94c393160d773e3e2","unresolved":false,"context_lines":[{"line_number":505,"context_line":""},{"line_number":506,"context_line":"    def get_egress_bw_limit_for_port(self, port_name):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        max_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":509,"context_line":"                                       \u0027ingress_policing_rate\u0027))"},{"line_number":510,"context_line":"        max_burst_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":511,"context_line":"                                             \u0027ingress_policing_burst\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_95632141","line":508,"updated":"2015-08-11 12:28:18.000000000","message":"should we use txn to get values too?","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"13ca82677740e47b286f53cea184e22d78e4d7d7","unresolved":false,"context_lines":[{"line_number":505,"context_line":""},{"line_number":506,"context_line":"    def get_egress_bw_limit_for_port(self, port_name):"},{"line_number":507,"context_line":""},{"line_number":508,"context_line":"        max_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":509,"context_line":"                                       \u0027ingress_policing_rate\u0027))"},{"line_number":510,"context_line":"        max_burst_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":511,"context_line":"                                             \u0027ingress_policing_burst\u0027))"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_a6b95530","line":508,"in_reply_to":"1a4dcd0f_95632141","updated":"2015-08-11 13:01:23.000000000","message":"i dont think transaction is needed for the get, it retrieves them from the local cache (which is synced)","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"54859bd627ae8d254321a8f94c393160d773e3e2","unresolved":false,"context_lines":[{"line_number":510,"context_line":"        max_burst_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":511,"context_line":"                                             \u0027ingress_policing_burst\u0027))"},{"line_number":512,"context_line":""},{"line_number":513,"context_line":"        print max_kbps, max_burst_kbps"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        max_kbps \u003d None if max_kbps \u003d\u003d 0 else max_kbps"},{"line_number":516,"context_line":"        max_burst_kbps \u003d None if max_burst_kbps \u003d\u003d 0 else max_burst_kbps"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_d571a945","line":513,"updated":"2015-08-11 12:28:18.000000000","message":"?","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":11343,"name":"Gal Sagie","email":"gal.sagie@gmail.com","username":"GalSagie"},"change_message_id":"83432bab8e26256a968cfdaaaf5b5af3898f2e30","unresolved":false,"context_lines":[{"line_number":510,"context_line":"        max_burst_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":511,"context_line":"                                             \u0027ingress_policing_burst\u0027))"},{"line_number":512,"context_line":""},{"line_number":513,"context_line":"        print max_kbps, max_burst_kbps"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        max_kbps \u003d None if max_kbps \u003d\u003d 0 else max_kbps"},{"line_number":516,"context_line":"        max_burst_kbps \u003d None if max_burst_kbps \u003d\u003d 0 else max_burst_kbps"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_523e0fdb","line":513,"updated":"2015-08-11 12:23:25.000000000","message":"remove print","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c5ddabb23bd1d8fa9847dc65d5a78742cb35682","unresolved":false,"context_lines":[{"line_number":510,"context_line":"        max_burst_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":511,"context_line":"                                             \u0027ingress_policing_burst\u0027))"},{"line_number":512,"context_line":""},{"line_number":513,"context_line":"        print max_kbps, max_burst_kbps"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        max_kbps \u003d None if max_kbps \u003d\u003d 0 else max_kbps"},{"line_number":516,"context_line":"        max_burst_kbps \u003d None if max_burst_kbps \u003d\u003d 0 else max_burst_kbps"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_e668bdbc","line":513,"in_reply_to":"1a4dcd0f_2bf3ce0b","updated":"2015-08-11 13:35:43.000000000","message":"Done","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"db295e2dcfd253a57b251196590b755ad303be70","unresolved":false,"context_lines":[{"line_number":510,"context_line":"        max_burst_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":511,"context_line":"                                             \u0027ingress_policing_burst\u0027))"},{"line_number":512,"context_line":""},{"line_number":513,"context_line":"        print max_kbps, max_burst_kbps"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        max_kbps \u003d None if max_kbps \u003d\u003d 0 else max_kbps"},{"line_number":516,"context_line":"        max_burst_kbps \u003d None if max_burst_kbps \u003d\u003d 0 else max_burst_kbps"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_2b0f4ee2","line":513,"in_reply_to":"1a4dcd0f_d571a945","updated":"2015-08-11 12:52:55.000000000","message":"Breaks py3 compatibility.","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c6b9fce7fc17eed9020f0d2079115b82e30d586","unresolved":false,"context_lines":[{"line_number":510,"context_line":"        max_burst_kbps \u003d int(self.db_get_val(\u0027Interface\u0027, port_name,"},{"line_number":511,"context_line":"                                             \u0027ingress_policing_burst\u0027))"},{"line_number":512,"context_line":""},{"line_number":513,"context_line":"        print max_kbps, max_burst_kbps"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        max_kbps \u003d None if max_kbps \u003d\u003d 0 else max_kbps"},{"line_number":516,"context_line":"        max_burst_kbps \u003d None if max_burst_kbps \u003d\u003d 0 else max_burst_kbps"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_2bf3ce0b","line":513,"in_reply_to":"1a4dcd0f_d571a945","updated":"2015-08-11 12:50:11.000000000","message":"yeah, It\u0027s for debug of a current issue","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"54859bd627ae8d254321a8f94c393160d773e3e2","unresolved":false,"context_lines":[{"line_number":512,"context_line":""},{"line_number":513,"context_line":"        print max_kbps, max_burst_kbps"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        max_kbps \u003d None if max_kbps \u003d\u003d 0 else max_kbps"},{"line_number":516,"context_line":"        max_burst_kbps \u003d None if max_burst_kbps \u003d\u003d 0 else max_burst_kbps"},{"line_number":517,"context_line":""},{"line_number":518,"context_line":"        return max_kbps, max_burst_kbps"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_9507a180","line":515,"updated":"2015-08-11 12:28:18.000000000","message":"max_kbps \u003d max_kbps or None","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c5ddabb23bd1d8fa9847dc65d5a78742cb35682","unresolved":false,"context_lines":[{"line_number":512,"context_line":""},{"line_number":513,"context_line":"        print max_kbps, max_burst_kbps"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        max_kbps \u003d None if max_kbps \u003d\u003d 0 else max_kbps"},{"line_number":516,"context_line":"        max_burst_kbps \u003d None if max_burst_kbps \u003d\u003d 0 else max_burst_kbps"},{"line_number":517,"context_line":""},{"line_number":518,"context_line":"        return max_kbps, max_burst_kbps"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_0664c9e2","line":515,"in_reply_to":"1a4dcd0f_9507a180","updated":"2015-08-11 13:35:43.000000000","message":"Done","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"54859bd627ae8d254321a8f94c393160d773e3e2","unresolved":false,"context_lines":[{"line_number":513,"context_line":"        print max_kbps, max_burst_kbps"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        max_kbps \u003d None if max_kbps \u003d\u003d 0 else max_kbps"},{"line_number":516,"context_line":"        max_burst_kbps \u003d None if max_burst_kbps \u003d\u003d 0 else max_burst_kbps"},{"line_number":517,"context_line":""},{"line_number":518,"context_line":"        return max_kbps, max_burst_kbps"},{"line_number":519,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_d5ed29b8","line":516,"updated":"2015-08-11 12:28:18.000000000","message":"ditto","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c5ddabb23bd1d8fa9847dc65d5a78742cb35682","unresolved":false,"context_lines":[{"line_number":513,"context_line":"        print max_kbps, max_burst_kbps"},{"line_number":514,"context_line":""},{"line_number":515,"context_line":"        max_kbps \u003d None if max_kbps \u003d\u003d 0 else max_kbps"},{"line_number":516,"context_line":"        max_burst_kbps \u003d None if max_burst_kbps \u003d\u003d 0 else max_burst_kbps"},{"line_number":517,"context_line":""},{"line_number":518,"context_line":"        return max_kbps, max_burst_kbps"},{"line_number":519,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_a662b5d6","line":516,"in_reply_to":"1a4dcd0f_d5ed29b8","updated":"2015-08-11 13:35:43.000000000","message":"Done","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8655,"name":"Jakub Libosvar","email":"libosvar@redhat.com","username":"jlibosva"},"change_message_id":"db295e2dcfd253a57b251196590b755ad303be70","unresolved":false,"context_lines":[{"line_number":517,"context_line":""},{"line_number":518,"context_line":"        return max_kbps, max_burst_kbps"},{"line_number":519,"context_line":""},{"line_number":520,"context_line":"    def del_egress_bw_limit_for_port(self, port_name):"},{"line_number":521,"context_line":"        self._set_egress_bw_limit_for_port("},{"line_number":522,"context_line":"            port_name, \u00270\u0027, \u00270\u0027)"},{"line_number":523,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_eb3ac6cc","line":520,"updated":"2015-08-11 12:52:55.000000000","message":"Nit: Given that we\u0027re changing public names here, I suggest to sed \u0027s/del_/delete_/\u0027 in order to have consistent public api of OVSBridge. i.e. (create|delete|get)_egress_bw_limit_for_port","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"259facd7374bd2f1f03ce33b7ee38c17c46a134f","unresolved":false,"context_lines":[{"line_number":515,"context_line":""},{"line_number":516,"context_line":"        return max_kbps, max_burst_kbps"},{"line_number":517,"context_line":""},{"line_number":518,"context_line":"    def del_egress_bw_limit_for_port(self, port_name):"},{"line_number":519,"context_line":"        self._set_egress_bw_limit_for_port("},{"line_number":520,"context_line":"            port_name, 0, 0)"},{"line_number":521,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_61bc976c","line":518,"updated":"2015-08-11 13:26:31.000000000","message":"so what about consistent names (delete not del)?","commit_id":"82f879ac606b37420a8c8691821daf1130655cb6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"eac27d21f7f94029edf908659d6255c5fd9df34a","unresolved":false,"context_lines":[{"line_number":515,"context_line":""},{"line_number":516,"context_line":"        return max_kbps, max_burst_kbps"},{"line_number":517,"context_line":""},{"line_number":518,"context_line":"    def del_egress_bw_limit_for_port(self, port_name):"},{"line_number":519,"context_line":"        self._set_egress_bw_limit_for_port("},{"line_number":520,"context_line":"            port_name, 0, 0)"},{"line_number":521,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_fc592a5c","line":518,"in_reply_to":"1a4dcd0f_61bc976c","updated":"2015-08-11 13:35:58.000000000","message":"Done","commit_id":"82f879ac606b37420a8c8691821daf1130655cb6"}],"neutron/agent/l2/extensions/qos.py":[{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"3253225ffc9df5536ba5760de8089afc3c8dae48","unresolved":false,"context_lines":[{"line_number":137,"context_line":"        for port_id, port in self.qos_policy_ports[qos_policy.id].items():"},{"line_number":138,"context_line":"            # TODO(QoS): for now, just reflush the rules on the port. Later, we"},{"line_number":139,"context_line":"            # may want to apply the difference between the rules lists only."},{"line_number":140,"context_line":"            self.qos_driver.delete(port, None)"},{"line_number":141,"context_line":"            self.qos_driver.update(port, qos_policy)"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    def _process_reset_port(self, port):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_fef8477e","side":"PARENT","line":140,"updated":"2015-08-11 11:57:44.000000000","message":"This was implementation specific, and was triggering a spike in traffic by unset/set.\n\nMoshele, please ping me if you need it for SR-IOV, we can keep it and revise it later.","commit_id":"5f5be37899d5eb8815729a8677a9ab2247ecb07c"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c6b9fce7fc17eed9020f0d2079115b82e30d586","unresolved":false,"context_lines":[{"line_number":137,"context_line":"        for port_id, port in self.qos_policy_ports[qos_policy.id].items():"},{"line_number":138,"context_line":"            # TODO(QoS): for now, just reflush the rules on the port. Later, we"},{"line_number":139,"context_line":"            # may want to apply the difference between the rules lists only."},{"line_number":140,"context_line":"            self.qos_driver.delete(port, None)"},{"line_number":141,"context_line":"            self.qos_driver.update(port, qos_policy)"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    def _process_reset_port(self, port):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_eb20864b","side":"PARENT","line":140,"in_reply_to":"1a4dcd0f_d253ff37","updated":"2015-08-11 12:50:11.000000000","message":"Hmmm, you\u0027re right, this is only for BW limiting! shame on me ;)","commit_id":"5f5be37899d5eb8815729a8677a9ab2247ecb07c"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c5ddabb23bd1d8fa9847dc65d5a78742cb35682","unresolved":false,"context_lines":[{"line_number":137,"context_line":"        for port_id, port in self.qos_policy_ports[qos_policy.id].items():"},{"line_number":138,"context_line":"            # TODO(QoS): for now, just reflush the rules on the port. Later, we"},{"line_number":139,"context_line":"            # may want to apply the difference between the rules lists only."},{"line_number":140,"context_line":"            self.qos_driver.delete(port, None)"},{"line_number":141,"context_line":"            self.qos_driver.update(port, qos_policy)"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    def _process_reset_port(self, port):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_4644111a","side":"PARENT","line":140,"in_reply_to":"1a4dcd0f_eb20864b","updated":"2015-08-11 13:35:43.000000000","message":"Done","commit_id":"5f5be37899d5eb8815729a8677a9ab2247ecb07c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"54859bd627ae8d254321a8f94c393160d773e3e2","unresolved":false,"context_lines":[{"line_number":137,"context_line":"        for port_id, port in self.qos_policy_ports[qos_policy.id].items():"},{"line_number":138,"context_line":"            # TODO(QoS): for now, just reflush the rules on the port. Later, we"},{"line_number":139,"context_line":"            # may want to apply the difference between the rules lists only."},{"line_number":140,"context_line":"            self.qos_driver.delete(port, None)"},{"line_number":141,"context_line":"            self.qos_driver.update(port, qos_policy)"},{"line_number":142,"context_line":""},{"line_number":143,"context_line":"    def _process_reset_port(self, port):"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_d253ff37","side":"PARENT","line":140,"in_reply_to":"1a4dcd0f_fef8477e","updated":"2015-08-11 12:28:18.000000000","message":"NAK. what if the new policy does not contain the old rule? If you don\u0027t flush everything out, it will be left there.","commit_id":"5f5be37899d5eb8815729a8677a9ab2247ecb07c"}],"neutron/plugins/ml2/drivers/openvswitch/agent/extension_drivers/qos_driver.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"54859bd627ae8d254321a8f94c393160d773e3e2","unresolved":false,"context_lines":[{"line_number":76,"context_line":"    def _delete_bandwidth_limit(self, port):"},{"line_number":77,"context_line":"        port_name \u003d port[\u0027vif_port\u0027].port_name"},{"line_number":78,"context_line":"        current_max_kbps, current_max_burst \u003d ("},{"line_number":79,"context_line":"            self.br_int.get_egress_bw_limit_for_port(port_name))"},{"line_number":80,"context_line":"        if current_max_kbps is not None or current_max_burst is not None:"},{"line_number":81,"context_line":"            self.br_int.del_egress_bw_limit_for_port(port_name)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_b5fc1d3f","line":79,"updated":"2015-08-11 12:28:18.000000000","message":"I wonder whether we should have unconditionally reset it here. There is a slight chance of race condition otherwise.","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"2c6b9fce7fc17eed9020f0d2079115b82e30d586","unresolved":false,"context_lines":[{"line_number":76,"context_line":"    def _delete_bandwidth_limit(self, port):"},{"line_number":77,"context_line":"        port_name \u003d port[\u0027vif_port\u0027].port_name"},{"line_number":78,"context_line":"        current_max_kbps, current_max_burst \u003d ("},{"line_number":79,"context_line":"            self.br_int.get_egress_bw_limit_for_port(port_name))"},{"line_number":80,"context_line":"        if current_max_kbps is not None or current_max_burst is not None:"},{"line_number":81,"context_line":"            self.br_int.del_egress_bw_limit_for_port(port_name)"}],"source_content_type":"text/x-python","patch_set":1,"id":"1a4dcd0f_ebce4682","line":79,"in_reply_to":"1a4dcd0f_b5fc1d3f","updated":"2015-08-11 12:50:11.000000000","message":"Yes, that makes sense : doing.","commit_id":"5a3694a05b446e87800a301d75b593a7c9290491"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"259facd7374bd2f1f03ce33b7ee38c17c46a134f","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        max_kbps \u003d rule.max_kbps"},{"line_number":70,"context_line":"        max_burst_kbps \u003d rule.max_burst_kbps"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        self.br_int.create_egress_bw_limit_for_port(port_name,"},{"line_number":73,"context_line":"                                                    max_kbps,"},{"line_number":74,"context_line":"                                                    max_burst_kbps)"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_21444f72","line":72,"updated":"2015-08-11 13:26:31.000000000","message":"you should mention the change in the commit message.","commit_id":"82f879ac606b37420a8c8691821daf1130655cb6"},{"author":{"_account_id":8788,"name":"Miguel Angel Ajo","email":"mangelajo@redhat.com","username":"mangelajo"},"change_message_id":"eac27d21f7f94029edf908659d6255c5fd9df34a","unresolved":false,"context_lines":[{"line_number":69,"context_line":"        max_kbps \u003d rule.max_kbps"},{"line_number":70,"context_line":"        max_burst_kbps \u003d rule.max_burst_kbps"},{"line_number":71,"context_line":""},{"line_number":72,"context_line":"        self.br_int.create_egress_bw_limit_for_port(port_name,"},{"line_number":73,"context_line":"                                                    max_kbps,"},{"line_number":74,"context_line":"                                                    max_burst_kbps)"},{"line_number":75,"context_line":""}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_9c582658","line":72,"in_reply_to":"1a4dcd0f_21444f72","updated":"2015-08-11 13:35:58.000000000","message":"Done","commit_id":"82f879ac606b37420a8c8691821daf1130655cb6"}]}
