cloudstack-dev mailing list archives

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

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

Review request for cloudstack and Prachi Damle.


Description
-------

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


This addresses bug CLOUDSTACK-197.


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