]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
NSX: Avoid floating IP status reset
authorSalvatore Orlando <salv.orlando@gmail.com>
Fri, 15 Aug 2014 11:20:26 +0000 (04:20 -0700)
committerSalvatore Orlando <salv.orlando@gmail.com>
Fri, 15 Aug 2014 14:56:03 +0000 (07:56 -0700)
commit58744ee4db6c727e41e79f498e75bdad8913f036
tree6395d5570f7af44a52a48092ec370643b6917a11
parentf9981d0495553563d369a044e62ae3941cef3275
NSX: Avoid floating IP status reset

The method for setting the floating IP status in the NSX plugin
has a flaw that causes in some cases the status to be reset.
This patch removes this bug and also protects against regression
adding status check in the unit test covering floating ip
creation.

This patch also moves the above mentioned unit test in a more
suitable place in the test same module.

Change-Id: Ib08c421ade20ce23b5c08145203a2df6a8f3efa5
Closes-Bug: #1357514
neutron/plugins/vmware/plugins/base.py
neutron/tests/unit/test_l3_plugin.py