[
https://issues.apache.org/jira/browse/JCLOUDS-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrew Phillips updated JCLOUDS-661:
------------------------------------
Fix Version/s: 1.8.1
> Can not create a single port firewall rule using google SecurityGroupExtension
> ------------------------------------------------------------------------------
>
> Key: JCLOUDS-661
> URL: https://issues.apache.org/jira/browse/JCLOUDS-661
> Project: jclouds
> Issue Type: Bug
> Components: jclouds-labs-google
> Affects Versions: 1.7.3, 1.8.0
> Reporter: Stuart Hendren
> Assignee: Andrew Phillips
> Priority: Minor
> Labels: easyfix
> Fix For: 1.8.1, 2.0.0
>
> Attachments: JCLOUDS-661-2.patch, JCLOUDS-661.patch
>
>
> When adding a new IpPermission for a SecurityGroup using the google
> implementation of the SecurityGroupExtension you cannot specify a single
> port.
> The IpPermission requires a to and from port, then the implementation
> (GoogleComputeEngineSecurityGroupExtension) fails if these two ports are the
> same. This works with the AWS implementation, so I guess is the correct way
> to specify a single port with this API.
> Should be fixable with a simple check and using addPort(Integer port) from
> the builder.
>
--
This message was sent by Atlassian JIRA
(v6.2#6252)