)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":704,"name":"Edgar Magana","email":"emagana@gmail.com","username":"emagana"},"change_message_id":"c0421e091cf6ed99ec13eb2d30916f5b4cdcb390","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Fix call to ipam.generate_pools"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Fixes a call that was incorrectly written as:"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"ipam.generate_allocation_pools"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Id1e781291f711865fd783ed5e0208694097b7024"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a4dcd0f_f2ecaebc","line":10,"updated":"2015-08-06 16:32:48.000000000","message":"remove space here and include a bug","commit_id":"80dd75ebba8709f8ec6e562604fd8383c0319a47"},{"author":{"_account_id":6635,"name":"John Davidge","email":"john.davidge@rackspace.com","username":"john-davidge"},"change_message_id":"1629f6c025b2a2020f7e24a698dc8414bfc38386","unresolved":false,"context_lines":[{"line_number":7,"context_line":"Fix call to ipam.generate_pools"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Fixes a call that was incorrectly written as:"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"ipam.generate_allocation_pools"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"Change-Id: Id1e781291f711865fd783ed5e0208694097b7024"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1a4dcd0f_314f3d35","line":10,"in_reply_to":"1a4dcd0f_f2ecaebc","updated":"2015-08-07 16:18:05.000000000","message":"Done","commit_id":"80dd75ebba8709f8ec6e562604fd8383c0319a47"}],"neutron/api/rpc/handlers/l3_rpc.py":[{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"cf65a6562d464191b263ae046edac27029827af1","unresolved":false,"context_lines":[{"line_number":269,"context_line":"    def process_prefix_update(self, context, **kwargs):"},{"line_number":270,"context_line":"        subnets \u003d kwargs.get(\u0027subnets\u0027)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        updated_subnets \u003d []"},{"line_number":273,"context_line":"        for subnet_id, prefix in subnets.items():"},{"line_number":274,"context_line":"            updated_subnets.append(self.plugin.update_subnet("},{"line_number":275,"context_line":"                                        context,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_990b46d6","line":272,"updated":"2015-08-11 17:15:17.000000000","message":"Okay, I see what you\u0027re doing here now from the commit message.\n\nInstead of changing this method like this just for the test, would it make more sense to test update_subnet directly somehow?","commit_id":"aca66dfd20b9003d4fed1bf7575b53b7594742fb"},{"author":{"_account_id":6635,"name":"John Davidge","email":"john.davidge@rackspace.com","username":"john-davidge"},"change_message_id":"6da6909ff3d4db8c0a79099fe87d31d556e3eb42","unresolved":false,"context_lines":[{"line_number":269,"context_line":"    def process_prefix_update(self, context, **kwargs):"},{"line_number":270,"context_line":"        subnets \u003d kwargs.get(\u0027subnets\u0027)"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"        updated_subnets \u003d []"},{"line_number":273,"context_line":"        for subnet_id, prefix in subnets.items():"},{"line_number":274,"context_line":"            updated_subnets.append(self.plugin.update_subnet("},{"line_number":275,"context_line":"                                        context,"}],"source_content_type":"text/x-python","patch_set":5,"id":"1a4dcd0f_5914de4b","line":272,"in_reply_to":"1a4dcd0f_990b46d6","updated":"2015-08-11 17:28:38.000000000","message":"I actually think doing it this way is better, as it has the advantage of allowing us to test both update_subnet and the rpc function together, much like the existing api tests for update_subnet do. I don\u0027t think a separate test for update_subnet would give us any more coverage than this does.","commit_id":"aca66dfd20b9003d4fed1bf7575b53b7594742fb"}],"neutron/db/ipam_backend_mixin.py":[{"author":{"_account_id":6685,"name":"Baodong (Robert) Li","email":"baoli@cisco.com","username":"baoli"},"change_message_id":"956342c930a21deeb5000ea7d9b8c63546ea5725","unresolved":false,"context_lines":[{"line_number":160,"context_line":"            subnet_id\u003dsubnet_id).delete()"},{"line_number":161,"context_line":"        pools \u003d [(netaddr.IPAddress(p.first, p.version).format(),"},{"line_number":162,"context_line":"                  netaddr.IPAddress(p.last, p.version).format())"},{"line_number":163,"context_line":"                 for p in s[\u0027allocation_pools\u0027]]"},{"line_number":164,"context_line":"        new_pools \u003d [models_v2.IPAllocationPool(first_ip\u003dp[0],"},{"line_number":165,"context_line":"                                                last_ip\u003dp[1],"},{"line_number":166,"context_line":"                                                subnet_id\u003dsubnet_id)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_7d9ebc08","line":163,"updated":"2015-08-10 11:58:04.000000000","message":"why this change?","commit_id":"cf40e7be7f63dcb09a782f66f007f3fde7a731a4"},{"author":{"_account_id":6635,"name":"John Davidge","email":"john.davidge@rackspace.com","username":"john-davidge"},"change_message_id":"4c17dfb9d1f965ca17f83913e7b8306f30adcda5","unresolved":false,"context_lines":[{"line_number":160,"context_line":"            subnet_id\u003dsubnet_id).delete()"},{"line_number":161,"context_line":"        pools \u003d [(netaddr.IPAddress(p.first, p.version).format(),"},{"line_number":162,"context_line":"                  netaddr.IPAddress(p.last, p.version).format())"},{"line_number":163,"context_line":"                 for p in s[\u0027allocation_pools\u0027]]"},{"line_number":164,"context_line":"        new_pools \u003d [models_v2.IPAllocationPool(first_ip\u003dp[0],"},{"line_number":165,"context_line":"                                                last_ip\u003dp[1],"},{"line_number":166,"context_line":"                                                subnet_id\u003dsubnet_id)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_5c773902","line":163,"in_reply_to":"1a4dcd0f_7d9ebc08","updated":"2015-08-10 14:04:25.000000000","message":"Without this change this function returns an empty list in my testing. Actually I\u0027m not sure why this wasn\u0027t a list in the first place. If anyone has some insight into that it would be helpful.","commit_id":"cf40e7be7f63dcb09a782f66f007f3fde7a731a4"},{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"827e6d7789c7b5fdbfdf5347123b354b4df7739c","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        new_pools \u003d [models_v2.IPAllocationPool(first_ip\u003dp[0],"},{"line_number":165,"context_line":"                                                last_ip\u003dp[1],"},{"line_number":166,"context_line":"                                                subnet_id\u003dsubnet_id)"},{"line_number":167,"context_line":"                     for p in pools]"},{"line_number":168,"context_line":"        context.session.add_all(new_pools)"},{"line_number":169,"context_line":"        # Call static method with self to redefine in child"},{"line_number":170,"context_line":"        # (non-pluggable backend)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_65aff0e3","line":167,"updated":"2015-08-10 17:29:38.000000000","message":"This method iterates over the generator twice.  Once here and once on L174.  You can\u0027t iterate over a generator twice.  It will come up empty the second time.","commit_id":"cf40e7be7f63dcb09a782f66f007f3fde7a731a4"},{"author":{"_account_id":6635,"name":"John Davidge","email":"john.davidge@rackspace.com","username":"john-davidge"},"change_message_id":"8dfb0771395ab160be58160927951a95070f3eb0","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        new_pools \u003d [models_v2.IPAllocationPool(first_ip\u003dp[0],"},{"line_number":165,"context_line":"                                                last_ip\u003dp[1],"},{"line_number":166,"context_line":"                                                subnet_id\u003dsubnet_id)"},{"line_number":167,"context_line":"                     for p in pools]"},{"line_number":168,"context_line":"        context.session.add_all(new_pools)"},{"line_number":169,"context_line":"        # Call static method with self to redefine in child"},{"line_number":170,"context_line":"        # (non-pluggable backend)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_8bbd42d9","line":167,"in_reply_to":"1a4dcd0f_65aff0e3","updated":"2015-08-11 12:50:06.000000000","message":"That makes sense! Thanks for pointing this out.","commit_id":"cf40e7be7f63dcb09a782f66f007f3fde7a731a4"},{"author":{"_account_id":6685,"name":"Baodong (Robert) Li","email":"baoli@cisco.com","username":"baoli"},"change_message_id":"ab75a034cfc37530be6e213af8f75b0e07b0769b","unresolved":false,"context_lines":[{"line_number":164,"context_line":"        new_pools \u003d [models_v2.IPAllocationPool(first_ip\u003dp[0],"},{"line_number":165,"context_line":"                                                last_ip\u003dp[1],"},{"line_number":166,"context_line":"                                                subnet_id\u003dsubnet_id)"},{"line_number":167,"context_line":"                     for p in pools]"},{"line_number":168,"context_line":"        context.session.add_all(new_pools)"},{"line_number":169,"context_line":"        # Call static method with self to redefine in child"},{"line_number":170,"context_line":"        # (non-pluggable backend)"}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_7f63f5dd","line":167,"in_reply_to":"1a4dcd0f_65aff0e3","updated":"2015-08-10 20:29:21.000000000","message":"make sense. So this is a different bug. there are existing UT for this but didn\u0027t catch it since it doesn\u0027t test on the result itself.","commit_id":"cf40e7be7f63dcb09a782f66f007f3fde7a731a4"}],"neutron/tests/unit/api/rpc/handlers/test_l3_rpc.py":[{"author":{"_account_id":7448,"name":"Carl Baldwin","email":"carl@ecbaldwin.net","username":"carl-baldwin"},"change_message_id":"827e6d7789c7b5fdbfdf5347123b354b4df7739c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2012 OpenStack Foundation."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_e668eb23","line":1,"updated":"2015-08-10 17:29:38.000000000","message":"Don\u0027t add this copyright.  Either use your company or no copyright line.  Also, the year is incorrect.","commit_id":"cf40e7be7f63dcb09a782f66f007f3fde7a731a4"},{"author":{"_account_id":6635,"name":"John Davidge","email":"john.davidge@rackspace.com","username":"john-davidge"},"change_message_id":"8dfb0771395ab160be58160927951a95070f3eb0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2012 OpenStack Foundation."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"# Licensed under the Apache License, Version 2.0 (the \"License\");"},{"line_number":4,"context_line":"# you may not use this file except in compliance with the License."}],"source_content_type":"text/x-python","patch_set":2,"id":"1a4dcd0f_3557ad03","line":1,"in_reply_to":"1a4dcd0f_e668eb23","updated":"2015-08-11 12:50:06.000000000","message":"Silly mistake, thanks. Done.","commit_id":"cf40e7be7f63dcb09a782f66f007f3fde7a731a4"}]}
