)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"87b30536234ddc6b3f41e7743fcb93a25c3e1b04","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent unnecessary floatingip disassociate during update extra attribute"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If we update extra attribute like discription, the floatingip related"},{"line_number":10,"context_line":"flows will be removed and added, which will cause traffic connection lost"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch will make update_floatingip check if we need to send this event"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"da36d5c6_f92aace6","line":9,"range":{"start_line":9,"start_character":34,"end_line":9,"end_character":45},"updated":"2017-02-20 08:26:20.000000000","message":"typo: description","commit_id":"85d5c3391f1bafe3f08f2ba93b8e12ff580c2029"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"e38e316d62f9b99caacd62e646da9bfb21a2c020","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent unnecessary floatingip disassociate during update extra attribute"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If we update extra attribute like discription, the floatingip related"},{"line_number":10,"context_line":"flows will be removed and added, which will cause traffic connection lost"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch will make update_floatingip check if we need to send this event"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"da36d5c6_cf8d167d","line":9,"range":{"start_line":9,"start_character":34,"end_line":9,"end_character":45},"in_reply_to":"da36d5c6_f92aace6","updated":"2017-02-20 09:12:58.000000000","message":"Done","commit_id":"85d5c3391f1bafe3f08f2ba93b8e12ff580c2029"},{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"181cd48df30d764a6d4fcbf8be2d4f93cf5f78cf","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent unnecessary floatingip disassociate during update extra attribute"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If we update extra attribute like discription, the floatingip related"},{"line_number":10,"context_line":"flows will be removed and added, which will cause traffic connection lost"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch will make update_floatingip check if we need to send this event"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"da36d5c6_bc2ba62f","line":9,"range":{"start_line":9,"start_character":34,"end_line":9,"end_character":45},"updated":"2017-02-21 01:05:14.000000000","message":"description","commit_id":"aeb4ee87e47bb5f4da621d792728126fdafe0cdc"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"80a44123588633a75324802b2943bd015b97025d","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent unnecessary floatingip disassociate during update extra attribute"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If we update extra attribute like discription, the floatingip related"},{"line_number":10,"context_line":"flows will be removed and added, which will cause traffic connection lost"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch will make update_floatingip check if we need to send this event"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":8,"id":"da36d5c6_7c7e8ee5","line":9,"range":{"start_line":9,"start_character":34,"end_line":9,"end_character":45},"in_reply_to":"da36d5c6_bc2ba62f","updated":"2017-02-21 01:34:16.000000000","message":"Done","commit_id":"aeb4ee87e47bb5f4da621d792728126fdafe0cdc"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"b62cfe6d7d021ae97d73f64c983a9072edfbdf21","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent unnecessary floatingip disassociate during update extra attribute"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If we update extra attribute like description, the floatingip related"},{"line_number":10,"context_line":"flows will be removed and added, which will cause traffic connection lost"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch will make update_floatingip check if we need to send this event"},{"line_number":13,"context_line":"to local controller."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"da36d5c6_f14d409a","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":73},"updated":"2017-02-21 08:43:30.000000000","message":"I think the decision to add/remove flows should be made in the DNAT app, not in the the L3 plugin. L3 plugin should not concern itself with the working details of DNAT app.\n\nDNAT app can as easily decide what needs to be done based on the old and the new northbound objects.","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"c0548a1c001ff01928f1cafb319c55b5b4449395","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent unnecessary floatingip disassociate during update extra attribute"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If we update extra attribute like description, the floatingip related"},{"line_number":10,"context_line":"flows will be removed and added, which will cause traffic connection lost"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch will make update_floatingip check if we need to send this event"},{"line_number":13,"context_line":"to local controller."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"da36d5c6_fac7d00f","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":73},"in_reply_to":"da36d5c6_34a34651","updated":"2017-02-21 12:53:38.000000000","message":"Then the judgment should be more relaxed.\nIn this patch we only update the controller if either of port_id or fixed_ip_address change.\n\nI\u0027d go for the opposite and whitelist the fields whose update does not warrant an notification (e.g. name). Other than name, I think the rest of the fields are quite relevant.","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"4deb59f971c04279d053cdac1a0e3cac94366e1f","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent unnecessary floatingip disassociate during update extra attribute"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If we update extra attribute like description, the floatingip related"},{"line_number":10,"context_line":"flows will be removed and added, which will cause traffic connection lost"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch will make update_floatingip check if we need to send this event"},{"line_number":13,"context_line":"to local controller."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"da36d5c6_34a34651","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":73},"in_reply_to":"da36d5c6_f14d409a","updated":"2017-02-21 09:15:21.000000000","message":"I think the l3 plugin should make basic judgments and not to send PUB/SUB event in this case.","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"dd9a7515b551944fbe65faea13ef2849f8e5a9cb","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent unnecessary floatingip disassociate during update extra attribute"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If we update extra attribute like description, the floatingip related"},{"line_number":10,"context_line":"flows will be removed and added, which will cause traffic connection lost"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch will make update_floatingip check if we need to send this event"},{"line_number":13,"context_line":"to local controller."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"da36d5c6_ff30fe57","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":73},"updated":"2017-02-26 13:43:11.000000000","message":"Not sure why this issue will happen. From the df controller code, it looks like only when lport_id changes, the floatingip will be dis-associate and then associate. \n\nBesides, shall we just send the notification out here and let the controller decide what to do? \n\nhttps://github.com/openstack/dragonflow/blob/328f04f921e7b603f49e1e72d8cdb7b404ee3533/dragonflow/controller/df_local_controller.py#L508","commit_id":"1b506267d9deb4404808e4b1c6068aaf9e5d21fd"},{"author":{"_account_id":20229,"name":"Omer Anson","email":"omer.anson@toganetworks.com","username":"oanson"},"change_message_id":"135786b3f3297da2f0b3fdbfa6c498a623cf7d2a","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Prevent unnecessary floatingip disassociate during update extra attribute"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"If we update extra attribute like description, the floatingip related"},{"line_number":10,"context_line":"flows will be removed and added, which will cause traffic connection lost"},{"line_number":11,"context_line":""},{"line_number":12,"context_line":"This patch will make update_floatingip check if we need to send this event"},{"line_number":13,"context_line":"to local controller."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":15,"id":"da36d5c6_d93b1f37","line":10,"range":{"start_line":9,"start_character":0,"end_line":10,"end_character":73},"in_reply_to":"da36d5c6_ff30fe57","updated":"2017-02-28 08:54:18.000000000","message":"Agreed. The dnat app has a better idea of what information it needs, and how to optimise flow-updates.","commit_id":"1b506267d9deb4404808e4b1c6068aaf9e5d21fd"}],"dragonflow/neutron/services/l3_router_plugin.py":[{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"87b30536234ddc6b3f41e7743fcb93a25c3e1b04","unresolved":false,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    @lock_db.wrap_db_lock(lock_db.RESOURCE_FIP_UPDATE_OR_DELETE)"},{"line_number":229,"context_line":"    def update_floatingip(self, context, id, floatingip):"},{"line_number":230,"context_line":"        fip_db \u003d self._get_floatingip(context, id)"},{"line_number":231,"context_line":"        ori_fip \u003d self._make_floatingip_dict(fip_db)"},{"line_number":232,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":233,"context_line":"        floatingip_dict \u003d super(DFL3RouterPlugin, self).update_floatingip("}],"source_content_type":"text/x-python","patch_set":6,"id":"da36d5c6_99fff033","line":230,"updated":"2017-02-20 08:26:20.000000000","message":"I suggest to keep this logic as a separate method, something like \u0027if_notify_on_update\u0027","commit_id":"85d5c3391f1bafe3f08f2ba93b8e12ff580c2029"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"e38e316d62f9b99caacd62e646da9bfb21a2c020","unresolved":false,"context_lines":[{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    @lock_db.wrap_db_lock(lock_db.RESOURCE_FIP_UPDATE_OR_DELETE)"},{"line_number":229,"context_line":"    def update_floatingip(self, context, id, floatingip):"},{"line_number":230,"context_line":"        fip_db \u003d self._get_floatingip(context, id)"},{"line_number":231,"context_line":"        ori_fip \u003d self._make_floatingip_dict(fip_db)"},{"line_number":232,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":233,"context_line":"        floatingip_dict \u003d super(DFL3RouterPlugin, self).update_floatingip("}],"source_content_type":"text/x-python","patch_set":6,"id":"da36d5c6_af90e296","line":230,"in_reply_to":"da36d5c6_99fff033","updated":"2017-02-20 09:12:58.000000000","message":"OK, good idea","commit_id":"85d5c3391f1bafe3f08f2ba93b8e12ff580c2029"},{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"181cd48df30d764a6d4fcbf8be2d4f93cf5f78cf","unresolved":false,"context_lines":[{"line_number":225,"context_line":""},{"line_number":226,"context_line":"        return floatingip_dict"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    def _is_notify_fip_update(self, context, ori_fip, fip_dict):"},{"line_number":229,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":230,"context_line":"        new_port_id \u003d fip_dict.get(\u0027port_id\u0027)"},{"line_number":231,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"da36d5c6_fce43e0e","line":228,"range":{"start_line":228,"start_character":36,"end_line":228,"end_character":44},"updated":"2017-02-21 01:05:14.000000000","message":"Context is not required here.","commit_id":"aeb4ee87e47bb5f4da621d792728126fdafe0cdc"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"80a44123588633a75324802b2943bd015b97025d","unresolved":false,"context_lines":[{"line_number":225,"context_line":""},{"line_number":226,"context_line":"        return floatingip_dict"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    def _is_notify_fip_update(self, context, ori_fip, fip_dict):"},{"line_number":229,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":230,"context_line":"        new_port_id \u003d fip_dict.get(\u0027port_id\u0027)"},{"line_number":231,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"da36d5c6_9cfee269","line":228,"range":{"start_line":228,"start_character":36,"end_line":228,"end_character":44},"in_reply_to":"da36d5c6_fce43e0e","updated":"2017-02-21 01:34:16.000000000","message":"Done","commit_id":"aeb4ee87e47bb5f4da621d792728126fdafe0cdc"},{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"181cd48df30d764a6d4fcbf8be2d4f93cf5f78cf","unresolved":false,"context_lines":[{"line_number":243,"context_line":"            context, id, floatingip)"},{"line_number":244,"context_line":"        fip_version \u003d floatingip_dict[\u0027revision_number\u0027]"},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"        if _is_notify_fip_update(context, ori_fip, floatingip_dict):"},{"line_number":247,"context_line":"            is_notify \u003d True"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"        self.nb_api.update_floatingip("}],"source_content_type":"text/x-python","patch_set":8,"id":"da36d5c6_9cb422f3","line":246,"range":{"start_line":246,"start_character":11,"end_line":246,"end_character":32},"updated":"2017-02-21 01:05:14.000000000","message":"You need to call self._is_notify_fip_update() here.","commit_id":"aeb4ee87e47bb5f4da621d792728126fdafe0cdc"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"80a44123588633a75324802b2943bd015b97025d","unresolved":false,"context_lines":[{"line_number":243,"context_line":"            context, id, floatingip)"},{"line_number":244,"context_line":"        fip_version \u003d floatingip_dict[\u0027revision_number\u0027]"},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"        if _is_notify_fip_update(context, ori_fip, floatingip_dict):"},{"line_number":247,"context_line":"            is_notify \u003d True"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"        self.nb_api.update_floatingip("}],"source_content_type":"text/x-python","patch_set":8,"id":"da36d5c6_fcf51e83","line":246,"range":{"start_line":246,"start_character":11,"end_line":246,"end_character":32},"in_reply_to":"da36d5c6_9cb422f3","updated":"2017-02-21 01:34:16.000000000","message":"Done","commit_id":"aeb4ee87e47bb5f4da621d792728126fdafe0cdc"},{"author":{"_account_id":6598,"name":"Berezovsky Irena","email":"irenab.dev@gmail.com","username":"irenab"},"change_message_id":"3c527155d60b74e309fc33bc144f5e3c0bdf4047","unresolved":false,"context_lines":[{"line_number":242,"context_line":"        floatingip_dict \u003d super(DFL3RouterPlugin, self).update_floatingip("},{"line_number":243,"context_line":"            context, id, floatingip)"},{"line_number":244,"context_line":"        fip_version \u003d floatingip_dict[\u0027revision_number\u0027]"},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"        if _is_notify_fip_update(context, ori_fip, floatingip_dict):"},{"line_number":247,"context_line":"            is_notify \u003d True"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"        self.nb_api.update_floatingip("},{"line_number":250,"context_line":"            id\u003dfloatingip_dict[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":8,"id":"da36d5c6_ee03b7b6","line":247,"range":{"start_line":245,"start_character":0,"end_line":247,"end_character":28},"updated":"2017-02-20 13:07:22.000000000","message":"you can use one assignment instead of if statement:\nis_notify \u003d _is_notify_fip_update(context, ori_fip, floatingip_dict)","commit_id":"aeb4ee87e47bb5f4da621d792728126fdafe0cdc"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"80a44123588633a75324802b2943bd015b97025d","unresolved":false,"context_lines":[{"line_number":242,"context_line":"        floatingip_dict \u003d super(DFL3RouterPlugin, self).update_floatingip("},{"line_number":243,"context_line":"            context, id, floatingip)"},{"line_number":244,"context_line":"        fip_version \u003d floatingip_dict[\u0027revision_number\u0027]"},{"line_number":245,"context_line":""},{"line_number":246,"context_line":"        if _is_notify_fip_update(context, ori_fip, floatingip_dict):"},{"line_number":247,"context_line":"            is_notify \u003d True"},{"line_number":248,"context_line":""},{"line_number":249,"context_line":"        self.nb_api.update_floatingip("},{"line_number":250,"context_line":"            id\u003dfloatingip_dict[\u0027id\u0027],"}],"source_content_type":"text/x-python","patch_set":8,"id":"da36d5c6_fc235e03","line":247,"range":{"start_line":245,"start_character":0,"end_line":247,"end_character":28},"in_reply_to":"da36d5c6_ee03b7b6","updated":"2017-02-21 01:34:16.000000000","message":"Done","commit_id":"aeb4ee87e47bb5f4da621d792728126fdafe0cdc"},{"author":{"_account_id":20153,"name":"Duan Kebo","email":"duankebo@gmail.com"},"change_message_id":"b45b244d34097e23c5efc7bfc9c327c1c014fb4d","unresolved":false,"context_lines":[{"line_number":225,"context_line":""},{"line_number":226,"context_line":"        return floatingip_dict"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    def _is_notify_fip_update(self, ori_fip, fip_dict):"},{"line_number":229,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":230,"context_line":"        new_port_id \u003d fip_dict.get(\u0027port_id\u0027)"},{"line_number":231,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_71acf035","line":228,"range":{"start_line":228,"start_character":45,"end_line":228,"end_character":53},"updated":"2017-02-21 08:42:06.000000000","message":"Corresponding to the \"ori_fip\", \"new_fip\" may be a better name.","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"4deb59f971c04279d053cdac1a0e3cac94366e1f","unresolved":false,"context_lines":[{"line_number":225,"context_line":""},{"line_number":226,"context_line":"        return floatingip_dict"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    def _is_notify_fip_update(self, ori_fip, fip_dict):"},{"line_number":229,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":230,"context_line":"        new_port_id \u003d fip_dict.get(\u0027port_id\u0027)"},{"line_number":231,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_f4660e28","line":228,"range":{"start_line":228,"start_character":45,"end_line":228,"end_character":53},"in_reply_to":"da36d5c6_71acf035","updated":"2017-02-21 09:15:21.000000000","message":"Done","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"b62cfe6d7d021ae97d73f64c983a9072edfbdf21","unresolved":false,"context_lines":[{"line_number":226,"context_line":"        return floatingip_dict"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    def _is_notify_fip_update(self, ori_fip, fip_dict):"},{"line_number":229,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":230,"context_line":"        new_port_id \u003d fip_dict.get(\u0027port_id\u0027)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"        if ori_port_id and (ori_port_id !\u003d new_port_id or"}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_919404e3","line":229,"range":{"start_line":229,"start_character":8,"end_line":229,"end_character":19},"updated":"2017-02-21 08:43:30.000000000","message":"original_port_id is a better name","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"4deb59f971c04279d053cdac1a0e3cac94366e1f","unresolved":false,"context_lines":[{"line_number":226,"context_line":"        return floatingip_dict"},{"line_number":227,"context_line":""},{"line_number":228,"context_line":"    def _is_notify_fip_update(self, ori_fip, fip_dict):"},{"line_number":229,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":230,"context_line":"        new_port_id \u003d fip_dict.get(\u0027port_id\u0027)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"        if ori_port_id and (ori_port_id !\u003d new_port_id or"}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_347186e1","line":229,"range":{"start_line":229,"start_character":8,"end_line":229,"end_character":19},"in_reply_to":"da36d5c6_919404e3","updated":"2017-02-21 09:15:21.000000000","message":"Done","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":20153,"name":"Duan Kebo","email":"duankebo@gmail.com"},"change_message_id":"b45b244d34097e23c5efc7bfc9c327c1c014fb4d","unresolved":false,"context_lines":[{"line_number":229,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":230,"context_line":"        new_port_id \u003d fip_dict.get(\u0027port_id\u0027)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"        if ori_port_id and (ori_port_id !\u003d new_port_id or"},{"line_number":233,"context_line":"                            ori_fip[\u0027fixed_ip_address\u0027] !\u003d"},{"line_number":234,"context_line":"                            fip_dict[\u0027fixed_ip_address\u0027]):"},{"line_number":235,"context_line":"            return True"}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_31a35851","line":232,"range":{"start_line":232,"start_character":11,"end_line":232,"end_character":22},"updated":"2017-02-21 08:42:06.000000000","message":"if the org_port_id is null and the new_port_id is not null, we should notify the message.","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"4deb59f971c04279d053cdac1a0e3cac94366e1f","unresolved":false,"context_lines":[{"line_number":229,"context_line":"        ori_port_id \u003d ori_fip.get(\u0027port_id\u0027)"},{"line_number":230,"context_line":"        new_port_id \u003d fip_dict.get(\u0027port_id\u0027)"},{"line_number":231,"context_line":""},{"line_number":232,"context_line":"        if ori_port_id and (ori_port_id !\u003d new_port_id or"},{"line_number":233,"context_line":"                            ori_fip[\u0027fixed_ip_address\u0027] !\u003d"},{"line_number":234,"context_line":"                            fip_dict[\u0027fixed_ip_address\u0027]):"},{"line_number":235,"context_line":"            return True"}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_94307203","line":232,"range":{"start_line":232,"start_character":11,"end_line":232,"end_character":22},"in_reply_to":"da36d5c6_31a35851","updated":"2017-02-21 09:15:21.000000000","message":"I think it should an error case if ori_port_id is null.","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":20153,"name":"Duan Kebo","email":"duankebo@gmail.com"},"change_message_id":"b45b244d34097e23c5efc7bfc9c327c1c014fb4d","unresolved":false,"context_lines":[{"line_number":237,"context_line":""},{"line_number":238,"context_line":"    @lock_db.wrap_db_lock(lock_db.RESOURCE_FIP_UPDATE_OR_DELETE)"},{"line_number":239,"context_line":"    def update_floatingip(self, context, id, floatingip):"},{"line_number":240,"context_line":"        is_notify \u003d False"},{"line_number":241,"context_line":"        ori_fip \u003d self.get_floatingip(context, id)"},{"line_number":242,"context_line":"        floatingip_dict \u003d super(DFL3RouterPlugin, self).update_floatingip("},{"line_number":243,"context_line":"            context, id, floatingip)"}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_b1a66851","line":240,"range":{"start_line":240,"start_character":8,"end_line":240,"end_character":17},"updated":"2017-02-21 08:42:06.000000000","message":"useless","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"4deb59f971c04279d053cdac1a0e3cac94366e1f","unresolved":false,"context_lines":[{"line_number":237,"context_line":""},{"line_number":238,"context_line":"    @lock_db.wrap_db_lock(lock_db.RESOURCE_FIP_UPDATE_OR_DELETE)"},{"line_number":239,"context_line":"    def update_floatingip(self, context, id, floatingip):"},{"line_number":240,"context_line":"        is_notify \u003d False"},{"line_number":241,"context_line":"        ori_fip \u003d self.get_floatingip(context, id)"},{"line_number":242,"context_line":"        floatingip_dict \u003d super(DFL3RouterPlugin, self).update_floatingip("},{"line_number":243,"context_line":"            context, id, floatingip)"}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_5478bac4","line":240,"range":{"start_line":240,"start_character":8,"end_line":240,"end_character":17},"in_reply_to":"da36d5c6_b1a66851","updated":"2017-02-21 09:15:21.000000000","message":"Done","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":23766,"name":"Dima Kuznetsov","email":"dima.kuznetsov@toganetworks.com","username":"dimak"},"change_message_id":"b62cfe6d7d021ae97d73f64c983a9072edfbdf21","unresolved":false,"context_lines":[{"line_number":238,"context_line":"    @lock_db.wrap_db_lock(lock_db.RESOURCE_FIP_UPDATE_OR_DELETE)"},{"line_number":239,"context_line":"    def update_floatingip(self, context, id, floatingip):"},{"line_number":240,"context_line":"        is_notify \u003d False"},{"line_number":241,"context_line":"        ori_fip \u003d self.get_floatingip(context, id)"},{"line_number":242,"context_line":"        floatingip_dict \u003d super(DFL3RouterPlugin, self).update_floatingip("},{"line_number":243,"context_line":"            context, id, floatingip)"},{"line_number":244,"context_line":"        fip_version \u003d floatingip_dict[\u0027revision_number\u0027]"}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_31ec388f","line":241,"range":{"start_line":241,"start_character":8,"end_line":241,"end_character":15},"updated":"2017-02-21 08:43:30.000000000","message":"original_fip is a better name","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"},{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"4deb59f971c04279d053cdac1a0e3cac94366e1f","unresolved":false,"context_lines":[{"line_number":238,"context_line":"    @lock_db.wrap_db_lock(lock_db.RESOURCE_FIP_UPDATE_OR_DELETE)"},{"line_number":239,"context_line":"    def update_floatingip(self, context, id, floatingip):"},{"line_number":240,"context_line":"        is_notify \u003d False"},{"line_number":241,"context_line":"        ori_fip \u003d self.get_floatingip(context, id)"},{"line_number":242,"context_line":"        floatingip_dict \u003d super(DFL3RouterPlugin, self).update_floatingip("},{"line_number":243,"context_line":"            context, id, floatingip)"},{"line_number":244,"context_line":"        fip_version \u003d floatingip_dict[\u0027revision_number\u0027]"}],"source_content_type":"text/x-python","patch_set":13,"id":"da36d5c6_94823293","line":241,"range":{"start_line":241,"start_character":8,"end_line":241,"end_character":15},"in_reply_to":"da36d5c6_31ec388f","updated":"2017-02-21 09:15:21.000000000","message":"Done","commit_id":"3e24da19a249136864ae3a998ca74a8f400c9383"}]}
