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
(cherry picked from commit f055df48bf7a605463b28b66f5197f1275fb6948)
Reviewed: https:/ /review. openstack. org/73696 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=515874427a8 1176e55dbde916f fef2f8e3e58371
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit 515874427a81176 e55dbde916ffef2 f8e3e58371
Author: armando-migliaccio <email address hidden>
Date: Wed Jan 29 18:53:46 2014 -0800
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: I1b21444fd86b6e 6a0c72bb5a43f17 07934dd70e4 463b28b66f5197f 1275fb6948)
(cherry picked from commit f055df48bf7a605