
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
# -- Welcome! You have come across a cloud computing network fabric controller. It has identified itself as "Quantum." It aims to tame your (cloud) networking! # -- External Resources: The homepage for Quantum is: http://launchpad.net/quantum . Use this site for downloading the latest code, asking for help, and filing bugs. The latest and most in-depth documentation on how to use Quantum is available at: http://docs.openstack.org . This includes: Quantum Administrator Guide http://docs.openstack.org/incubation/openstack-network/admin/content/ Quantum API Reference: http://docs.openstack.org/incubation/openstack-network/developer/quantum-api-1.0/content/ The start of some developer documentation is available at: http://wiki.openstack.org/QuantumDevelopment For help using or hacking on Quantum, you can send mail to netstack@lists.launchpad.net .
Description
Languages
Python
98.5%
Shell
1.5%