]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Do not call remove_router_lport in remove_router_interface
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 13 Aug 2013 14:08:27 +0000 (07:08 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 13 Aug 2013 14:34:35 +0000 (07:34 -0700)
commitd97b56086c0442c58b02c58afb9dd0ed32d6f748
tree24d7d6c6e67530e912ff11051e745d88467f7f67
parent334e646170d2fae302bf3132033706daf66020a6
Do not call remove_router_lport in remove_router_interface

Bug 1211149

The call will cause a failure as the router port is already removed
by _nvp_delete_router_port.
This patch also add the support on the fake nvp api client to verify
this kind of condition.

Change-Id: Ieb5ca5c239ccc993b96dd5bad0b412211b45417e
neutron/plugins/nicira/NeutronPlugin.py
neutron/tests/unit/nicira/etc/fake_get_lswitch_lport.json
neutron/tests/unit/nicira/fake_nvpapiclient.py