summaryrefslogtreecommitdiffstats
path: root/nova/openstack
diff options
context:
space:
mode:
authorJohn Herndon <john.herndon@hp.com>2012-10-02 19:39:37 +0000
committerJohn Herndon <john.herndon@hp.com>2012-10-02 19:54:45 +0000
commit10d503b27b8e5abbd8802b3107acd35024761558 (patch)
tree882fd9532e5d372d1a458acb1873d74c77fd8f78 /nova/openstack
parent6bc8c20be705f3cf704b5103e8bb998015d14248 (diff)
downloadnova-10d503b27b8e5abbd8802b3107acd35024761558.tar.gz
nova-10d503b27b8e5abbd8802b3107acd35024761558.tar.xz
nova-10d503b27b8e5abbd8802b3107acd35024761558.zip
ip_protocol for ec2 security groups
fix for bug 1057196. -Enforce restrictions on IP protocol in AuthorizeSecurityGroupIngress call. This value may only be: 'tcp', 'udp', 'icmp', '6', '17' or '1' -Ensure that ip protocol returned from DescribeSecurityGroups is in lower case, in case security group was set improperly in previous versions -Update EC2APIError in nova/exception.py to remove the HTTP error code from the message. The HTTP error code is inserted in nova.api.ec2.faults.Fault. Inserting the code in the EC2APIError causes the HTTP code to appear twice in the message -Update unit tests to expect new error message when invalid protocol is entered. -Fixing pep8 issues Change-Id: Iffe0f38abde327288e6a3960a72ad6a273f78aca
Diffstat (limited to 'nova/openstack')
0 files changed, 0 insertions, 0 deletions