blob: 9e50eb9d34c3ef7f2cc5bfbb6506ea134e7fa91b [file] [log] [blame]
James Feist001b1722019-11-04 09:14:29 -08001description: >
2 Implement to provide drive attributes.
Willy Tu5795dac2021-07-15 11:32:52 -07003
4properties:
Andrei Kartashev4573e652021-08-29 00:20:54 +03005 - name: Capacity
6 default: 0
7 type: uint64
8 description: >
9 The size in bytes of the Drive. `0` if cannot be determined.
Andrei Kartashev3a665b22021-08-29 00:45:04 +030010 - name: Protocol
11 default: Unknown
12 type: enum[self.DriveProtocol]
13 description: >
14 The communication protocol used by the Drive.
Willy Tu5795dac2021-07-15 11:32:52 -070015 - name: Type
16 default: Unknown
17 type: enum[self.DriveType]
18 description: >
19 The type of physical form factor of the Drive.
20
21enumerations:
Andrei Kartashev3a665b22021-08-29 00:45:04 +030022 - name: DriveProtocol
23 description: >
24 Possible communication protocol types
25 values:
26 - name: SAS
27 description: >
28 Serial Attached SCSI.
29 - name: SATA
30 description: >
31 Serial AT Attachment.
32 - name: NVMe
33 description: >
34 Non-Volatile Memory Express.
35 - name: FC
36 description: >
37 Fibre Channel.
38 - name: Unknown
39 description: >
40 The Drive protocol is unknown.
Willy Tu5795dac2021-07-15 11:32:52 -070041 - name: DriveType
42 description: >
43 Possible Drive type
44 values:
45 - name: HDD
46 description: >
47 A hard disk drive is an electro-mechanical data storage device
48 that stores and retrieves digital data using magnetic storage.
49 - name: SSD
50 description: >
51 A solid-state drive is a solid-state storage device that uses
52 integrated circuit assemblies to store data persistently.
53 - name: Unknown
54 description: >
55 The Drive type is unknown.