/
node_drives_node_drive.go
83 lines (58 loc) · 2.43 KB
/
node_drives_node_drive.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/*
* Isilon SDK
*
* Isilon SDK - Language bindings for the OneFS API
*
* API version: 5
* Contact: sdk@isilon.com
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package isi_sdk_8_1_0
type NodeDrivesNodeDrive struct {
// The name of the bay group this drive belongs to.
BayGroup string `json:"bay_group,omitempty"`
// Numerical representation of this drive's bay.
Baynum int32 `json:"baynum,omitempty"`
// Number of blocks on this drive.
Blocks int32 `json:"blocks,omitempty"`
// The chassis number which contains this drive.
Chassis int32 `json:"chassis,omitempty"`
// This drive's device name.
Devname string `json:"devname,omitempty"`
// Drive firmware information.
Firmware *NodeDrivesNodeDriveFirmware `json:"firmware,omitempty"`
// Drive_d's handle representation for this drive
Handle int32 `json:"handle,omitempty"`
// String representtation of this drive's interface type.
InterfaceType string `json:"interface_type,omitempty"`
// This drive's logical drive number in IFS.
Lnum int32 `json:"lnum,omitempty"`
// String representation of this drive's physical location.
Locnstr string `json:"locnstr,omitempty"`
// Size of a logical block on this drive.
LogicalBlockLength int32 `json:"logical_block_length,omitempty"`
// String representation of this drive's media type.
MediaType string `json:"media_type,omitempty"`
// This drive's manufacturer and model.
Model string `json:"model,omitempty"`
// This drive's current outstanding actions. For example, \"add\" or \"firmware_update\".
PendingActions []string `json:"pending_actions,omitempty"`
// Size of a physical block on this drive.
PhysicalBlockLength int32 `json:"physical_block_length,omitempty"`
// Indicates whether this drive is physically present in the node.
Present bool `json:"present,omitempty"`
// This drive's purpose in the DRV state machine.
Purpose string `json:"purpose,omitempty"`
// Description of this drive's purpose.
PurposeDescription string `json:"purpose_description,omitempty"`
// Serial number for this drive.
Serial string `json:"serial,omitempty"`
// This drive's state as presented to the UI.
UiState string `json:"ui_state,omitempty"`
// The drive's 'worldwide name' from its NAA identifiers.
Wwn string `json:"wwn,omitempty"`
// This drive's x-axis grid location.
XLoc int32 `json:"x_loc,omitempty"`
// This drive's y-axis grid location.
YLoc int32 `json:"y_loc,omitempty"`
}