Hi,

I'm finding a bit confusing what is the correct way to import VDSM types/enums/contants when using the VDSM API.

For example, vdsmapi tests and the hosted-engine-ha daemons seem to use a bunch of values defined in constants or hardcoded, not really doing an import for this. i.e.:
ovirt_hosted_engine_ha/env/constants.py.in:66:STORAGE_TYPE_NFS = 1

I don't want to do this:
getStorageDomains(storageType=1)

If I want to avoid hard-coding constants on my program, what is the correct way to do it? Like this?

import vdsm.storage.sd
getStorageDomains(storageType=sd.NFS_DOMAIN)

Problem is vdsm.storage.sd does not seem to be part of the public API, clients shouldn't be seeing all that.

Hopefully there is an easy answer I am missing. I'm looking for something similar to ovirtsdk4.types.

Thanks,
Germano