/
cluster_config.go
61 lines (43 loc) · 1.82 KB
/
cluster_config.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
/*
* 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
// General cluster information.
type ClusterConfig struct {
// Customer configurable description.
Description string `json:"description"`
Devices []ClusterConfigDevice `json:"devices"`
// Default encoding.
Encoding string `json:"encoding"`
// Cluster GUID.
Guid string `json:"guid"`
// If true, the local node is in a group with quorum: It is communicating, storing, and protecting data normally with other nodes in its group. Under normal circumstances, every node in the cluster is part of one group.
HasQuorum bool `json:"has_quorum"`
// If true, the cluster is in compliance mode. Compliance mode clusters do not allow root access and have stricter WORM (Write Once Read Many) features for retaining data in compliance with U.S. Securities and Exchange Commission rule 17a-4.
IsCompliance bool `json:"is_compliance"`
// true if the cluster is deployed on a desktop VMWorkstation
IsVirtual bool `json:"is_virtual"`
// true if this is a vOneFS cluster on an ESXi
IsVonefs bool `json:"is_vonefs"`
// Node join mode: 'manual' or 'secure'.
JoinMode string `json:"join_mode"`
// Device ID of the queried node.
LocalDevid int32 `json:"local_devid"`
// Device logical node number of the queried node.
LocalLnn int32 `json:"local_lnn"`
// Device serial number of the queried node.
LocalSerial string `json:"local_serial"`
// Cluster name.
Name string `json:"name"`
//
OnefsVersion *ClusterConfigOnefsVersion `json:"onefs_version,omitempty"`
// The cluster timezone settings.
Timezone *ClusterConfigTimezone `json:"timezone,omitempty"`
UpgradeType string `json:"upgrade_type,omitempty"`
}