nova/smoketests
Russell Bryant 3dc539bcb0 Don't allow EC2 removal of security group in use.
Fix bug 817872.

This patch modifies the behavior of removing security groups via the EC2
API to better match the EC2 API spec. The EC2 documentation says that a
group that is still in use can not be removed.

A new function has been added to the db API to find out whether a
particular security group is still in use.  "In use" is defined as
applied to an active instance, or applied to another group that has not
been deleted.

Unit tests have been updated to ensure that an error is raised when
these conditions are hit.

Change-Id: I5b3fdf1da213b04084fe266c1a6ed92e01cf1e19
2012-02-14 17:20:53 -05:00
..
__init__.py update copyrights 2010-07-15 01:28:51 -04:00
base.py Don't allow EC2 removal of security group in use. 2012-02-14 17:20:53 -05:00
flags.py fixes and refactoring of smoketests 2011-01-22 16:20:36 -08:00
proxy.sh Make proxy.sh work with both openbsd and traditional variants of netcat. 2011-03-18 11:27:38 +01:00
public_network_smoketests.py Fix for EC2 API part of bug 897164 2011-12-02 15:45:26 +01:00
random.image remove openwrt image 2011-08-15 11:31:44 -07:00
random.kernel remove openwrt image 2011-08-15 11:31:44 -07:00
run_tests.py PEP-8 2011-03-18 13:17:40 +01:00
test_netadmin.py Don't allow EC2 removal of security group in use. 2012-02-14 17:20:53 -05:00
test_sysadmin.py Fix for EC2 API part of bug 897164 2011-12-02 15:45:26 +01:00