)]}'
{"manila/share/drivers/emc/plugins/vnx/connection.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"289a5a169e5a42400f178f5b7c018cb11dce1c4f","unresolved":false,"context_lines":[{"line_number":410,"context_line":"    def deny_access(self, emc_share_driver, context, share, access,"},{"line_number":411,"context_line":"                    share_server\u003dNone):"},{"line_number":412,"context_line":"        \"\"\"Deny access to the share.\"\"\""},{"line_number":413,"context_line":"        access_level \u003d access[\u0027access_level\u0027]"},{"line_number":414,"context_line":"        if access_level not in const.ACCESS_LEVELS:"},{"line_number":415,"context_line":"            raise exception.InvalidShareAccessLevel(level\u003daccess_level)"},{"line_number":416,"context_line":"        if share[\u0027share_proto\u0027] \u003d\u003d \u0027NFS\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_9d53ede1","line":413,"updated":"2015-07-09 08:42:59.000000000","message":"You do this verification twice. First, it could be separate method. Second, API should not allow to provide something different than values you verify here.","commit_id":"1fdfd0d69e07ee2cf86f704cf3dde1f3238e4467"},{"author":{"_account_id":10628,"name":"Peter Wang","email":"peter.wang13@emc.com","username":"peter_wang"},"change_message_id":"fa2f740a1b856bd326b86a0f17e08de9ad962959","unresolved":false,"context_lines":[{"line_number":410,"context_line":"    def deny_access(self, emc_share_driver, context, share, access,"},{"line_number":411,"context_line":"                    share_server\u003dNone):"},{"line_number":412,"context_line":"        \"\"\"Deny access to the share.\"\"\""},{"line_number":413,"context_line":"        access_level \u003d access[\u0027access_level\u0027]"},{"line_number":414,"context_line":"        if access_level not in const.ACCESS_LEVELS:"},{"line_number":415,"context_line":"            raise exception.InvalidShareAccessLevel(level\u003daccess_level)"},{"line_number":416,"context_line":"        if share[\u0027share_proto\u0027] \u003d\u003d \u0027NFS\u0027:"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_f437aee0","line":413,"in_reply_to":"ba3cc151_9d53ede1","updated":"2015-07-09 11:15:33.000000000","message":"Yeah, i verify the values both in allow_access and deny_access,\nI notice Generic driver is also doing verification in allow_access,\nso maybe I could just follow(only check in allow_access)\n\nThanks\nPeter","commit_id":"1fdfd0d69e07ee2cf86f704cf3dde1f3238e4467"}],"manila/share/drivers/emc/plugins/vnx/helper.py":[{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"1bb9479d37912839d114dfdc342d182d590b0fda","unresolved":false,"context_lines":[{"line_number":1353,"context_line":"                if host_ip not in rwhosts:"},{"line_number":1354,"context_line":"                    rwhosts.append(host_ip)"},{"line_number":1355,"context_line":"                    changed \u003d True"},{"line_number":1356,"context_line":"                if host_ip in rohosts:"},{"line_number":1357,"context_line":"                    rohosts.remove(host_ip)"},{"line_number":1358,"context_line":"                    changed \u003d True"},{"line_number":1359,"context_line":"            if access_level \u003d\u003d const.ACCESS_LEVEL_RO:"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_02bdd801","line":1356,"updated":"2015-07-10 21:48:48.000000000","message":"No coverage here.  I think this is one you should be testing with this patch.","commit_id":"d6fc8e11af16baf967e690eb7ad28155f8358528"},{"author":{"_account_id":10628,"name":"Peter Wang","email":"peter.wang13@emc.com","username":"peter_wang"},"change_message_id":"78cb24b54479fec2802eaf4562d193c9c3fcd4eb","unresolved":false,"context_lines":[{"line_number":1353,"context_line":"                if host_ip not in rwhosts:"},{"line_number":1354,"context_line":"                    rwhosts.append(host_ip)"},{"line_number":1355,"context_line":"                    changed \u003d True"},{"line_number":1356,"context_line":"                if host_ip in rohosts:"},{"line_number":1357,"context_line":"                    rohosts.remove(host_ip)"},{"line_number":1358,"context_line":"                    changed \u003d True"},{"line_number":1359,"context_line":"            if access_level \u003d\u003d const.ACCESS_LEVEL_RO:"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_192b3b84","line":1356,"in_reply_to":"ba3cc151_02bdd801","updated":"2015-07-11 04:22:02.000000000","message":"Thanks Mark\nwill add","commit_id":"d6fc8e11af16baf967e690eb7ad28155f8358528"},{"author":{"_account_id":11047,"name":"Mark Sturdevant","email":"mark.sturdevant@ibm.com","username":"markstur"},"change_message_id":"1bb9479d37912839d114dfdc342d182d590b0fda","unresolved":false,"context_lines":[{"line_number":1361,"context_line":"                    rohosts.append(host_ip)"},{"line_number":1362,"context_line":"                    changed \u003d True"},{"line_number":1363,"context_line":"                if host_ip in rwhosts:"},{"line_number":1364,"context_line":"                    rwhosts.remove(host_ip)"},{"line_number":1365,"context_line":"                    changed \u003d True"},{"line_number":1366,"context_line":""},{"line_number":1367,"context_line":"            roothosts \u003d share[\u0027RootHosts\u0027]"}],"source_content_type":"text/x-python","patch_set":5,"id":"ba3cc151_2251fcd8","line":1364,"updated":"2015-07-10 21:48:48.000000000","message":"Here too.","commit_id":"d6fc8e11af16baf967e690eb7ad28155f8358528"},{"author":{"_account_id":10628,"name":"Peter Wang","email":"peter.wang13@emc.com","username":"peter_wang"},"change_message_id":"78cb24b54479fec2802eaf4562d193c9c3fcd4eb","unresolved":false,"context_lines":[{"line_number":1361,"context_line":"                    rohosts.append(host_ip)"},{"line_number":1362,"context_line":"                    changed \u003d True"},{"line_number":1363,"context_line":"                if host_ip in rwhosts:"},{"line_number":1364,"context_line":"                    rwhosts.remove(host_ip)"},{"line_number":1365,"context_line":"                    changed \u003d True"},{"line_number":1366,"context_line":""},{"line_number":1367,"context_line":"            roothosts \u003d share[\u0027RootHosts\u0027]"}],"source_content_type":"text/x-python","patch_set":5,"id":"9a41bdd9_b91faf5a","line":1364,"in_reply_to":"ba3cc151_2251fcd8","updated":"2015-07-11 04:22:02.000000000","message":"Done","commit_id":"d6fc8e11af16baf967e690eb7ad28155f8358528"}],"manila/tests/share/drivers/emc/plugins/vnx/test_emc_vnx.py":[{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"289a5a169e5a42400f178f5b7c018cb11dce1c4f","unresolved":false,"context_lines":[{"line_number":1752,"context_line":""},{"line_number":1753,"context_line":"    @mock.patch(\u0027manila.db.share_network_get\u0027,"},{"line_number":1754,"context_line":"                mock.Mock(return_value\u003dTD.fake_share_network()))"},{"line_number":1755,"context_line":"    def test_cifs_allow_access_ro(self):"},{"line_number":1756,"context_line":"        context \u003d \u0027fake_context\u0027"},{"line_number":1757,"context_line":"        share \u003d TD.fake_share(share_proto\u003d\u0027CIFS\u0027)"},{"line_number":1758,"context_line":"        access \u003d TD.fake_access(**{\u0027access_type\u0027: \u0027user\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_7da629c2","line":1755,"updated":"2015-07-09 08:42:59.000000000","message":"This test and previous one should be combined using \"ddt\" to avoid code duplication.","commit_id":"1fdfd0d69e07ee2cf86f704cf3dde1f3238e4467"},{"author":{"_account_id":10628,"name":"Peter Wang","email":"peter.wang13@emc.com","username":"peter_wang"},"change_message_id":"fa2f740a1b856bd326b86a0f17e08de9ad962959","unresolved":false,"context_lines":[{"line_number":1752,"context_line":""},{"line_number":1753,"context_line":"    @mock.patch(\u0027manila.db.share_network_get\u0027,"},{"line_number":1754,"context_line":"                mock.Mock(return_value\u003dTD.fake_share_network()))"},{"line_number":1755,"context_line":"    def test_cifs_allow_access_ro(self):"},{"line_number":1756,"context_line":"        context \u003d \u0027fake_context\u0027"},{"line_number":1757,"context_line":"        share \u003d TD.fake_share(share_proto\u003d\u0027CIFS\u0027)"},{"line_number":1758,"context_line":"        access \u003d TD.fake_access(**{\u0027access_type\u0027: \u0027user\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_d71389ff","line":1755,"in_reply_to":"ba3cc151_7da629c2","updated":"2015-07-09 11:15:33.000000000","message":"Will do","commit_id":"1fdfd0d69e07ee2cf86f704cf3dde1f3238e4467"},{"author":{"_account_id":8851,"name":"Valeriy Ponomaryov","email":"kiparis.kh@gmail.com","username":"vponomaryov"},"change_message_id":"289a5a169e5a42400f178f5b7c018cb11dce1c4f","unresolved":false,"context_lines":[{"line_number":1790,"context_line":""},{"line_number":1791,"context_line":"    @mock.patch(\u0027manila.db.share_network_get\u0027,"},{"line_number":1792,"context_line":"                mock.Mock(return_value\u003dTD.fake_share_network()))"},{"line_number":1793,"context_line":"    def test_cifs_deny_access_ro(self):"},{"line_number":1794,"context_line":"        context \u003d \u0027fake_context\u0027"},{"line_number":1795,"context_line":"        share \u003d TD.fake_share(share_proto\u003d\u0027CIFS\u0027)"},{"line_number":1796,"context_line":"        access \u003d TD.fake_access(**{\u0027access_type\u0027: \u0027user\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_5da325b2","line":1793,"updated":"2015-07-09 08:42:59.000000000","message":"This test and previous one should be combined using \"ddt\" to avoid code duplication.","commit_id":"1fdfd0d69e07ee2cf86f704cf3dde1f3238e4467"},{"author":{"_account_id":10628,"name":"Peter Wang","email":"peter.wang13@emc.com","username":"peter_wang"},"change_message_id":"fa2f740a1b856bd326b86a0f17e08de9ad962959","unresolved":false,"context_lines":[{"line_number":1790,"context_line":""},{"line_number":1791,"context_line":"    @mock.patch(\u0027manila.db.share_network_get\u0027,"},{"line_number":1792,"context_line":"                mock.Mock(return_value\u003dTD.fake_share_network()))"},{"line_number":1793,"context_line":"    def test_cifs_deny_access_ro(self):"},{"line_number":1794,"context_line":"        context \u003d \u0027fake_context\u0027"},{"line_number":1795,"context_line":"        share \u003d TD.fake_share(share_proto\u003d\u0027CIFS\u0027)"},{"line_number":1796,"context_line":"        access \u003d TD.fake_access(**{\u0027access_type\u0027: \u0027user\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"ba3cc151_973181a4","line":1793,"in_reply_to":"ba3cc151_5da325b2","updated":"2015-07-09 11:15:33.000000000","message":"Will do","commit_id":"1fdfd0d69e07ee2cf86f704cf3dde1f3238e4467"}]}
