Module vmware_reporter.datastore

Analyze datastores or perform operations on datastores.

Functions

delete_from_datastore(vcenter, datastore, path)

Delete a file from a datastore.

download_from_datastore(vcenter, datastore, path)

Download a file from a datastore.

dump_datastore_elements(vcenter[, search, ...])

Dump datastore elements (files and directories).

dump_datastore_stats(vcenter[, search, ...])

Dump datastore stats (total number and size of files and directories).

dump_datastores(vcenter[, search, ...])

Dump datastores.

dump_datastores_all(vcenter, **kwargs)

Dump datastores with associated objects (datastore stats).

get_datastore_host_summaries(datastore)

get_datastore_stats(vcenter, obj[, path, ...])

Return stats about datastore elements (files and directories).

handle(vcenter, **kwargs)

iterate_datastore_elements(vcenter, obj[, ...])

Iterate over datastore elements (files and directories).

parse_datacore_extent(extent)

remove_datastore_prefix(obj, dspath)

request_datastore_resource(method, vcenter, ...)

upload_to_datastore(vcenter, source, datastore)

Upload a file to a datastore.

Classes

DatastoreElement(obj, info, parent_dspath)

DatastoreStat(obj, path)