Inventory.Item.Drive: add Protocol property
Protocol property aimed to represent connection protocol used by the
drive. Most common protocols are SATA, SAS, NVMe.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com>
Change-Id: I17263f07d324e959f05ba5f3f3993d7d4d55fa52
diff --git a/yaml/xyz/openbmc_project/Inventory/Item/Drive.interface.yaml b/yaml/xyz/openbmc_project/Inventory/Item/Drive.interface.yaml
index 1b99f68..9e50eb9 100644
--- a/yaml/xyz/openbmc_project/Inventory/Item/Drive.interface.yaml
+++ b/yaml/xyz/openbmc_project/Inventory/Item/Drive.interface.yaml
@@ -7,6 +7,11 @@
type: uint64
description: >
The size in bytes of the Drive. `0` if cannot be determined.
+ - name: Protocol
+ default: Unknown
+ type: enum[self.DriveProtocol]
+ description: >
+ The communication protocol used by the Drive.
- name: Type
default: Unknown
type: enum[self.DriveType]
@@ -14,6 +19,25 @@
The type of physical form factor of the Drive.
enumerations:
+ - name: DriveProtocol
+ description: >
+ Possible communication protocol types
+ values:
+ - name: SAS
+ description: >
+ Serial Attached SCSI.
+ - name: SATA
+ description: >
+ Serial AT Attachment.
+ - name: NVMe
+ description: >
+ Non-Volatile Memory Express.
+ - name: FC
+ description: >
+ Fibre Channel.
+ - name: Unknown
+ description: >
+ The Drive protocol is unknown.
- name: DriveType
description: >
Possible Drive type