[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-8133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394465#comment-14394465
 ] 

Wido den Hollander commented on CLOUDSTACK-8133:
------------------------------------------------

We have two options here I think.

1. We can add a instancecount to the response where we tell how many instances 
are currently attached to this Security Group.

2. We return a map with all instance ids who are currently using this security 
group

Or we could even implement both :)

> Add instance count to listSecurityGroups API call.
> --------------------------------------------------
>
>                 Key: CLOUDSTACK-8133
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8133
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: API
>            Reporter: Kevin Dierkx
>            Priority: Minor
>
> Currently the listSecurityGroups call doesn't return an instance count of 
> some sort. There is no way of knowing without polling all VMs if the security 
> group is empty and will result in an exception on removal.
> It would be awesome if this information could be provided with the above call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to