Yes, it makes perfect sense.

The SecurityGroupExtension defines the "listSecurityGroupsForNode"
method. You could call it to get the security groups for an existing
node, and then use the extension to modify the desired ones.


[1] 
https://github.com/jclouds/jclouds/blob/master/compute/src/main/java/org/jclouds/compute/extensions/SecurityGroupExtension.java#L56

On 9 December 2013 13:02, ssiv...@gmail.com <ssiv...@gmail.com> wrote:
> Thank you too!
> SecurityGroupExtension seems to be more unified then the TemplateOptions
> extensions but it's still unclear how to link a certain rules to a specific
> network or node.
>
> ComputeService allows us to create nodes. But what if I want just to update
> an existing entity? Does it make any sense? E.g. if I'll create node using
> Template and TemplateOptions as a node specification than to change node's
> firewall settings I need to recreate the node. Or I'm wrong..
>
>
> On 12/09/2013 02:04 AM, Ignasi Barrera wrote:
>>
>> Just to complete Andrew's answer, there is also the SecurityGroupExtension
>> for the ComputeService.
>>
>> It is still a WIP,  but several providers already implement it. The idea
>> is
>> that all providers with firewall features will implement it, so it will be
>> a common/portable interface to manage firewalls.
>>
>> You can get it as an Optional reference from the ComputeService, and it
>> will be present if the underlying provider supports it.
>>
>> HTH!
>>
>

Reply via email to