def dc_ds(s, opt): dc = dc_get(s, opt['<name>']) if not dc: return datastores = dc.ds() ds_print_details(datastores)
def host_ds(s, opt): host = host_get(s, opt['<name>']) if not host: return datastores = host.ds() ds_print_details(datastores)
def cluster_ds(s, opt): cluster = cluster_get(s, opt['<name>']) if not cluster: return datastores = cluster.ds() ds_print_details(datastores)