)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"5c227f6e8e5c1e563c212930fa51e2c5b9c2a6ab","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     ythomas1 \u003cythomas1.ext@orange.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-01-30 10:47:12 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"SFC agent extension:  Patch delete_port and others"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Call attachment refresh on port delete and add test."},{"line_number":10,"context_line":"Also synchronize methods when necessary and remove unecessary /32 mask from ip"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5f93b717_a5d9b9f3","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":50},"updated":"2018-01-30 12:34:17.000000000","message":"Suggestion:\n\n  sfc: agent extension fixes\n\n  * fix delete_port behavior: calls to \n    detach ports in bagpipe-bgp where missing\n  * adjust how synchronization is done\n  * remove unnecessary mask from IP prexies\n\n  Update corresponding unit tests.","commit_id":"d12bdce1708a3f321a0a99e08591e99ac2bea5ed"},{"author":{"_account_id":19990,"name":"Yannick Thomas","email":"ythomas1.ext@orange.com","username":"ythomas1"},"change_message_id":"e67084298a399e960465ede93ba0948cf83f5cb4","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     ythomas1 \u003cythomas1.ext@orange.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2018-01-30 10:47:12 +0100"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"SFC agent extension:  Patch delete_port and others"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Call attachment refresh on port delete and add test."},{"line_number":10,"context_line":"Also synchronize methods when necessary and remove unecessary /32 mask from ip"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"5f93b717_24012606","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":50},"in_reply_to":"5f93b717_a5d9b9f3","updated":"2018-01-30 15:40:25.000000000","message":"Done","commit_id":"d12bdce1708a3f321a0a99e08591e99ac2bea5ed"}],"networking_bagpipe/agent/sfc/agent_extension.py":[{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"5c227f6e8e5c1e563c212930fa51e2c5b9c2a6ab","unresolved":false,"context_lines":[{"line_number":323,"context_line":"            self.bagpipe_bgp_agent.do_port_plug(port_id)"},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"    @log_helpers.log_method_call"},{"line_number":326,"context_line":"    @lockutils.synchronized(\u0027bagpipe-bgp-agent\u0027)"},{"line_number":327,"context_line":"    def sfc_remove_port_hops(self, port_hops):"},{"line_number":328,"context_line":"        for port_hop in port_hops:"},{"line_number":329,"context_line":"            port_id \u003d port_hop.port_id"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"            if port_id not in self.ports_info:"},{"line_number":332,"context_line":"                LOG.warning(\"%s service inconsistent for port %s\","},{"line_number":333,"context_line":"                            SFC_SERVICE, port_id)"},{"line_number":334,"context_line":"                continue"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"            detach_info \u003d self._build_sfc_detach_info(port_id)"},{"line_number":337,"context_line":"            self.ports_info[port_id].chain_hops \u003d {}"},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"            self.bagpipe_bgp_agent.do_port_plug_refresh(port_id, detach_info)"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"    def handle_port(self, context, port):"},{"line_number":342,"context_line":"        port_id \u003d port[\u0027port_id\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f93b717_65df31d6","side":"PARENT","line":339,"range":{"start_line":326,"start_character":0,"end_line":339,"end_character":77},"updated":"2018-01-30 12:34:17.000000000","message":"Can you explain why this method is removed in the commit message ?","commit_id":"963c5594076b74e3626fe87135183641215f6c2e"},{"author":{"_account_id":12021,"name":"Thomas Morin","email":"tmmorin.orange@gmail.com","username":"tmorin"},"change_message_id":"cfd254f108bfd8c4c415eb2486ec5d39d01bcce9","unresolved":false,"context_lines":[{"line_number":323,"context_line":"            self.bagpipe_bgp_agent.do_port_plug(port_id)"},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"    @log_helpers.log_method_call"},{"line_number":326,"context_line":"    @lockutils.synchronized(\u0027bagpipe-bgp-agent\u0027)"},{"line_number":327,"context_line":"    def sfc_remove_port_hops(self, port_hops):"},{"line_number":328,"context_line":"        for port_hop in port_hops:"},{"line_number":329,"context_line":"            port_id \u003d port_hop.port_id"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"            if port_id not in self.ports_info:"},{"line_number":332,"context_line":"                LOG.warning(\"%s service inconsistent for port %s\","},{"line_number":333,"context_line":"                            SFC_SERVICE, port_id)"},{"line_number":334,"context_line":"                continue"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"            detach_info \u003d self._build_sfc_detach_info(port_id)"},{"line_number":337,"context_line":"            self.ports_info[port_id].chain_hops \u003d {}"},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"            self.bagpipe_bgp_agent.do_port_plug_refresh(port_id, detach_info)"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"    def handle_port(self, context, port):"},{"line_number":342,"context_line":"        port_id \u003d port[\u0027port_id\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f93b717_845efa0f","side":"PARENT","line":339,"range":{"start_line":326,"start_character":0,"end_line":339,"end_character":77},"in_reply_to":"5f93b717_6105e013","updated":"2018-01-30 15:45:49.000000000","message":"I guess you\u0027ll add it again in PS4.\nCan you also add a test that check the behavior associated with this method ?","commit_id":"963c5594076b74e3626fe87135183641215f6c2e"},{"author":{"_account_id":19990,"name":"Yannick Thomas","email":"ythomas1.ext@orange.com","username":"ythomas1"},"change_message_id":"e67084298a399e960465ede93ba0948cf83f5cb4","unresolved":false,"context_lines":[{"line_number":323,"context_line":"            self.bagpipe_bgp_agent.do_port_plug(port_id)"},{"line_number":324,"context_line":""},{"line_number":325,"context_line":"    @log_helpers.log_method_call"},{"line_number":326,"context_line":"    @lockutils.synchronized(\u0027bagpipe-bgp-agent\u0027)"},{"line_number":327,"context_line":"    def sfc_remove_port_hops(self, port_hops):"},{"line_number":328,"context_line":"        for port_hop in port_hops:"},{"line_number":329,"context_line":"            port_id \u003d port_hop.port_id"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"            if port_id not in self.ports_info:"},{"line_number":332,"context_line":"                LOG.warning(\"%s service inconsistent for port %s\","},{"line_number":333,"context_line":"                            SFC_SERVICE, port_id)"},{"line_number":334,"context_line":"                continue"},{"line_number":335,"context_line":""},{"line_number":336,"context_line":"            detach_info \u003d self._build_sfc_detach_info(port_id)"},{"line_number":337,"context_line":"            self.ports_info[port_id].chain_hops \u003d {}"},{"line_number":338,"context_line":""},{"line_number":339,"context_line":"            self.bagpipe_bgp_agent.do_port_plug_refresh(port_id, detach_info)"},{"line_number":340,"context_line":""},{"line_number":341,"context_line":"    def handle_port(self, context, port):"},{"line_number":342,"context_line":"        port_id \u003d port[\u0027port_id\u0027]"}],"source_content_type":"text/x-python","patch_set":1,"id":"5f93b717_6105e013","side":"PARENT","line":339,"range":{"start_line":326,"start_character":0,"end_line":339,"end_character":77},"in_reply_to":"5f93b717_65df31d6","updated":"2018-01-30 15:40:25.000000000","message":"This method must be kept","commit_id":"963c5594076b74e3626fe87135183641215f6c2e"}]}
