List all Clusters matching criteria
(apiclient, **kwargs)
| 767 | |
| 768 | |
| 769 | def list_clusters(apiclient, **kwargs): |
| 770 | """List all Clusters matching criteria""" |
| 771 | |
| 772 | cmd = listClusters.listClustersCmd() |
| 773 | [setattr(cmd, k, v) for k, v in list(kwargs.items())] |
| 774 | if 'account' in list(kwargs.keys()) and 'domainid' in list(kwargs.keys()): |
| 775 | cmd.listall=True |
| 776 | return(apiclient.listClusters(cmd)) |
| 777 | |
| 778 | |
| 779 | def list_ssvms(apiclient, **kwargs): |