)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"bd4168f4cf63c6b02ec7900a6409a9975de00656","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Set vif_details to reflect enable_security_group"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"VIFDriver in Nova follows \"binding:vif_detail\" from Neutron, but it\u0027s always"},{"line_number":10,"context_line":"true. This patch make ML2 OVS mech driver set \"binding:vif_detail\" depends on"},{"line_number":11,"context_line":"enable_security_group flag. It also enables users to avoid ove_hybrid plugging."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_974ff0bc","line":9,"range":{"start_line":9,"start_character":35,"end_line":9,"end_character":45},"updated":"2014-07-03 02:58:59.000000000","message":"vif_details is merely a container.\nit\u0027s better to mention items like OVS_HYBRID_PLUG.","commit_id":"9e0927424c8aafcc658a839690ba460dd1f9d633"},{"author":{"_account_id":1894,"name":"Ryota MIBU","email":"r-mibu@cq.jp.nec.com","username":"r-mibu"},"change_message_id":"50d630482e2a9d3531288bd9390c56481432613f","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Set vif_details to reflect enable_security_group"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"VIFDriver in Nova follows \"binding:vif_detail\" from Neutron, but it\u0027s always"},{"line_number":10,"context_line":"true. This patch make ML2 OVS mech driver set \"binding:vif_detail\" depends on"},{"line_number":11,"context_line":"enable_security_group flag. It also enables users to avoid ove_hybrid plugging."},{"line_number":12,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_9dbab108","line":9,"in_reply_to":"baada198_974ff0bc","updated":"2014-07-03 04:17:33.000000000","message":"Done","commit_id":"9e0927424c8aafcc658a839690ba460dd1f9d633"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"bd4168f4cf63c6b02ec7900a6409a9975de00656","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"VIFDriver in Nova follows \"binding:vif_detail\" from Neutron, but it\u0027s always"},{"line_number":10,"context_line":"true. This patch make ML2 OVS mech driver set \"binding:vif_detail\" depends on"},{"line_number":11,"context_line":"enable_security_group flag. It also enables users to avoid ove_hybrid plugging."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug #1336624"},{"line_number":14,"context_line":"Change-Id: I2b7fb526a6f1b730ad65289307b24fd28b996e1b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_d761683a","line":11,"range":{"start_line":11,"start_character":61,"end_line":11,"end_character":62},"updated":"2014-07-03 02:58:59.000000000","message":"ovs_hybrid","commit_id":"9e0927424c8aafcc658a839690ba460dd1f9d633"},{"author":{"_account_id":1894,"name":"Ryota MIBU","email":"r-mibu@cq.jp.nec.com","username":"r-mibu"},"change_message_id":"50d630482e2a9d3531288bd9390c56481432613f","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"VIFDriver in Nova follows \"binding:vif_detail\" from Neutron, but it\u0027s always"},{"line_number":10,"context_line":"true. This patch make ML2 OVS mech driver set \"binding:vif_detail\" depends on"},{"line_number":11,"context_line":"enable_security_group flag. It also enables users to avoid ove_hybrid plugging."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug #1336624"},{"line_number":14,"context_line":"Change-Id: I2b7fb526a6f1b730ad65289307b24fd28b996e1b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_7d631ddc","line":11,"in_reply_to":"baada198_d761683a","updated":"2014-07-03 04:17:33.000000000","message":"Done","commit_id":"9e0927424c8aafcc658a839690ba460dd1f9d633"},{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"bd4168f4cf63c6b02ec7900a6409a9975de00656","unresolved":false,"context_lines":[{"line_number":10,"context_line":"true. This patch make ML2 OVS mech driver set \"binding:vif_detail\" depends on"},{"line_number":11,"context_line":"enable_security_group flag. It also enables users to avoid ove_hybrid plugging."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug #1336624"},{"line_number":14,"context_line":"Change-Id: I2b7fb526a6f1b730ad65289307b24fd28b996e1b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_b7731414","line":13,"updated":"2014-07-03 02:58:59.000000000","message":"Closes-Bug: #1336624","commit_id":"9e0927424c8aafcc658a839690ba460dd1f9d633"},{"author":{"_account_id":1894,"name":"Ryota MIBU","email":"r-mibu@cq.jp.nec.com","username":"r-mibu"},"change_message_id":"50d630482e2a9d3531288bd9390c56481432613f","unresolved":false,"context_lines":[{"line_number":10,"context_line":"true. This patch make ML2 OVS mech driver set \"binding:vif_detail\" depends on"},{"line_number":11,"context_line":"enable_security_group flag. It also enables users to avoid ove_hybrid plugging."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Closes-Bug #1336624"},{"line_number":14,"context_line":"Change-Id: I2b7fb526a6f1b730ad65289307b24fd28b996e1b"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"baada198_5d6499e4","line":13,"in_reply_to":"baada198_b7731414","updated":"2014-07-03 04:17:33.000000000","message":"Done","commit_id":"9e0927424c8aafcc658a839690ba460dd1f9d633"}],"neutron/plugins/ml2/drivers/mech_openvswitch.py":[{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"cee90a2429897a2641d095600d89859cb840ddbb","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    \"\"\""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    def __init__(self):"},{"line_number":38,"context_line":"        if cfg.CONF.SECURITYGROUP.enable_security_group:"},{"line_number":39,"context_line":"            vif_details \u003d {portbindings.CAP_PORT_FILTER: True,"},{"line_number":40,"context_line":"                           portbindings.OVS_HYBRID_PLUG: True}"},{"line_number":41,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_d0ab401b","line":38,"updated":"2014-07-02 17:48:04.000000000","message":"nit: \n sg_enabled \u003d cfg.CONF.SECURITYGROUP.enable_security_group\n\n vif_details \u003d {portbindings.CAP_PORT_FILTER: sg_enabled,\t\n                portbindings.OVS_HYBRID_PLUG: sg_enabled}","commit_id":"8295d90e01a2f8d59dabcb950c076b51718cf2ee"},{"author":{"_account_id":1894,"name":"Ryota MIBU","email":"r-mibu@cq.jp.nec.com","username":"r-mibu"},"change_message_id":"2a6e2356df440945cb94283ed06c4b0fc80e2a1d","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    \"\"\""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    def __init__(self):"},{"line_number":38,"context_line":"        if cfg.CONF.SECURITYGROUP.enable_security_group:"},{"line_number":39,"context_line":"            vif_details \u003d {portbindings.CAP_PORT_FILTER: True,"},{"line_number":40,"context_line":"                           portbindings.OVS_HYBRID_PLUG: True}"},{"line_number":41,"context_line":"        else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"baada198_71926ca0","line":38,"in_reply_to":"baada198_d0ab401b","updated":"2014-07-03 00:32:39.000000000","message":"Looks good. Thanks.","commit_id":"8295d90e01a2f8d59dabcb950c076b51718cf2ee"},{"author":{"_account_id":1970,"name":"Jacob Wen","email":"wenjianhn@gmail.com","username":"wenjianhn"},"change_message_id":"cf53f51c36953a179d0068c6439e96a580c592cc","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    \"\"\""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    def __init__(self):"},{"line_number":38,"context_line":"        sg_enabled \u003d cfg.CONF.SECURITYGROUP.enable_security_group"},{"line_number":39,"context_line":"        vif_details \u003d {portbindings.CAP_PORT_FILTER: sg_enabled,"},{"line_number":40,"context_line":"                       portbindings.OVS_HYBRID_PLUG: sg_enabled}"},{"line_number":41,"context_line":"        super(OpenvswitchMechanismDriver, self).__init__("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa98f980_89039f0c","line":38,"updated":"2014-09-08 05:31:42.000000000","message":"Instead of directly using the cfg, we should call is_firewall_enabled in neutron/agent/securitygroups_rpc.py.","commit_id":"2c440d03f6f65e4f38d9cd1b558be5ae899788c7"},{"author":{"_account_id":1894,"name":"Ryota MIBU","email":"r-mibu@cq.jp.nec.com","username":"r-mibu"},"change_message_id":"15b9c6b1d0c972127869a7d1b89fa11883437813","unresolved":false,"context_lines":[{"line_number":35,"context_line":"    \"\"\""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"    def __init__(self):"},{"line_number":38,"context_line":"        sg_enabled \u003d cfg.CONF.SECURITYGROUP.enable_security_group"},{"line_number":39,"context_line":"        vif_details \u003d {portbindings.CAP_PORT_FILTER: sg_enabled,"},{"line_number":40,"context_line":"                       portbindings.OVS_HYBRID_PLUG: sg_enabled}"},{"line_number":41,"context_line":"        super(OpenvswitchMechanismDriver, self).__init__("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa98f980_f9ff04a9","line":38,"in_reply_to":"fa98f980_89039f0c","updated":"2014-09-12 07:00:34.000000000","message":"Agreed, will fix in next patch","commit_id":"2c440d03f6f65e4f38d9cd1b558be5ae899788c7"}],"neutron/plugins/nec/nec_plugin.py":[{"author":{"_account_id":6659,"name":"Paul Michali","email":"pc@michali.net","username":"pcm"},"change_message_id":"3dd1fe22134fdba008c53a37cf22d127530dc241","unresolved":false,"context_lines":[{"line_number":420,"context_line":""},{"line_number":421,"context_line":"        self._cleanup_ofc_tenant(context, tenant_id)"},{"line_number":422,"context_line":""},{"line_number":423,"context_line":"    def _get_base_binding_dict(self):"},{"line_number":424,"context_line":"        sg_enabled \u003d sg_rpc.is_firewall_enabled()"},{"line_number":425,"context_line":"        vif_details \u003d {portbindings.CAP_PORT_FILTER: sg_enabled,"},{"line_number":426,"context_line":"                       portbindings.OVS_HYBRID_PLUG: sg_enabled}"}],"source_content_type":"text/x-python","patch_set":6,"id":"da9df570_0d740d98","line":423,"updated":"2014-09-22 14:05:44.000000000","message":"Could this be pushed to a base/mixin class?","commit_id":"e73f8da072cb41559ecee7f29f864a10db475444"},{"author":{"_account_id":1894,"name":"Ryota MIBU","email":"r-mibu@cq.jp.nec.com","username":"r-mibu"},"change_message_id":"5f7f86da329290a8f59718223aff08c0d5a077e8","unresolved":false,"context_lines":[{"line_number":420,"context_line":""},{"line_number":421,"context_line":"        self._cleanup_ofc_tenant(context, tenant_id)"},{"line_number":422,"context_line":""},{"line_number":423,"context_line":"    def _get_base_binding_dict(self):"},{"line_number":424,"context_line":"        sg_enabled \u003d sg_rpc.is_firewall_enabled()"},{"line_number":425,"context_line":"        vif_details \u003d {portbindings.CAP_PORT_FILTER: sg_enabled,"},{"line_number":426,"context_line":"                       portbindings.OVS_HYBRID_PLUG: sg_enabled}"}],"source_content_type":"text/x-python","patch_set":6,"id":"da9df570_d31708a2","line":423,"in_reply_to":"da9df570_0d740d98","updated":"2014-09-22 15:30:30.000000000","message":"Good question!\n\nUnfortunately, the answer is no.\nThere are no place to push this kind of common functions for plugins which use OVS.\nIf we could do that, no duplicated work across the plugins is needed which make us maintenance code easier.","commit_id":"e73f8da072cb41559ecee7f29f864a10db475444"},{"author":{"_account_id":2031,"name":"Nachi Ueno","email":"nati.ueno@gmail.com","username":"nati-ueno"},"change_message_id":"86821d705ccc366e2a3372be50723d5519465fb1","unresolved":false,"context_lines":[{"line_number":420,"context_line":""},{"line_number":421,"context_line":"        self._cleanup_ofc_tenant(context, tenant_id)"},{"line_number":422,"context_line":""},{"line_number":423,"context_line":"    def _get_base_binding_dict(self):"},{"line_number":424,"context_line":"        sg_enabled \u003d sg_rpc.is_firewall_enabled()"},{"line_number":425,"context_line":"        vif_details \u003d {portbindings.CAP_PORT_FILTER: sg_enabled,"},{"line_number":426,"context_line":"                       portbindings.OVS_HYBRID_PLUG: sg_enabled}"}],"source_content_type":"text/x-python","patch_set":6,"id":"baa201ad_55082191","line":423,"in_reply_to":"da9df570_a81e4f61","updated":"2014-10-02 06:36:03.000000000","message":"I agree with Akhiro","commit_id":"e73f8da072cb41559ecee7f29f864a10db475444"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"fa6c91c346d71c1a9f980bbcf6e76b5567b51e3a","unresolved":false,"context_lines":[{"line_number":420,"context_line":""},{"line_number":421,"context_line":"        self._cleanup_ofc_tenant(context, tenant_id)"},{"line_number":422,"context_line":""},{"line_number":423,"context_line":"    def _get_base_binding_dict(self):"},{"line_number":424,"context_line":"        sg_enabled \u003d sg_rpc.is_firewall_enabled()"},{"line_number":425,"context_line":"        vif_details \u003d {portbindings.CAP_PORT_FILTER: sg_enabled,"},{"line_number":426,"context_line":"                       portbindings.OVS_HYBRID_PLUG: sg_enabled}"}],"source_content_type":"text/x-python","patch_set":6,"id":"da9df570_a81e4f61","line":423,"in_reply_to":"da9df570_d31708a2","updated":"2014-09-24 10:07:38.000000000","message":"Honestly, most OVS based plugins have been migrated to ML2 drivers or marked as deprecated (ovs and ryu), and AFAIK bigswitch plugin and NEC plugins are only planned in Kilo. Thus I thought it is acceptable when I reviewed last time.","commit_id":"e73f8da072cb41559ecee7f29f864a10db475444"}],"neutron/tests/unit/ml2/test_mech_openvswitch.py":[{"author":{"_account_id":6854,"name":"YAMAMOTO Takashi","email":"yamamoto@midokura.com","username":"yamamoto"},"change_message_id":"bd4168f4cf63c6b02ec7900a6409a9975de00656","unresolved":false,"context_lines":[{"line_number":56,"context_line":"                                                                   segment)"},{"line_number":57,"context_line":"        vif_details \u003d context._bound_vif_details"},{"line_number":58,"context_line":"        self.assertEqual(vif_details[portbindings.OVS_HYBRID_PLUG],"},{"line_number":59,"context_line":"                         self.OVS_HYBRID_PLUG)"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"class OpenvswitchMechanismGenericTestCase(OpenvswitchMechanismBaseTestCase,"},{"line_number":62,"context_line":"                                          base.AgentMechanismGenericTestCase):"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_b7e1549c","line":59,"updated":"2014-07-03 02:58:59.000000000","message":"can you cover the case where sg is disabled?\n\nplease swap arguments.  assertEqual(expected, observed)","commit_id":"9e0927424c8aafcc658a839690ba460dd1f9d633"},{"author":{"_account_id":1894,"name":"Ryota MIBU","email":"r-mibu@cq.jp.nec.com","username":"r-mibu"},"change_message_id":"50d630482e2a9d3531288bd9390c56481432613f","unresolved":false,"context_lines":[{"line_number":56,"context_line":"                                                                   segment)"},{"line_number":57,"context_line":"        vif_details \u003d context._bound_vif_details"},{"line_number":58,"context_line":"        self.assertEqual(vif_details[portbindings.OVS_HYBRID_PLUG],"},{"line_number":59,"context_line":"                         self.OVS_HYBRID_PLUG)"},{"line_number":60,"context_line":""},{"line_number":61,"context_line":"class OpenvswitchMechanismGenericTestCase(OpenvswitchMechanismBaseTestCase,"},{"line_number":62,"context_line":"                                          base.AgentMechanismGenericTestCase):"}],"source_content_type":"text/x-python","patch_set":2,"id":"baada198_ddd7c921","line":59,"in_reply_to":"baada198_b7e1549c","updated":"2014-07-03 04:17:33.000000000","message":"Thanks. The test which I added in L86-95 does not call _check_bound(), so it does not cover the case. I will add other tests.\n\nI also will swap args for assertEqual.","commit_id":"9e0927424c8aafcc658a839690ba460dd1f9d633"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"26c2358652fbc3c82feed9c2eb4bf36e0f2d0092","unresolved":false,"context_lines":[{"line_number":95,"context_line":"                                      base.AgentMechanismGreTestCase):"},{"line_number":96,"context_line":"    pass"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"class OpenvswitchMechanismSGDisabledLocalTestCase("},{"line_number":100,"context_line":"    OpenvswitchMechanismSGDisabledBaseTestCase,"},{"line_number":101,"context_line":"    base.AgentMechanismLocalTestCase):"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_ebac6b8a","line":98,"updated":"2014-07-28 03:21:31.000000000","message":"I don\u0027t see any reason to run duplicate tests for sg_enabled True and False. Can\u0027t we cover the change in one test case (e.g., Generic or LocalTestCase)?","commit_id":"2c440d03f6f65e4f38d9cd1b558be5ae899788c7"},{"author":{"_account_id":1894,"name":"Ryota MIBU","email":"r-mibu@cq.jp.nec.com","username":"r-mibu"},"change_message_id":"6617a4e5a080ff9bc814370bf7a3c44a6a282ec1","unresolved":false,"context_lines":[{"line_number":95,"context_line":"                                      base.AgentMechanismGreTestCase):"},{"line_number":96,"context_line":"    pass"},{"line_number":97,"context_line":""},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"class OpenvswitchMechanismSGDisabledLocalTestCase("},{"line_number":100,"context_line":"    OpenvswitchMechanismSGDisabledBaseTestCase,"},{"line_number":101,"context_line":"    base.AgentMechanismLocalTestCase):"}],"source_content_type":"text/x-python","patch_set":3,"id":"baada198_7ecb89a4","line":98,"in_reply_to":"baada198_ebac6b8a","updated":"2014-07-29 04:24:53.000000000","message":"\u0027vif_details/portbindings\u0027 in response does not depend on network type. However, to make sure this driver always return right \u0027vif_details/portbindings\u0027 (or no \u0027vif_details\u0027 when binding failed) in any type, we need these tests.\n\nThis patch adds 8 tests (the following 4 TestCases have 2 tests in each). It does not make test time longer.\n\nIf we really need to reduce the number of tests, I could leave \u0027OpenvswitchMechanismSGDisabledLocalTestCase()\u0027 and delete the rest. If we do so, it is good to note that I intended \u0027vif_deails/portbindings\u0027 should be the same in other network types and add new tests for SG disabled when we change the behavior of this driver depends on network type.","commit_id":"2c440d03f6f65e4f38d9cd1b558be5ae899788c7"}]}
