)]}'
{"dragonflow/controller/topology.py":[{"author":{"_account_id":20229,"name":"Omer Anson","email":"omer.anson@toganetworks.com","username":"oanson"},"change_message_id":"48f39402cb05e3f7eef958db73fcb42a043b64f8","unresolved":false,"context_lines":[{"line_number":260,"context_line":"            if tenant_id \u003d\u003d router.get_topic():"},{"line_number":261,"context_line":"                self.controller.router_deleted(router.get_id())"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"        switches \u003d self.db_store.get_lswitchs()"},{"line_number":264,"context_line":"        for switch in switches:"},{"line_number":265,"context_line":"            if tenant_id \u003d\u003d switch.get_topic():"},{"line_number":266,"context_line":"                self.controller.logical_switch_deleted(switch.get_id())"}],"source_content_type":"text/x-python","patch_set":2,"id":"dada55a8_80264814","line":263,"updated":"2016-07-24 18:31:11.000000000","message":"If this code is already modified, why not pass tenant_id to get_lswitchs, which do the filtering for you?","commit_id":"be8886ca7ca630adef501d8e9ec9367785dc4fb8"},{"author":{"_account_id":20336,"name":"heshan","email":"shan.he@huawei.com","username":"shanhe"},"change_message_id":"98af0ec8f9d5c0299ddcc277db78247eddb6269d","unresolved":false,"context_lines":[{"line_number":260,"context_line":"            if tenant_id \u003d\u003d router.get_topic():"},{"line_number":261,"context_line":"                self.controller.router_deleted(router.get_id())"},{"line_number":262,"context_line":""},{"line_number":263,"context_line":"        switches \u003d self.db_store.get_lswitchs()"},{"line_number":264,"context_line":"        for switch in switches:"},{"line_number":265,"context_line":"            if tenant_id \u003d\u003d switch.get_topic():"},{"line_number":266,"context_line":"                self.controller.logical_switch_deleted(switch.get_id())"}],"source_content_type":"text/x-python","patch_set":2,"id":"dada55a8_7ba299af","line":263,"in_reply_to":"dada55a8_80264814","updated":"2016-07-26 10:49:40.000000000","message":"sorry, I don\u0027t think I understand your meaning of \"If this code is already modified\", the master still got this error.\n\nas to pass tenant_id to get_lswitches, I agree with you, and not only lswitch, but all other resources could be filtered through db_store\u0027s filter parameter: tenant_id\nand I think maybe we could modify it in another patch.","commit_id":"be8886ca7ca630adef501d8e9ec9367785dc4fb8"}]}
