Stuart Hendren created JCLOUDS-661:
--------------------------------------
Summary: 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.8.0, 1.7.3
Reporter: Stuart Hendren
Priority: Minor
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)