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

Function list_vlan_ipranges

tools/marvin/marvin/lib/common.py:991–998  ·  view source on GitHub ↗

Lists all VLAN IP ranges.

(apiclient, **kwargs)

Source from the content-addressed store, hash-verified

989
990
991def list_vlan_ipranges(apiclient, **kwargs):
992 """Lists all VLAN IP ranges."""
993
994 cmd = listVlanIpRanges.listVlanIpRangesCmd()
995 [setattr(cmd, k, v) for k, v in list(kwargs.items())]
996 if 'account' in list(kwargs.keys()) and 'domainid' in list(kwargs.keys()):
997 cmd.listall=True
998 return(apiclient.listVlanIpRanges(cmd))
999
1000
1001def list_usage_records(apiclient, **kwargs):

Callers 6

test_02_list_cpvm_vmMethod · 0.90
get_free_vlanFunction · 0.70
list_sec_storage_vmMethod · 0.50
list_sec_storage_vmMethod · 0.50

Calls 1

keysMethod · 0.80

Tested by 5

test_02_list_cpvm_vmMethod · 0.72
list_sec_storage_vmMethod · 0.40
list_sec_storage_vmMethod · 0.40