]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix error code for deletion of router which is in use by vpnservice
authorNachi Ueno <nachi@ntti3.com>
Wed, 11 Sep 2013 23:24:13 +0000 (16:24 -0700)
committerNachi Ueno <nachi@ntti3.com>
Thu, 12 Sep 2013 18:05:56 +0000 (11:05 -0700)
commitdf1d4ca3d5c9158468866f7145a18ca46cd92e18
tree02ac37beba281020231f1c5d3fd2f37d5ebe422c
parent494c97a413371b443c8e8d38abfb4dfd02090e86
Fix error code for deletion of router which is in use by vpnservice

In this commit, we check router is in use by a vpnservice or not when
we delete router.

Fixes bug 1224174

Change-Id: I55a4b9b93715fbb36816c69729d88eb494bcf15e
neutron/db/l3_db.py
neutron/db/vpn/vpn_db.py
neutron/extensions/vpnaas.py
neutron/tests/unit/db/vpn/test_db_vpnaas.py