]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Improve validate of remove_router_interface
authorwatanabe.isao <zou.yun@jp.fujitsu.com>
Fri, 30 Jan 2015 08:56:24 +0000 (17:56 +0900)
committerwatanabe.isao <zou.yun@jp.fujitsu.com>
Fri, 13 Mar 2015 04:22:06 +0000 (13:22 +0900)
commit405baef29ffae96bcf5410d5d93217f219a1bfda
treedc1c5994af3d1449ec243251dda5a4b2a1165cf5
parent48637c8933a0753b316eaf472a4a26ac41a4e009
Improve validate of remove_router_interface

Improve validate of remove_router_interface as described in
API referrence [1].

[1]http://developer.openstack.org/api-ref-networking-v2.html
   PUT: /v2.0/routers/{router_id}/add_router_interface
   PUT: /v2.0/routers/{router_id}/remove_router_interface

Also, add missing unit tests to cover a [add; delete] time
[none; subnet id only; port id only; both ids] matrices.

Change-Id: Ie4ddf61c4a4930a58d0817119566d2285a394065
Closes-Bug: #1416308
neutron/db/l3_db.py
neutron/db/l3_dvr_db.py
neutron/tests/unit/test_l3_plugin.py