You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Phillips (JIRA)" <ji...@apache.org> on 2014/08/14 19:02:13 UTC

[jira] [Assigned] (JCLOUDS-661) Can not create a single port firewall rule using google SecurityGroupExtension

     [ https://issues.apache.org/jira/browse/JCLOUDS-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Phillips reassigned JCLOUDS-661:
---------------------------------------

    Assignee: Andrew Phillips

> 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: 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)