List all SSVMs matching criteria
(apiclient, **kwargs)
| 777 | |
| 778 | |
| 779 | def list_ssvms(apiclient, **kwargs): |
| 780 | """List all SSVMs matching criteria""" |
| 781 | |
| 782 | cmd = listSystemVms.listSystemVmsCmd() |
| 783 | [setattr(cmd, k, v) for k, v in list(kwargs.items())] |
| 784 | if 'account' in list(kwargs.keys()) and 'domainid' in list(kwargs.keys()): |
| 785 | cmd.listall=True |
| 786 | return(apiclient.listSystemVms(cmd)) |
| 787 | |
| 788 | |
| 789 | def list_storage_pools(apiclient, **kwargs): |