)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"c2b478a6ceab9fba8484664e0a392a3fca4bbee8","unresolved":false,"context_lines":[{"line_number":11,"context_line":"available in the deployment. That lets us save N-1 queries"},{"line_number":12,"context_line":"where N is the number of drivers installed."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: I5db0d73245b4e1c1bc46c063c0689ac3c5ea2bea"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"fa7ab95a_526292d9","line":14,"updated":"2016-08-31 15:22:00.000000000","message":"should have mentioned the blueprint.","commit_id":"b3c2a4aeaed228d492a57588724d1fd5c3b12075"}],"neutron/services/trunk/utils.py":[{"author":{"_account_id":6788,"name":"Rossella Sblendido","email":"rsblendido@suse.com","username":"rossella-o"},"change_message_id":"f4c09a16211f1d1fccc5916198faf28b940a4ee7","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    # For an agent-based driver, both interface and agent compat is required."},{"line_number":60,"context_line":"    return ("},{"line_number":61,"context_line":"        is_interface_compatible and"},{"line_number":62,"context_line":"        driver.agent_type in get_agent_types_by_host(context, binding_host))"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ac371cc_ab644a49","line":62,"updated":"2016-08-14 12:31:44.000000000","message":"what I meant is that we don\u0027t need to execute a query for each driver. The caller of is_driver_compatible should get the agent_types from get_agent_types_by_host and pass them as arg to is_driver_compatible. is_driver_compatible doesn\u0027t need to run the query. Since the host doesn\u0027t change, one query should be enough for all drivers.","commit_id":"825c4680560fb48fcf5f6151d97cdae0e16e4b22"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"b683409df5179aa9273ec707a6ddceed26c63b68","unresolved":false,"context_lines":[{"line_number":59,"context_line":"    # For an agent-based driver, both interface and agent compat is required."},{"line_number":60,"context_line":"    return ("},{"line_number":61,"context_line":"        is_interface_compatible and"},{"line_number":62,"context_line":"        driver.agent_type in get_agent_types_by_host(context, binding_host))"}],"source_content_type":"text/x-python","patch_set":1,"id":"3ac371cc_e5ff3065","line":62,"in_reply_to":"3ac371cc_ab644a49","updated":"2016-08-16 14:36:58.000000000","message":"you\u0027re right, I am an idiot.","commit_id":"825c4680560fb48fcf5f6151d97cdae0e16e4b22"}]}
