コード例 #1
0
ファイル: dc.py プロジェクト: lcdbba/vsphere-client
def dc_ds(s, opt):
    dc = dc_get(s, opt['<name>'])
    if not dc:
        return

    datastores = dc.ds()
    ds_print_details(datastores)
コード例 #2
0
def host_ds(s, opt):
    host = host_get(s, opt['<name>'])
    if not host:
        return

    datastores = host.ds()
    ds_print_details(datastores)
コード例 #3
0
def cluster_ds(s, opt):
    cluster = cluster_get(s, opt['<name>'])
    if not cluster:
        return

    datastores = cluster.ds()
    ds_print_details(datastores)
コード例 #4
0
ファイル: host.py プロジェクト: tomrtc/vsphere-client
def host_ds(s, opt):
    host = host_get(s, opt['<name>'])
    if not host:
        return

    datastores = host.ds()
    ds_print_details(datastores)
コード例 #5
0
ファイル: cluster.py プロジェクト: tomrtc/vsphere-client
def cluster_ds(s, opt):
    cluster = cluster_get(s, opt['<name>'])
    if not cluster:
        return

    datastores = cluster.ds()
    ds_print_details(datastores)
コード例 #6
0
ファイル: dc.py プロジェクト: tomrtc/vsphere-client
def dc_ds(s, opt):
    dc = dc_get(s, opt['<name>'])
    if not dc:
        return

    datastores = dc.ds()
    ds_print_details(datastores)