)]}'
{"neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"06471ac8e4875ac6727414087172a8ef884d90c5","unresolved":false,"context_lines":[{"line_number":1479,"context_line":"        return port_stats"},{"line_number":1480,"context_line":""},{"line_number":1481,"context_line":"    def handle_ovs_status(self, start):"},{"line_number":1482,"context_line":"        while self.run_daemon_loop:"},{"line_number":1483,"context_line":"            ovs_status \u003d self.check_ovs_status()"},{"line_number":1484,"context_line":"            if ovs_status \u003d\u003d constants.OVS_RESTARTED:"},{"line_number":1485,"context_line":"                self.setup_integration_br()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_c906fb1f","line":1482,"updated":"2015-07-07 17:43:16.000000000","message":"if run_daemon_loop got false,\nthis method returns None, and the caller will crash\ntrying \"|\u003d None\".","commit_id":"bcd8bdfa1c8400dc2207b283514f55dcf4711fbe"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"58b221c5724a6295b4f399ca8e9ab8c989866ec6","unresolved":false,"context_lines":[{"line_number":1479,"context_line":"        return port_stats"},{"line_number":1480,"context_line":""},{"line_number":1481,"context_line":"    def handle_ovs_status(self, start):"},{"line_number":1482,"context_line":"        while self.run_daemon_loop:"},{"line_number":1483,"context_line":"            ovs_status \u003d self.check_ovs_status()"},{"line_number":1484,"context_line":"            if ovs_status \u003d\u003d constants.OVS_RESTARTED:"},{"line_number":1485,"context_line":"                self.setup_integration_br()"}],"source_content_type":"text/x-python","patch_set":4,"id":"ba3cc151_50f0cd90","line":1482,"in_reply_to":"ba3cc151_c906fb1f","updated":"2015-07-09 17:00:42.000000000","message":"good point!","commit_id":"bcd8bdfa1c8400dc2207b283514f55dcf4711fbe"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"3cb372328b2298bbf3153a83781d5363148f3057","unresolved":false,"context_lines":[{"line_number":1502,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1503,"context_line":"                continue"},{"line_number":1504,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1505,"context_line":"        return ovs_status"},{"line_number":1506,"context_line":""},{"line_number":1507,"context_line":"    def rpc_loop(self, polling_manager\u003dNone):"},{"line_number":1508,"context_line":"        if not polling_manager:"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_c7006dad","line":1505,"updated":"2015-07-13 01:57:46.000000000","message":"if run_daemon_loop was false when this method is called,\novs_status is unassigned.\nbesides, this method seems to be expected to return a boolean, not ovs_status.","commit_id":"29a6b19c60a9dae0c130e8331acc47994c15e62e"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"41214f838f956fb3808e30d033980d13c9af28b0","unresolved":false,"context_lines":[{"line_number":1502,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1503,"context_line":"                continue"},{"line_number":1504,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1505,"context_line":"        return ovs_status"},{"line_number":1506,"context_line":""},{"line_number":1507,"context_line":"    def rpc_loop(self, polling_manager\u003dNone):"},{"line_number":1508,"context_line":"        if not polling_manager:"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_33af177f","line":1505,"in_reply_to":"9a41bdd9_c7006dad","updated":"2015-07-17 09:28:50.000000000","message":"doh you are right, I was probably sleeping when I submitted this :/","commit_id":"29a6b19c60a9dae0c130e8331acc47994c15e62e"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"2367398b67375ea247d7ff3cf8855ea8a3b336c7","unresolved":false,"context_lines":[{"line_number":1503,"context_line":"                # loop in which ovs status will be checked periodically."},{"line_number":1504,"context_line":"                port_stats \u003d self.get_port_stats({}, {})"},{"line_number":1505,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1506,"context_line":"                continue"},{"line_number":1507,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1508,"context_line":"        # the agent will stop, it\u0027s not important what it\u0027s returned here"},{"line_number":1509,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a50d1a3_aecf237e","line":1506,"updated":"2015-07-21 01:09:57.000000000","message":"this would break signals\nafter a recently merged change I7a477e1c95b63fa8070ec9d08656156571421bb6","commit_id":"ec56c48a31c36be370c2569eb9845d8a12961066"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"e01c296bb0c6bcb9a1053cc914637b83eaff2051","unresolved":false,"context_lines":[{"line_number":1503,"context_line":"                # loop in which ovs status will be checked periodically."},{"line_number":1504,"context_line":"                port_stats \u003d self.get_port_stats({}, {})"},{"line_number":1505,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1506,"context_line":"                continue"},{"line_number":1507,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1508,"context_line":"        # the agent will stop, it\u0027s not important what it\u0027s returned here"},{"line_number":1509,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a50d1a3_65400735","line":1506,"in_reply_to":"3a50d1a3_3374accd","updated":"2015-07-28 08:34:39.000000000","message":"this loops inside handle_ovs_status\nwithout checking signals (_check_and_handle_signal)","commit_id":"ec56c48a31c36be370c2569eb9845d8a12961066"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"a9887702b25485334f9cf89af3eef71e698d51ca","unresolved":false,"context_lines":[{"line_number":1503,"context_line":"                # loop in which ovs status will be checked periodically."},{"line_number":1504,"context_line":"                port_stats \u003d self.get_port_stats({}, {})"},{"line_number":1505,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1506,"context_line":"                continue"},{"line_number":1507,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1508,"context_line":"        # the agent will stop, it\u0027s not important what it\u0027s returned here"},{"line_number":1509,"context_line":"        return True"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a50d1a3_3374accd","line":1506,"in_reply_to":"3a50d1a3_aecf237e","updated":"2015-07-21 17:18:03.000000000","message":"can you elaborate please?","commit_id":"ec56c48a31c36be370c2569eb9845d8a12961066"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"2367398b67375ea247d7ff3cf8855ea8a3b336c7","unresolved":false,"context_lines":[{"line_number":1505,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1506,"context_line":"                continue"},{"line_number":1507,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1508,"context_line":"        # the agent will stop, it\u0027s not important what it\u0027s returned here"},{"line_number":1509,"context_line":"        return True"},{"line_number":1510,"context_line":""},{"line_number":1511,"context_line":"    def rpc_loop(self, polling_manager\u003dNone):"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a50d1a3_6ec91b78","line":1508,"updated":"2015-07-21 01:09:57.000000000","message":"better to avoid having another useless iteration.","commit_id":"ec56c48a31c36be370c2569eb9845d8a12961066"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"a9887702b25485334f9cf89af3eef71e698d51ca","unresolved":false,"context_lines":[{"line_number":1505,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1506,"context_line":"                continue"},{"line_number":1507,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1508,"context_line":"        # the agent will stop, it\u0027s not important what it\u0027s returned here"},{"line_number":1509,"context_line":"        return True"},{"line_number":1510,"context_line":""},{"line_number":1511,"context_line":"    def rpc_loop(self, polling_manager\u003dNone):"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a50d1a3_934b4087","line":1508,"in_reply_to":"3a50d1a3_6ec91b78","updated":"2015-07-21 17:18:03.000000000","message":"what are you suggesting?","commit_id":"ec56c48a31c36be370c2569eb9845d8a12961066"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"e01c296bb0c6bcb9a1053cc914637b83eaff2051","unresolved":false,"context_lines":[{"line_number":1505,"context_line":"                self.loop_count_and_wait(start, port_stats)"},{"line_number":1506,"context_line":"                continue"},{"line_number":1507,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1508,"context_line":"        # the agent will stop, it\u0027s not important what it\u0027s returned here"},{"line_number":1509,"context_line":"        return True"},{"line_number":1510,"context_line":""},{"line_number":1511,"context_line":"    def rpc_loop(self, polling_manager\u003dNone):"}],"source_content_type":"text/x-python","patch_set":7,"id":"3a50d1a3_255d1f15","line":1508,"in_reply_to":"3a50d1a3_934b4087","updated":"2015-07-28 08:34:39.000000000","message":"exit rpc_loop sooner as it does currently.","commit_id":"ec56c48a31c36be370c2569eb9845d8a12961066"},{"author":{"_account_id":7244,"name":"Victor Howard","email":"victor.r.howard@gmail.com","username":"vichoward"},"change_message_id":"e316642b4d62e036746c146fe29559f27266aa5f","unresolved":false,"context_lines":[{"line_number":1569,"context_line":"                bridge.cleanup_flows()"},{"line_number":1570,"context_line":""},{"line_number":1571,"context_line":"    def handle_ovs_status(self, start):"},{"line_number":1572,"context_line":"        while self._check_and_handle_signal:"},{"line_number":1573,"context_line":"            ovs_status \u003d self.check_ovs_status()"},{"line_number":1574,"context_line":"            if ovs_status \u003d\u003d constants.OVS_RESTARTED:"},{"line_number":1575,"context_line":"                self.setup_integration_br()"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa1b9901_cfb1e1e1","line":1572,"updated":"2015-08-26 04:10:58.000000000","message":"+1 on missing ()","commit_id":"2065e758056d61adcc7222346a9e5f0f74e23313"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"6dad9bf1cce39a1fd19a0d117b41d55f5cef4248","unresolved":false,"context_lines":[{"line_number":1569,"context_line":"                bridge.cleanup_flows()"},{"line_number":1570,"context_line":""},{"line_number":1571,"context_line":"    def handle_ovs_status(self, start):"},{"line_number":1572,"context_line":"        while self._check_and_handle_signal:"},{"line_number":1573,"context_line":"            ovs_status \u003d self.check_ovs_status()"},{"line_number":1574,"context_line":"            if ovs_status \u003d\u003d constants.OVS_RESTARTED:"},{"line_number":1575,"context_line":"                self.setup_integration_br()"}],"source_content_type":"text/x-python","patch_set":8,"id":"fa1b9901_0c884770","line":1572,"updated":"2015-08-26 03:22:03.000000000","message":"missing () ?","commit_id":"2065e758056d61adcc7222346a9e5f0f74e23313"},{"author":{"_account_id":16053,"name":"Pengtao Huang","email":"huangpengtao@huawei.com","username":"huangpengtao"},"change_message_id":"f770e308b05d556f8d932c526044367bc020de4d","unresolved":false,"context_lines":[{"line_number":1624,"context_line":""},{"line_number":1625,"context_line":"    def handle_ovs_status(self, start):"},{"line_number":1626,"context_line":"        while self._check_and_handle_signal():"},{"line_number":1627,"context_line":"            ovs_status \u003d self.check_ovs_status()"},{"line_number":1628,"context_line":"            if ovs_status \u003d\u003d constants.OVS_RESTARTED:"},{"line_number":1629,"context_line":"                self.setup_integration_br()"},{"line_number":1630,"context_line":"                self.setup_physical_bridges(self.bridge_mappings)"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba15a1d1_abba8c21","line":1627,"updated":"2015-09-16 07:41:51.000000000","message":"Will the check is too fast to press for ovs?\nI think the sleep should be add.","commit_id":"fc052c69ffe5b332da93297b56042ece873bd4c6"},{"author":{"_account_id":15070,"name":"Ruijing","email":"ruijing.guo@intel.com","username":"ruijing"},"change_message_id":"bba663b2a1d1d9e756e13f170a480225a5a6e9a9","unresolved":false,"context_lines":[{"line_number":1647,"context_line":"                continue"},{"line_number":1648,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1649,"context_line":"        # the agent was stopped"},{"line_number":1650,"context_line":"        sys.exit(0)"},{"line_number":1651,"context_line":""},{"line_number":1652,"context_line":"    def rpc_loop(self, polling_manager\u003dNone):"},{"line_number":1653,"context_line":"        if not polling_manager:"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba15a1d1_cd92df57","line":1650,"updated":"2015-09-14 04:53:08.000000000","message":"sys.exit may return error (not 0)","commit_id":"fc052c69ffe5b332da93297b56042ece873bd4c6"},{"author":{"_account_id":11682,"name":"Ryan Moats","email":"rmoats@us.ibm.com","username":"regXboi"},"change_message_id":"ff6b117843b84fdb934725a22d4fb393a9b737ba","unresolved":false,"context_lines":[{"line_number":1647,"context_line":"                continue"},{"line_number":1648,"context_line":"            return ovs_status \u003d\u003d constants.OVS_RESTARTED"},{"line_number":1649,"context_line":"        # the agent was stopped"},{"line_number":1650,"context_line":"        sys.exit(0)"},{"line_number":1651,"context_line":""},{"line_number":1652,"context_line":"    def rpc_loop(self, polling_manager\u003dNone):"},{"line_number":1653,"context_line":"        if not polling_manager:"}],"source_content_type":"text/x-python","patch_set":9,"id":"ba15a1d1_54b5e8ca","line":1650,"in_reply_to":"ba15a1d1_cd92df57","updated":"2015-09-14 13:14:49.000000000","message":"I really question the use of sys.exit here at all - that\u0027s a very very dangerous thing to do","commit_id":"fc052c69ffe5b332da93297b56042ece873bd4c6"}]}
