)]}'
{"neutron/db/db_base_plugin_common.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"f1dff5cab5d1719789c8c2ace91a1cb6c1cb8e77","unresolved":false,"context_lines":[{"line_number":323,"context_line":""},{"line_number":324,"context_line":"    def _port_query_hook(self, context, original_model, query):"},{"line_number":325,"context_line":"        # we need to outerjoin to networks if the model query scope"},{"line_number":326,"context_line":"        # is necessary so we can filter based on network id. without"},{"line_number":327,"context_line":"        # this the conditions in the filter hook cause the networks"},{"line_number":328,"context_line":"        # table to be added to the FROM statement so we get lots of"},{"line_number":329,"context_line":"        # duplicated rows that break the COUNT operation"}],"source_content_type":"text/x-python","patch_set":2,"id":"1af94dfe_11123357","line":326,"updated":"2016-03-18 01:21:52.000000000","message":"Without","commit_id":"ff4067af5ba52cc205f38d12cdf68bd454445ced"}],"neutron/tests/unit/db/test_db_base_plugin_v2.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"f1dff5cab5d1719789c8c2ace91a1cb6c1cb8e77","unresolved":false,"context_lines":[{"line_number":1033,"context_line":"            ports \u003d self.deserialize(self.fmt, res)"},{"line_number":1034,"context_line":"            self.assertEqual(0, len(ports[\u0027ports\u0027]))"},{"line_number":1035,"context_line":""},{"line_number":1036,"context_line":"    def test_get_ports_count(self):"},{"line_number":1037,"context_line":"        with self.port(), self.port(), self.port(), self.port() as p:"},{"line_number":1038,"context_line":"            tenid \u003d p[\u0027port\u0027][\u0027tenant_id\u0027]"},{"line_number":1039,"context_line":"            ctx \u003d context.Context(user_id\u003dNone, tenant_id\u003dtenid,"}],"source_content_type":"text/x-python","patch_set":2,"id":"1af94dfe_4e01ba05","line":1036,"updated":"2016-03-18 01:21:52.000000000","message":"it\u0027d be nice to explain how this would fail in case the hook is not in place and why you chose 4 rather than 3. In the absence of the hook, the count would be invalid at two port creation.","commit_id":"ff4067af5ba52cc205f38d12cdf68bd454445ced"}]}
