diff --git a/lisa/schema.py b/lisa/schema.py index c2f250d899..431dca0dd6 100644 --- a/lisa/schema.py +++ b/lisa/schema.py @@ -432,18 +432,18 @@ class DiskType(str, Enum): class StorageInterfaceType(str, Enum): - NVME = "NVMe" - SCSI = "SCSI" + SCSI = constants.STORAGE_INTERFACE_TYPE_SCSI + NVME = constants.STORAGE_INTERFACE_TYPE_NVME class DiskControllerType(str, Enum): - SCSI = StorageInterfaceType.SCSI - NVME = StorageInterfaceType.NVME + SCSI = constants.STORAGE_INTERFACE_TYPE_SCSI + NVME = constants.STORAGE_INTERFACE_TYPE_NVME class ResourceDiskType(str, Enum): - SCSI = StorageInterfaceType.SCSI - NVME = StorageInterfaceType.NVME + SCSI = constants.STORAGE_INTERFACE_TYPE_SCSI + NVME = constants.STORAGE_INTERFACE_TYPE_NVME disk_controller_type_priority: List[DiskControllerType] = [