MCPcopy Create free account
hub / github.com/apache/cloudstack / list_ssvms

Function list_ssvms

tools/marvin/marvin/lib/common.py:779–786  ·  view source on GitHub ↗

List all SSVMs matching criteria

(apiclient, **kwargs)

Source from the content-addressed store, hash-verified

777
778
779def 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
789def list_storage_pools(apiclient, **kwargs):

Calls 1

keysMethod · 0.80