]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Ensure port get works when NVP mapping not stored in Quantum DB
authorSalvatore Orlando <salv.orlando@gmail.com>
Mon, 11 Mar 2013 12:55:51 +0000 (13:55 +0100)
committerSalvatore Orlando <salv.orlando@gmail.com>
Wed, 13 Mar 2013 02:06:49 +0000 (03:06 +0100)
commit40df793e9f9740bf2b53fc6f1fdcb820d7ad8b35
treee7d8e805e021de4a6fa612bd7a256e4f8e92c8e7
parent6015bb22e7b4eae68445c7c086348abdcaeae93d
Ensure port get works when NVP mapping not stored in Quantum DB

Bug 1153616

If the entry for the mapping between a quantum and a NVP port identifier
is not found in the Quantum DB, search the port on NVP, and, if found,
add the mapping entry.
This ensures upgraded folsom databases keep working with Grizzly code.

Change-Id: I74943e8271f522dcd21c1c34b0159dd61bb66e76
quantum/plugins/nicira/nicira_nvp_plugin/QuantumPlugin.py
quantum/plugins/nicira/nicira_nvp_plugin/nvplib.py
quantum/tests/unit/nicira/test_nvplib.py