[
https://issues.apache.org/jira/browse/CLOUDSTACK-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Parth Jagirdar closed CLOUDSTACK-2447.
--------------------------------------
Verify,
Prasanna reviewed class.
> listAffinityGroups params (cloudstackAPI) in marvin are not as per API specs
> ----------------------------------------------------------------------------
>
> Key: CLOUDSTACK-2447
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2447
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Affects Versions: 4.1.1
> Reporter: Girish Shilamkar
> Assignee: Prachi Damle
> Fix For: 4.2.0
>
>
> listAffinityGroups.py does not have account and domainid parameters. class
> listAffinityGroupsCmd (baseCmd):
> def __init__(self):
> self.isAsync = "false"
> """list the affinity group by the id provided"""
> self.id = None
> """List by keyword"""
> self.keyword = None
> """lists affinity groups by name"""
> self.name = None
> """"""
> self.page = None
> """"""
> self.pagesize = None
> """lists affinity groups by type"""
> self.type = None
> """lists affinity groups by virtual machine id"""
> self.virtualmachineid = None
> self.required = []
> Whereas the API spec for listAffinityGroups does mention them and rightly so.
> ListAffinityGroups API
> This is a new user API to list affinity groups.Parameters include:
> a) Affinity group Id
> b) Affinity group Name
> c) VM Id
> d) AccountName and DomainId
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira