[
https://issues.apache.org/jira/browse/JCLOUDS-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13688455#comment-13688455
]
ASF subversion and git services commented on JCLOUDS-99:
--------------------------------------------------------
Commit 7ac0d3729b1ea40efbabe05b5615d1c2d40d7c07 in branch refs/heads/1.6.x from
[~abayer]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-jclouds.git;h=7ac0d37 ]
JCLOUDS-99. Enable use of Iterable<IpPermission> for aws-ec2
- Added AWSEC2CreateSecurityGroupIfNeeded, using
AWSSecurityGroupClient's ability to call
authorizeSecurityGroupInRegion with Iterable<IpPermission>
- Added a utility method,
ComputeServiceUtils.getPortRangesInList(int... ports), to get pairs of
start/end ports covering all ranges in a list of ports. Used above.
> EC2 CreateSecurityGroupIfNeeded should detect port ranges and authorize them
> in a single API call
> -------------------------------------------------------------------------------------------------
>
> Key: JCLOUDS-99
> URL: https://issues.apache.org/jira/browse/JCLOUDS-99
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-compute
> Affects Versions: 1.5.10, 1.6.0
> Reporter: Omar Alrubaiyan
> Assignee: Andrew Bayer
> Fix For: 1.7.0, 1.6.2
>
>
> The EC2 API lets you authorize port ranges, it would be nice if jclouds could
> detect port ranges in the passed list of ports and authorize them in a single
> API call in order to reduce the number of API calls which would help avoid
> hitting the EC2 API rate limit.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira