)]}'
{"neutron/db/l3_db.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"06d442c3ce1d4359eb268d8fe421a7201d2da26f","unresolved":false,"context_lines":[{"line_number":1842,"context_line":"        \"\"\"Update the model to support the dvr case of a router.\"\"\""},{"line_number":1843,"context_line":"        for rp in router_db.attached_ports.filter_by(port_type\u003dold_owner):"},{"line_number":1844,"context_line":"            rp.port_type \u003d new_owner"},{"line_number":1845,"context_line":"            rp.port.device_owner \u003d new_owner"},{"line_number":1846,"context_line":""},{"line_number":1847,"context_line":""},{"line_number":1848,"context_line":"def _prevent_l3_port_delete_callback(resource, event, trigger, **kwargs):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a74a57a_0170fba2","line":1845,"updated":"2016-11-29 14:32:53.000000000","message":"this is updating a port without going through the core plugin so stuff won\u0027t be relayed to ML2 drivers correctly.","commit_id":"d7a46644b2d82222f41d9ec132603737ce618d72"}],"neutron/db/l3_dvr_db.py":[{"author":{"_account_id":7787,"name":"Kevin Benton","email":"kevin@benton.pub","username":"blak111"},"change_message_id":"06d442c3ce1d4359eb268d8fe421a7201d2da26f","unresolved":false,"context_lines":[{"line_number":126,"context_line":"            new_owner \u003d const.DEVICE_OWNER_DVR_INTERFACE"},{"line_number":127,"context_line":"            for rp in router_db.attached_ports.filter_by(port_type\u003dold_owner):"},{"line_number":128,"context_line":"                rp.port_type \u003d new_owner"},{"line_number":129,"context_line":"                rp.port.device_owner \u003d new_owner"},{"line_number":130,"context_line":""},{"line_number":131,"context_line":"    def _update_router_db(self, context, router_id, data):"},{"line_number":132,"context_line":"        with context.session.begin(subtransactions\u003dTrue):"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a74a57a_81e16b2c","side":"PARENT","line":129,"updated":"2016-11-29 14:32:53.000000000","message":"oh, i see we were already doing it here. I guess it\u0027s not going to be worse then...","commit_id":"0c706d9eb6dd937c7d2f797e707868d4f464bb09"}],"neutron/tests/unit/db/test_l3_hamode_db.py":[{"author":{"_account_id":1131,"name":"Brian Haley","email":"haleyb.dev@gmail.com","username":"brian-haley"},"change_message_id":"0fb96c5ce2de19d13da9fc1e639d3019bc81fc03","unresolved":false,"context_lines":[{"line_number":1209,"context_line":""},{"line_number":1210,"context_line":"    def test_migration_from_ha(self):"},{"line_number":1211,"context_line":"        router \u003d self._create_router()"},{"line_number":1212,"context_line":"        self.assertTrue(router[\u0027ha\u0027])"},{"line_number":1213,"context_line":""},{"line_number":1214,"context_line":"        network_id \u003d self._create_network(self.core_plugin, self.admin_ctx)"},{"line_number":1215,"context_line":"        subnet \u003d self._create_subnet(self.core_plugin, self.admin_ctx,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a74a57a_ad09f696","line":1212,"updated":"2016-11-29 15:49:32.000000000","message":"So at the end there should be an assertFalse it seems.","commit_id":"d7a46644b2d82222f41d9ec132603737ce618d72"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"fc04c2bf57dfa4c2834ccdf517a412f5d3ced20c","unresolved":false,"context_lines":[{"line_number":1209,"context_line":""},{"line_number":1210,"context_line":"    def test_migration_from_ha(self):"},{"line_number":1211,"context_line":"        router \u003d self._create_router()"},{"line_number":1212,"context_line":"        self.assertTrue(router[\u0027ha\u0027])"},{"line_number":1213,"context_line":""},{"line_number":1214,"context_line":"        network_id \u003d self._create_network(self.core_plugin, self.admin_ctx)"},{"line_number":1215,"context_line":"        subnet \u003d self._create_subnet(self.core_plugin, self.admin_ctx,"}],"source_content_type":"text/x-python","patch_set":1,"id":"5a74a57a_8d97daea","line":1212,"in_reply_to":"5a74a57a_ad09f696","updated":"2016-11-29 15:53:28.000000000","message":"Done","commit_id":"d7a46644b2d82222f41d9ec132603737ce618d72"},{"author":{"_account_id":10267,"name":"venkata anil","email":"anilvenkata@redhat.com","username":"anil"},"change_message_id":"a05444f5c5ced833c1490e2a0ba8a0671312e9c2","unresolved":false,"context_lines":[{"line_number":1222,"context_line":"        router \u003d self._migrate_router(router[\u0027id\u0027], False)"},{"line_number":1223,"context_line":""},{"line_number":1224,"context_line":"        for port in router.attached_ports.all():"},{"line_number":1225,"context_line":"            self.assertEqual(constants.DEVICE_OWNER_ROUTER_INTF,"},{"line_number":1226,"context_line":"                             port.port_type)"},{"line_number":1227,"context_line":""},{"line_number":1228,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"5a74a57a_e83f6484","line":1225,"updated":"2016-11-29 13:47:37.000000000","message":"also check for port.port.device_owner","commit_id":"d7a46644b2d82222f41d9ec132603737ce618d72"},{"author":{"_account_id":12444,"name":"John Schwarz","email":"jschwarz@redhat.com","username":"jschwarz"},"change_message_id":"fc04c2bf57dfa4c2834ccdf517a412f5d3ced20c","unresolved":false,"context_lines":[{"line_number":1222,"context_line":"        router \u003d self._migrate_router(router[\u0027id\u0027], False)"},{"line_number":1223,"context_line":""},{"line_number":1224,"context_line":"        for port in router.attached_ports.all():"},{"line_number":1225,"context_line":"            self.assertEqual(constants.DEVICE_OWNER_ROUTER_INTF,"},{"line_number":1226,"context_line":"                             port.port_type)"},{"line_number":1227,"context_line":""},{"line_number":1228,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"5a74a57a_8dbefa62","line":1225,"in_reply_to":"5a74a57a_e83f6484","updated":"2016-11-29 15:53:28.000000000","message":"Done","commit_id":"d7a46644b2d82222f41d9ec132603737ce618d72"}]}
