]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix usage of NexusPortBindingNotFound exception
authorRoman Podolyaka <rpodolyaka@mirantis.com>
Tue, 7 May 2013 18:57:53 +0000 (21:57 +0300)
committerRoman Podolyaka <rpodolyaka@mirantis.com>
Wed, 8 May 2013 19:10:48 +0000 (22:10 +0300)
commitf8f2a7f39ce6067e737ee6c47dfee8500d27d57d
tree29ae1562af359da68bfb601ec54cd936aef24da0
parentf94126739a48993efaf1d1439dcd3dadb0c69742
Fix usage of NexusPortBindingNotFound exception

Currently the required keyword argument (port_id)
is not passed when the exception is raised. In fact
this exception has never been raised before due to
another bug (1173131) so this change also has to
ensure it doesn't break any existing code using
functions which can possibly raise this exception.

Fixes bug 1174323.

Change-Id: I81f0b0def7db163fb0fbb5e03be511113c8d0be5
quantum/plugins/cisco/common/cisco_exceptions.py
quantum/plugins/cisco/db/nexus_db_v2.py
quantum/plugins/cisco/nexus/cisco_nexus_plugin_v2.py
quantum/plugins/cisco/tests/unit/test_database.py