]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Prompted error message is not correct for PortNotFound
authorYang Yu <yuyangbj@cn.ibm.com>
Mon, 22 Jul 2013 06:14:36 +0000 (14:14 +0800)
committerYang Yu <yuyangbj@cn.ibm.com>
Wed, 31 Jul 2013 05:48:53 +0000 (00:48 -0500)
commit88dc6ea2eb99aa184eec5873218f3ab491abbfd1
tree31b12e248b387a2c913af18da6e6e7863acdda3f
parent335f4f0366e78573b7a6f9d051248b363fdc3f9b
Prompted error message is not correct for PortNotFound

When deleting a non-existing port, the error message would be
"Port XXXX could not be found on network None" for some plugins.
"network None" is not correct enough here.

Fixes bug #1203631

Change-Id: Ie5d1ec99a2726ff3fec07f83f83a12d24613ae57
neutron/common/exceptions.py
neutron/db/db_base_plugin_v2.py
neutron/plugins/nicira/nvplib.py
neutron/plugins/ryu/db/api_v2.py
neutron/tests/unit/nicira/test_nvplib.py