def DiskTemplateSupportsSpaceReporting(disk_template):
  return (constants.MAP_DISK_TEMPLATE_STORAGE_TYPE[disk_template]
          in constants.STS_REPORT)
Check whether the disk template supports storage space reporting.
dataset/ETHPy150Open ganeti/ganeti/lib/utils/storage.py/DiskTemplateSupportsSpaceReporting