]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: remove unnecessary checks on network delete
authorSalvatore Orlando <salv.orlando@gmail.com>
Tue, 8 Jul 2014 23:16:39 +0000 (16:16 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 8 Jul 2014 23:16:39 +0000 (16:16 -0700)
commitef3222d09030b5e25ed558179f9c7faab7f8e256
tree95ac366183b843ccf636b0513fb1824c761b4c4f
parent74daab5de36141b9662c120956cd442fc867ed3c
NSX: remove unnecessary checks on network delete

Since commit b50e66f router interfaces are not deleted
automatically when the network hosting them is deleted.

The NSX plugin still has additional logic to ensure all the
corresponding backend resources have been deleted as well.
Such logic is now obsolete and can be removed. Moreover it
also wasteful as it perform queries for retrieving NSX
resource identifiers.

This patch also amends a few related log statement to make
them clearer.

Change-Id: If3d8d98096a8363b216707f2558e37c80f58e515
Closes-Bug: #1339401
neutron/plugins/vmware/plugins/base.py