vmware-nsx/quantum
Yong Sheng Gong 37b1448ca6 Remove the reference to non existing exception by linuxbridgeplugin.
Bug #1006221

According to plugin api of QuantumPluginBase, unplug_interface
should only raise exception.NetworkNotFound and exception.PortNotFound.
To unplug a non-attached port should not raise Exception.
After this modification, to unplug an non-attached port will have no impact.
In addition, I remove the 'network = db.network_get(net_id)' since
 'db.validate_port_ownership(tenant_id, net_id, port_id)' statement has taken
care of the check.

patch 2: split test case to test it exclusively compared to patch 1.
patch 3: remove added test statement in previous test case

Change-Id: I437c3f13fa7a81aeabcdfca7ba03e94a0a7aa32b
2012-05-31 07:51:25 +08:00
..
api fix some pylint warnings. 2012-05-26 06:15:20 +08:00
common fix some pylint warnings. 2012-05-26 06:15:20 +08:00
db blueprint database-common 2012-05-10 05:01:57 -04:00
extensions fix some pylint warnings. 2012-05-26 06:15:20 +08:00
openstack Parse linuxbridge plugins using openstack.common.cfg 2012-05-29 09:54:29 -04:00
plugins Remove the reference to non existing exception by linuxbridgeplugin. 2012-05-31 07:51:25 +08:00
rootwrap Update codebase for HACKING compliance. 2012-05-01 11:46:24 -07:00
server Update codebase for HACKING compliance. 2012-05-01 11:46:24 -07:00
tests Merge "fix errors in database test cases." 2012-05-29 20:18:32 +00:00
__init__.py Update codebase for HACKING compliance. 2012-05-01 11:46:24 -07:00
manager.py Cleaned up log usage. 2012-05-04 21:38:29 -07:00
quantum_plugin_base.py Update codebase for HACKING compliance. 2012-05-01 11:46:24 -07:00
service.py fix some pylint warnings. 2012-05-26 06:15:20 +08:00
version.py Open Folsom 2012-03-16 23:19:22 +01:00
wsgi.py fix some pylint warnings. 2012-05-26 06:15:20 +08:00