From e78cd9c5a355aa21ef6a1f385d72d95dce2384df Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 16 Dec 2019 12:54:37 -0600 Subject: [PATCH] python-common: 'ssd/nvme' -> 'ssd' NVMe's are generally 'solid state disks'. More importantly, NVMe is an interface, not a device type, and there is talk of HDDs with NVMe interfaces. But mostly this is just makes for a more compact table. Signed-off-by: Sage Weil --- src/python-common/ceph/deployment/inventory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python-common/ceph/deployment/inventory.py b/src/python-common/ceph/deployment/inventory.py index 5edd27c4be7..22109c567fc 100644 --- a/src/python-common/ceph/deployment/inventory.py +++ b/src/python-common/ceph/deployment/inventory.py @@ -82,4 +82,4 @@ class Device(object): # type: () -> str if self.sys_api is None or 'rotational' not in self.sys_api: return "unknown" - return 'hdd' if self.sys_api["rotational"] == "1" else 'ssd/nvme' + return 'hdd' if self.sys_api["rotational"] == "1" else 'ssd' -- 2.39.5