You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Bk Lau <bk...@gmail.com> on 2013/07/31 20:02:51 UTC
(Unknown)
I'm confused as to the differences between the 2 ways to create a security
rule below:
Seems that both methods below has the same signatures:
/**
* Create a Security Group Rule.
*
* @return a new Security Group Rule
*/
SecurityGroupRule createRuleAllowingCidrBlock(String parentGroup,
Ingress ingress, String sourceCidr);
versus
/**
* Create a Security Group Rule.
*
* @return a new Security Group Rule
*/
SecurityGroupRule createRuleAllowingSecurityGroupId(String parentGroup,
Ingress ingress,
String sourceCidr);
Re:
Posted by Andrew Phillips <an...@apache.org>.
> http://demobox.github.io/jclouds-maven-site-1.6.1/1.6.1-incubating/jclouds/apidocs/org/jclouds/openstack/nova/v2_0/extensions/SecurityGroupApi.html
Thanks for that. Yes, that's indeed a naming error. The parameter
should probably be called "groupId", as can be seen from the
equivalent async API call [1], which is the call that actually gets
made.
The SecurityGroupApi is just a "wrapper" around that...at least, until 1.7.0.
ap
[1]
https://github.com/jclouds/jclouds/blob/master/apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/extensions/SecurityGroupAsyncApi.java#L130
Re:
Posted by Bk Lau <bk...@gmail.com>.
http://demobox.github.io/jclouds-maven-site-1.6.1/1.6.1-incubating/jclouds/apidocs/org/jclouds/openstack/nova/v2_0/extensions/SecurityGroupApi.html
On Wed, Jul 31, 2013 at 4:26 PM, Andrew Bayer <an...@gmail.com>wrote:
> Yeah, that looks like a very definite bug.
>
> A.
>
>
> On Wed, Jul 31, 2013 at 1:17 PM, Andrew Phillips <an...@apache.org>wrote:
>
>> I'm confused as to the differences between the 2 ways to create a security
>>> rule below:
>>>
>>
>> Please let us know where in the docs you are finding this, and which
>> version of jclouds you are using. Also, please provide a title for your
>> email to make the thread easier to track!
>>
>> ap
>>
>
>
Re:
Posted by Andrew Bayer <an...@gmail.com>.
Yeah, that looks like a very definite bug.
A.
On Wed, Jul 31, 2013 at 1:17 PM, Andrew Phillips <an...@apache.org> wrote:
> I'm confused as to the differences between the 2 ways to create a security
>> rule below:
>>
>
> Please let us know where in the docs you are finding this, and which
> version of jclouds you are using. Also, please provide a title for your
> email to make the thread easier to track!
>
> ap
>
Re:
Posted by Andrew Phillips <an...@apache.org>.
> I'm confused as to the differences between the 2 ways to create a security
> rule below:
Please let us know where in the docs you are finding this, and which
version of jclouds you are using. Also, please provide a title for
your email to make the thread easier to track!
ap