def GetDiskTemplatesOfStorageTypes(*storage_types):
  return [dt for dt in constants.DISK_TEMPLATES
          if constants.MAP_DISK_TEMPLATE_STORAGE_TYPE[dt] in storage_types]
Given the storage type, returns a list of disk templates based on that
dataset/ETHPy150Open ganeti/ganeti/lib/utils/storage.py/GetDiskTemplatesOfStorageTypes