)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"a8bfdc6bc2d3f6cba3fda294a070ff240785589c","unresolved":false,"context_lines":[{"line_number":15,"context_line":"- The rpc and common exceptions are changed to"},{"line_number":16,"context_line":"reference their counterpart in neutron-lib effectively"},{"line_number":17,"context_line":"swaping the impl over to neutron-lib."},{"line_number":18,"context_line":"- The fake_notifier is removed from neutron lib\u0027s"},{"line_number":19,"context_line":"version is used instead."},{"line_number":20,"context_line":"- The rpc tests are removed; they live in lib now."},{"line_number":21,"context_line":"- A few unit test related changes are required"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3f79a3b5_355af54f","line":18,"range":{"start_line":18,"start_character":43,"end_line":18,"end_character":44},"updated":"2018-08-21 09:42:54.000000000","message":"nitty nit: missing comma probably","commit_id":"e22e4df5fc5b31ffa87db75de71441e3e2552776"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ed1fc1b0bf1830e14b748471ff2f34f3afe726b6","unresolved":false,"context_lines":[{"line_number":15,"context_line":"- The rpc and common exceptions are changed to"},{"line_number":16,"context_line":"reference their counterpart in neutron-lib effectively"},{"line_number":17,"context_line":"swaping the impl over to neutron-lib."},{"line_number":18,"context_line":"- The fake_notifier is removed from neutron lib\u0027s"},{"line_number":19,"context_line":"version is used instead."},{"line_number":20,"context_line":"- The rpc tests are removed; they live in lib now."},{"line_number":21,"context_line":"- A few unit test related changes are required"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":3,"id":"3f79a3b5_06830ace","line":18,"range":{"start_line":18,"start_character":43,"end_line":18,"end_character":44},"in_reply_to":"3f79a3b5_355af54f","updated":"2018-08-21 18:13:24.000000000","message":"Done","commit_id":"e22e4df5fc5b31ffa87db75de71441e3e2552776"}],"neutron/common/exceptions.py":[{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"caa87eec59332cb74f8afe10403e39c143bdd9d9","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"# TODO(boden): remove lib shims"},{"line_number":24,"context_line":"SubnetPoolNotFound \u003d exceptions.SubnetPoolNotFound"},{"line_number":25,"context_line":"StateInvalid \u003d exceptions.StateInvalid"},{"line_number":26,"context_line":"DhcpPortInUse \u003d exceptions.DhcpPortInUse"},{"line_number":27,"context_line":"HostRoutesExhausted \u003d exceptions.HostRoutesExhausted"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_305d9146","line":24,"range":{"start_line":24,"start_character":0,"end_line":24,"end_character":50},"updated":"2018-08-15 19:59:08.000000000","message":"Perhaps a slightly better approach to do this is using debtcollector.moves.moved_class (https://docs.openstack.org/debtcollector/latest/reference/index.html#debtcollector.moves.moved_class). The difference is that it will print a warning message if consumers are still accessing the class from the old location.","commit_id":"b13be7acc3d6052262765519ee0133e6dc1bed27"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ee53a304d9c74adbd1fb6c03b68520174d7732f7","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"# TODO(boden): remove lib shims"},{"line_number":24,"context_line":"SubnetPoolNotFound \u003d exceptions.SubnetPoolNotFound"},{"line_number":25,"context_line":"StateInvalid \u003d exceptions.StateInvalid"},{"line_number":26,"context_line":"DhcpPortInUse \u003d exceptions.DhcpPortInUse"},{"line_number":27,"context_line":"HostRoutesExhausted \u003d exceptions.HostRoutesExhausted"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_5e5da2e7","line":24,"range":{"start_line":24,"start_character":0,"end_line":24,"end_character":50},"in_reply_to":"3f79a3b5_305d9146","updated":"2018-08-16 21:01:47.000000000","message":"Honestly I was hoping not to use debtcollector.\n\n\nThe reasoning is that at one time we agreed it\u0027s not needed when consuming [1], mainly because the debtcollector statements are short-lived; there they should be removed within a few weeks. In addition its brings about more room for error since you need to specify params to the moved_class() function and here we are using multiple exception modules.\n\n\nHowever if reviewers think we need the debtcollector used here, and/or think we need to revisit [1] I\u0027m fine with reworking as needed.\n\n\n[1] https://docs.openstack.org/neutron-lib/latest/contributor/contributing.html#phase-4-consume","commit_id":"b13be7acc3d6052262765519ee0133e6dc1bed27"},{"author":{"_account_id":27654,"name":"Hongbin Lu","email":"kira034@163.com","username":"hongbin.lu"},"change_message_id":"efcefce00806779b6233dd0f43a4d393aa5c4a0a","unresolved":false,"context_lines":[{"line_number":21,"context_line":""},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"# TODO(boden): remove lib shims"},{"line_number":24,"context_line":"SubnetPoolNotFound \u003d exceptions.SubnetPoolNotFound"},{"line_number":25,"context_line":"StateInvalid \u003d exceptions.StateInvalid"},{"line_number":26,"context_line":"DhcpPortInUse \u003d exceptions.DhcpPortInUse"},{"line_number":27,"context_line":"HostRoutesExhausted \u003d exceptions.HostRoutesExhausted"}],"source_content_type":"text/x-python","patch_set":2,"id":"3f79a3b5_f1d85ff1","line":24,"range":{"start_line":24,"start_character":0,"end_line":24,"end_character":50},"in_reply_to":"3f79a3b5_5e5da2e7","updated":"2018-08-16 21:54:05.000000000","message":"I see.","commit_id":"b13be7acc3d6052262765519ee0133e6dc1bed27"}],"neutron/tests/unit/services/trunk/rpc/test_agent.py":[{"author":{"_account_id":11975,"name":"Slawek Kaplonski","email":"skaplons@redhat.com","username":"slaweq"},"change_message_id":"a8bfdc6bc2d3f6cba3fda294a070ff240785589c","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from neutron.api.rpc.callbacks import resources"},{"line_number":19,"context_line":"from neutron.api.rpc.handlers import resources_rpc"},{"line_number":20,"context_line":"from neutron.common import rpc"},{"line_number":21,"context_line":"from neutron.services.trunk.rpc import agent"},{"line_number":22,"context_line":"from neutron.tests import base"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_982780b7","line":20,"updated":"2018-08-21 09:42:54.000000000","message":"Why import those \"shims\" here instead of neutron_lib rpc module directly?","commit_id":"e22e4df5fc5b31ffa87db75de71441e3e2552776"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"ed1fc1b0bf1830e14b748471ff2f34f3afe726b6","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from neutron.api.rpc.callbacks import resources"},{"line_number":19,"context_line":"from neutron.api.rpc.handlers import resources_rpc"},{"line_number":20,"context_line":"from neutron.common import rpc"},{"line_number":21,"context_line":"from neutron.services.trunk.rpc import agent"},{"line_number":22,"context_line":"from neutron.tests import base"},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"3f79a3b5_75d5be42","line":20,"in_reply_to":"3f79a3b5_982780b7","updated":"2018-08-21 18:13:24.000000000","message":"The idea is to shim in this patch and then consume (change imports/remove rehomed code) in a separate patch. However some UT changes were necessary to make this work.\n\nPerhaps what\u0027s making it not so explicit is [1] that uses lib\u0027s version. In the next PS I\u0027ve changed that to make it more explicit. Let me know what you think.\n\n\n[1] https://review.openstack.org/#/c/586525/3/neutron/agent/rpc.py@87","commit_id":"e22e4df5fc5b31ffa87db75de71441e3e2552776"}]}
