)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"1cc0914961b5866855074dccc6460c1a34a91fde","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Ivar Lazzaro \u003civarlazzaro@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-08-18 19:31:30 -0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"handle gw_info outside of the db transaction on router creation"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Move the gateway interface creation outside the DB transaction"},{"line_number":10,"context_line":"to avoid lock timeout."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa1b9901_7210fc4e","line":7,"updated":"2015-08-19 04:50:05.000000000","message":"Is this happening in the gate?","commit_id":"836936c01a8972eb4fe84a937c4a411602c79e29"},{"author":{"_account_id":7987,"name":"Ivar Lazzaro","email":"ivarlazzaro@gmail.com","username":"Ivar"},"change_message_id":"d94981f5ae3b2cd6b42ee1707220782cef282778","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Ivar Lazzaro \u003civarlazzaro@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2015-08-18 19:31:30 -0700"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"handle gw_info outside of the db transaction on router creation"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Move the gateway interface creation outside the DB transaction"},{"line_number":10,"context_line":"to avoid lock timeout."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"fa1b9901_85a3e1b1","line":7,"in_reply_to":"fa1b9901_7210fc4e","updated":"2015-08-19 18:52:36.000000000","message":"Not that I\u0027m aware of.\nHowever, although vendor plugins can simply override the method if needed, I think it would be healthy to avoid running a direct plugin calls (potentially slow) within a DB transaction to avoid this potential issue.\n\nA similar issue is reported here [0]\n\n[0] https://bugs.launchpad.net/neutron/+bug/1479558","commit_id":"836936c01a8972eb4fe84a937c4a411602c79e29"}],"neutron/db/l3_db.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"1cc0914961b5866855074dccc6460c1a34a91fde","unresolved":false,"context_lines":[{"line_number":176,"context_line":"        tenant_id \u003d self._get_tenant_id_for_create(context, r)"},{"line_number":177,"context_line":"        router_db \u003d self._create_router_db(context, r, tenant_id)"},{"line_number":178,"context_line":"        if gw_info:"},{"line_number":179,"context_line":"            self._update_router_gw_info(context, router_db[\u0027id\u0027],"},{"line_number":180,"context_line":"                                        gw_info, router\u003drouter_db)"},{"line_number":181,"context_line":"        return self._make_router_dict(router_db)"},{"line_number":182,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_f203ac0b","line":179,"updated":"2015-08-19 04:50:05.000000000","message":"Have you considered what happens in case of failures on gateway update? The existing code preserved atomicity of the entire operation.","commit_id":"836936c01a8972eb4fe84a937c4a411602c79e29"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"fdc1bfc7c5a3dd7f0d0f141f8c74ced64a4e4c5f","unresolved":false,"context_lines":[{"line_number":176,"context_line":"        tenant_id \u003d self._get_tenant_id_for_create(context, r)"},{"line_number":177,"context_line":"        router_db \u003d self._create_router_db(context, r, tenant_id)"},{"line_number":178,"context_line":"        if gw_info:"},{"line_number":179,"context_line":"            self._update_router_gw_info(context, router_db[\u0027id\u0027],"},{"line_number":180,"context_line":"                                        gw_info, router\u003drouter_db)"},{"line_number":181,"context_line":"        return self._make_router_dict(router_db)"},{"line_number":182,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_52579cc9","line":179,"in_reply_to":"fa1b9901_20968393","updated":"2015-08-20 15:45:09.000000000","message":"I think deleting the resource on error should be acceptable. Please also add a unit test to cover this case.","commit_id":"836936c01a8972eb4fe84a937c4a411602c79e29"},{"author":{"_account_id":7987,"name":"Ivar Lazzaro","email":"ivarlazzaro@gmail.com","username":"Ivar"},"change_message_id":"d94981f5ae3b2cd6b42ee1707220782cef282778","unresolved":false,"context_lines":[{"line_number":176,"context_line":"        tenant_id \u003d self._get_tenant_id_for_create(context, r)"},{"line_number":177,"context_line":"        router_db \u003d self._create_router_db(context, r, tenant_id)"},{"line_number":178,"context_line":"        if gw_info:"},{"line_number":179,"context_line":"            self._update_router_gw_info(context, router_db[\u0027id\u0027],"},{"line_number":180,"context_line":"                                        gw_info, router\u003drouter_db)"},{"line_number":181,"context_line":"        return self._make_router_dict(router_db)"},{"line_number":182,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"fa1b9901_20968393","line":179,"in_reply_to":"fa1b9901_f203ac0b","updated":"2015-08-19 18:52:36.000000000","message":"Good point, as is now it will only rollback the gateway part if it fails, meaning that the router will still be created/visible and updatable if needed. However, considering that the user will get back an error in this case, it\u0027s better that we keep it consistent by also deleting the router itself.\n\nThe way ML2 solves this problem is by deleting the resource on error, would that be an acceptable solution here?\n\nNote that we have a similar problem in the update_router method below  (L191-212).","commit_id":"836936c01a8972eb4fe84a937c4a411602c79e29"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"cb3efd52d1ced0f14b07b791082749adbac1a703","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":184,"context_line":"                LOG.exception(_LE(\"An exception occurred while creating \""},{"line_number":185,"context_line":"                                  \"the router: %s\"), router)"},{"line_number":186,"context_line":"                self.delete_router(context, router_db.id)"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"        return self._make_router_dict(router_db)"},{"line_number":189,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_2ebdc3d7","line":186,"updated":"2015-08-21 06:08:07.000000000","message":"Seems context.session.delete(router_db) should be enough","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":7987,"name":"Ivar Lazzaro","email":"ivarlazzaro@gmail.com","username":"Ivar"},"change_message_id":"26d4cd18574f7ee674f8ad226de1b1223cc45b74","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":184,"context_line":"                LOG.exception(_LE(\"An exception occurred while creating \""},{"line_number":185,"context_line":"                                  \"the router: %s\"), router)"},{"line_number":186,"context_line":"                self.delete_router(context, router_db.id)"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"        return self._make_router_dict(router_db)"},{"line_number":189,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_4bbd5a01","line":186,"in_reply_to":"fa1b9901_2ebdc3d7","updated":"2015-08-21 21:20:37.000000000","message":"I believe that a complete delete is more appropriate in this case, especially as new functionalities are added within the try block. This will ensure a complete cleanup and not just the deletion of the database entry.","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":7016,"name":"Swaminathan Vasudevan","email":"swvasude@cisco.com","username":"souminathan"},"change_message_id":"bcac0963d281d052864dd7818c64b3f3b3000e94","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":184,"context_line":"                LOG.exception(_LE(\"An exception occurred while creating \""},{"line_number":185,"context_line":"                                  \"the router: %s\"), router)"},{"line_number":186,"context_line":"                self.delete_router(context, router_db.id)"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"        return self._make_router_dict(router_db)"},{"line_number":189,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa1b9901_b103cf0f","line":186,"updated":"2015-08-25 15:55:29.000000000","message":"Is this right to delete_router, that was created successfully just because the gateway update failed?","commit_id":"8cb0843ed10f7e3d96d760b4602d9ce5471a21bb"},{"author":{"_account_id":7016,"name":"Swaminathan Vasudevan","email":"swvasude@cisco.com","username":"souminathan"},"change_message_id":"6c40e269c0f36bf354c20d8a9bc98438e5acfeb3","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":184,"context_line":"                LOG.exception(_LE(\"An exception occurred while creating \""},{"line_number":185,"context_line":"                                  \"the router: %s\"), router)"},{"line_number":186,"context_line":"                self.delete_router(context, router_db.id)"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"        return self._make_router_dict(router_db)"},{"line_number":189,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa1b9901_38af9b2b","line":186,"in_reply_to":"fa1b9901_943d5991","updated":"2015-08-25 18:34:37.000000000","message":"thanks go it.","commit_id":"8cb0843ed10f7e3d96d760b4602d9ce5471a21bb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"acb6f89d26b19c5fb8d0c6ebe8cc713fc5ea753c","unresolved":false,"context_lines":[{"line_number":183,"context_line":"            with excutils.save_and_reraise_exception():"},{"line_number":184,"context_line":"                LOG.exception(_LE(\"An exception occurred while creating \""},{"line_number":185,"context_line":"                                  \"the router: %s\"), router)"},{"line_number":186,"context_line":"                self.delete_router(context, router_db.id)"},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"        return self._make_router_dict(router_db)"},{"line_number":189,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa1b9901_943d5991","line":186,"in_reply_to":"fa1b9901_b103cf0f","updated":"2015-08-25 16:07:38.000000000","message":"that\u0027s to preserve the all-or-none logic that used to exist.","commit_id":"8cb0843ed10f7e3d96d760b4602d9ce5471a21bb"}],"neutron/tests/unit/db/test_l3_dvr_db.py":[{"author":{"_account_id":7016,"name":"Swaminathan Vasudevan","email":"swvasude@cisco.com","username":"souminathan"},"change_message_id":"3f4adf0229d809ac5d5a78614b88fe9d46749707","unresolved":false,"context_lines":[{"line_number":652,"context_line":"        action \u003d \u0027del\u0027"},{"line_number":653,"context_line":"        device_owner \u003d l3_const.DEVICE_OWNER_LOADBALANCER"},{"line_number":654,"context_line":"        self._test_dvr_vmarp_table_update(device_owner, action)"},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"    def test_create_router_gateway_fails(self):"},{"line_number":657,"context_line":"        # Force _update_router_gw_info failure"},{"line_number":658,"context_line":"        self.mixin._update_router_gw_info \u003d mock.Mock("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_e3d13224","line":655,"updated":"2015-08-20 21:37:53.000000000","message":"Do you think this is the right place for the unit tests?","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":7987,"name":"Ivar Lazzaro","email":"ivarlazzaro@gmail.com","username":"Ivar"},"change_message_id":"26d4cd18574f7ee674f8ad226de1b1223cc45b74","unresolved":false,"context_lines":[{"line_number":652,"context_line":"        action \u003d \u0027del\u0027"},{"line_number":653,"context_line":"        device_owner \u003d l3_const.DEVICE_OWNER_LOADBALANCER"},{"line_number":654,"context_line":"        self._test_dvr_vmarp_table_update(device_owner, action)"},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"    def test_create_router_gateway_fails(self):"},{"line_number":657,"context_line":"        # Force _update_router_gw_info failure"},{"line_number":658,"context_line":"        self.mixin._update_router_gw_info \u003d mock.Mock("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_2b9fc6b5","line":655,"in_reply_to":"fa1b9901_0e28ff31","updated":"2015-08-21 21:20:37.000000000","message":"I\u0027m not really seeing any test_l3_db module... Am I missing something? What would be the right place?","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":841,"name":"Akihiro Motoki","email":"amotoki@gmail.com","username":"amotoki"},"change_message_id":"c855fe99cbd306a6e0ff5e1a2324ef50d7cfc4e6","unresolved":false,"context_lines":[{"line_number":652,"context_line":"        action \u003d \u0027del\u0027"},{"line_number":653,"context_line":"        device_owner \u003d l3_const.DEVICE_OWNER_LOADBALANCER"},{"line_number":654,"context_line":"        self._test_dvr_vmarp_table_update(device_owner, action)"},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"    def test_create_router_gateway_fails(self):"},{"line_number":657,"context_line":"        # Force _update_router_gw_info failure"},{"line_number":658,"context_line":"        self.mixin._update_router_gw_info \u003d mock.Mock("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_d09260f6","line":655,"in_reply_to":"fa1b9901_2b9fc6b5","updated":"2015-08-23 10:09:11.000000000","message":"tests/unit/extensions/test_l3.py covers l3_db.","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"cb3efd52d1ced0f14b07b791082749adbac1a703","unresolved":false,"context_lines":[{"line_number":652,"context_line":"        action \u003d \u0027del\u0027"},{"line_number":653,"context_line":"        device_owner \u003d l3_const.DEVICE_OWNER_LOADBALANCER"},{"line_number":654,"context_line":"        self._test_dvr_vmarp_table_update(device_owner, action)"},{"line_number":655,"context_line":""},{"line_number":656,"context_line":"    def test_create_router_gateway_fails(self):"},{"line_number":657,"context_line":"        # Force _update_router_gw_info failure"},{"line_number":658,"context_line":"        self.mixin._update_router_gw_info \u003d mock.Mock("}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_0e28ff31","line":655,"in_reply_to":"fa1b9901_e3d13224","updated":"2015-08-21 06:08:07.000000000","message":"+1 this is unrelated to DVR","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"cb3efd52d1ced0f14b07b791082749adbac1a703","unresolved":false,"context_lines":[{"line_number":665,"context_line":"        routers \u003d self.mixin.get_routers(self.ctx)"},{"line_number":666,"context_line":"        self.assertEqual(1, len(routers))"},{"line_number":667,"context_line":""},{"line_number":668,"context_line":"        # Verify only previously created router persists on failure"},{"line_number":669,"context_line":"        data[\u0027router\u0027].update(gw_info)"},{"line_number":670,"context_line":"        self.assertRaises(exceptions.NeutronException,"},{"line_number":671,"context_line":"                          self.mixin.create_router, self.ctx, data)"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_4e959730","line":668,"updated":"2015-08-21 06:08:07.000000000","message":"what other routers might appear after update?","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":7987,"name":"Ivar Lazzaro","email":"ivarlazzaro@gmail.com","username":"Ivar"},"change_message_id":"26d4cd18574f7ee674f8ad226de1b1223cc45b74","unresolved":false,"context_lines":[{"line_number":665,"context_line":"        routers \u003d self.mixin.get_routers(self.ctx)"},{"line_number":666,"context_line":"        self.assertEqual(1, len(routers))"},{"line_number":667,"context_line":""},{"line_number":668,"context_line":"        # Verify only previously created router persists on failure"},{"line_number":669,"context_line":"        data[\u0027router\u0027].update(gw_info)"},{"line_number":670,"context_line":"        self.assertRaises(exceptions.NeutronException,"},{"line_number":671,"context_line":"                          self.mixin.create_router, self.ctx, data)"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_6b8cde7f","line":668,"in_reply_to":"fa1b9901_4e959730","updated":"2015-08-21 21:20:37.000000000","message":"That\u0027s not an update testing, it\u0027s a creation testing, I need to verify that no new router is actually created given the failure.","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"cb3efd52d1ced0f14b07b791082749adbac1a703","unresolved":false,"context_lines":[{"line_number":666,"context_line":"        self.assertEqual(1, len(routers))"},{"line_number":667,"context_line":""},{"line_number":668,"context_line":"        # Verify only previously created router persists on failure"},{"line_number":669,"context_line":"        data[\u0027router\u0027].update(gw_info)"},{"line_number":670,"context_line":"        self.assertRaises(exceptions.NeutronException,"},{"line_number":671,"context_line":"                          self.mixin.create_router, self.ctx, data)"},{"line_number":672,"context_line":"        routers \u003d self.mixin.get_routers(self.ctx)"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_ee802bf9","line":669,"updated":"2015-08-21 06:08:07.000000000","message":"you should test router creation with gw info rather then router update","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"021ce8aa192767ec024f1a953af09433dc0503d3","unresolved":false,"context_lines":[{"line_number":666,"context_line":"        self.assertEqual(1, len(routers))"},{"line_number":667,"context_line":""},{"line_number":668,"context_line":"        # Verify only previously created router persists on failure"},{"line_number":669,"context_line":"        data[\u0027router\u0027].update(gw_info)"},{"line_number":670,"context_line":"        self.assertRaises(exceptions.NeutronException,"},{"line_number":671,"context_line":"                          self.mixin.create_router, self.ctx, data)"},{"line_number":672,"context_line":"        routers \u003d self.mixin.get_routers(self.ctx)"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_99bac56d","line":669,"in_reply_to":"fa1b9901_ababd6d5","updated":"2015-08-24 08:43:09.000000000","message":"ah, sorry, was confused with router creation without gw info L663-666","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"},{"author":{"_account_id":7987,"name":"Ivar Lazzaro","email":"ivarlazzaro@gmail.com","username":"Ivar"},"change_message_id":"26d4cd18574f7ee674f8ad226de1b1223cc45b74","unresolved":false,"context_lines":[{"line_number":666,"context_line":"        self.assertEqual(1, len(routers))"},{"line_number":667,"context_line":""},{"line_number":668,"context_line":"        # Verify only previously created router persists on failure"},{"line_number":669,"context_line":"        data[\u0027router\u0027].update(gw_info)"},{"line_number":670,"context_line":"        self.assertRaises(exceptions.NeutronException,"},{"line_number":671,"context_line":"                          self.mixin.create_router, self.ctx, data)"},{"line_number":672,"context_line":"        routers \u003d self.mixin.get_routers(self.ctx)"}],"source_content_type":"text/x-python","patch_set":3,"id":"fa1b9901_ababd6d5","line":669,"in_reply_to":"fa1b9901_ee802bf9","updated":"2015-08-21 21:20:37.000000000","message":"I am testing creation, see L670, the above update is a dictionary update for user data.","commit_id":"c92c1ed3cbfb14bb2245ff48af51fb2327fb1465"}],"neutron/tests/unit/extensions/test_l3.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"acb6f89d26b19c5fb8d0c6ebe8cc713fc5ea753c","unresolved":false,"context_lines":[{"line_number":2488,"context_line":"        gw_info \u003d {\u0027external_gateway_info\u0027: {\u0027network_id\u0027: \u0027some_uuid\u0027}}"},{"line_number":2489,"context_line":""},{"line_number":2490,"context_line":"        # Verify router normally created without gw_info"},{"line_number":2491,"context_line":"        r1 \u003d plugin.create_router(ctx, data)"},{"line_number":2492,"context_line":"        routers \u003d plugin.get_routers(ctx)"},{"line_number":2493,"context_line":"        self.assertEqual(1, len(routers))"},{"line_number":2494,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa1b9901_34cecd2d","line":2491,"updated":"2015-08-25 16:07:38.000000000","message":"can\u0027t we just have a single failure and assert that there are no routers? it sounds less expensive and aims at verifying the same coverage.","commit_id":"8cb0843ed10f7e3d96d760b4602d9ce5471a21bb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"1f2766edec5f188b59389f0e70542c1717cefcb9","unresolved":false,"context_lines":[{"line_number":2488,"context_line":"        gw_info \u003d {\u0027external_gateway_info\u0027: {\u0027network_id\u0027: \u0027some_uuid\u0027}}"},{"line_number":2489,"context_line":""},{"line_number":2490,"context_line":"        # Verify router normally created without gw_info"},{"line_number":2491,"context_line":"        r1 \u003d plugin.create_router(ctx, data)"},{"line_number":2492,"context_line":"        routers \u003d plugin.get_routers(ctx)"},{"line_number":2493,"context_line":"        self.assertEqual(1, len(routers))"},{"line_number":2494,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa1b9901_eab14c90","line":2491,"in_reply_to":"fa1b9901_076cb933","updated":"2015-08-25 16:51:14.000000000","message":"shall we flip our votes, then? :)","commit_id":"8cb0843ed10f7e3d96d760b4602d9ce5471a21bb"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"1c1e89c8c950b6705531c421bb4caf8ae4194a7c","unresolved":false,"context_lines":[{"line_number":2488,"context_line":"        gw_info \u003d {\u0027external_gateway_info\u0027: {\u0027network_id\u0027: \u0027some_uuid\u0027}}"},{"line_number":2489,"context_line":""},{"line_number":2490,"context_line":"        # Verify router normally created without gw_info"},{"line_number":2491,"context_line":"        r1 \u003d plugin.create_router(ctx, data)"},{"line_number":2492,"context_line":"        routers \u003d plugin.get_routers(ctx)"},{"line_number":2493,"context_line":"        self.assertEqual(1, len(routers))"},{"line_number":2494,"context_line":""}],"source_content_type":"text/x-python","patch_set":9,"id":"fa1b9901_076cb933","line":2491,"in_reply_to":"fa1b9901_34cecd2d","updated":"2015-08-25 16:27:02.000000000","message":"+1 this is what confused me when I was thinking the test is not quite testing what it should","commit_id":"8cb0843ed10f7e3d96d760b4602d9ce5471a21bb"}]}
