class Chef::Knife::VsphereDatastoreclusterList

Lists all known data store cluster in datacenter with sizes

Public Instance Methods

run() click to toggle source
# File lib/chef/knife/vsphere_datastorecluster_list.rb, line 65
def run
  $stdout.sync = true
  vim_connection
  dc = datacenter
  traverse_folders_for_dsclusters(dc.datastoreFolder)
end