incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Likitha Shetty" <likitha.she...@citrix.com>
Subject Re: Review Request: [EC2 Query API] AuthorizeSecurityGroupIngress fails with 'Server.InternalError 431 Invalid protocol' error.
Date Wed, 12 Dec 2012 10:38:34 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/8468/
-----------------------------------------------------------

(Updated Dec. 12, 2012, 10:38 a.m.)


Review request for cloudstack and Prachi Damle.


Changes
-------

Updating the bug-id


Description
-------

Before making the AuthorizeSecurityGroupIngress CloudStack API call, parse the string arguments
'FromPort' and 'ToPort' as an integer.


This addresses bug CLOUDSTACK-613.


Diffs
-----

  awsapi/src/com/cloud/bridge/service/EC2RestServlet.java 4f74873 

Diff: https://reviews.apache.org/r/8468/diff/


Testing
-------

After setting up AWSAPI, using the boto client called
 authorize_security_group(group_name=<sg_name>, ip_protocol=<protocol>, from_port=<from_port>,
to_port=<to_port>, cidr_ip=<cidr>)
Successfully created the specified rule in the security-group.


Thanks,

Likitha Shetty


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message