)]}'
{"dragonflow/controller/df_local_controller.py":[{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"36a34116e320e48f8565fbafea22448c796fc963","unresolved":false,"context_lines":[{"line_number":204,"context_line":"        for active_port in active_ports:"},{"line_number":205,"context_line":"            if active_port.get_detected_lport_id() \u003d\u003d lport.get_id():"},{"line_number":206,"context_line":"                self.open_flow_app.notify_remove_active_port(active_port)"},{"line_number":207,"context_line":"                self.db_store.delete_active_port(active_port.get_id())"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"    def _is_physical_chassis(self, chassis):"},{"line_number":210,"context_line":"        if not chassis or chassis \u003d\u003d constants.DRAGONFLOW_VIRTUAL_PORT:"}],"source_content_type":"text/x-python","patch_set":1,"id":"da36d5c6_11411e0c","side":"PARENT","line":207,"range":{"start_line":207,"start_character":0,"end_line":207,"end_character":70},"updated":"2017-02-20 02:12:48.000000000","message":"What if the port is deleted by user operation? The active port should be left in local cache?","commit_id":"65d06a0958fe1fd9fdcabb90cade8fc7d615ba0a"},{"author":{"_account_id":20287,"name":"hujie","email":"mike.hu@huawei.com","username":"hujie"},"change_message_id":"2fc998405b055f8507e986c1e086bf93282b057c","unresolved":false,"context_lines":[{"line_number":204,"context_line":"        for active_port in active_ports:"},{"line_number":205,"context_line":"            if active_port.get_detected_lport_id() \u003d\u003d lport.get_id():"},{"line_number":206,"context_line":"                self.open_flow_app.notify_remove_active_port(active_port)"},{"line_number":207,"context_line":"                self.db_store.delete_active_port(active_port.get_id())"},{"line_number":208,"context_line":""},{"line_number":209,"context_line":"    def _is_physical_chassis(self, chassis):"},{"line_number":210,"context_line":"        if not chassis or chassis \u003d\u003d constants.DRAGONFLOW_VIRTUAL_PORT:"}],"source_content_type":"text/x-python","patch_set":1,"id":"da36d5c6_c0816d91","side":"PARENT","line":207,"range":{"start_line":207,"start_character":0,"end_line":207,"end_character":70},"in_reply_to":"da36d5c6_11411e0c","updated":"2017-02-20 05:04:11.000000000","message":"Indeed, I want to decouple active port and lport, like lswitch and lport, and if the lport was deleted, the active port app will publish a active port delete event and this node will receive it, enter the delete active port process then delete the active port from the cache, but here I think it\u0027s ok to delete it from cache directly because when lport online again, the app will detect it and add new active port data into cache again.","commit_id":"65d06a0958fe1fd9fdcabb90cade8fc7d615ba0a"}]}
