commit 10d503b27b8e5abbd8802b3107acd35024761558
Author: John Herndon <email address hidden>
Date: Tue Oct 2 19:39:37 2012 +0000
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
Reviewed: https:/ /review. openstack. org/13908 github. com/openstack/ nova/commit/ 10d503b27b8e5ab bd8802b3107acd3 5024761558
Committed: http://
Submitter: Jenkins
Branch: master
commit 10d503b27b8e5ab bd8802b3107acd3 5024761558
Author: John Herndon <email address hidden>
Date: Tue Oct 2 19:39:37 2012 +0000
ip_protocol for ec2 security groups
fix for bug 1057196. tyGroupIngress call. yGroups is in lower case, ec2.faults. Fault. Inserting
-Enforce restrictions on IP protocol in AuthorizeSecuri
This value may only be: 'tcp', 'udp', 'icmp', '6', '17' or '1'
-Ensure that ip protocol returned from DescribeSecurit
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.
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: Iffe0f38abde327 288e6a3960a72ad 6a273f78aca