)]}'
{"dragonflow/controller/df_db_objects_refresh.py":[{"author":{"_account_id":20405,"name":"liuhaixia","email":"liuhaixia315@huawei.com","username":"liuhaixia"},"change_message_id":"81108681b5cfa511798c488a11194a2d254eb92a","unresolved":false,"context_lines":[{"line_number":69,"context_line":"def initialize_object_refreshers(df_controller):"},{"line_number":70,"context_line":"    db_store \u003d df_controller.get_db_store()"},{"line_number":71,"context_line":"    nb_api \u003d df_controller.get_nb_api()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    items.append(DfObjectRefresher(\u0027Switches\u0027,"},{"line_number":74,"context_line":"                                   db_store.get_lswitch_keys,"},{"line_number":75,"context_line":"                                   nb_api.get_all_logical_switches,"},{"line_number":76,"context_line":"                                   df_controller.logical_switch_updated,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_7ec1492e","line":73,"range":{"start_line":72,"start_character":0,"end_line":73,"end_character":46},"updated":"2016-10-26 07:58:33.000000000","message":"If these objects refreshing use a reflect method, when we add a new object, these codes don\u0027t need to change correspondingly.","commit_id":"7507ee0bcbb871a828c4d0ee9e0ac79f2160f446"},{"author":{"_account_id":11159,"name":"Hong Hui Xiao","email":"honghui_xiao@yeah.net","username":"HongHuiXiao"},"change_message_id":"c34525d0703fc1576756b47104fc136b469a282b","unresolved":false,"context_lines":[{"line_number":69,"context_line":"def initialize_object_refreshers(df_controller):"},{"line_number":70,"context_line":"    db_store \u003d df_controller.get_db_store()"},{"line_number":71,"context_line":"    nb_api \u003d df_controller.get_nb_api()"},{"line_number":72,"context_line":""},{"line_number":73,"context_line":"    items.append(DfObjectRefresher(\u0027Switches\u0027,"},{"line_number":74,"context_line":"                                   db_store.get_lswitch_keys,"},{"line_number":75,"context_line":"                                   nb_api.get_all_logical_switches,"},{"line_number":76,"context_line":"                                   df_controller.logical_switch_updated,"}],"source_content_type":"text/x-python","patch_set":3,"id":"ba5da102_e23d4cbc","line":73,"range":{"start_line":72,"start_character":0,"end_line":73,"end_character":46},"in_reply_to":"ba5da102_7ec1492e","updated":"2016-11-01 01:10:04.000000000","message":"Yeah, that is the magic of dynamic program language. However, to achieve that in df, we need to unify the method name first.\n\nI think that is what https://review.openstack.org/#/c/390910/ is doing.","commit_id":"7507ee0bcbb871a828c4d0ee9e0ac79f2160f446"}],"dragonflow/controller/df_local_controller.py":[{"author":{"_account_id":22060,"name":"jingting","email":"kangjingting@huawei.com","username":"jingting"},"change_message_id":"745b517241e06b80f5951fc31e065f63c237c942","unresolved":false,"context_lines":[{"line_number":144,"context_line":"            self.create_tunnels()"},{"line_number":145,"context_line":""},{"line_number":146,"context_line":"            if not self.enable_selective_topo_dist:"},{"line_number":147,"context_line":"                df_db_objects_refresh.sync_local_cache_from_nb_db()"},{"line_number":148,"context_line":""},{"line_number":149,"context_line":"            self.sync_finished \u003d True"},{"line_number":150,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa6399be_e21d4167","line":147,"range":{"start_line":147,"start_character":38,"end_line":147,"end_character":67},"updated":"2016-10-20 02:14:43.000000000","message":"nit: I think you should leave sync code here as it\u0027s method of controller, and not belongs to db_objects_refresh","commit_id":"7507ee0bcbb871a828c4d0ee9e0ac79f2160f446"}]}
