commit 84a996c2f9b77e27e2d055660cb4d3c4bd322de0
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/14093 github. com/openstack/ nova/commit/ 84a996c2f9b77e2 7e2d055660cb4d3 c4bd322de0
Committed: http://
Submitter: Jenkins
Branch: stable/folsom
commit 84a996c2f9b77e2 7e2d055660cb4d3 c4bd322de0
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