Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListDiskLocations | ListDiskLocationsRequest | ListDiskLocationsResponse | ListDiskLocations returns locations <Adapter, Bus, Target, LUN ID> of all disk devices enumerated by the host. |
PartitionDisk | PartitionDiskRequest | PartitionDiskResponse | PartitionDisk initializes and partitions a disk device with the GPT partition style (if the disk has not been partitioned already) and returns the resulting volume device ID. |
Rescan | RescanRequest | RescanResponse | Rescan refreshes the host's storage cache. |
ListDiskIDs | ListDiskIDsRequest | ListDiskIDsResponse | ListDiskIDs returns a map of DiskID objects where the key is the disk number. |
GetDiskStats | GetDiskStatsRequest | GetDiskStatsResponse | GetDiskStats returns the stats of a disk (currently it returns the disk size). |
SetDiskState | SetDiskStateRequest | SetDiskStateResponse | SetDiskState sets the offline/online state of a disk. |
GetDiskState | GetDiskStateRequest | GetDiskStateResponse | GetDiskState gets the offline/online state of a disk. |
Field | Type | Label | Description |
---|---|---|---|
page83 | string | The disk page83 id. | |
serial_number | string | The disk serial number. |
Field | Type | Label | Description |
---|---|---|---|
Adapter | string | ||
Bus | string | ||
Target | string | ||
LUNID | string |
Field | Type | Label | Description |
---|---|---|---|
disk_number | uint32 | Disk device number of the disk. |
Field | Type | Label | Description |
---|---|---|---|
is_online | bool | Online state of the disk. true for online, false for offline. |
Field | Type | Label | Description |
---|---|---|---|
disk_number | uint32 | Disk device number of the disk to get the stats from. |
Field | Type | Label | Description |
---|---|---|---|
total_bytes | int64 | Total size of the volume. |
Intentionally empty.
Field | Type | Label | Description |
---|---|---|---|
diskIDs | ListDiskIDsResponse.DiskIDsEntry | repeated | Map of disk numbers and disk identifiers associated with each disk device. |
the case is intentional for protoc to generate the field as DiskIDs |
Field | Type | Label | Description |
---|---|---|---|
key | uint32 | ||
value | DiskIDs |
Intentionally empty.
Field | Type | Label | Description |
---|---|---|---|
disk_locations | ListDiskLocationsResponse.DiskLocationsEntry | repeated | Map of disk number and <adapter, bus, target, lun ID> associated with each disk device. |
Field | Type | Label | Description |
---|---|---|---|
key | uint32 | ||
value | DiskLocation |
Field | Type | Label | Description |
---|---|---|---|
disk_number | uint32 | Disk device number of the disk to partition. |
Intentionally empty.
Intentionally empty.
Intentionally empty.
Field | Type | Label | Description |
---|---|---|---|
disk_number | uint32 | Disk device number of the disk. | |
is_online | bool | Online state to set for the disk. true for online, false for offline. |
Intentionally empty.