From c54e6b26e1ba74aba9022844a6e2f17d533a8672 Mon Sep 17 00:00:00 2001 From: Simon Dodsley Date: Wed, 13 Jul 2022 10:27:36 -0400 Subject: [PATCH] Add additional transport type constants There are multiple types of NVMe transport and we need to ensure they are all represented in these constants so that 3rd party drivers can use the correct transport type. The current variants are very generic and are there to cover early implementations of NVMe over limited transport types. Change-Id: I278dd4a6fcbdc1bc477e998eabe07edf81dabd21 --- cinder/common/constants.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cinder/common/constants.py b/cinder/common/constants.py index d8030333070..0ad3cd0f064 100644 --- a/cinder/common/constants.py +++ b/cinder/common/constants.py @@ -46,6 +46,9 @@ NFS_VARIANT = 'nfs' NVMEOF = 'NVMe-oF' NVMEOF_VARIANT_1 = 'NVMeOF' NVMEOF_VARIANT_2 = 'nvmeof' +NVMEOF_ROCE = 'NVMe-RoCE' +NVMEOF_FC = 'NVMe-FC' +NVMEOF_TCP = 'NVMe-TCP' SCALEIO = 'scaleio' SCSI = 'SCSI' STORPOOL = 'storpool'