]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make Neutron NVP plugin future-versions friendly
authorarmando-migliaccio <amigliaccio@nicira.com>
Tue, 27 Aug 2013 19:53:58 +0000 (12:53 -0700)
committerarmando-migliaccio <amigliaccio@nicira.com>
Tue, 27 Aug 2013 20:31:18 +0000 (13:31 -0700)
commit80df449aa5a4753705b64cb68492508c91efd580
tree26326d8c4dcca7103d443395b38924b35b19ed24
parent6ae42583ebb2996829586a1a6ee601cb54767d63
Make Neutron NVP plugin future-versions friendly

This patch enables the plugin to deal correctly with
newer versions of the NVP platform; this is done by
allowing the plugin to fall back to the closest known
version of the NVP platform. This is acceptable behavior
as L2/L3 operations implemented by the platform are most
certainly backward compatible.

This patch also improves test coverage for this part of the
code, which is critical to the correct behavior of the plugin.

Fixes bug #1217479

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