Comment 4 for bug 1057196

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/folsom)

Reviewed: https://review.openstack.org/14093
Committed: http://github.com/openstack/nova/commit/84a996c2f9b77e27e2d055660cb4d3c4bd322de0
Submitter: Jenkins
Branch: stable/folsom

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

    Change-Id: Iffe0f38abde327288e6a3960a72ad6a273f78aca