]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Tweak version nvp/nsx version validation logic for router operations
authorarmando-migliaccio <armamig@gmail.com>
Thu, 30 Jan 2014 02:53:46 +0000 (18:53 -0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:12 +0000 (15:20 +0800)
commit30d37f1188391e0732020ac8818f470e54487bee
tree3baaf351b51abcfbc81092bcec8e78ff90d3f504
parent53f11c91772c76f9804754e438170429b9ca93fa
Tweak version nvp/nsx version validation logic for router operations

This patch improves how the nsx/nvp controller version is validated
prior to some router operations. This is done by greatly simplifying
the boolean condition.

Missing unit tests are also added for increased coverage.

Closes-bug: 1274361

Change-Id: I1b21444fd86b6e6a0c72bb5a43f1707934dd70e4
neutron/plugins/nicira/nvplib.py
neutron/tests/unit/nicira/test_nvplib.py