)]}'
{"neutron/agent/linux/ovs_lib.py":[{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"007cf223aaac82d0a14cf6b99453011825df6fe0","unresolved":false,"context_lines":[{"line_number":538,"context_line":"        raise SystemError(msg)"},{"line_number":539,"context_line":""},{"line_number":540,"context_line":""},{"line_number":541,"context_line":"def check_ovs_feature_version(root_helper, min_required_version, feature):"},{"line_number":542,"context_line":"    installed_klm_version \u003d get_installed_ovs_klm_version()"},{"line_number":543,"context_line":"    installed_kernel_version \u003d get_installed_kernel_version()"},{"line_number":544,"context_line":"    installed_usr_version \u003d get_installed_ovs_usr_version(root_helper)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FowQ%3D","line":541,"updated":"2014-04-11 14:22:30.000000000","message":"this method is used only internally, you might want to add an underscore, _check_ovs_feature_version","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"33d0e75c0d4a5d849be6bd7f7da5d2c75d6f49e5","unresolved":false,"context_lines":[{"line_number":538,"context_line":"        raise SystemError(msg)"},{"line_number":539,"context_line":""},{"line_number":540,"context_line":""},{"line_number":541,"context_line":"def check_ovs_feature_version(root_helper, min_required_version, feature):"},{"line_number":542,"context_line":"    installed_klm_version \u003d get_installed_ovs_klm_version()"},{"line_number":543,"context_line":"    installed_kernel_version \u003d get_installed_kernel_version()"},{"line_number":544,"context_line":"    installed_usr_version \u003d get_installed_ovs_usr_version(root_helper)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2Fmio%3D","line":541,"in_reply_to":"AAAAW3%2F%2Fn3Y%3D","updated":"2014-04-11 21:56:34.000000000","message":"Done","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"618862105daf393318bd8cd77b412a7721376576","unresolved":false,"context_lines":[{"line_number":538,"context_line":"        raise SystemError(msg)"},{"line_number":539,"context_line":""},{"line_number":540,"context_line":""},{"line_number":541,"context_line":"def check_ovs_feature_version(root_helper, min_required_version, feature):"},{"line_number":542,"context_line":"    installed_klm_version \u003d get_installed_ovs_klm_version()"},{"line_number":543,"context_line":"    installed_kernel_version \u003d get_installed_kernel_version()"},{"line_number":544,"context_line":"    installed_usr_version \u003d get_installed_ovs_usr_version(root_helper)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2Fn3Y%3D","line":541,"in_reply_to":"AAAAW3%2F%2FowQ%3D","updated":"2014-04-11 16:21:41.000000000","message":"Agreed.","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"372cb5685222aa1ddd676cee3fbe4d9e4e8a7454","unresolved":false,"context_lines":[{"line_number":109,"context_line":"        self.br_name \u003d br_name"},{"line_number":110,"context_line":"        self.defer_apply_flows \u003d False"},{"line_number":111,"context_line":"        self.deferred_flows \u003d {\u0027add\u0027: \u0027\u0027, \u0027mod\u0027: \u0027\u0027, \u0027del\u0027: \u0027\u0027}"},{"line_number":112,"context_line":"        self.cookie \u003d cookie"},{"line_number":113,"context_line":""},{"line_number":114,"context_line":"    def set_controller(self, controller_names):"},{"line_number":115,"context_line":"        vsctl_command \u003d [\u0027--\u0027, \u0027set-controller\u0027, self.br_name]"}],"source_content_type":"text/x-python","patch_set":9,"id":"7adec928_2ba79a0d","line":112,"updated":"2014-05-13 19:45:46.000000000","message":"this looks like a weird api.\nwhy not adding cookie argument to methods like add_flow?","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"39960f171e868085b170b5aabb3a3b909f1d6290","unresolved":false,"context_lines":[{"line_number":189,"context_line":"    def add_flow(self, **kwargs):"},{"line_number":190,"context_line":"        if self.cookie:"},{"line_number":191,"context_line":"            kwargs[\"cookie\"] \u003d self.get_cookie()"},{"line_number":192,"context_line":"        flow_str \u003d _build_flow_expr_str(kwargs, \u0027add\u0027)"},{"line_number":193,"context_line":"        if self.defer_apply_flows:"},{"line_number":194,"context_line":"            self.deferred_flows[\u0027add\u0027] +\u003d flow_str + \u0027\\n\u0027"},{"line_number":195,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_b7d4dd47","line":192,"updated":"2014-06-03 11:24:01.000000000","message":"Why not pass self.cookie to build flow vs adding these 2 lines to add|mod|delete","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"}],"neutron/plugins/openvswitch/agent/ovs_neutron_agent.py":[{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8cfe3d7db938e691d32ca368ffeecdc589ca7a33","unresolved":false,"context_lines":[{"line_number":245,"context_line":"        if p_const.TYPE_VXLAN in self.tunnel_types:"},{"line_number":246,"context_line":"            check_ovs_version(constants.MINIMUM_OVS_VXLAN_VERSION,"},{"line_number":247,"context_line":"                              self.root_helper,"},{"line_number":248,"context_line":"                              \"VXLAN support\")"},{"line_number":249,"context_line":"        if self.agent_cookie:"},{"line_number":250,"context_line":"            check_ovs_version(constants.MINIMUM_OVS_COOKIES_VERSION,"},{"line_number":251,"context_line":"                              self.root_helper,"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F9gGI%3D","line":248,"updated":"2014-02-06 13:49:54.000000000","message":"Log message becomes \"VXLAN support support\" (See check_ovs_version). This needs to be \"VXLAN\" instead \"VXLAN support\".","commit_id":"b03e37f7e6630c7340f57977de693e0d751bf5f2"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"70194cd881cd88260723dba5c81a72924f1be23f","unresolved":false,"context_lines":[{"line_number":245,"context_line":"        if p_const.TYPE_VXLAN in self.tunnel_types:"},{"line_number":246,"context_line":"            check_ovs_version(constants.MINIMUM_OVS_VXLAN_VERSION,"},{"line_number":247,"context_line":"                              self.root_helper,"},{"line_number":248,"context_line":"                              \"VXLAN support\")"},{"line_number":249,"context_line":"        if self.agent_cookie:"},{"line_number":250,"context_line":"            check_ovs_version(constants.MINIMUM_OVS_COOKIES_VERSION,"},{"line_number":251,"context_line":"                              self.root_helper,"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F9bX8%3D","line":248,"in_reply_to":"AAAAUH%2F9gGI%3D","updated":"2014-02-06 23:57:00.000000000","message":"Done","commit_id":"b03e37f7e6630c7340f57977de693e0d751bf5f2"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"8cfe3d7db938e691d32ca368ffeecdc589ca7a33","unresolved":false,"context_lines":[{"line_number":1257,"context_line":""},{"line_number":1258,"context_line":""},{"line_number":1259,"context_line":"def check_ovs_version(min_required_version, root_helper, feature):"},{"line_number":1260,"context_line":"    LOG.debug(_(\"Checking OVS version for %s\"), feature)"},{"line_number":1261,"context_line":"    installed_klm_version \u003d ovs_lib.get_installed_ovs_klm_version()"},{"line_number":1262,"context_line":"    installed_usr_version \u003d ovs_lib.get_installed_ovs_usr_version(root_helper)"},{"line_number":1263,"context_line":"    str_dict \u003d {\"feature\": feature, \"version\": min_required_version}"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F9gF4%3D","line":1260,"updated":"2014-02-06 13:49:54.000000000","message":"for %s -\u003e for %s support","commit_id":"b03e37f7e6630c7340f57977de693e0d751bf5f2"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"70194cd881cd88260723dba5c81a72924f1be23f","unresolved":false,"context_lines":[{"line_number":1257,"context_line":""},{"line_number":1258,"context_line":""},{"line_number":1259,"context_line":"def check_ovs_version(min_required_version, root_helper, feature):"},{"line_number":1260,"context_line":"    LOG.debug(_(\"Checking OVS version for %s\"), feature)"},{"line_number":1261,"context_line":"    installed_klm_version \u003d ovs_lib.get_installed_ovs_klm_version()"},{"line_number":1262,"context_line":"    installed_usr_version \u003d ovs_lib.get_installed_ovs_usr_version(root_helper)"},{"line_number":1263,"context_line":"    str_dict \u003d {\"feature\": feature, \"version\": min_required_version}"}],"source_content_type":"text/x-python","patch_set":6,"id":"AAAAUH%2F9bX4%3D","line":1260,"in_reply_to":"AAAAUH%2F9gF4%3D","updated":"2014-02-06 23:57:00.000000000","message":"Done","commit_id":"b03e37f7e6630c7340f57977de693e0d751bf5f2"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"007cf223aaac82d0a14cf6b99453011825df6fe0","unresolved":false,"context_lines":[{"line_number":239,"context_line":"            try:"},{"line_number":240,"context_line":"                ovs_lib.check_ovs_vxlan_version(self.root_helper)"},{"line_number":241,"context_line":"            except SystemError:"},{"line_number":242,"context_line":"                LOG.exception(_(\"Agent terminated\"))"},{"line_number":243,"context_line":"                raise SystemExit(1)"},{"line_number":244,"context_line":"        if self.agent_cookie:"},{"line_number":245,"context_line":"            try:"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FpFE%3D","line":242,"updated":"2014-04-11 14:22:30.000000000","message":"I think it would be useful to add more info in this log statement. Something like \"the version of openvswitch installed in the system doens\u0027t support vxlan\"","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"33d0e75c0d4a5d849be6bd7f7da5d2c75d6f49e5","unresolved":false,"context_lines":[{"line_number":239,"context_line":"            try:"},{"line_number":240,"context_line":"                ovs_lib.check_ovs_vxlan_version(self.root_helper)"},{"line_number":241,"context_line":"            except SystemError:"},{"line_number":242,"context_line":"                LOG.exception(_(\"Agent terminated\"))"},{"line_number":243,"context_line":"                raise SystemExit(1)"},{"line_number":244,"context_line":"        if self.agent_cookie:"},{"line_number":245,"context_line":"            try:"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FmWM%3D","line":242,"in_reply_to":"AAAAW3%2F%2FpFE%3D","updated":"2014-04-11 21:56:34.000000000","message":"Done","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"618862105daf393318bd8cd77b412a7721376576","unresolved":false,"context_lines":[{"line_number":239,"context_line":"            try:"},{"line_number":240,"context_line":"                ovs_lib.check_ovs_vxlan_version(self.root_helper)"},{"line_number":241,"context_line":"            except SystemError:"},{"line_number":242,"context_line":"                LOG.exception(_(\"Agent terminated\"))"},{"line_number":243,"context_line":"                raise SystemExit(1)"},{"line_number":244,"context_line":"        if self.agent_cookie:"},{"line_number":245,"context_line":"            try:"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2Fn28%3D","line":242,"in_reply_to":"AAAAW3%2F%2FpFE%3D","updated":"2014-04-11 16:21:41.000000000","message":"I don\u0027t agree here.  This is in the existing code (even though gerrit\u0027s diff makes it look like this is the new code, it isn\u0027t).  So, changing this log statement isn\u0027t strictly related to this patch.  I wouldn\u0027t change this one.","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"007cf223aaac82d0a14cf6b99453011825df6fe0","unresolved":false,"context_lines":[{"line_number":245,"context_line":"            try:"},{"line_number":246,"context_line":"                ovs_lib.check_ovs_cookies_version(self.root_helper)"},{"line_number":247,"context_line":"            except SystemError:"},{"line_number":248,"context_line":"                LOG.exception(_(\"Agent terminated\"))"},{"line_number":249,"context_line":"                raise SystemExit(1)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    def _report_state(self):"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FpFA%3D","line":248,"updated":"2014-04-11 14:22:30.000000000","message":"Same here","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"33d0e75c0d4a5d849be6bd7f7da5d2c75d6f49e5","unresolved":false,"context_lines":[{"line_number":245,"context_line":"            try:"},{"line_number":246,"context_line":"                ovs_lib.check_ovs_cookies_version(self.root_helper)"},{"line_number":247,"context_line":"            except SystemError:"},{"line_number":248,"context_line":"                LOG.exception(_(\"Agent terminated\"))"},{"line_number":249,"context_line":"                raise SystemExit(1)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    def _report_state(self):"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2Fmik%3D","line":248,"in_reply_to":"AAAAW3%2F%2Fn3M%3D","updated":"2014-04-11 21:56:34.000000000","message":"Done","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"618862105daf393318bd8cd77b412a7721376576","unresolved":false,"context_lines":[{"line_number":245,"context_line":"            try:"},{"line_number":246,"context_line":"                ovs_lib.check_ovs_cookies_version(self.root_helper)"},{"line_number":247,"context_line":"            except SystemError:"},{"line_number":248,"context_line":"                LOG.exception(_(\"Agent terminated\"))"},{"line_number":249,"context_line":"                raise SystemExit(1)"},{"line_number":250,"context_line":""},{"line_number":251,"context_line":"    def _report_state(self):"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2Fn3M%3D","line":248,"in_reply_to":"AAAAW3%2F%2FpFA%3D","updated":"2014-04-11 16:21:41.000000000","message":"+1.  Since you\u0027re adding this log statement here, start with a more detailed message.","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"3fbf9ee274e04b28733195180d80c8b6c10cd4d2","unresolved":false,"context_lines":[{"line_number":241,"context_line":"            except SystemError:"},{"line_number":242,"context_line":"                LOG.exception(_(\"Agent terminated: error checking OVS version\""},{"line_number":243,"context_line":"                                \" for VXLAN support.\"))"},{"line_number":244,"context_line":"                raise SystemExit(1)"},{"line_number":245,"context_line":"        if self.agent_cookie:"},{"line_number":246,"context_line":"            try:"},{"line_number":247,"context_line":"                ovs_lib.check_ovs_cookies_version(self.root_helper)"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAXH%2F%2F%2F9M%3D","line":244,"updated":"2014-04-16 00:09:05.000000000","message":"I think this should go in as a separate patch.  It isn\u0027t really relevant to this patch.  It isn\u0027t that I don\u0027t think this message should be updated, it just shouldn\u0027t be updated as part of this patch.","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"d8bc609ea32f950834b3fa2d28b8de8a694c89f0","unresolved":false,"context_lines":[{"line_number":241,"context_line":"            except SystemError:"},{"line_number":242,"context_line":"                LOG.exception(_(\"Agent terminated: error checking OVS version\""},{"line_number":243,"context_line":"                                \" for VXLAN support.\"))"},{"line_number":244,"context_line":"                raise SystemExit(1)"},{"line_number":245,"context_line":"        if self.agent_cookie:"},{"line_number":246,"context_line":"            try:"},{"line_number":247,"context_line":"                ovs_lib.check_ovs_cookies_version(self.root_helper)"}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAXX%2F%2F%2BeE%3D","line":244,"in_reply_to":"AAAAXH%2F%2F%2F9M%3D","updated":"2014-04-24 22:10:02.000000000","message":"the reason why it\u0027s here is (I think) because the author wants different message for VXLAN and cookie checks failures.","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"44c899bb7e1d2daba2291ebedc5875c1bcf5aa9b","unresolved":false,"context_lines":[{"line_number":241,"context_line":"            except SystemError:"},{"line_number":242,"context_line":"                LOG.exception(_(\"Agent terminated: error checking OVS version\""},{"line_number":243,"context_line":"                                \" for VXLAN support.\"))"},{"line_number":244,"context_line":"                raise SystemExit(1)"},{"line_number":245,"context_line":"        if self.agent_cookie:"},{"line_number":246,"context_line":"            try:"},{"line_number":247,"context_line":"                ovs_lib.check_ovs_cookies_version(self.root_helper)"}],"source_content_type":"text/x-python","patch_set":9,"id":"9ad9bd40_7f038f73","line":244,"in_reply_to":"AAAAXX%2F%2F%2BeE%3D","updated":"2014-04-29 22:11:45.000000000","message":"I can be convinced.  I\u0027ll leave it up to the the author.","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"}],"neutron/plugins/openvswitch/common/config.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"d1781e5f9e54dca05c6689c56b681313b9f88f42","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                       \"remote mac and IPs and improve tunnel scalability\")),"},{"line_number":83,"context_line":"    cfg.BoolOpt(\u0027use_cookies\u0027, default\u003dFalse,"},{"line_number":84,"context_line":"                help\u003d_(\"Use OVS cookies to distinctly identify Open vSwitch \""},{"line_number":85,"context_line":"                       \"flows\")),"},{"line_number":86,"context_line":"]"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAW3%2F%2FflQ%3D","line":85,"updated":"2014-04-14 08:40:39.000000000","message":"why do you want to make this configurable?","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":7183,"name":"Xu Han Peng","email":"xuhanp@linux.vnet.ibm.com","username":"xuhanp"},"change_message_id":"0cf8afa06d1cbfc362d074a345786335807ce9a0","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                       \"remote mac and IPs and improve tunnel scalability\")),"},{"line_number":83,"context_line":"    cfg.BoolOpt(\u0027use_cookies\u0027, default\u003dFalse,"},{"line_number":84,"context_line":"                help\u003d_(\"Use OVS cookies to distinctly identify Open vSwitch \""},{"line_number":85,"context_line":"                       \"flows\")),"},{"line_number":86,"context_line":"]"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAXH%2F%2FXHc%3D","line":85,"in_reply_to":"AAAAW3%2F%2FflQ%3D","updated":"2014-04-22 09:58:06.000000000","message":"if cookie is required by ovs-firewall, I don\u0027t think we should make it configurable.","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"904a92c3a2c43665afbf4dc0d1353d82d8d59ed0","unresolved":false,"context_lines":[{"line_number":82,"context_line":"                       \"remote mac and IPs and improve tunnel scalability\")),"},{"line_number":83,"context_line":"    cfg.BoolOpt(\u0027use_cookies\u0027, default\u003dFalse,"},{"line_number":84,"context_line":"                help\u003d_(\"Use OVS cookies to distinctly identify Open vSwitch \""},{"line_number":85,"context_line":"                       \"flows\")),"},{"line_number":86,"context_line":"]"},{"line_number":87,"context_line":""},{"line_number":88,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"AAAAXX%2F%2F2cA%3D","line":85,"in_reply_to":"AAAAXH%2F%2FXHc%3D","updated":"2014-04-25 19:32:02.000000000","message":"Good points. We can enable cookies at runtime based on a compatibility test instead of a configuration option. I don\u0027t think there\u0027s a downside to using cookies if they are available.","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"}],"neutron/tests/unit/agent/linux/test_ovs_lib.py":[{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"007cf223aaac82d0a14cf6b99453011825df6fe0","unresolved":false,"context_lines":[{"line_number":870,"context_line":"                                      min_kernel_ver, expecting_ok\u003dTrue)"},{"line_number":871,"context_line":""},{"line_number":872,"context_line":"    def test_add_flow_with_cookie(self):"},{"line_number":873,"context_line":"        root_helper \u003d mock.MagicMock()"},{"line_number":874,"context_line":"        br_name \u003d mock.MagicMock()"},{"line_number":875,"context_line":"        cookie \u003d 0x1"},{"line_number":876,"context_line":"        br \u003d ovs_lib.OVSBridge(br_name, root_helper, cookie)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FovY%3D","line":873,"updated":"2014-04-11 14:22:30.000000000","message":"you can use self.root_helper","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"33d0e75c0d4a5d849be6bd7f7da5d2c75d6f49e5","unresolved":false,"context_lines":[{"line_number":870,"context_line":"                                      min_kernel_ver, expecting_ok\u003dTrue)"},{"line_number":871,"context_line":""},{"line_number":872,"context_line":"    def test_add_flow_with_cookie(self):"},{"line_number":873,"context_line":"        root_helper \u003d mock.MagicMock()"},{"line_number":874,"context_line":"        br_name \u003d mock.MagicMock()"},{"line_number":875,"context_line":"        cookie \u003d 0x1"},{"line_number":876,"context_line":"        br \u003d ovs_lib.OVSBridge(br_name, root_helper, cookie)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FmiQ%3D","line":873,"in_reply_to":"AAAAW3%2F%2FovY%3D","updated":"2014-04-11 21:56:34.000000000","message":"Done","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"007cf223aaac82d0a14cf6b99453011825df6fe0","unresolved":false,"context_lines":[{"line_number":871,"context_line":""},{"line_number":872,"context_line":"    def test_add_flow_with_cookie(self):"},{"line_number":873,"context_line":"        root_helper \u003d mock.MagicMock()"},{"line_number":874,"context_line":"        br_name \u003d mock.MagicMock()"},{"line_number":875,"context_line":"        cookie \u003d 0x1"},{"line_number":876,"context_line":"        br \u003d ovs_lib.OVSBridge(br_name, root_helper, cookie)"},{"line_number":877,"context_line":"        br.add_flow(actions\u003d\"drop\")"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FovU%3D","line":874,"updated":"2014-04-11 14:22:30.000000000","message":"you can use self.BR_NAME","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"33d0e75c0d4a5d849be6bd7f7da5d2c75d6f49e5","unresolved":false,"context_lines":[{"line_number":871,"context_line":""},{"line_number":872,"context_line":"    def test_add_flow_with_cookie(self):"},{"line_number":873,"context_line":"        root_helper \u003d mock.MagicMock()"},{"line_number":874,"context_line":"        br_name \u003d mock.MagicMock()"},{"line_number":875,"context_line":"        cookie \u003d 0x1"},{"line_number":876,"context_line":"        br \u003d ovs_lib.OVSBridge(br_name, root_helper, cookie)"},{"line_number":877,"context_line":"        br.add_flow(actions\u003d\"drop\")"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FmiM%3D","line":874,"in_reply_to":"AAAAW3%2F%2FovU%3D","updated":"2014-04-11 21:56:34.000000000","message":"Done","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"007cf223aaac82d0a14cf6b99453011825df6fe0","unresolved":false,"context_lines":[{"line_number":882,"context_line":"            root_helper\u003droot_helper)"},{"line_number":883,"context_line":""},{"line_number":884,"context_line":"    def test_delete_flow_with_cookie(self):"},{"line_number":885,"context_line":"        root_helper \u003d mock.MagicMock()"},{"line_number":886,"context_line":"        br_name \u003d mock.MagicMock()"},{"line_number":887,"context_line":"        cookie \u003d 0x1"},{"line_number":888,"context_line":"        br \u003d ovs_lib.OVSBridge(br_name, root_helper, cookie)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FovQ%3D","line":885,"updated":"2014-04-11 14:22:30.000000000","message":"same suggestion, use self.root_helper","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"33d0e75c0d4a5d849be6bd7f7da5d2c75d6f49e5","unresolved":false,"context_lines":[{"line_number":882,"context_line":"            root_helper\u003droot_helper)"},{"line_number":883,"context_line":""},{"line_number":884,"context_line":"    def test_delete_flow_with_cookie(self):"},{"line_number":885,"context_line":"        root_helper \u003d mock.MagicMock()"},{"line_number":886,"context_line":"        br_name \u003d mock.MagicMock()"},{"line_number":887,"context_line":"        cookie \u003d 0x1"},{"line_number":888,"context_line":"        br \u003d ovs_lib.OVSBridge(br_name, root_helper, cookie)"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FmiI%3D","line":885,"in_reply_to":"AAAAW3%2F%2FovQ%3D","updated":"2014-04-11 21:56:34.000000000","message":"Done","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"007cf223aaac82d0a14cf6b99453011825df6fe0","unresolved":false,"context_lines":[{"line_number":883,"context_line":""},{"line_number":884,"context_line":"    def test_delete_flow_with_cookie(self):"},{"line_number":885,"context_line":"        root_helper \u003d mock.MagicMock()"},{"line_number":886,"context_line":"        br_name \u003d mock.MagicMock()"},{"line_number":887,"context_line":"        cookie \u003d 0x1"},{"line_number":888,"context_line":"        br \u003d ovs_lib.OVSBridge(br_name, root_helper, cookie)"},{"line_number":889,"context_line":"        br.delete_flows()"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2Fou4%3D","line":886,"updated":"2014-04-11 14:22:30.000000000","message":"same suggestion, use self.BR_NAME","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"33d0e75c0d4a5d849be6bd7f7da5d2c75d6f49e5","unresolved":false,"context_lines":[{"line_number":883,"context_line":""},{"line_number":884,"context_line":"    def test_delete_flow_with_cookie(self):"},{"line_number":885,"context_line":"        root_helper \u003d mock.MagicMock()"},{"line_number":886,"context_line":"        br_name \u003d mock.MagicMock()"},{"line_number":887,"context_line":"        cookie \u003d 0x1"},{"line_number":888,"context_line":"        br \u003d ovs_lib.OVSBridge(br_name, root_helper, cookie)"},{"line_number":889,"context_line":"        br.delete_flows()"}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FmiE%3D","line":886,"in_reply_to":"AAAAW3%2F%2Fou4%3D","updated":"2014-04-11 21:56:34.000000000","message":"Done","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"}],"neutron/tests/unit/openvswitch/test_ovs_neutron_agent.py":[{"author":{"_account_id":333,"name":"Isaku Yamahata","email":"isaku.yamahata@gmail.com","username":"yamahata"},"change_message_id":"00fb36f1d41240fff04eecee1639d5f809cdcab7","unresolved":false,"context_lines":[{"line_number":763,"context_line":""},{"line_number":764,"context_line":""},{"line_number":765,"context_line":"class TestOVSNeutronAgentCookie(base.BaseTestCase):"},{"line_number":766,"context_line":"    def _setup(self, use_cookies, phys_br\u003dFalse, tun_br\u003dFalse,"},{"line_number":767,"context_line":"               ancillary_br\u003dFalse):"},{"line_number":768,"context_line":"        mod_str \u003d \u0027neutron.plugins.openvswitch.agent.ovs_neutron_agent.\u0027"},{"line_number":769,"context_line":"        agent_str \u003d mod_str + \u0027OVSNeutronAgent.\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAAUX%2F%2B5jE%3D","line":766,"updated":"2014-02-18 10:22:24.000000000","message":"Can you rename it to more appropriate. something liek _test_bridge().\n_setup sounds like it setUp environment and doesn\u0027t actual tests.","commit_id":"5dc1f79b2388a64149cf77c3220d0db64ed4dbc2"},{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"007cf223aaac82d0a14cf6b99453011825df6fe0","unresolved":false,"context_lines":[{"line_number":848,"context_line":"    def test_physical_br_no_cookie(self):"},{"line_number":849,"context_line":"        phys_br \u003d mock.MagicMock()"},{"line_number":850,"context_line":"        self._setup(False, phys_br)"},{"line_number":851,"context_line":"        self.ovs_br.assert_any_call(phys_br,"},{"line_number":852,"context_line":"                                    self.kwargs[\"root_helper\"],"},{"line_number":853,"context_line":"                                    None)"},{"line_number":854,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FosY%3D","line":851,"updated":"2014-04-11 14:22:30.000000000","message":"why don\u0027t you use the more precise \"assert_has_calls\"?","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":6670,"name":"Amir Sadoughi","email":"amir.sadoughi@rackspace.com","username":"amir-sadoughi"},"change_message_id":"33d0e75c0d4a5d849be6bd7f7da5d2c75d6f49e5","unresolved":false,"context_lines":[{"line_number":848,"context_line":"    def test_physical_br_no_cookie(self):"},{"line_number":849,"context_line":"        phys_br \u003d mock.MagicMock()"},{"line_number":850,"context_line":"        self._setup(False, phys_br)"},{"line_number":851,"context_line":"        self.ovs_br.assert_any_call(phys_br,"},{"line_number":852,"context_line":"                                    self.kwargs[\"root_helper\"],"},{"line_number":853,"context_line":"                                    None)"},{"line_number":854,"context_line":""}],"source_content_type":"text/x-python","patch_set":8,"id":"AAAAW3%2F%2FmVY%3D","line":851,"in_reply_to":"AAAAW3%2F%2FosY%3D","updated":"2014-04-11 21:56:34.000000000","message":"Now using call_args_list to be most exact.","commit_id":"43b85c222dde21701784e1868ce61c0a833aceb5"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"39960f171e868085b170b5aabb3a3b909f1d6290","unresolved":false,"context_lines":[{"line_number":840,"context_line":"            mock.call(self.kwargs[\"integ_br\"],"},{"line_number":841,"context_line":"                      self.kwargs[\"root_helper\"],"},{"line_number":842,"context_line":"                      None)]"},{"line_number":843,"context_line":"        self.assertEqual(self.ovs_br.call_args_list, expected)"},{"line_number":844,"context_line":""},{"line_number":845,"context_line":"    def test_integ_br_with_cookie(self):"},{"line_number":846,"context_line":"        self._test_bridge(True)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_b7edbd27","line":843,"updated":"2014-06-03 11:24:01.000000000","message":"self.ovs_br.assert_called_once_with()","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"39960f171e868085b170b5aabb3a3b909f1d6290","unresolved":false,"context_lines":[{"line_number":848,"context_line":"            mock.call(self.kwargs[\"integ_br\"],"},{"line_number":849,"context_line":"                      self.kwargs[\"root_helper\"],"},{"line_number":850,"context_line":"                      ovs_neutron_agent.AGENT_OVS_COOKIE)]"},{"line_number":851,"context_line":"        self.assertEqual(self.ovs_br.call_args_list, expected)"},{"line_number":852,"context_line":""},{"line_number":853,"context_line":"    def test_physical_br_no_cookie(self):"},{"line_number":854,"context_line":"        phys_br \u003d mock.MagicMock()"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_d7f409f4","line":851,"updated":"2014-06-03 11:24:01.000000000","message":"self.ovs_br.assert_called_once_with()","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"39960f171e868085b170b5aabb3a3b909f1d6290","unresolved":false,"context_lines":[{"line_number":860,"context_line":"            mock.call(phys_br,"},{"line_number":861,"context_line":"                      self.kwargs[\"root_helper\"],"},{"line_number":862,"context_line":"                      None)]"},{"line_number":863,"context_line":"        self.assertEqual(self.ovs_br.call_args_list, expected)"},{"line_number":864,"context_line":""},{"line_number":865,"context_line":"    def test_physical_br_with_cookie(self):"},{"line_number":866,"context_line":"        phys_br \u003d mock.MagicMock()"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_f7f745f3","line":863,"updated":"2014-06-03 11:24:01.000000000","message":"same as above","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"39960f171e868085b170b5aabb3a3b909f1d6290","unresolved":false,"context_lines":[{"line_number":872,"context_line":"            mock.call(phys_br,"},{"line_number":873,"context_line":"                      self.kwargs[\"root_helper\"],"},{"line_number":874,"context_line":"                      ovs_neutron_agent.AGENT_OVS_COOKIE)]"},{"line_number":875,"context_line":"        self.assertEqual(self.ovs_br.call_args_list, expected)"},{"line_number":876,"context_line":""},{"line_number":877,"context_line":"    def test_tunnel_br_no_cookie(self):"},{"line_number":878,"context_line":"        tun_br \u003d mock.MagicMock()"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_17de716d","line":875,"updated":"2014-06-03 11:24:01.000000000","message":"same as above","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"39960f171e868085b170b5aabb3a3b909f1d6290","unresolved":false,"context_lines":[{"line_number":884,"context_line":"            mock.call(tun_br,"},{"line_number":885,"context_line":"                      self.kwargs[\"root_helper\"],"},{"line_number":886,"context_line":"                      None)]"},{"line_number":887,"context_line":"        self.assertEqual(self.ovs_br.call_args_list, expected)"},{"line_number":888,"context_line":""},{"line_number":889,"context_line":"    def test_tunnel_br_with_cookie(self):"},{"line_number":890,"context_line":"        tun_br \u003d mock.MagicMock()"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_37d9ad83","line":887,"updated":"2014-06-03 11:24:01.000000000","message":"same as above","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"39960f171e868085b170b5aabb3a3b909f1d6290","unresolved":false,"context_lines":[{"line_number":896,"context_line":"            mock.call(tun_br,"},{"line_number":897,"context_line":"                      self.kwargs[\"root_helper\"],"},{"line_number":898,"context_line":"                      ovs_neutron_agent.AGENT_OVS_COOKIE)]"},{"line_number":899,"context_line":"        self.assertEqual(self.ovs_br.call_args_list, expected)"},{"line_number":900,"context_line":""},{"line_number":901,"context_line":"    def test_ancillary_br_no_cookie(self):"},{"line_number":902,"context_line":"        ancillary_br \u003d mock.MagicMock()"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_57e8f90f","line":899,"updated":"2014-06-03 11:24:01.000000000","message":"self.ovs_br.assert_has_calls()","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"39960f171e868085b170b5aabb3a3b909f1d6290","unresolved":false,"context_lines":[{"line_number":908,"context_line":"            mock.call(ancillary_br,"},{"line_number":909,"context_line":"                      self.kwargs[\"root_helper\"],"},{"line_number":910,"context_line":"                      None)]"},{"line_number":911,"context_line":"        self.assertEqual(self.ovs_br.call_args_list, expected)"},{"line_number":912,"context_line":""},{"line_number":913,"context_line":"    def test_ancillary_br_with_cookie(self):"},{"line_number":914,"context_line":"        ancillary_br \u003d mock.MagicMock()"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_77e33533","line":911,"updated":"2014-06-03 11:24:01.000000000","message":"self.ovs_br.assert_has_calls()","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"39960f171e868085b170b5aabb3a3b909f1d6290","unresolved":false,"context_lines":[{"line_number":920,"context_line":"            mock.call(ancillary_br,"},{"line_number":921,"context_line":"                      self.kwargs[\"root_helper\"],"},{"line_number":922,"context_line":"                      ovs_neutron_agent.AGENT_OVS_COOKIE)]"},{"line_number":923,"context_line":"        self.assertEqual(self.ovs_br.call_args_list, expected)"}],"source_content_type":"text/x-python","patch_set":9,"id":"1ae5cdf2_97d1a159","line":923,"updated":"2014-06-03 11:24:01.000000000","message":"same as above","commit_id":"a809e1d05af7a4490377b7d236523002754f7cb7"}]}
