Documentation ¶
Index ¶
- Variables
- func RegisterCtlSvcServer(s grpc.ServiceRegistrar, srv CtlSvcServer)
- type BioHealthReq
- func (*BioHealthReq) Descriptor() ([]byte, []int)deprecated
- func (x *BioHealthReq) GetDevUuid() string
- func (x *BioHealthReq) GetMetaSize() uint64
- func (x *BioHealthReq) GetRdbSize() uint64
- func (*BioHealthReq) ProtoMessage()
- func (x *BioHealthReq) ProtoReflect() protoreflect.Message
- func (x *BioHealthReq) Reset()
- func (x *BioHealthReq) String() string
- type BioHealthResp
- func (*BioHealthResp) Descriptor() ([]byte, []int)deprecated
- func (x *BioHealthResp) GetAvailBytes() uint64
- func (x *BioHealthResp) GetAvailSpareWarn() bool
- func (x *BioHealthResp) GetBioReadErrs() uint32
- func (x *BioHealthResp) GetBioUnmapErrs() uint32
- func (x *BioHealthResp) GetBioWriteErrs() uint32
- func (x *BioHealthResp) GetChecksumErrs() uint32
- func (x *BioHealthResp) GetClusterSize() uint64
- func (x *BioHealthResp) GetCrcErrCntRaw() uint64
- func (x *BioHealthResp) GetCritTempTime() uint32
- func (x *BioHealthResp) GetCtrlBusyTime() uint64
- func (x *BioHealthResp) GetDevReliabilityWarn() bool
- func (x *BioHealthResp) GetDevUuid() string
- func (x *BioHealthResp) GetEndtoendErrCntRaw() uint64
- func (x *BioHealthResp) GetEraseFailCntNorm() uint32
- func (x *BioHealthResp) GetEraseFailCntRaw() uint64
- func (x *BioHealthResp) GetErrLogEntries() uint64
- func (x *BioHealthResp) GetHostBytesWritten() uint64
- func (x *BioHealthResp) GetHostReadsRaw() uint64
- func (x *BioHealthResp) GetLinkMaxSpeed() float32
- func (x *BioHealthResp) GetLinkMaxWidth() uint32
- func (x *BioHealthResp) GetLinkNegSpeed() float32
- func (x *BioHealthResp) GetLinkNegWidth() uint32
- func (x *BioHealthResp) GetLinkPortId() uint32
- func (x *BioHealthResp) GetMediaErrs() uint64
- func (x *BioHealthResp) GetMediaWearRaw() uint64
- func (x *BioHealthResp) GetMetaWalSize() uint64
- func (x *BioHealthResp) GetNandBytesWritten() uint64
- func (x *BioHealthResp) GetPllLockLossCnt() uint64
- func (x *BioHealthResp) GetPowerCycles() uint64
- func (x *BioHealthResp) GetPowerOnHours() uint64
- func (x *BioHealthResp) GetProgramFailCntNorm() uint32
- func (x *BioHealthResp) GetProgramFailCntRaw() uint64
- func (x *BioHealthResp) GetRdbWalSize() uint64
- func (x *BioHealthResp) GetReadOnlyWarn() bool
- func (x *BioHealthResp) GetRetryBufferOverflowCnt() uint64
- func (x *BioHealthResp) GetStatus() int32
- func (x *BioHealthResp) GetTempWarn() bool
- func (x *BioHealthResp) GetTemperature() uint32
- func (x *BioHealthResp) GetThermalThrottleEventCnt() uint64
- func (x *BioHealthResp) GetThermalThrottleStatus() uint32
- func (x *BioHealthResp) GetTimestamp() uint64
- func (x *BioHealthResp) GetTotalBytes() uint64
- func (x *BioHealthResp) GetUnsafeShutdowns() uint64
- func (x *BioHealthResp) GetVolatileMemWarn() bool
- func (x *BioHealthResp) GetWarnTempTime() uint32
- func (x *BioHealthResp) GetWearLevelingCntAvg() uint32
- func (x *BioHealthResp) GetWearLevelingCntMax() uint32
- func (x *BioHealthResp) GetWearLevelingCntMin() uint32
- func (x *BioHealthResp) GetWearLevelingCntNorm() uint32
- func (x *BioHealthResp) GetWorkloadTimerRaw() uint64
- func (*BioHealthResp) ProtoMessage()
- func (x *BioHealthResp) ProtoReflect() protoreflect.Message
- func (x *BioHealthResp) Reset()
- func (x *BioHealthResp) String() string
- type CollectLogReq
- func (*CollectLogReq) Descriptor() ([]byte, []int)deprecated
- func (x *CollectLogReq) GetAdminNode() string
- func (x *CollectLogReq) GetExtraLogsDir() string
- func (x *CollectLogReq) GetFileTransferExecArgs() string
- func (x *CollectLogReq) GetJsonOutput() bool
- func (x *CollectLogReq) GetLogCmd() string
- func (x *CollectLogReq) GetLogEndDate() string
- func (x *CollectLogReq) GetLogEndTime() string
- func (x *CollectLogReq) GetLogFunction() int32
- func (x *CollectLogReq) GetLogStartDate() string
- func (x *CollectLogReq) GetLogStartTime() string
- func (x *CollectLogReq) GetStopOnError() bool
- func (x *CollectLogReq) GetTargetFolder() string
- func (*CollectLogReq) ProtoMessage()
- func (x *CollectLogReq) ProtoReflect() protoreflect.Message
- func (x *CollectLogReq) Reset()
- func (x *CollectLogReq) String() string
- type CollectLogResp
- type CtlSvcClient
- type CtlSvcServer
- type DevManageResp
- func (*DevManageResp) Descriptor() ([]byte, []int)deprecated
- func (x *DevManageResp) GetDevice() *SmdDevice
- func (x *DevManageResp) GetStatus() int32
- func (*DevManageResp) ProtoMessage()
- func (x *DevManageResp) ProtoReflect() protoreflect.Message
- func (x *DevManageResp) Reset()
- func (x *DevManageResp) String() string
- type DevReplaceReq
- func (*DevReplaceReq) Descriptor() ([]byte, []int)deprecated
- func (x *DevReplaceReq) GetNewDevUuid() string
- func (x *DevReplaceReq) GetOldDevUuid() string
- func (*DevReplaceReq) ProtoMessage()
- func (x *DevReplaceReq) ProtoReflect() protoreflect.Message
- func (x *DevReplaceReq) Reset()
- func (x *DevReplaceReq) String() string
- type EmptyReq
- type FabricInterface
- func (*FabricInterface) Descriptor() ([]byte, []int)deprecated
- func (x *FabricInterface) GetDevice() string
- func (x *FabricInterface) GetNetdevclass() uint32
- func (x *FabricInterface) GetNumanode() uint32
- func (x *FabricInterface) GetPriority() uint32
- func (x *FabricInterface) GetProvider() string
- func (*FabricInterface) ProtoMessage()
- func (x *FabricInterface) ProtoReflect() protoreflect.Message
- func (x *FabricInterface) Reset()
- func (x *FabricInterface) String() string
- type FilePath
- type FirmwareQueryReq
- func (*FirmwareQueryReq) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareQueryReq) GetDeviceIDs() []string
- func (x *FirmwareQueryReq) GetFirmwareRev() string
- func (x *FirmwareQueryReq) GetModelID() string
- func (x *FirmwareQueryReq) GetQueryNvme() bool
- func (x *FirmwareQueryReq) GetQueryScm() bool
- func (*FirmwareQueryReq) ProtoMessage()
- func (x *FirmwareQueryReq) ProtoReflect() protoreflect.Message
- func (x *FirmwareQueryReq) Reset()
- func (x *FirmwareQueryReq) String() string
- type FirmwareQueryResp
- func (*FirmwareQueryResp) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareQueryResp) GetNvmeResults() []*NvmeFirmwareQueryResp
- func (x *FirmwareQueryResp) GetScmResults() []*ScmFirmwareQueryResp
- func (*FirmwareQueryResp) ProtoMessage()
- func (x *FirmwareQueryResp) ProtoReflect() protoreflect.Message
- func (x *FirmwareQueryResp) Reset()
- func (x *FirmwareQueryResp) String() string
- type FirmwareUpdateReq
- func (*FirmwareUpdateReq) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareUpdateReq) GetDeviceIDs() []string
- func (x *FirmwareUpdateReq) GetFirmwarePath() string
- func (x *FirmwareUpdateReq) GetFirmwareRev() string
- func (x *FirmwareUpdateReq) GetModelID() string
- func (x *FirmwareUpdateReq) GetType() FirmwareUpdateReq_DeviceType
- func (*FirmwareUpdateReq) ProtoMessage()
- func (x *FirmwareUpdateReq) ProtoReflect() protoreflect.Message
- func (x *FirmwareUpdateReq) Reset()
- func (x *FirmwareUpdateReq) String() string
- type FirmwareUpdateReq_DeviceType
- func (FirmwareUpdateReq_DeviceType) Descriptor() protoreflect.EnumDescriptor
- func (x FirmwareUpdateReq_DeviceType) Enum() *FirmwareUpdateReq_DeviceType
- func (FirmwareUpdateReq_DeviceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FirmwareUpdateReq_DeviceType) Number() protoreflect.EnumNumber
- func (x FirmwareUpdateReq_DeviceType) String() string
- func (FirmwareUpdateReq_DeviceType) Type() protoreflect.EnumType
- type FirmwareUpdateResp
- func (*FirmwareUpdateResp) Descriptor() ([]byte, []int)deprecated
- func (x *FirmwareUpdateResp) GetNvmeResults() []*NvmeFirmwareUpdateResp
- func (x *FirmwareUpdateResp) GetScmResults() []*ScmFirmwareUpdateResp
- func (*FirmwareUpdateResp) ProtoMessage()
- func (x *FirmwareUpdateResp) ProtoReflect() protoreflect.Message
- func (x *FirmwareUpdateResp) Reset()
- func (x *FirmwareUpdateResp) String() string
- type FormatNvmeReq
- type FormatScmReq
- type LedAction
- type LedManageReq
- func (*LedManageReq) Descriptor() ([]byte, []int)deprecated
- func (x *LedManageReq) GetIds() string
- func (x *LedManageReq) GetLedAction() LedAction
- func (x *LedManageReq) GetLedDurationMins() uint32
- func (x *LedManageReq) GetLedState() LedState
- func (*LedManageReq) ProtoMessage()
- func (x *LedManageReq) ProtoReflect() protoreflect.Message
- func (x *LedManageReq) Reset()
- func (x *LedManageReq) String() string
- type LedState
- func (LedState) Descriptor() protoreflect.EnumDescriptor
- func (x LedState) Enum() *LedState
- func (LedState) EnumDescriptor() ([]byte, []int)deprecated
- func (x LedState) Number() protoreflect.EnumNumber
- func (x LedState) String() string
- func (LedState) Type() protoreflect.EnumType
- func (vls *LedState) UnmarshalJSON(data []byte) error
- type MemInfo
- func (*MemInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MemInfo) GetHugepageSizeKb() uint32
- func (x *MemInfo) GetHugepagesFree() uint64
- func (x *MemInfo) GetHugepagesReserved() uint64
- func (x *MemInfo) GetHugepagesSurplus() uint64
- func (x *MemInfo) GetHugepagesTotal() uint64
- func (x *MemInfo) GetMemAvailableKb() uint64
- func (x *MemInfo) GetMemFreeKb() uint64
- func (x *MemInfo) GetMemTotalKb() uint64
- func (*MemInfo) ProtoMessage()
- func (x *MemInfo) ProtoReflect() protoreflect.Message
- func (x *MemInfo) Reset()
- func (x *MemInfo) String() string
- type NetworkScanReq
- func (*NetworkScanReq) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkScanReq) GetExcludeinterfaces() string
- func (x *NetworkScanReq) GetProvider() string
- func (*NetworkScanReq) ProtoMessage()
- func (x *NetworkScanReq) ProtoReflect() protoreflect.Message
- func (x *NetworkScanReq) Reset()
- func (x *NetworkScanReq) String() string
- type NetworkScanResp
- func (*NetworkScanResp) Descriptor() ([]byte, []int)deprecated
- func (x *NetworkScanResp) GetCorespernuma() int32
- func (x *NetworkScanResp) GetInterfaces() []*FabricInterface
- func (x *NetworkScanResp) GetNumacount() int32
- func (*NetworkScanResp) ProtoMessage()
- func (x *NetworkScanResp) ProtoReflect() protoreflect.Message
- func (x *NetworkScanResp) Reset()
- func (x *NetworkScanResp) String() string
- type NvmeAddDeviceReq
- func (*NvmeAddDeviceReq) Descriptor() ([]byte, []int)deprecated
- func (x *NvmeAddDeviceReq) GetEngineIndex() uint32
- func (x *NvmeAddDeviceReq) GetPciAddr() string
- func (x *NvmeAddDeviceReq) GetStorageTierIndex() int32
- func (*NvmeAddDeviceReq) ProtoMessage()
- func (x *NvmeAddDeviceReq) ProtoReflect() protoreflect.Message
- func (x *NvmeAddDeviceReq) Reset()
- func (x *NvmeAddDeviceReq) String() string
- type NvmeAddDeviceResp
- func (*NvmeAddDeviceResp) Descriptor() ([]byte, []int)deprecated
- func (x *NvmeAddDeviceResp) GetState() *ResponseState
- func (*NvmeAddDeviceResp) ProtoMessage()
- func (x *NvmeAddDeviceResp) ProtoReflect() protoreflect.Message
- func (x *NvmeAddDeviceResp) Reset()
- func (x *NvmeAddDeviceResp) String() string
- type NvmeController
- func (nc *NvmeController) CanSupplyHealthStats() bool
- func (*NvmeController) Descriptor() ([]byte, []int)deprecated
- func (x *NvmeController) GetDevState() NvmeDevState
- func (x *NvmeController) GetFwRev() string
- func (x *NvmeController) GetHealthStats() *BioHealthResp
- func (x *NvmeController) GetLedState() LedState
- func (x *NvmeController) GetModel() string
- func (x *NvmeController) GetNamespaces() []*NvmeController_Namespace
- func (x *NvmeController) GetPciAddr() string
- func (x *NvmeController) GetPciCfg() string
- func (x *NvmeController) GetPciDevType() string
- func (x *NvmeController) GetSerial() string
- func (x *NvmeController) GetSmdDevices() []*SmdDevice
- func (x *NvmeController) GetSocketId() int32
- func (x *NvmeController) GetVendorId() string
- func (nc *NvmeController) IsScannable() bool
- func (*NvmeController) ProtoMessage()
- func (x *NvmeController) ProtoReflect() protoreflect.Message
- func (x *NvmeController) Reset()
- func (x *NvmeController) String() string
- type NvmeControllerResult
- func (*NvmeControllerResult) Descriptor() ([]byte, []int)deprecated
- func (x *NvmeControllerResult) GetPciAddr() string
- func (x *NvmeControllerResult) GetRoleBits() uint32
- func (x *NvmeControllerResult) GetState() *ResponseState
- func (*NvmeControllerResult) ProtoMessage()
- func (x *NvmeControllerResult) ProtoReflect() protoreflect.Message
- func (x *NvmeControllerResult) Reset()
- func (x *NvmeControllerResult) String() string
- type NvmeController_Namespace
- func (*NvmeController_Namespace) Descriptor() ([]byte, []int)deprecated
- func (x *NvmeController_Namespace) GetCtrlrPciAddr() string
- func (x *NvmeController_Namespace) GetId() uint32
- func (x *NvmeController_Namespace) GetSize() uint64
- func (*NvmeController_Namespace) ProtoMessage()
- func (x *NvmeController_Namespace) ProtoReflect() protoreflect.Message
- func (x *NvmeController_Namespace) Reset()
- func (x *NvmeController_Namespace) String() string
- type NvmeDevState
- func (NvmeDevState) Descriptor() protoreflect.EnumDescriptor
- func (x NvmeDevState) Enum() *NvmeDevState
- func (NvmeDevState) EnumDescriptor() ([]byte, []int)deprecated
- func (x NvmeDevState) Number() protoreflect.EnumNumber
- func (x NvmeDevState) String() string
- func (NvmeDevState) Type() protoreflect.EnumType
- func (nds *NvmeDevState) UnmarshalJSON(data []byte) error
- type NvmeFirmwareQueryResp
- func (*NvmeFirmwareQueryResp) Descriptor() ([]byte, []int)deprecated
- func (x *NvmeFirmwareQueryResp) GetDevice() *NvmeController
- func (*NvmeFirmwareQueryResp) ProtoMessage()
- func (x *NvmeFirmwareQueryResp) ProtoReflect() protoreflect.Message
- func (x *NvmeFirmwareQueryResp) Reset()
- func (x *NvmeFirmwareQueryResp) String() string
- type NvmeFirmwareUpdateResp
- func (*NvmeFirmwareUpdateResp) Descriptor() ([]byte, []int)deprecated
- func (x *NvmeFirmwareUpdateResp) GetError() string
- func (x *NvmeFirmwareUpdateResp) GetPciAddr() string
- func (*NvmeFirmwareUpdateResp) ProtoMessage()
- func (x *NvmeFirmwareUpdateResp) ProtoReflect() protoreflect.Message
- func (x *NvmeFirmwareUpdateResp) Reset()
- func (x *NvmeFirmwareUpdateResp) String() string
- type NvmeRebindReq
- type NvmeRebindResp
- type PrepareScmReq
- type PrepareScmResp
- func (*PrepareScmResp) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareScmResp) GetNamespaces() []*ScmNamespace
- func (x *PrepareScmResp) GetRebootrequired() bool
- func (x *PrepareScmResp) GetState() *ResponseState
- func (*PrepareScmResp) ProtoMessage()
- func (x *PrepareScmResp) ProtoReflect() protoreflect.Message
- func (x *PrepareScmResp) Reset()
- func (x *PrepareScmResp) String() string
- type RanksReq
- func (*RanksReq) Descriptor() ([]byte, []int)deprecated
- func (x *RanksReq) GetCheckMode() bool
- func (x *RanksReq) GetForce() bool
- func (x *RanksReq) GetRanks() string
- func (*RanksReq) ProtoMessage()
- func (x *RanksReq) ProtoReflect() protoreflect.Message
- func (x *RanksReq) Reset()
- func (x *RanksReq) String() string
- type RanksResp
- type ResponseState
- func (*ResponseState) Descriptor() ([]byte, []int)deprecated
- func (x *ResponseState) GetError() string
- func (x *ResponseState) GetInfo() string
- func (x *ResponseState) GetStatus() ResponseStatus
- func (*ResponseState) ProtoMessage()
- func (x *ResponseState) ProtoReflect() protoreflect.Message
- func (x *ResponseState) Reset()
- func (x *ResponseState) String() string
- type ResponseStatus
- func (ResponseStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ResponseStatus) Enum() *ResponseStatus
- func (ResponseStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ResponseStatus) Number() protoreflect.EnumNumber
- func (x ResponseStatus) String() string
- func (ResponseStatus) Type() protoreflect.EnumType
- type ScanNvmeReq
- func (*ScanNvmeReq) Descriptor() ([]byte, []int)deprecated
- func (x *ScanNvmeReq) GetBasic() bool
- func (x *ScanNvmeReq) GetHealth() bool
- func (x *ScanNvmeReq) GetLinkStats() bool
- func (x *ScanNvmeReq) GetMemRatio() float32
- func (x *ScanNvmeReq) GetMeta() bool
- func (x *ScanNvmeReq) GetMetaSize() uint64
- func (x *ScanNvmeReq) GetRdbSize() uint64
- func (*ScanNvmeReq) ProtoMessage()
- func (x *ScanNvmeReq) ProtoReflect() protoreflect.Message
- func (x *ScanNvmeReq) Reset()
- func (x *ScanNvmeReq) String() string
- type ScanNvmeResp
- func (*ScanNvmeResp) Descriptor() ([]byte, []int)deprecated
- func (x *ScanNvmeResp) GetCtrlrs() []*NvmeController
- func (x *ScanNvmeResp) GetState() *ResponseState
- func (*ScanNvmeResp) ProtoMessage()
- func (x *ScanNvmeResp) ProtoReflect() protoreflect.Message
- func (x *ScanNvmeResp) Reset()
- func (x *ScanNvmeResp) String() string
- type ScanScmReq
- type ScanScmResp
- func (*ScanScmResp) Descriptor() ([]byte, []int)deprecated
- func (x *ScanScmResp) GetModules() []*ScmModule
- func (x *ScanScmResp) GetNamespaces() []*ScmNamespace
- func (x *ScanScmResp) GetState() *ResponseState
- func (*ScanScmResp) ProtoMessage()
- func (x *ScanScmResp) ProtoReflect() protoreflect.Message
- func (x *ScanScmResp) Reset()
- func (x *ScanScmResp) String() string
- type ScmFirmwareQueryResp
- func (*ScmFirmwareQueryResp) Descriptor() ([]byte, []int)deprecated
- func (x *ScmFirmwareQueryResp) GetActiveVersion() string
- func (x *ScmFirmwareQueryResp) GetError() string
- func (x *ScmFirmwareQueryResp) GetImageMaxSizeBytes() uint32
- func (x *ScmFirmwareQueryResp) GetModule() *ScmModule
- func (x *ScmFirmwareQueryResp) GetStagedVersion() string
- func (x *ScmFirmwareQueryResp) GetUpdateStatus() uint32
- func (*ScmFirmwareQueryResp) ProtoMessage()
- func (x *ScmFirmwareQueryResp) ProtoReflect() protoreflect.Message
- func (x *ScmFirmwareQueryResp) Reset()
- func (x *ScmFirmwareQueryResp) String() string
- type ScmFirmwareUpdateResp
- func (*ScmFirmwareUpdateResp) Descriptor() ([]byte, []int)deprecated
- func (x *ScmFirmwareUpdateResp) GetError() string
- func (x *ScmFirmwareUpdateResp) GetModule() *ScmModule
- func (*ScmFirmwareUpdateResp) ProtoMessage()
- func (x *ScmFirmwareUpdateResp) ProtoReflect() protoreflect.Message
- func (x *ScmFirmwareUpdateResp) Reset()
- func (x *ScmFirmwareUpdateResp) String() string
- type ScmModule
- func (*ScmModule) Descriptor() ([]byte, []int)deprecated
- func (x *ScmModule) GetCapacity() uint64
- func (x *ScmModule) GetChannelid() uint32
- func (x *ScmModule) GetChannelposition() uint32
- func (x *ScmModule) GetControllerid() uint32
- func (x *ScmModule) GetFirmwareRevision() string
- func (x *ScmModule) GetHealthState() string
- func (x *ScmModule) GetPartNumber() string
- func (x *ScmModule) GetPhysicalid() uint32
- func (x *ScmModule) GetSocketid() uint32
- func (x *ScmModule) GetUid() string
- func (*ScmModule) ProtoMessage()
- func (x *ScmModule) ProtoReflect() protoreflect.Message
- func (x *ScmModule) Reset()
- func (x *ScmModule) String() string
- type ScmModuleResult
- func (*ScmModuleResult) Descriptor() ([]byte, []int)deprecated
- func (x *ScmModuleResult) GetPhysicalid() uint32
- func (x *ScmModuleResult) GetState() *ResponseState
- func (*ScmModuleResult) ProtoMessage()
- func (x *ScmModuleResult) ProtoReflect() protoreflect.Message
- func (x *ScmModuleResult) Reset()
- func (x *ScmModuleResult) String() string
- type ScmMountResult
- func (*ScmMountResult) Descriptor() ([]byte, []int)deprecated
- func (x *ScmMountResult) GetInstanceidx() uint32
- func (x *ScmMountResult) GetMntpoint() string
- func (x *ScmMountResult) GetState() *ResponseState
- func (*ScmMountResult) ProtoMessage()
- func (x *ScmMountResult) ProtoReflect() protoreflect.Message
- func (x *ScmMountResult) Reset()
- func (x *ScmMountResult) String() string
- type ScmNamespace
- func (*ScmNamespace) Descriptor() ([]byte, []int)deprecated
- func (x *ScmNamespace) GetBlockdev() string
- func (x *ScmNamespace) GetDev() string
- func (x *ScmNamespace) GetMount() *ScmNamespace_Mount
- func (x *ScmNamespace) GetNumaNode() uint32
- func (x *ScmNamespace) GetSize() uint64
- func (x *ScmNamespace) GetUuid() string
- func (*ScmNamespace) ProtoMessage()
- func (x *ScmNamespace) ProtoReflect() protoreflect.Message
- func (x *ScmNamespace) Reset()
- func (x *ScmNamespace) String() string
- type ScmNamespace_Mount
- func (*ScmNamespace_Mount) Descriptor() ([]byte, []int)deprecated
- func (x *ScmNamespace_Mount) GetAvailBytes() uint64
- func (x *ScmNamespace_Mount) GetClass() string
- func (x *ScmNamespace_Mount) GetDeviceList() []string
- func (x *ScmNamespace_Mount) GetPath() string
- func (x *ScmNamespace_Mount) GetRank() uint32
- func (x *ScmNamespace_Mount) GetTotalBytes() uint64
- func (x *ScmNamespace_Mount) GetUsableBytes() uint64
- func (*ScmNamespace_Mount) ProtoMessage()
- func (x *ScmNamespace_Mount) ProtoReflect() protoreflect.Message
- func (x *ScmNamespace_Mount) Reset()
- func (x *ScmNamespace_Mount) String() string
- type SetFaultyReq
- type SetLogMasksReq
- func (*SetLogMasksReq) Descriptor() ([]byte, []int)deprecated
- func (x *SetLogMasksReq) GetMasks() string
- func (x *SetLogMasksReq) GetResetMasks() bool
- func (x *SetLogMasksReq) GetResetStreams() bool
- func (x *SetLogMasksReq) GetResetSubsystems() bool
- func (x *SetLogMasksReq) GetStreams() string
- func (x *SetLogMasksReq) GetSubsystems() string
- func (x *SetLogMasksReq) GetSys() string
- func (*SetLogMasksReq) ProtoMessage()
- func (x *SetLogMasksReq) ProtoReflect() protoreflect.Message
- func (x *SetLogMasksReq) Reset()
- func (x *SetLogMasksReq) String() string
- type SetLogMasksResp
- func (*SetLogMasksResp) Descriptor() ([]byte, []int)deprecated
- func (x *SetLogMasksResp) GetErrors() []string
- func (x *SetLogMasksResp) GetStatus() int32
- func (*SetLogMasksResp) ProtoMessage()
- func (x *SetLogMasksResp) ProtoReflect() protoreflect.Message
- func (x *SetLogMasksResp) Reset()
- func (x *SetLogMasksResp) String() string
- type SmdDevReq
- type SmdDevResp
- func (*SmdDevResp) Descriptor() ([]byte, []int)deprecated
- func (x *SmdDevResp) GetDevices() []*SmdDevice
- func (x *SmdDevResp) GetStatus() int32
- func (*SmdDevResp) ProtoMessage()
- func (x *SmdDevResp) ProtoReflect() protoreflect.Message
- func (x *SmdDevResp) Reset()
- func (x *SmdDevResp) String() string
- type SmdDevice
- func (*SmdDevice) Descriptor() ([]byte, []int)deprecated
- func (x *SmdDevice) GetAvailBytes() uint64
- func (x *SmdDevice) GetClusterSize() uint64
- func (x *SmdDevice) GetCtrlr() *NvmeController
- func (x *SmdDevice) GetCtrlrNamespaceId() uint32
- func (x *SmdDevice) GetMetaSize() uint64
- func (x *SmdDevice) GetMetaWalSize() uint64
- func (x *SmdDevice) GetRank() uint32
- func (x *SmdDevice) GetRdbSize() uint64
- func (x *SmdDevice) GetRdbWalSize() uint64
- func (x *SmdDevice) GetRoleBits() uint32
- func (x *SmdDevice) GetTgtIds() []int32
- func (x *SmdDevice) GetTotalBytes() uint64
- func (x *SmdDevice) GetUsableBytes() uint64
- func (x *SmdDevice) GetUuid() string
- func (*SmdDevice) ProtoMessage()
- func (x *SmdDevice) ProtoReflect() protoreflect.Message
- func (x *SmdDevice) Reset()
- func (x *SmdDevice) String() string
- type SmdManageReq
- func (*SmdManageReq) Descriptor() ([]byte, []int)deprecated
- func (x *SmdManageReq) GetFaulty() *SetFaultyReq
- func (x *SmdManageReq) GetLed() *LedManageReq
- func (m *SmdManageReq) GetOp() isSmdManageReq_Op
- func (x *SmdManageReq) GetReplace() *DevReplaceReq
- func (*SmdManageReq) ProtoMessage()
- func (x *SmdManageReq) ProtoReflect() protoreflect.Message
- func (x *SmdManageReq) Reset()
- func (x *SmdManageReq) String() string
- type SmdManageReq_Faulty
- type SmdManageReq_Led
- type SmdManageReq_Replace
- type SmdManageResp
- type SmdManageResp_RankResp
- func (*SmdManageResp_RankResp) Descriptor() ([]byte, []int)deprecated
- func (x *SmdManageResp_RankResp) GetRank() uint32
- func (x *SmdManageResp_RankResp) GetResults() []*SmdManageResp_Result
- func (*SmdManageResp_RankResp) ProtoMessage()
- func (x *SmdManageResp_RankResp) ProtoReflect() protoreflect.Message
- func (x *SmdManageResp_RankResp) Reset()
- func (x *SmdManageResp_RankResp) String() string
- type SmdManageResp_Result
- func (*SmdManageResp_Result) Descriptor() ([]byte, []int)deprecated
- func (x *SmdManageResp_Result) GetDevice() *SmdDevice
- func (x *SmdManageResp_Result) GetStatus() int32
- func (*SmdManageResp_Result) ProtoMessage()
- func (x *SmdManageResp_Result) ProtoReflect() protoreflect.Message
- func (x *SmdManageResp_Result) Reset()
- func (x *SmdManageResp_Result) String() string
- type SmdPoolReq
- type SmdPoolResp
- func (*SmdPoolResp) Descriptor() ([]byte, []int)deprecated
- func (x *SmdPoolResp) GetPools() []*SmdPoolResp_Pool
- func (x *SmdPoolResp) GetStatus() int32
- func (*SmdPoolResp) ProtoMessage()
- func (x *SmdPoolResp) ProtoReflect() protoreflect.Message
- func (x *SmdPoolResp) Reset()
- func (x *SmdPoolResp) String() string
- type SmdPoolResp_Pool
- func (*SmdPoolResp_Pool) Descriptor() ([]byte, []int)deprecated
- func (x *SmdPoolResp_Pool) GetBlobs() []uint64
- func (x *SmdPoolResp_Pool) GetTgtIds() []int32
- func (x *SmdPoolResp_Pool) GetUuid() string
- func (*SmdPoolResp_Pool) ProtoMessage()
- func (x *SmdPoolResp_Pool) ProtoReflect() protoreflect.Message
- func (x *SmdPoolResp_Pool) Reset()
- func (x *SmdPoolResp_Pool) String() string
- type SmdQueryReq
- func (*SmdQueryReq) Descriptor() ([]byte, []int)deprecated
- func (x *SmdQueryReq) GetIncludeBioHealth() bool
- func (x *SmdQueryReq) GetOmitDevices() bool
- func (x *SmdQueryReq) GetOmitPools() bool
- func (x *SmdQueryReq) GetRank() uint32
- func (x *SmdQueryReq) GetUuid() string
- func (*SmdQueryReq) ProtoMessage()
- func (x *SmdQueryReq) ProtoReflect() protoreflect.Message
- func (x *SmdQueryReq) Reset()
- func (x *SmdQueryReq) String() string
- type SmdQueryResp
- func (*SmdQueryResp) Descriptor() ([]byte, []int)deprecated
- func (x *SmdQueryResp) GetRanks() []*SmdQueryResp_RankResp
- func (x *SmdQueryResp) GetStatus() int32
- func (*SmdQueryResp) ProtoMessage()
- func (x *SmdQueryResp) ProtoReflect() protoreflect.Message
- func (x *SmdQueryResp) Reset()
- func (x *SmdQueryResp) String() string
- type SmdQueryResp_Pool
- func (*SmdQueryResp_Pool) Descriptor() ([]byte, []int)deprecated
- func (x *SmdQueryResp_Pool) GetBlobs() []uint64
- func (x *SmdQueryResp_Pool) GetTgtIds() []int32
- func (x *SmdQueryResp_Pool) GetUuid() string
- func (*SmdQueryResp_Pool) ProtoMessage()
- func (x *SmdQueryResp_Pool) ProtoReflect() protoreflect.Message
- func (x *SmdQueryResp_Pool) Reset()
- func (x *SmdQueryResp_Pool) String() string
- type SmdQueryResp_RankResp
- func (*SmdQueryResp_RankResp) Descriptor() ([]byte, []int)deprecated
- func (x *SmdQueryResp_RankResp) GetDevices() []*SmdDevice
- func (x *SmdQueryResp_RankResp) GetPools() []*SmdQueryResp_Pool
- func (x *SmdQueryResp_RankResp) GetRank() uint32
- func (*SmdQueryResp_RankResp) ProtoMessage()
- func (x *SmdQueryResp_RankResp) ProtoReflect() protoreflect.Message
- func (x *SmdQueryResp_RankResp) Reset()
- func (x *SmdQueryResp_RankResp) String() string
- type StorageFormatReq
- func (*StorageFormatReq) Descriptor() ([]byte, []int)deprecated
- func (x *StorageFormatReq) GetNvme() *FormatNvmeReq
- func (x *StorageFormatReq) GetReformat() bool
- func (x *StorageFormatReq) GetScm() *FormatScmReq
- func (*StorageFormatReq) ProtoMessage()
- func (x *StorageFormatReq) ProtoReflect() protoreflect.Message
- func (x *StorageFormatReq) Reset()
- func (x *StorageFormatReq) String() string
- type StorageFormatResp
- func (*StorageFormatResp) Descriptor() ([]byte, []int)deprecated
- func (x *StorageFormatResp) GetCrets() []*NvmeControllerResult
- func (x *StorageFormatResp) GetMrets() []*ScmMountResult
- func (*StorageFormatResp) ProtoMessage()
- func (x *StorageFormatResp) ProtoReflect() protoreflect.Message
- func (x *StorageFormatResp) Reset()
- func (x *StorageFormatResp) String() string
- type StorageScanReq
- func (*StorageScanReq) Descriptor() ([]byte, []int)deprecated
- func (x *StorageScanReq) GetNvme() *ScanNvmeReq
- func (x *StorageScanReq) GetScm() *ScanScmReq
- func (*StorageScanReq) ProtoMessage()
- func (x *StorageScanReq) ProtoReflect() protoreflect.Message
- func (x *StorageScanReq) Reset()
- func (x *StorageScanReq) String() string
- type StorageScanResp
- func (*StorageScanResp) Descriptor() ([]byte, []int)deprecated
- func (x *StorageScanResp) GetMemInfo() *MemInfo
- func (x *StorageScanResp) GetNvme() *ScanNvmeResp
- func (x *StorageScanResp) GetScm() *ScanScmResp
- func (*StorageScanResp) ProtoMessage()
- func (x *StorageScanResp) ProtoReflect() protoreflect.Message
- func (x *StorageScanResp) Reset()
- func (x *StorageScanResp) String() string
- type UnimplementedCtlSvcServer
- func (UnimplementedCtlSvcServer) CollectLog(context.Context, *CollectLogReq) (*CollectLogResp, error)
- func (UnimplementedCtlSvcServer) FirmwareQuery(context.Context, *FirmwareQueryReq) (*FirmwareQueryResp, error)
- func (UnimplementedCtlSvcServer) FirmwareUpdate(context.Context, *FirmwareUpdateReq) (*FirmwareUpdateResp, error)
- func (UnimplementedCtlSvcServer) NetworkScan(context.Context, *NetworkScanReq) (*NetworkScanResp, error)
- func (UnimplementedCtlSvcServer) PrepShutdownRanks(context.Context, *RanksReq) (*RanksResp, error)
- func (UnimplementedCtlSvcServer) ResetFormatRanks(context.Context, *RanksReq) (*RanksResp, error)
- func (UnimplementedCtlSvcServer) SetEngineLogMasks(context.Context, *SetLogMasksReq) (*SetLogMasksResp, error)
- func (UnimplementedCtlSvcServer) SmdManage(context.Context, *SmdManageReq) (*SmdManageResp, error)
- func (UnimplementedCtlSvcServer) SmdQuery(context.Context, *SmdQueryReq) (*SmdQueryResp, error)
- func (UnimplementedCtlSvcServer) StartRanks(context.Context, *RanksReq) (*RanksResp, error)
- func (UnimplementedCtlSvcServer) StopRanks(context.Context, *RanksReq) (*RanksResp, error)
- func (UnimplementedCtlSvcServer) StorageFormat(context.Context, *StorageFormatReq) (*StorageFormatResp, error)
- func (UnimplementedCtlSvcServer) StorageNvmeAddDevice(context.Context, *NvmeAddDeviceReq) (*NvmeAddDeviceResp, error)
- func (UnimplementedCtlSvcServer) StorageNvmeRebind(context.Context, *NvmeRebindReq) (*NvmeRebindResp, error)
- func (UnimplementedCtlSvcServer) StorageScan(context.Context, *StorageScanReq) (*StorageScanResp, error)
- type UnsafeCtlSvcServer
Constants ¶
This section is empty.
Variables ¶
var ( ResponseStatus_name = map[int32]string{ 0: "CTL_SUCCESS", 1: "CTL_IN_PROGRESS", 2: "CTL_WAITING", -1: "CTL_ERR_CONF", -2: "CTL_ERR_NVME", -3: "CTL_ERR_SCM", -4: "CTL_ERR_APP", -5: "CTL_ERR_UNKNOWN", -6: "CTL_NO_IMPL", } ResponseStatus_value = map[string]int32{ "CTL_SUCCESS": 0, "CTL_IN_PROGRESS": 1, "CTL_WAITING": 2, "CTL_ERR_CONF": -1, "CTL_ERR_NVME": -2, "CTL_ERR_SCM": -3, "CTL_ERR_APP": -4, "CTL_ERR_UNKNOWN": -5, "CTL_NO_IMPL": -6, } )
Enum value maps for ResponseStatus.
var ( FirmwareUpdateReq_DeviceType_name = map[int32]string{ 0: "SCM", 1: "NVMe", } FirmwareUpdateReq_DeviceType_value = map[string]int32{ "SCM": 0, "NVMe": 1, } )
Enum value maps for FirmwareUpdateReq_DeviceType.
var ( NvmeDevState_name = map[int32]string{ 0: "UNKNOWN", 1: "NORMAL", 2: "NEW", 3: "EVICTED", 4: "UNPLUGGED", } NvmeDevState_value = map[string]int32{ "UNKNOWN": 0, "NORMAL": 1, "NEW": 2, "EVICTED": 3, "UNPLUGGED": 4, } )
Enum value maps for NvmeDevState.
var ( LedState_name = map[int32]string{ 0: "NA", 1: "QUICK_BLINK", 2: "ON", 3: "SLOW_BLINK", 4: "OFF", } LedState_value = map[string]int32{ "NA": 0, "QUICK_BLINK": 1, "ON": 2, "SLOW_BLINK": 3, "OFF": 4, } )
Enum value maps for LedState.
var ( LedAction_name = map[int32]string{ 0: "GET", 1: "SET", 2: "RESET", } LedAction_value = map[string]int32{ "GET": 0, "SET": 1, "RESET": 2, } )
Enum value maps for LedAction.
var CtlSvc_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ctl.CtlSvc", HandlerType: (*CtlSvcServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "StorageScan", Handler: _CtlSvc_StorageScan_Handler, }, { MethodName: "StorageFormat", Handler: _CtlSvc_StorageFormat_Handler, }, { MethodName: "StorageNvmeRebind", Handler: _CtlSvc_StorageNvmeRebind_Handler, }, { MethodName: "StorageNvmeAddDevice", Handler: _CtlSvc_StorageNvmeAddDevice_Handler, }, { MethodName: "NetworkScan", Handler: _CtlSvc_NetworkScan_Handler, }, { MethodName: "FirmwareQuery", Handler: _CtlSvc_FirmwareQuery_Handler, }, { MethodName: "FirmwareUpdate", Handler: _CtlSvc_FirmwareUpdate_Handler, }, { MethodName: "SmdQuery", Handler: _CtlSvc_SmdQuery_Handler, }, { MethodName: "SmdManage", Handler: _CtlSvc_SmdManage_Handler, }, { MethodName: "SetEngineLogMasks", Handler: _CtlSvc_SetEngineLogMasks_Handler, }, { MethodName: "PrepShutdownRanks", Handler: _CtlSvc_PrepShutdownRanks_Handler, }, { MethodName: "StopRanks", Handler: _CtlSvc_StopRanks_Handler, }, { MethodName: "ResetFormatRanks", Handler: _CtlSvc_ResetFormatRanks_Handler, }, { MethodName: "StartRanks", Handler: _CtlSvc_StartRanks_Handler, }, { MethodName: "CollectLog", Handler: _CtlSvc_CollectLog_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ctl/ctl.proto", }
CtlSvc_ServiceDesc is the grpc.ServiceDesc for CtlSvc service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_ctl_common_proto protoreflect.FileDescriptor
var File_ctl_ctl_proto protoreflect.FileDescriptor
var File_ctl_firmware_proto protoreflect.FileDescriptor
var File_ctl_network_proto protoreflect.FileDescriptor
var File_ctl_ranks_proto protoreflect.FileDescriptor
var File_ctl_server_proto protoreflect.FileDescriptor
var File_ctl_smd_proto protoreflect.FileDescriptor
var File_ctl_storage_nvme_proto protoreflect.FileDescriptor
var File_ctl_storage_proto protoreflect.FileDescriptor
var File_ctl_storage_scm_proto protoreflect.FileDescriptor
var File_ctl_support_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCtlSvcServer ¶
func RegisterCtlSvcServer(s grpc.ServiceRegistrar, srv CtlSvcServer)
Types ¶
type BioHealthReq ¶
type BioHealthReq struct { DevUuid string `protobuf:"bytes,1,opt,name=dev_uuid,json=devUuid,proto3" json:"dev_uuid,omitempty"` MetaSize uint64 `protobuf:"varint,2,opt,name=meta_size,json=metaSize,proto3" json:"meta_size,omitempty"` // Size of the metadata (i.e. vos file index) blob RdbSize uint64 `protobuf:"varint,3,opt,name=rdb_size,json=rdbSize,proto3" json:"rdb_size,omitempty"` // Size of the RDB blob // contains filtered or unexported fields }
func (*BioHealthReq) Descriptor
deprecated
func (*BioHealthReq) Descriptor() ([]byte, []int)
Deprecated: Use BioHealthReq.ProtoReflect.Descriptor instead.
func (*BioHealthReq) GetDevUuid ¶
func (x *BioHealthReq) GetDevUuid() string
func (*BioHealthReq) GetMetaSize ¶
func (x *BioHealthReq) GetMetaSize() uint64
func (*BioHealthReq) GetRdbSize ¶
func (x *BioHealthReq) GetRdbSize() uint64
func (*BioHealthReq) ProtoMessage ¶
func (*BioHealthReq) ProtoMessage()
func (*BioHealthReq) ProtoReflect ¶
func (x *BioHealthReq) ProtoReflect() protoreflect.Message
func (*BioHealthReq) Reset ¶
func (x *BioHealthReq) Reset()
func (*BioHealthReq) String ¶
func (x *BioHealthReq) String() string
type BioHealthResp ¶
type BioHealthResp struct { Timestamp uint64 `protobuf:"varint,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Device health details WarnTempTime uint32 `protobuf:"varint,5,opt,name=warn_temp_time,json=warnTempTime,proto3" json:"warn_temp_time,omitempty"` CritTempTime uint32 `protobuf:"varint,6,opt,name=crit_temp_time,json=critTempTime,proto3" json:"crit_temp_time,omitempty"` CtrlBusyTime uint64 `protobuf:"varint,7,opt,name=ctrl_busy_time,json=ctrlBusyTime,proto3" json:"ctrl_busy_time,omitempty"` PowerCycles uint64 `protobuf:"varint,8,opt,name=power_cycles,json=powerCycles,proto3" json:"power_cycles,omitempty"` PowerOnHours uint64 `protobuf:"varint,9,opt,name=power_on_hours,json=powerOnHours,proto3" json:"power_on_hours,omitempty"` UnsafeShutdowns uint64 `protobuf:"varint,10,opt,name=unsafe_shutdowns,json=unsafeShutdowns,proto3" json:"unsafe_shutdowns,omitempty"` MediaErrs uint64 `protobuf:"varint,11,opt,name=media_errs,json=mediaErrs,proto3" json:"media_errs,omitempty"` ErrLogEntries uint64 `protobuf:"varint,12,opt,name=err_log_entries,json=errLogEntries,proto3" json:"err_log_entries,omitempty"` // I/O error counters BioReadErrs uint32 `protobuf:"varint,13,opt,name=bio_read_errs,json=bioReadErrs,proto3" json:"bio_read_errs,omitempty"` BioWriteErrs uint32 `protobuf:"varint,14,opt,name=bio_write_errs,json=bioWriteErrs,proto3" json:"bio_write_errs,omitempty"` BioUnmapErrs uint32 `protobuf:"varint,15,opt,name=bio_unmap_errs,json=bioUnmapErrs,proto3" json:"bio_unmap_errs,omitempty"` ChecksumErrs uint32 `protobuf:"varint,16,opt,name=checksum_errs,json=checksumErrs,proto3" json:"checksum_errs,omitempty"` Temperature uint32 `protobuf:"varint,17,opt,name=temperature,proto3" json:"temperature,omitempty"` // in Kelvin // Critical warnings TempWarn bool `protobuf:"varint,18,opt,name=temp_warn,json=tempWarn,proto3" json:"temp_warn,omitempty"` AvailSpareWarn bool `protobuf:"varint,19,opt,name=avail_spare_warn,json=availSpareWarn,proto3" json:"avail_spare_warn,omitempty"` DevReliabilityWarn bool `protobuf:"varint,20,opt,name=dev_reliability_warn,json=devReliabilityWarn,proto3" json:"dev_reliability_warn,omitempty"` ReadOnlyWarn bool `protobuf:"varint,21,opt,name=read_only_warn,json=readOnlyWarn,proto3" json:"read_only_warn,omitempty"` VolatileMemWarn bool `protobuf:"varint,22,opt,name=volatile_mem_warn,json=volatileMemWarn,proto3" json:"volatile_mem_warn,omitempty"` // volatile memory backup Status int32 `protobuf:"varint,23,opt,name=status,proto3" json:"status,omitempty"` // DAOS err code DevUuid string `protobuf:"bytes,24,opt,name=dev_uuid,json=devUuid,proto3" json:"dev_uuid,omitempty"` // UUID of blobstore // Usage stats TotalBytes uint64 `protobuf:"varint,25,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` // size of blobstore AvailBytes uint64 `protobuf:"varint,26,opt,name=avail_bytes,json=availBytes,proto3" json:"avail_bytes,omitempty"` // free space in blobstore // Intel vendor SMART attributes ProgramFailCntNorm uint32 `protobuf:"varint,27,opt,name=program_fail_cnt_norm,json=programFailCntNorm,proto3" json:"program_fail_cnt_norm,omitempty"` // percent remaining ProgramFailCntRaw uint64 `protobuf:"varint,28,opt,name=program_fail_cnt_raw,json=programFailCntRaw,proto3" json:"program_fail_cnt_raw,omitempty"` // current value EraseFailCntNorm uint32 `protobuf:"varint,29,opt,name=erase_fail_cnt_norm,json=eraseFailCntNorm,proto3" json:"erase_fail_cnt_norm,omitempty"` EraseFailCntRaw uint64 `protobuf:"varint,30,opt,name=erase_fail_cnt_raw,json=eraseFailCntRaw,proto3" json:"erase_fail_cnt_raw,omitempty"` WearLevelingCntNorm uint32 `protobuf:"varint,31,opt,name=wear_leveling_cnt_norm,json=wearLevelingCntNorm,proto3" json:"wear_leveling_cnt_norm,omitempty"` WearLevelingCntMin uint32 `protobuf:"varint,32,opt,name=wear_leveling_cnt_min,json=wearLevelingCntMin,proto3" json:"wear_leveling_cnt_min,omitempty"` WearLevelingCntMax uint32 `protobuf:"varint,33,opt,name=wear_leveling_cnt_max,json=wearLevelingCntMax,proto3" json:"wear_leveling_cnt_max,omitempty"` WearLevelingCntAvg uint32 `protobuf:"varint,34,opt,name=wear_leveling_cnt_avg,json=wearLevelingCntAvg,proto3" json:"wear_leveling_cnt_avg,omitempty"` EndtoendErrCntRaw uint64 `protobuf:"varint,35,opt,name=endtoend_err_cnt_raw,json=endtoendErrCntRaw,proto3" json:"endtoend_err_cnt_raw,omitempty"` CrcErrCntRaw uint64 `protobuf:"varint,36,opt,name=crc_err_cnt_raw,json=crcErrCntRaw,proto3" json:"crc_err_cnt_raw,omitempty"` MediaWearRaw uint64 `protobuf:"varint,37,opt,name=media_wear_raw,json=mediaWearRaw,proto3" json:"media_wear_raw,omitempty"` HostReadsRaw uint64 `protobuf:"varint,38,opt,name=host_reads_raw,json=hostReadsRaw,proto3" json:"host_reads_raw,omitempty"` WorkloadTimerRaw uint64 `protobuf:"varint,39,opt,name=workload_timer_raw,json=workloadTimerRaw,proto3" json:"workload_timer_raw,omitempty"` ThermalThrottleStatus uint32 `` /* 128-byte string literal not displayed */ ThermalThrottleEventCnt uint64 `` /* 136-byte string literal not displayed */ RetryBufferOverflowCnt uint64 `` /* 133-byte string literal not displayed */ PllLockLossCnt uint64 `protobuf:"varint,43,opt,name=pll_lock_loss_cnt,json=pllLockLossCnt,proto3" json:"pll_lock_loss_cnt,omitempty"` NandBytesWritten uint64 `protobuf:"varint,44,opt,name=nand_bytes_written,json=nandBytesWritten,proto3" json:"nand_bytes_written,omitempty"` HostBytesWritten uint64 `protobuf:"varint,45,opt,name=host_bytes_written,json=hostBytesWritten,proto3" json:"host_bytes_written,omitempty"` // Engine configs properties ClusterSize uint64 `protobuf:"varint,46,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // blobstore cluster size in bytes MetaWalSize uint64 `protobuf:"varint,47,opt,name=meta_wal_size,json=metaWalSize,proto3" json:"meta_wal_size,omitempty"` // metadata WAL blob size RdbWalSize uint64 `protobuf:"varint,48,opt,name=rdb_wal_size,json=rdbWalSize,proto3" json:"rdb_wal_size,omitempty"` // RDB WAL blob size // PCIe config space link stats LinkPortId uint32 `protobuf:"varint,49,opt,name=link_port_id,json=linkPortId,proto3" json:"link_port_id,omitempty"` // port identifier LinkMaxSpeed float32 `protobuf:"fixed32,50,opt,name=link_max_speed,json=linkMaxSpeed,proto3" json:"link_max_speed,omitempty"` // maximum speed in transactions per second LinkMaxWidth uint32 `protobuf:"varint,51,opt,name=link_max_width,json=linkMaxWidth,proto3" json:"link_max_width,omitempty"` // maximum width (number of lanes) LinkNegSpeed float32 `protobuf:"fixed32,52,opt,name=link_neg_speed,json=linkNegSpeed,proto3" json:"link_neg_speed,omitempty"` // negotiated speed in transactions per second LinkNegWidth uint32 `protobuf:"varint,53,opt,name=link_neg_width,json=linkNegWidth,proto3" json:"link_neg_width,omitempty"` // negotiated width (number of lanes) // contains filtered or unexported fields }
BioHealthResp mirrors nvme_health_stats structure.
func (*BioHealthResp) Descriptor
deprecated
func (*BioHealthResp) Descriptor() ([]byte, []int)
Deprecated: Use BioHealthResp.ProtoReflect.Descriptor instead.
func (*BioHealthResp) GetAvailBytes ¶
func (x *BioHealthResp) GetAvailBytes() uint64
func (*BioHealthResp) GetAvailSpareWarn ¶
func (x *BioHealthResp) GetAvailSpareWarn() bool
func (*BioHealthResp) GetBioReadErrs ¶
func (x *BioHealthResp) GetBioReadErrs() uint32
func (*BioHealthResp) GetBioUnmapErrs ¶
func (x *BioHealthResp) GetBioUnmapErrs() uint32
func (*BioHealthResp) GetBioWriteErrs ¶
func (x *BioHealthResp) GetBioWriteErrs() uint32
func (*BioHealthResp) GetChecksumErrs ¶
func (x *BioHealthResp) GetChecksumErrs() uint32
func (*BioHealthResp) GetClusterSize ¶
func (x *BioHealthResp) GetClusterSize() uint64
func (*BioHealthResp) GetCrcErrCntRaw ¶
func (x *BioHealthResp) GetCrcErrCntRaw() uint64
func (*BioHealthResp) GetCritTempTime ¶
func (x *BioHealthResp) GetCritTempTime() uint32
func (*BioHealthResp) GetCtrlBusyTime ¶
func (x *BioHealthResp) GetCtrlBusyTime() uint64
func (*BioHealthResp) GetDevReliabilityWarn ¶
func (x *BioHealthResp) GetDevReliabilityWarn() bool
func (*BioHealthResp) GetDevUuid ¶
func (x *BioHealthResp) GetDevUuid() string
func (*BioHealthResp) GetEndtoendErrCntRaw ¶
func (x *BioHealthResp) GetEndtoendErrCntRaw() uint64
func (*BioHealthResp) GetEraseFailCntNorm ¶
func (x *BioHealthResp) GetEraseFailCntNorm() uint32
func (*BioHealthResp) GetEraseFailCntRaw ¶
func (x *BioHealthResp) GetEraseFailCntRaw() uint64
func (*BioHealthResp) GetErrLogEntries ¶
func (x *BioHealthResp) GetErrLogEntries() uint64
func (*BioHealthResp) GetHostBytesWritten ¶
func (x *BioHealthResp) GetHostBytesWritten() uint64
func (*BioHealthResp) GetHostReadsRaw ¶
func (x *BioHealthResp) GetHostReadsRaw() uint64
func (*BioHealthResp) GetLinkMaxSpeed ¶
func (x *BioHealthResp) GetLinkMaxSpeed() float32
func (*BioHealthResp) GetLinkMaxWidth ¶
func (x *BioHealthResp) GetLinkMaxWidth() uint32
func (*BioHealthResp) GetLinkNegSpeed ¶
func (x *BioHealthResp) GetLinkNegSpeed() float32
func (*BioHealthResp) GetLinkNegWidth ¶
func (x *BioHealthResp) GetLinkNegWidth() uint32
func (*BioHealthResp) GetLinkPortId ¶
func (x *BioHealthResp) GetLinkPortId() uint32
func (*BioHealthResp) GetMediaErrs ¶
func (x *BioHealthResp) GetMediaErrs() uint64
func (*BioHealthResp) GetMediaWearRaw ¶
func (x *BioHealthResp) GetMediaWearRaw() uint64
func (*BioHealthResp) GetMetaWalSize ¶
func (x *BioHealthResp) GetMetaWalSize() uint64
func (*BioHealthResp) GetNandBytesWritten ¶
func (x *BioHealthResp) GetNandBytesWritten() uint64
func (*BioHealthResp) GetPllLockLossCnt ¶
func (x *BioHealthResp) GetPllLockLossCnt() uint64
func (*BioHealthResp) GetPowerCycles ¶
func (x *BioHealthResp) GetPowerCycles() uint64
func (*BioHealthResp) GetPowerOnHours ¶
func (x *BioHealthResp) GetPowerOnHours() uint64
func (*BioHealthResp) GetProgramFailCntNorm ¶
func (x *BioHealthResp) GetProgramFailCntNorm() uint32
func (*BioHealthResp) GetProgramFailCntRaw ¶
func (x *BioHealthResp) GetProgramFailCntRaw() uint64
func (*BioHealthResp) GetRdbWalSize ¶
func (x *BioHealthResp) GetRdbWalSize() uint64
func (*BioHealthResp) GetReadOnlyWarn ¶
func (x *BioHealthResp) GetReadOnlyWarn() bool
func (*BioHealthResp) GetRetryBufferOverflowCnt ¶
func (x *BioHealthResp) GetRetryBufferOverflowCnt() uint64
func (*BioHealthResp) GetStatus ¶
func (x *BioHealthResp) GetStatus() int32
func (*BioHealthResp) GetTempWarn ¶
func (x *BioHealthResp) GetTempWarn() bool
func (*BioHealthResp) GetTemperature ¶
func (x *BioHealthResp) GetTemperature() uint32
func (*BioHealthResp) GetThermalThrottleEventCnt ¶
func (x *BioHealthResp) GetThermalThrottleEventCnt() uint64
func (*BioHealthResp) GetThermalThrottleStatus ¶
func (x *BioHealthResp) GetThermalThrottleStatus() uint32
func (*BioHealthResp) GetTimestamp ¶
func (x *BioHealthResp) GetTimestamp() uint64
func (*BioHealthResp) GetTotalBytes ¶
func (x *BioHealthResp) GetTotalBytes() uint64
func (*BioHealthResp) GetUnsafeShutdowns ¶
func (x *BioHealthResp) GetUnsafeShutdowns() uint64
func (*BioHealthResp) GetVolatileMemWarn ¶
func (x *BioHealthResp) GetVolatileMemWarn() bool
func (*BioHealthResp) GetWarnTempTime ¶
func (x *BioHealthResp) GetWarnTempTime() uint32
func (*BioHealthResp) GetWearLevelingCntAvg ¶
func (x *BioHealthResp) GetWearLevelingCntAvg() uint32
func (*BioHealthResp) GetWearLevelingCntMax ¶
func (x *BioHealthResp) GetWearLevelingCntMax() uint32
func (*BioHealthResp) GetWearLevelingCntMin ¶
func (x *BioHealthResp) GetWearLevelingCntMin() uint32
func (*BioHealthResp) GetWearLevelingCntNorm ¶
func (x *BioHealthResp) GetWearLevelingCntNorm() uint32
func (*BioHealthResp) GetWorkloadTimerRaw ¶
func (x *BioHealthResp) GetWorkloadTimerRaw() uint64
func (*BioHealthResp) ProtoMessage ¶
func (*BioHealthResp) ProtoMessage()
func (*BioHealthResp) ProtoReflect ¶
func (x *BioHealthResp) ProtoReflect() protoreflect.Message
func (*BioHealthResp) Reset ¶
func (x *BioHealthResp) Reset()
func (*BioHealthResp) String ¶
func (x *BioHealthResp) String() string
type CollectLogReq ¶
type CollectLogReq struct { TargetFolder string `protobuf:"bytes,1,opt,name=TargetFolder,proto3" json:"TargetFolder,omitempty"` ExtraLogsDir string `protobuf:"bytes,2,opt,name=ExtraLogsDir,proto3" json:"ExtraLogsDir,omitempty"` AdminNode string `protobuf:"bytes,3,opt,name=AdminNode,proto3" json:"AdminNode,omitempty"` JsonOutput bool `protobuf:"varint,4,opt,name=JsonOutput,proto3" json:"JsonOutput,omitempty"` LogFunction int32 `protobuf:"varint,5,opt,name=LogFunction,proto3" json:"LogFunction,omitempty"` LogCmd string `protobuf:"bytes,6,opt,name=LogCmd,proto3" json:"LogCmd,omitempty"` LogStartDate string `protobuf:"bytes,7,opt,name=LogStartDate,proto3" json:"LogStartDate,omitempty"` LogEndDate string `protobuf:"bytes,8,opt,name=LogEndDate,proto3" json:"LogEndDate,omitempty"` LogStartTime string `protobuf:"bytes,9,opt,name=LogStartTime,proto3" json:"LogStartTime,omitempty"` LogEndTime string `protobuf:"bytes,10,opt,name=LogEndTime,proto3" json:"LogEndTime,omitempty"` StopOnError bool `protobuf:"varint,11,opt,name=StopOnError,proto3" json:"StopOnError,omitempty"` FileTransferExecArgs string `protobuf:"bytes,12,opt,name=FileTransferExecArgs,proto3" json:"FileTransferExecArgs,omitempty"` // contains filtered or unexported fields }
func (*CollectLogReq) Descriptor
deprecated
func (*CollectLogReq) Descriptor() ([]byte, []int)
Deprecated: Use CollectLogReq.ProtoReflect.Descriptor instead.
func (*CollectLogReq) GetAdminNode ¶
func (x *CollectLogReq) GetAdminNode() string
func (*CollectLogReq) GetExtraLogsDir ¶
func (x *CollectLogReq) GetExtraLogsDir() string
func (*CollectLogReq) GetFileTransferExecArgs ¶
func (x *CollectLogReq) GetFileTransferExecArgs() string
func (*CollectLogReq) GetJsonOutput ¶
func (x *CollectLogReq) GetJsonOutput() bool
func (*CollectLogReq) GetLogCmd ¶
func (x *CollectLogReq) GetLogCmd() string
func (*CollectLogReq) GetLogEndDate ¶
func (x *CollectLogReq) GetLogEndDate() string
func (*CollectLogReq) GetLogEndTime ¶
func (x *CollectLogReq) GetLogEndTime() string
func (*CollectLogReq) GetLogFunction ¶
func (x *CollectLogReq) GetLogFunction() int32
func (*CollectLogReq) GetLogStartDate ¶
func (x *CollectLogReq) GetLogStartDate() string
func (*CollectLogReq) GetLogStartTime ¶
func (x *CollectLogReq) GetLogStartTime() string
func (*CollectLogReq) GetStopOnError ¶
func (x *CollectLogReq) GetStopOnError() bool
func (*CollectLogReq) GetTargetFolder ¶
func (x *CollectLogReq) GetTargetFolder() string
func (*CollectLogReq) ProtoMessage ¶
func (*CollectLogReq) ProtoMessage()
func (*CollectLogReq) ProtoReflect ¶
func (x *CollectLogReq) ProtoReflect() protoreflect.Message
func (*CollectLogReq) Reset ¶
func (x *CollectLogReq) Reset()
func (*CollectLogReq) String ¶
func (x *CollectLogReq) String() string
type CollectLogResp ¶
type CollectLogResp struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // DAOS error code // contains filtered or unexported fields }
func (*CollectLogResp) Descriptor
deprecated
func (*CollectLogResp) Descriptor() ([]byte, []int)
Deprecated: Use CollectLogResp.ProtoReflect.Descriptor instead.
func (*CollectLogResp) GetStatus ¶
func (x *CollectLogResp) GetStatus() int32
func (*CollectLogResp) ProtoMessage ¶
func (*CollectLogResp) ProtoMessage()
func (*CollectLogResp) ProtoReflect ¶
func (x *CollectLogResp) ProtoReflect() protoreflect.Message
func (*CollectLogResp) Reset ¶
func (x *CollectLogResp) Reset()
func (*CollectLogResp) String ¶
func (x *CollectLogResp) String() string
type CtlSvcClient ¶
type CtlSvcClient interface { // Retrieve details of nonvolatile storage on server, including health info StorageScan(ctx context.Context, in *StorageScanReq, opts ...grpc.CallOption) (*StorageScanResp, error) // Format nonvolatile storage devices for use with DAOS StorageFormat(ctx context.Context, in *StorageFormatReq, opts ...grpc.CallOption) (*StorageFormatResp, error) // Rebind SSD from kernel and bind instead to user-space for use with DAOS StorageNvmeRebind(ctx context.Context, in *NvmeRebindReq, opts ...grpc.CallOption) (*NvmeRebindResp, error) // Add newly inserted SSD to DAOS engine config StorageNvmeAddDevice(ctx context.Context, in *NvmeAddDeviceReq, opts ...grpc.CallOption) (*NvmeAddDeviceResp, error) // Perform a fabric scan to determine the available provider, device, NUMA node combinations NetworkScan(ctx context.Context, in *NetworkScanReq, opts ...grpc.CallOption) (*NetworkScanResp, error) // Retrieve firmware details from storage devices on server FirmwareQuery(ctx context.Context, in *FirmwareQueryReq, opts ...grpc.CallOption) (*FirmwareQueryResp, error) // Update firmware on storage devices on server FirmwareUpdate(ctx context.Context, in *FirmwareUpdateReq, opts ...grpc.CallOption) (*FirmwareUpdateResp, error) // Query the per-server metadata SmdQuery(ctx context.Context, in *SmdQueryReq, opts ...grpc.CallOption) (*SmdQueryResp, error) // Manage devices (per-server) identified in SMD table SmdManage(ctx context.Context, in *SmdManageReq, opts ...grpc.CallOption) (*SmdManageResp, error) // Set log level for DAOS I/O Engines on a host. SetEngineLogMasks(ctx context.Context, in *SetLogMasksReq, opts ...grpc.CallOption) (*SetLogMasksResp, error) // Prepare DAOS I/O Engines on a host for controlled shutdown. (gRPC fanout) PrepShutdownRanks(ctx context.Context, in *RanksReq, opts ...grpc.CallOption) (*RanksResp, error) // Stop DAOS I/O Engines on a host. (gRPC fanout) StopRanks(ctx context.Context, in *RanksReq, opts ...grpc.CallOption) (*RanksResp, error) // ResetFormat DAOS I/O Engines on a host. (gRPC fanout) ResetFormatRanks(ctx context.Context, in *RanksReq, opts ...grpc.CallOption) (*RanksResp, error) // Start DAOS I/O Engines on a host. (gRPC fanout) StartRanks(ctx context.Context, in *RanksReq, opts ...grpc.CallOption) (*RanksResp, error) // Perform a Log collection on Servers for support/debug purpose CollectLog(ctx context.Context, in *CollectLogReq, opts ...grpc.CallOption) (*CollectLogResp, error) }
CtlSvcClient is the client API for CtlSvc service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewCtlSvcClient ¶
func NewCtlSvcClient(cc grpc.ClientConnInterface) CtlSvcClient
type CtlSvcServer ¶
type CtlSvcServer interface { // Retrieve details of nonvolatile storage on server, including health info StorageScan(context.Context, *StorageScanReq) (*StorageScanResp, error) // Format nonvolatile storage devices for use with DAOS StorageFormat(context.Context, *StorageFormatReq) (*StorageFormatResp, error) // Rebind SSD from kernel and bind instead to user-space for use with DAOS StorageNvmeRebind(context.Context, *NvmeRebindReq) (*NvmeRebindResp, error) // Add newly inserted SSD to DAOS engine config StorageNvmeAddDevice(context.Context, *NvmeAddDeviceReq) (*NvmeAddDeviceResp, error) // Perform a fabric scan to determine the available provider, device, NUMA node combinations NetworkScan(context.Context, *NetworkScanReq) (*NetworkScanResp, error) // Retrieve firmware details from storage devices on server FirmwareQuery(context.Context, *FirmwareQueryReq) (*FirmwareQueryResp, error) // Update firmware on storage devices on server FirmwareUpdate(context.Context, *FirmwareUpdateReq) (*FirmwareUpdateResp, error) // Query the per-server metadata SmdQuery(context.Context, *SmdQueryReq) (*SmdQueryResp, error) // Manage devices (per-server) identified in SMD table SmdManage(context.Context, *SmdManageReq) (*SmdManageResp, error) // Set log level for DAOS I/O Engines on a host. SetEngineLogMasks(context.Context, *SetLogMasksReq) (*SetLogMasksResp, error) // Prepare DAOS I/O Engines on a host for controlled shutdown. (gRPC fanout) PrepShutdownRanks(context.Context, *RanksReq) (*RanksResp, error) // Stop DAOS I/O Engines on a host. (gRPC fanout) StopRanks(context.Context, *RanksReq) (*RanksResp, error) // ResetFormat DAOS I/O Engines on a host. (gRPC fanout) ResetFormatRanks(context.Context, *RanksReq) (*RanksResp, error) // Start DAOS I/O Engines on a host. (gRPC fanout) StartRanks(context.Context, *RanksReq) (*RanksResp, error) // Perform a Log collection on Servers for support/debug purpose CollectLog(context.Context, *CollectLogReq) (*CollectLogResp, error) // contains filtered or unexported methods }
CtlSvcServer is the server API for CtlSvc service. All implementations must embed UnimplementedCtlSvcServer for forward compatibility
type DevManageResp ¶
type DevManageResp struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // DAOS error code Device *SmdDevice `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` // Details of device that has been managed // contains filtered or unexported fields }
func (*DevManageResp) Descriptor
deprecated
func (*DevManageResp) Descriptor() ([]byte, []int)
Deprecated: Use DevManageResp.ProtoReflect.Descriptor instead.
func (*DevManageResp) GetDevice ¶
func (x *DevManageResp) GetDevice() *SmdDevice
func (*DevManageResp) GetStatus ¶
func (x *DevManageResp) GetStatus() int32
func (*DevManageResp) ProtoMessage ¶
func (*DevManageResp) ProtoMessage()
func (*DevManageResp) ProtoReflect ¶
func (x *DevManageResp) ProtoReflect() protoreflect.Message
func (*DevManageResp) Reset ¶
func (x *DevManageResp) Reset()
func (*DevManageResp) String ¶
func (x *DevManageResp) String() string
type DevReplaceReq ¶
type DevReplaceReq struct { OldDevUuid string `protobuf:"bytes,1,opt,name=old_dev_uuid,json=oldDevUuid,proto3" json:"old_dev_uuid,omitempty"` // UUID of old (hot-removed) blobstore/device NewDevUuid string `protobuf:"bytes,2,opt,name=new_dev_uuid,json=newDevUuid,proto3" json:"new_dev_uuid,omitempty"` // UUID of new (hot-plugged) blobstore/device // contains filtered or unexported fields }
func (*DevReplaceReq) Descriptor
deprecated
func (*DevReplaceReq) Descriptor() ([]byte, []int)
Deprecated: Use DevReplaceReq.ProtoReflect.Descriptor instead.
func (*DevReplaceReq) GetNewDevUuid ¶
func (x *DevReplaceReq) GetNewDevUuid() string
func (*DevReplaceReq) GetOldDevUuid ¶
func (x *DevReplaceReq) GetOldDevUuid() string
func (*DevReplaceReq) ProtoMessage ¶
func (*DevReplaceReq) ProtoMessage()
func (*DevReplaceReq) ProtoReflect ¶
func (x *DevReplaceReq) ProtoReflect() protoreflect.Message
func (*DevReplaceReq) Reset ¶
func (x *DevReplaceReq) Reset()
func (*DevReplaceReq) String ¶
func (x *DevReplaceReq) String() string
type EmptyReq ¶
type EmptyReq struct {
// contains filtered or unexported fields
}
func (*EmptyReq) Descriptor
deprecated
func (*EmptyReq) ProtoMessage ¶
func (*EmptyReq) ProtoMessage()
func (*EmptyReq) ProtoReflect ¶
func (x *EmptyReq) ProtoReflect() protoreflect.Message
type FabricInterface ¶
type FabricInterface struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` Device string `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` Numanode uint32 `protobuf:"varint,3,opt,name=numanode,proto3" json:"numanode,omitempty"` Priority uint32 `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"` Netdevclass uint32 `protobuf:"varint,5,opt,name=netdevclass,proto3" json:"netdevclass,omitempty"` // contains filtered or unexported fields }
func (*FabricInterface) Descriptor
deprecated
func (*FabricInterface) Descriptor() ([]byte, []int)
Deprecated: Use FabricInterface.ProtoReflect.Descriptor instead.
func (*FabricInterface) GetDevice ¶
func (x *FabricInterface) GetDevice() string
func (*FabricInterface) GetNetdevclass ¶
func (x *FabricInterface) GetNetdevclass() uint32
func (*FabricInterface) GetNumanode ¶
func (x *FabricInterface) GetNumanode() uint32
func (*FabricInterface) GetPriority ¶
func (x *FabricInterface) GetPriority() uint32
func (*FabricInterface) GetProvider ¶
func (x *FabricInterface) GetProvider() string
func (*FabricInterface) ProtoMessage ¶
func (*FabricInterface) ProtoMessage()
func (*FabricInterface) ProtoReflect ¶
func (x *FabricInterface) ProtoReflect() protoreflect.Message
func (*FabricInterface) Reset ¶
func (x *FabricInterface) Reset()
func (*FabricInterface) String ¶
func (x *FabricInterface) String() string
type FilePath ¶
type FilePath struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*FilePath) Descriptor
deprecated
func (*FilePath) ProtoMessage ¶
func (*FilePath) ProtoMessage()
func (*FilePath) ProtoReflect ¶
func (x *FilePath) ProtoReflect() protoreflect.Message
type FirmwareQueryReq ¶
type FirmwareQueryReq struct { QueryScm bool `protobuf:"varint,1,opt,name=queryScm,proto3" json:"queryScm,omitempty"` // Should we query SCM devices? QueryNvme bool `protobuf:"varint,2,opt,name=queryNvme,proto3" json:"queryNvme,omitempty"` // Should we query NVMe devices? DeviceIDs []string `protobuf:"bytes,3,rep,name=deviceIDs,proto3" json:"deviceIDs,omitempty"` // Filter by specific devices ModelID string `protobuf:"bytes,4,opt,name=modelID,proto3" json:"modelID,omitempty"` // Filter by model ID FirmwareRev string `protobuf:"bytes,5,opt,name=firmwareRev,proto3" json:"firmwareRev,omitempty"` // Filter by current firmware revision // contains filtered or unexported fields }
func (*FirmwareQueryReq) Descriptor
deprecated
func (*FirmwareQueryReq) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareQueryReq.ProtoReflect.Descriptor instead.
func (*FirmwareQueryReq) GetDeviceIDs ¶
func (x *FirmwareQueryReq) GetDeviceIDs() []string
func (*FirmwareQueryReq) GetFirmwareRev ¶
func (x *FirmwareQueryReq) GetFirmwareRev() string
func (*FirmwareQueryReq) GetModelID ¶
func (x *FirmwareQueryReq) GetModelID() string
func (*FirmwareQueryReq) GetQueryNvme ¶
func (x *FirmwareQueryReq) GetQueryNvme() bool
func (*FirmwareQueryReq) GetQueryScm ¶
func (x *FirmwareQueryReq) GetQueryScm() bool
func (*FirmwareQueryReq) ProtoMessage ¶
func (*FirmwareQueryReq) ProtoMessage()
func (*FirmwareQueryReq) ProtoReflect ¶
func (x *FirmwareQueryReq) ProtoReflect() protoreflect.Message
func (*FirmwareQueryReq) Reset ¶
func (x *FirmwareQueryReq) Reset()
func (*FirmwareQueryReq) String ¶
func (x *FirmwareQueryReq) String() string
type FirmwareQueryResp ¶
type FirmwareQueryResp struct { ScmResults []*ScmFirmwareQueryResp `protobuf:"bytes,1,rep,name=scmResults,proto3" json:"scmResults,omitempty"` NvmeResults []*NvmeFirmwareQueryResp `protobuf:"bytes,2,rep,name=nvmeResults,proto3" json:"nvmeResults,omitempty"` // contains filtered or unexported fields }
func (*FirmwareQueryResp) Descriptor
deprecated
func (*FirmwareQueryResp) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareQueryResp.ProtoReflect.Descriptor instead.
func (*FirmwareQueryResp) GetNvmeResults ¶
func (x *FirmwareQueryResp) GetNvmeResults() []*NvmeFirmwareQueryResp
func (*FirmwareQueryResp) GetScmResults ¶
func (x *FirmwareQueryResp) GetScmResults() []*ScmFirmwareQueryResp
func (*FirmwareQueryResp) ProtoMessage ¶
func (*FirmwareQueryResp) ProtoMessage()
func (*FirmwareQueryResp) ProtoReflect ¶
func (x *FirmwareQueryResp) ProtoReflect() protoreflect.Message
func (*FirmwareQueryResp) Reset ¶
func (x *FirmwareQueryResp) Reset()
func (*FirmwareQueryResp) String ¶
func (x *FirmwareQueryResp) String() string
type FirmwareUpdateReq ¶
type FirmwareUpdateReq struct { FirmwarePath string `protobuf:"bytes,1,opt,name=firmwarePath,proto3" json:"firmwarePath,omitempty"` // Path to firmware file Type FirmwareUpdateReq_DeviceType `protobuf:"varint,2,opt,name=type,proto3,enum=ctl.FirmwareUpdateReq_DeviceType" json:"type,omitempty"` // Type of device this firmware applies to DeviceIDs []string `protobuf:"bytes,3,rep,name=deviceIDs,proto3" json:"deviceIDs,omitempty"` // Devices this update applies to ModelID string `protobuf:"bytes,4,opt,name=modelID,proto3" json:"modelID,omitempty"` // Model ID this update applies to FirmwareRev string `protobuf:"bytes,5,opt,name=firmwareRev,proto3" json:"firmwareRev,omitempty"` // Starting FW rev this update applies to // contains filtered or unexported fields }
func (*FirmwareUpdateReq) Descriptor
deprecated
func (*FirmwareUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareUpdateReq.ProtoReflect.Descriptor instead.
func (*FirmwareUpdateReq) GetDeviceIDs ¶
func (x *FirmwareUpdateReq) GetDeviceIDs() []string
func (*FirmwareUpdateReq) GetFirmwarePath ¶
func (x *FirmwareUpdateReq) GetFirmwarePath() string
func (*FirmwareUpdateReq) GetFirmwareRev ¶
func (x *FirmwareUpdateReq) GetFirmwareRev() string
func (*FirmwareUpdateReq) GetModelID ¶
func (x *FirmwareUpdateReq) GetModelID() string
func (*FirmwareUpdateReq) GetType ¶
func (x *FirmwareUpdateReq) GetType() FirmwareUpdateReq_DeviceType
func (*FirmwareUpdateReq) ProtoMessage ¶
func (*FirmwareUpdateReq) ProtoMessage()
func (*FirmwareUpdateReq) ProtoReflect ¶
func (x *FirmwareUpdateReq) ProtoReflect() protoreflect.Message
func (*FirmwareUpdateReq) Reset ¶
func (x *FirmwareUpdateReq) Reset()
func (*FirmwareUpdateReq) String ¶
func (x *FirmwareUpdateReq) String() string
type FirmwareUpdateReq_DeviceType ¶
type FirmwareUpdateReq_DeviceType int32
const ( FirmwareUpdateReq_SCM FirmwareUpdateReq_DeviceType = 0 FirmwareUpdateReq_NVMe FirmwareUpdateReq_DeviceType = 1 )
func (FirmwareUpdateReq_DeviceType) Descriptor ¶
func (FirmwareUpdateReq_DeviceType) Descriptor() protoreflect.EnumDescriptor
func (FirmwareUpdateReq_DeviceType) Enum ¶
func (x FirmwareUpdateReq_DeviceType) Enum() *FirmwareUpdateReq_DeviceType
func (FirmwareUpdateReq_DeviceType) EnumDescriptor
deprecated
func (FirmwareUpdateReq_DeviceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FirmwareUpdateReq_DeviceType.Descriptor instead.
func (FirmwareUpdateReq_DeviceType) Number ¶
func (x FirmwareUpdateReq_DeviceType) Number() protoreflect.EnumNumber
func (FirmwareUpdateReq_DeviceType) String ¶
func (x FirmwareUpdateReq_DeviceType) String() string
func (FirmwareUpdateReq_DeviceType) Type ¶
func (FirmwareUpdateReq_DeviceType) Type() protoreflect.EnumType
type FirmwareUpdateResp ¶
type FirmwareUpdateResp struct { ScmResults []*ScmFirmwareUpdateResp `protobuf:"bytes,1,rep,name=scmResults,proto3" json:"scmResults,omitempty"` // results for SCM update NvmeResults []*NvmeFirmwareUpdateResp `protobuf:"bytes,2,rep,name=nvmeResults,proto3" json:"nvmeResults,omitempty"` // results for NVMe update // contains filtered or unexported fields }
func (*FirmwareUpdateResp) Descriptor
deprecated
func (*FirmwareUpdateResp) Descriptor() ([]byte, []int)
Deprecated: Use FirmwareUpdateResp.ProtoReflect.Descriptor instead.
func (*FirmwareUpdateResp) GetNvmeResults ¶
func (x *FirmwareUpdateResp) GetNvmeResults() []*NvmeFirmwareUpdateResp
func (*FirmwareUpdateResp) GetScmResults ¶
func (x *FirmwareUpdateResp) GetScmResults() []*ScmFirmwareUpdateResp
func (*FirmwareUpdateResp) ProtoMessage ¶
func (*FirmwareUpdateResp) ProtoMessage()
func (*FirmwareUpdateResp) ProtoReflect ¶
func (x *FirmwareUpdateResp) ProtoReflect() protoreflect.Message
func (*FirmwareUpdateResp) Reset ¶
func (x *FirmwareUpdateResp) Reset()
func (*FirmwareUpdateResp) String ¶
func (x *FirmwareUpdateResp) String() string
type FormatNvmeReq ¶
type FormatNvmeReq struct {
// contains filtered or unexported fields
}
func (*FormatNvmeReq) Descriptor
deprecated
func (*FormatNvmeReq) Descriptor() ([]byte, []int)
Deprecated: Use FormatNvmeReq.ProtoReflect.Descriptor instead.
func (*FormatNvmeReq) ProtoMessage ¶
func (*FormatNvmeReq) ProtoMessage()
func (*FormatNvmeReq) ProtoReflect ¶
func (x *FormatNvmeReq) ProtoReflect() protoreflect.Message
func (*FormatNvmeReq) Reset ¶
func (x *FormatNvmeReq) Reset()
func (*FormatNvmeReq) String ¶
func (x *FormatNvmeReq) String() string
type FormatScmReq ¶
type FormatScmReq struct {
// contains filtered or unexported fields
}
func (*FormatScmReq) Descriptor
deprecated
func (*FormatScmReq) Descriptor() ([]byte, []int)
Deprecated: Use FormatScmReq.ProtoReflect.Descriptor instead.
func (*FormatScmReq) ProtoMessage ¶
func (*FormatScmReq) ProtoMessage()
func (*FormatScmReq) ProtoReflect ¶
func (x *FormatScmReq) ProtoReflect() protoreflect.Message
func (*FormatScmReq) Reset ¶
func (x *FormatScmReq) Reset()
func (*FormatScmReq) String ¶
func (x *FormatScmReq) String() string
type LedAction ¶
type LedAction int32
func (LedAction) Descriptor ¶
func (LedAction) Descriptor() protoreflect.EnumDescriptor
func (LedAction) EnumDescriptor
deprecated
func (LedAction) Number ¶
func (x LedAction) Number() protoreflect.EnumNumber
func (LedAction) Type ¶
func (LedAction) Type() protoreflect.EnumType
type LedManageReq ¶
type LedManageReq struct { Ids string `protobuf:"bytes,1,opt,name=ids,proto3" json:"ids,omitempty"` // List of Device-UUIDs and/or PCI-addresses LedAction LedAction `protobuf:"varint,3,opt,name=led_action,json=ledAction,proto3,enum=ctl.LedAction" json:"led_action,omitempty"` // LED action to perform LedState LedState `protobuf:"varint,4,opt,name=led_state,json=ledState,proto3,enum=ctl.LedState" json:"led_state,omitempty"` // LED state to set (used if action is SET) LedDurationMins uint32 `protobuf:"varint,5,opt,name=led_duration_mins,json=ledDurationMins,proto3" json:"led_duration_mins,omitempty"` // LED action duration (how long to blink LED in minutes) // contains filtered or unexported fields }
func (*LedManageReq) Descriptor
deprecated
func (*LedManageReq) Descriptor() ([]byte, []int)
Deprecated: Use LedManageReq.ProtoReflect.Descriptor instead.
func (*LedManageReq) GetIds ¶
func (x *LedManageReq) GetIds() string
func (*LedManageReq) GetLedAction ¶
func (x *LedManageReq) GetLedAction() LedAction
func (*LedManageReq) GetLedDurationMins ¶
func (x *LedManageReq) GetLedDurationMins() uint32
func (*LedManageReq) GetLedState ¶
func (x *LedManageReq) GetLedState() LedState
func (*LedManageReq) ProtoMessage ¶
func (*LedManageReq) ProtoMessage()
func (*LedManageReq) ProtoReflect ¶
func (x *LedManageReq) ProtoReflect() protoreflect.Message
func (*LedManageReq) Reset ¶
func (x *LedManageReq) Reset()
func (*LedManageReq) String ¶
func (x *LedManageReq) String() string
type LedState ¶
type LedState int32
const ( LedState_NA LedState = 0 // Equivalent to SPDK_VMD_LED_STATE_UNKNOWN (VMD not enabled) LedState_QUICK_BLINK LedState = 1 // Equivalent to SPDK_VMD_LED_STATE_IDENTIFY (4Hz blink) LedState_ON LedState = 2 // Equivalent to SPDK_VMD_LED_STATE_FAULT (solid on) LedState_SLOW_BLINK LedState = 3 // Equivalent to SPDK_VMD_LED_STATE_REBUILD (1Hz blink) LedState_OFF LedState = 4 // Equivalent to SPDK_VMD_LED_STATE_OFF )
func (LedState) Descriptor ¶
func (LedState) Descriptor() protoreflect.EnumDescriptor
func (LedState) EnumDescriptor
deprecated
func (LedState) Number ¶
func (x LedState) Number() protoreflect.EnumNumber
func (LedState) Type ¶
func (LedState) Type() protoreflect.EnumType
func (*LedState) UnmarshalJSON ¶
type MemInfo ¶
type MemInfo struct { HugepagesTotal uint64 `protobuf:"varint,1,opt,name=hugepages_total,json=hugepagesTotal,proto3" json:"hugepages_total,omitempty"` HugepagesFree uint64 `protobuf:"varint,2,opt,name=hugepages_free,json=hugepagesFree,proto3" json:"hugepages_free,omitempty"` HugepagesReserved uint64 `protobuf:"varint,3,opt,name=hugepages_reserved,json=hugepagesReserved,proto3" json:"hugepages_reserved,omitempty"` HugepagesSurplus uint64 `protobuf:"varint,4,opt,name=hugepages_surplus,json=hugepagesSurplus,proto3" json:"hugepages_surplus,omitempty"` HugepageSizeKb uint32 `protobuf:"varint,5,opt,name=hugepage_size_kb,json=hugepageSizeKb,proto3" json:"hugepage_size_kb,omitempty"` MemTotalKb uint64 `protobuf:"varint,6,opt,name=mem_total_kb,json=memTotalKb,proto3" json:"mem_total_kb,omitempty"` MemFreeKb uint64 `protobuf:"varint,7,opt,name=mem_free_kb,json=memFreeKb,proto3" json:"mem_free_kb,omitempty"` MemAvailableKb uint64 `protobuf:"varint,8,opt,name=mem_available_kb,json=memAvailableKb,proto3" json:"mem_available_kb,omitempty"` // contains filtered or unexported fields }
func (*MemInfo) Descriptor
deprecated
func (*MemInfo) GetHugepageSizeKb ¶
func (*MemInfo) GetHugepagesFree ¶
func (*MemInfo) GetHugepagesReserved ¶
func (*MemInfo) GetHugepagesSurplus ¶
func (*MemInfo) GetHugepagesTotal ¶
func (*MemInfo) GetMemAvailableKb ¶
func (*MemInfo) GetMemFreeKb ¶
func (*MemInfo) GetMemTotalKb ¶
func (*MemInfo) ProtoMessage ¶
func (*MemInfo) ProtoMessage()
func (*MemInfo) ProtoReflect ¶
func (x *MemInfo) ProtoReflect() protoreflect.Message
type NetworkScanReq ¶
type NetworkScanReq struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` Excludeinterfaces string `protobuf:"bytes,2,opt,name=excludeinterfaces,proto3" json:"excludeinterfaces,omitempty"` // contains filtered or unexported fields }
func (*NetworkScanReq) Descriptor
deprecated
func (*NetworkScanReq) Descriptor() ([]byte, []int)
Deprecated: Use NetworkScanReq.ProtoReflect.Descriptor instead.
func (*NetworkScanReq) GetExcludeinterfaces ¶
func (x *NetworkScanReq) GetExcludeinterfaces() string
func (*NetworkScanReq) GetProvider ¶
func (x *NetworkScanReq) GetProvider() string
func (*NetworkScanReq) ProtoMessage ¶
func (*NetworkScanReq) ProtoMessage()
func (*NetworkScanReq) ProtoReflect ¶
func (x *NetworkScanReq) ProtoReflect() protoreflect.Message
func (*NetworkScanReq) Reset ¶
func (x *NetworkScanReq) Reset()
func (*NetworkScanReq) String ¶
func (x *NetworkScanReq) String() string
type NetworkScanResp ¶
type NetworkScanResp struct { Interfaces []*FabricInterface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"` Numacount int32 `protobuf:"varint,2,opt,name=numacount,proto3" json:"numacount,omitempty"` Corespernuma int32 `protobuf:"varint,3,opt,name=corespernuma,proto3" json:"corespernuma,omitempty"` // physical cores per numa node // contains filtered or unexported fields }
func (*NetworkScanResp) Descriptor
deprecated
func (*NetworkScanResp) Descriptor() ([]byte, []int)
Deprecated: Use NetworkScanResp.ProtoReflect.Descriptor instead.
func (*NetworkScanResp) GetCorespernuma ¶
func (x *NetworkScanResp) GetCorespernuma() int32
func (*NetworkScanResp) GetInterfaces ¶
func (x *NetworkScanResp) GetInterfaces() []*FabricInterface
func (*NetworkScanResp) GetNumacount ¶
func (x *NetworkScanResp) GetNumacount() int32
func (*NetworkScanResp) ProtoMessage ¶
func (*NetworkScanResp) ProtoMessage()
func (*NetworkScanResp) ProtoReflect ¶
func (x *NetworkScanResp) ProtoReflect() protoreflect.Message
func (*NetworkScanResp) Reset ¶
func (x *NetworkScanResp) Reset()
func (*NetworkScanResp) String ¶
func (x *NetworkScanResp) String() string
type NvmeAddDeviceReq ¶
type NvmeAddDeviceReq struct { PciAddr string `protobuf:"bytes,1,opt,name=pci_addr,json=pciAddr,proto3" json:"pci_addr,omitempty"` // PCI address of NVMe controller to add EngineIndex uint32 `protobuf:"varint,2,opt,name=engine_index,json=engineIndex,proto3" json:"engine_index,omitempty"` // Index of DAOS engine to add device to StorageTierIndex int32 `protobuf:"varint,3,opt,name=storage_tier_index,json=storageTierIndex,proto3" json:"storage_tier_index,omitempty"` // Index of storage tier to add device to // contains filtered or unexported fields }
func (*NvmeAddDeviceReq) Descriptor
deprecated
func (*NvmeAddDeviceReq) Descriptor() ([]byte, []int)
Deprecated: Use NvmeAddDeviceReq.ProtoReflect.Descriptor instead.
func (*NvmeAddDeviceReq) GetEngineIndex ¶
func (x *NvmeAddDeviceReq) GetEngineIndex() uint32
func (*NvmeAddDeviceReq) GetPciAddr ¶
func (x *NvmeAddDeviceReq) GetPciAddr() string
func (*NvmeAddDeviceReq) GetStorageTierIndex ¶
func (x *NvmeAddDeviceReq) GetStorageTierIndex() int32
func (*NvmeAddDeviceReq) ProtoMessage ¶
func (*NvmeAddDeviceReq) ProtoMessage()
func (*NvmeAddDeviceReq) ProtoReflect ¶
func (x *NvmeAddDeviceReq) ProtoReflect() protoreflect.Message
func (*NvmeAddDeviceReq) Reset ¶
func (x *NvmeAddDeviceReq) Reset()
func (*NvmeAddDeviceReq) String ¶
func (x *NvmeAddDeviceReq) String() string
type NvmeAddDeviceResp ¶
type NvmeAddDeviceResp struct { State *ResponseState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*NvmeAddDeviceResp) Descriptor
deprecated
func (*NvmeAddDeviceResp) Descriptor() ([]byte, []int)
Deprecated: Use NvmeAddDeviceResp.ProtoReflect.Descriptor instead.
func (*NvmeAddDeviceResp) GetState ¶
func (x *NvmeAddDeviceResp) GetState() *ResponseState
func (*NvmeAddDeviceResp) ProtoMessage ¶
func (*NvmeAddDeviceResp) ProtoMessage()
func (*NvmeAddDeviceResp) ProtoReflect ¶
func (x *NvmeAddDeviceResp) ProtoReflect() protoreflect.Message
func (*NvmeAddDeviceResp) Reset ¶
func (x *NvmeAddDeviceResp) Reset()
func (*NvmeAddDeviceResp) String ¶
func (x *NvmeAddDeviceResp) String() string
type NvmeController ¶
type NvmeController struct { Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"` // model name Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"` // serial number PciAddr string `protobuf:"bytes,3,opt,name=pci_addr,json=pciAddr,proto3" json:"pci_addr,omitempty"` // pci address FwRev string `protobuf:"bytes,4,opt,name=fw_rev,json=fwRev,proto3" json:"fw_rev,omitempty"` // firmware revision SocketId int32 `protobuf:"varint,5,opt,name=socket_id,json=socketId,proto3" json:"socket_id,omitempty"` // NUMA socket ID HealthStats *BioHealthResp `protobuf:"bytes,6,opt,name=health_stats,json=healthStats,proto3" json:"health_stats,omitempty"` // controller's health stats Namespaces []*NvmeController_Namespace `protobuf:"bytes,7,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // controller's namespaces SmdDevices []*SmdDevice `protobuf:"bytes,8,rep,name=smd_devices,json=smdDevices,proto3" json:"smd_devices,omitempty"` // controller's blobstores DevState NvmeDevState `protobuf:"varint,9,opt,name=dev_state,json=devState,proto3,enum=ctl.NvmeDevState" json:"dev_state,omitempty"` // NVMe device operational state LedState LedState `protobuf:"varint,10,opt,name=led_state,json=ledState,proto3,enum=ctl.LedState" json:"led_state,omitempty"` // NVMe device LED state PciDevType string `protobuf:"bytes,11,opt,name=pci_dev_type,json=pciDevType,proto3" json:"pci_dev_type,omitempty"` // PCI device type, vmd or pci VendorId string `protobuf:"bytes,12,opt,name=vendor_id,json=vendorId,proto3" json:"vendor_id,omitempty"` // controller's vendor ID PciCfg string `protobuf:"bytes,13,opt,name=pci_cfg,json=pciCfg,proto3" json:"pci_cfg,omitempty"` // PCIe configuration space // contains filtered or unexported fields }
NvmeController represents an NVMe Controller (SSD).
func (*NvmeController) CanSupplyHealthStats ¶
func (nc *NvmeController) CanSupplyHealthStats() bool
CanSupplyHealthStats returns true if NVMe device state indicates health stats are accessible.
func (*NvmeController) Descriptor
deprecated
func (*NvmeController) Descriptor() ([]byte, []int)
Deprecated: Use NvmeController.ProtoReflect.Descriptor instead.
func (*NvmeController) GetDevState ¶
func (x *NvmeController) GetDevState() NvmeDevState
func (*NvmeController) GetFwRev ¶
func (x *NvmeController) GetFwRev() string
func (*NvmeController) GetHealthStats ¶
func (x *NvmeController) GetHealthStats() *BioHealthResp
func (*NvmeController) GetLedState ¶
func (x *NvmeController) GetLedState() LedState
func (*NvmeController) GetModel ¶
func (x *NvmeController) GetModel() string
func (*NvmeController) GetNamespaces ¶
func (x *NvmeController) GetNamespaces() []*NvmeController_Namespace
func (*NvmeController) GetPciAddr ¶
func (x *NvmeController) GetPciAddr() string
func (*NvmeController) GetPciCfg ¶
func (x *NvmeController) GetPciCfg() string
func (*NvmeController) GetPciDevType ¶
func (x *NvmeController) GetPciDevType() string
func (*NvmeController) GetSerial ¶
func (x *NvmeController) GetSerial() string
func (*NvmeController) GetSmdDevices ¶
func (x *NvmeController) GetSmdDevices() []*SmdDevice
func (*NvmeController) GetSocketId ¶
func (x *NvmeController) GetSocketId() int32
func (*NvmeController) GetVendorId ¶
func (x *NvmeController) GetVendorId() string
func (*NvmeController) IsScannable ¶
func (nc *NvmeController) IsScannable() bool
IsScannable returns true if NVMe device state indicates controller details are accessible.
func (*NvmeController) ProtoMessage ¶
func (*NvmeController) ProtoMessage()
func (*NvmeController) ProtoReflect ¶
func (x *NvmeController) ProtoReflect() protoreflect.Message
func (*NvmeController) Reset ¶
func (x *NvmeController) Reset()
func (*NvmeController) String ¶
func (x *NvmeController) String() string
type NvmeControllerResult ¶
type NvmeControllerResult struct { PciAddr string `protobuf:"bytes,1,opt,name=pci_addr,json=pciAddr,proto3" json:"pci_addr,omitempty"` // PCI address of NVMe controller State *ResponseState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // state of current operation RoleBits uint32 `protobuf:"varint,3,opt,name=role_bits,json=roleBits,proto3" json:"role_bits,omitempty"` // Device active roles (bitmask) // contains filtered or unexported fields }
NvmeControllerResult represents state of operation performed on controller.
func (*NvmeControllerResult) Descriptor
deprecated
func (*NvmeControllerResult) Descriptor() ([]byte, []int)
Deprecated: Use NvmeControllerResult.ProtoReflect.Descriptor instead.
func (*NvmeControllerResult) GetPciAddr ¶
func (x *NvmeControllerResult) GetPciAddr() string
func (*NvmeControllerResult) GetRoleBits ¶
func (x *NvmeControllerResult) GetRoleBits() uint32
func (*NvmeControllerResult) GetState ¶
func (x *NvmeControllerResult) GetState() *ResponseState
func (*NvmeControllerResult) ProtoMessage ¶
func (*NvmeControllerResult) ProtoMessage()
func (*NvmeControllerResult) ProtoReflect ¶
func (x *NvmeControllerResult) ProtoReflect() protoreflect.Message
func (*NvmeControllerResult) Reset ¶
func (x *NvmeControllerResult) Reset()
func (*NvmeControllerResult) String ¶
func (x *NvmeControllerResult) String() string
type NvmeController_Namespace ¶
type NvmeController_Namespace struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // namespace id Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"` // device capacity in bytes CtrlrPciAddr string `protobuf:"bytes,3,opt,name=ctrlr_pci_addr,json=ctrlrPciAddr,proto3" json:"ctrlr_pci_addr,omitempty"` // parent controller PCI address // contains filtered or unexported fields }
Namespace represents a namespace created on an NvmeController.
func (*NvmeController_Namespace) Descriptor
deprecated
func (*NvmeController_Namespace) Descriptor() ([]byte, []int)
Deprecated: Use NvmeController_Namespace.ProtoReflect.Descriptor instead.
func (*NvmeController_Namespace) GetCtrlrPciAddr ¶
func (x *NvmeController_Namespace) GetCtrlrPciAddr() string
func (*NvmeController_Namespace) GetId ¶
func (x *NvmeController_Namespace) GetId() uint32
func (*NvmeController_Namespace) GetSize ¶
func (x *NvmeController_Namespace) GetSize() uint64
func (*NvmeController_Namespace) ProtoMessage ¶
func (*NvmeController_Namespace) ProtoMessage()
func (*NvmeController_Namespace) ProtoReflect ¶
func (x *NvmeController_Namespace) ProtoReflect() protoreflect.Message
func (*NvmeController_Namespace) Reset ¶
func (x *NvmeController_Namespace) Reset()
func (*NvmeController_Namespace) String ¶
func (x *NvmeController_Namespace) String() string
type NvmeDevState ¶
type NvmeDevState int32
const ( NvmeDevState_UNKNOWN NvmeDevState = 0 // Device state is unknown, zero value NvmeDevState_NORMAL NvmeDevState = 1 // Device is in a normal operational state NvmeDevState_NEW NvmeDevState = 2 // Device is new and is not yet in-use NvmeDevState_EVICTED NvmeDevState = 3 // Device is faulty and has been evicted NvmeDevState_UNPLUGGED NvmeDevState = 4 // Device has been physically removed )
func (NvmeDevState) Descriptor ¶
func (NvmeDevState) Descriptor() protoreflect.EnumDescriptor
func (NvmeDevState) Enum ¶
func (x NvmeDevState) Enum() *NvmeDevState
func (NvmeDevState) EnumDescriptor
deprecated
func (NvmeDevState) EnumDescriptor() ([]byte, []int)
Deprecated: Use NvmeDevState.Descriptor instead.
func (NvmeDevState) Number ¶
func (x NvmeDevState) Number() protoreflect.EnumNumber
func (NvmeDevState) String ¶
func (x NvmeDevState) String() string
func (NvmeDevState) Type ¶
func (NvmeDevState) Type() protoreflect.EnumType
func (*NvmeDevState) UnmarshalJSON ¶
func (nds *NvmeDevState) UnmarshalJSON(data []byte) error
type NvmeFirmwareQueryResp ¶
type NvmeFirmwareQueryResp struct { Device *NvmeController `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` // Controller information includes FW rev // contains filtered or unexported fields }
func (*NvmeFirmwareQueryResp) Descriptor
deprecated
func (*NvmeFirmwareQueryResp) Descriptor() ([]byte, []int)
Deprecated: Use NvmeFirmwareQueryResp.ProtoReflect.Descriptor instead.
func (*NvmeFirmwareQueryResp) GetDevice ¶
func (x *NvmeFirmwareQueryResp) GetDevice() *NvmeController
func (*NvmeFirmwareQueryResp) ProtoMessage ¶
func (*NvmeFirmwareQueryResp) ProtoMessage()
func (*NvmeFirmwareQueryResp) ProtoReflect ¶
func (x *NvmeFirmwareQueryResp) ProtoReflect() protoreflect.Message
func (*NvmeFirmwareQueryResp) Reset ¶
func (x *NvmeFirmwareQueryResp) Reset()
func (*NvmeFirmwareQueryResp) String ¶
func (x *NvmeFirmwareQueryResp) String() string
type NvmeFirmwareUpdateResp ¶
type NvmeFirmwareUpdateResp struct { PciAddr string `protobuf:"bytes,1,opt,name=pciAddr,proto3" json:"pciAddr,omitempty"` // PCI address of the NVMe device Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // empty if successful // contains filtered or unexported fields }
func (*NvmeFirmwareUpdateResp) Descriptor
deprecated
func (*NvmeFirmwareUpdateResp) Descriptor() ([]byte, []int)
Deprecated: Use NvmeFirmwareUpdateResp.ProtoReflect.Descriptor instead.
func (*NvmeFirmwareUpdateResp) GetError ¶
func (x *NvmeFirmwareUpdateResp) GetError() string
func (*NvmeFirmwareUpdateResp) GetPciAddr ¶
func (x *NvmeFirmwareUpdateResp) GetPciAddr() string
func (*NvmeFirmwareUpdateResp) ProtoMessage ¶
func (*NvmeFirmwareUpdateResp) ProtoMessage()
func (*NvmeFirmwareUpdateResp) ProtoReflect ¶
func (x *NvmeFirmwareUpdateResp) ProtoReflect() protoreflect.Message
func (*NvmeFirmwareUpdateResp) Reset ¶
func (x *NvmeFirmwareUpdateResp) Reset()
func (*NvmeFirmwareUpdateResp) String ¶
func (x *NvmeFirmwareUpdateResp) String() string
type NvmeRebindReq ¶
type NvmeRebindReq struct { PciAddr string `protobuf:"bytes,1,opt,name=pci_addr,json=pciAddr,proto3" json:"pci_addr,omitempty"` // an NVMe controller PCI address // contains filtered or unexported fields }
func (*NvmeRebindReq) Descriptor
deprecated
func (*NvmeRebindReq) Descriptor() ([]byte, []int)
Deprecated: Use NvmeRebindReq.ProtoReflect.Descriptor instead.
func (*NvmeRebindReq) GetPciAddr ¶
func (x *NvmeRebindReq) GetPciAddr() string
func (*NvmeRebindReq) ProtoMessage ¶
func (*NvmeRebindReq) ProtoMessage()
func (*NvmeRebindReq) ProtoReflect ¶
func (x *NvmeRebindReq) ProtoReflect() protoreflect.Message
func (*NvmeRebindReq) Reset ¶
func (x *NvmeRebindReq) Reset()
func (*NvmeRebindReq) String ¶
func (x *NvmeRebindReq) String() string
type NvmeRebindResp ¶
type NvmeRebindResp struct { State *ResponseState `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*NvmeRebindResp) Descriptor
deprecated
func (*NvmeRebindResp) Descriptor() ([]byte, []int)
Deprecated: Use NvmeRebindResp.ProtoReflect.Descriptor instead.
func (*NvmeRebindResp) GetState ¶
func (x *NvmeRebindResp) GetState() *ResponseState
func (*NvmeRebindResp) ProtoMessage ¶
func (*NvmeRebindResp) ProtoMessage()
func (*NvmeRebindResp) ProtoReflect ¶
func (x *NvmeRebindResp) ProtoReflect() protoreflect.Message
func (*NvmeRebindResp) Reset ¶
func (x *NvmeRebindResp) Reset()
func (*NvmeRebindResp) String ¶
func (x *NvmeRebindResp) String() string
type PrepareScmReq ¶
type PrepareScmReq struct { Reset_ bool `protobuf:"varint,1,opt,name=reset,proto3" json:"reset,omitempty"` // Reset SCM devices to memory mode // contains filtered or unexported fields }
func (*PrepareScmReq) Descriptor
deprecated
func (*PrepareScmReq) Descriptor() ([]byte, []int)
Deprecated: Use PrepareScmReq.ProtoReflect.Descriptor instead.
func (*PrepareScmReq) GetReset_ ¶
func (x *PrepareScmReq) GetReset_() bool
func (*PrepareScmReq) ProtoMessage ¶
func (*PrepareScmReq) ProtoMessage()
func (*PrepareScmReq) ProtoReflect ¶
func (x *PrepareScmReq) ProtoReflect() protoreflect.Message
func (*PrepareScmReq) Reset ¶
func (x *PrepareScmReq) Reset()
func (*PrepareScmReq) String ¶
func (x *PrepareScmReq) String() string
type PrepareScmResp ¶
type PrepareScmResp struct { Namespaces []*ScmNamespace `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` // Existing namespace devices (new and old) State *ResponseState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` Rebootrequired bool `protobuf:"varint,3,opt,name=rebootrequired,proto3" json:"rebootrequired,omitempty"` // contains filtered or unexported fields }
func (*PrepareScmResp) Descriptor
deprecated
func (*PrepareScmResp) Descriptor() ([]byte, []int)
Deprecated: Use PrepareScmResp.ProtoReflect.Descriptor instead.
func (*PrepareScmResp) GetNamespaces ¶
func (x *PrepareScmResp) GetNamespaces() []*ScmNamespace
func (*PrepareScmResp) GetRebootrequired ¶
func (x *PrepareScmResp) GetRebootrequired() bool
func (*PrepareScmResp) GetState ¶
func (x *PrepareScmResp) GetState() *ResponseState
func (*PrepareScmResp) ProtoMessage ¶
func (*PrepareScmResp) ProtoMessage()
func (*PrepareScmResp) ProtoReflect ¶
func (x *PrepareScmResp) ProtoReflect() protoreflect.Message
func (*PrepareScmResp) Reset ¶
func (x *PrepareScmResp) Reset()
func (*PrepareScmResp) String ¶
func (x *PrepareScmResp) String() string
type RanksReq ¶
type RanksReq struct { Force bool `protobuf:"varint,3,opt,name=force,proto3" json:"force,omitempty"` // force operation Ranks string `protobuf:"bytes,4,opt,name=ranks,proto3" json:"ranks,omitempty"` // rankset to operate over CheckMode bool `protobuf:"varint,5,opt,name=check_mode,json=checkMode,proto3" json:"check_mode,omitempty"` // start in check mode // contains filtered or unexported fields }
Generic request indicating which ranks to operate on. Used in gRPC fanout to operate on hosts with multiple ranks.
func (*RanksReq) Descriptor
deprecated
func (*RanksReq) GetCheckMode ¶
func (*RanksReq) ProtoMessage ¶
func (*RanksReq) ProtoMessage()
func (*RanksReq) ProtoReflect ¶
func (x *RanksReq) ProtoReflect() protoreflect.Message
type RanksResp ¶
type RanksResp struct { Results []*shared.RankResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
Generic response containing DER result from multiple ranks. Used in gRPC fanout to operate on hosts with multiple ranks.
func (*RanksResp) Descriptor
deprecated
func (*RanksResp) GetResults ¶
func (x *RanksResp) GetResults() []*shared.RankResult
func (*RanksResp) ProtoMessage ¶
func (*RanksResp) ProtoMessage()
func (*RanksResp) ProtoReflect ¶
func (x *RanksResp) ProtoReflect() protoreflect.Message
type ResponseState ¶
type ResponseState struct { Status ResponseStatus `protobuf:"varint,1,opt,name=status,proto3,enum=ctl.ResponseStatus" json:"status,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` Info string `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*ResponseState) Descriptor
deprecated
func (*ResponseState) Descriptor() ([]byte, []int)
Deprecated: Use ResponseState.ProtoReflect.Descriptor instead.
func (*ResponseState) GetError ¶
func (x *ResponseState) GetError() string
func (*ResponseState) GetInfo ¶
func (x *ResponseState) GetInfo() string
func (*ResponseState) GetStatus ¶
func (x *ResponseState) GetStatus() ResponseStatus
func (*ResponseState) ProtoMessage ¶
func (*ResponseState) ProtoMessage()
func (*ResponseState) ProtoReflect ¶
func (x *ResponseState) ProtoReflect() protoreflect.Message
func (*ResponseState) Reset ¶
func (x *ResponseState) Reset()
func (*ResponseState) String ¶
func (x *ResponseState) String() string
type ResponseStatus ¶
type ResponseStatus int32
const ( ResponseStatus_CTL_SUCCESS ResponseStatus = 0 ResponseStatus_CTL_IN_PROGRESS ResponseStatus = 1 // Not yet completed ResponseStatus_CTL_WAITING ResponseStatus = 2 // Blocked ResponseStatus_CTL_ERR_CONF ResponseStatus = -1 // Config file parsing error ResponseStatus_CTL_ERR_NVME ResponseStatus = -2 // NVMe subsystem error ResponseStatus_CTL_ERR_SCM ResponseStatus = -3 // SCM subsystem error ResponseStatus_CTL_ERR_APP ResponseStatus = -4 // Other application error ResponseStatus_CTL_ERR_UNKNOWN ResponseStatus = -5 // Unknown error ResponseStatus_CTL_NO_IMPL ResponseStatus = -6 // No implementation )
func (ResponseStatus) Descriptor ¶
func (ResponseStatus) Descriptor() protoreflect.EnumDescriptor
func (ResponseStatus) Enum ¶
func (x ResponseStatus) Enum() *ResponseStatus
func (ResponseStatus) EnumDescriptor
deprecated
func (ResponseStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResponseStatus.Descriptor instead.
func (ResponseStatus) Number ¶
func (x ResponseStatus) Number() protoreflect.EnumNumber
func (ResponseStatus) String ¶
func (x ResponseStatus) String() string
func (ResponseStatus) Type ¶
func (ResponseStatus) Type() protoreflect.EnumType
type ScanNvmeReq ¶
type ScanNvmeReq struct { Health bool `protobuf:"varint,1,opt,name=Health,proto3" json:"Health,omitempty"` // Retrieve NVMe device health statistics Meta bool `protobuf:"varint,2,opt,name=Meta,proto3" json:"Meta,omitempty"` // Retrieve metadata relating to NVMe device Basic bool `protobuf:"varint,3,opt,name=Basic,proto3" json:"Basic,omitempty"` // Strip NVMe device details to only basic MetaSize uint64 `protobuf:"varint,4,opt,name=MetaSize,proto3" json:"MetaSize,omitempty"` // Size of the metadata blob RdbSize uint64 `protobuf:"varint,5,opt,name=RdbSize,proto3" json:"RdbSize,omitempty"` // Size of the RDB blob MemRatio float32 `protobuf:"fixed32,6,opt,name=MemRatio,proto3" json:"MemRatio,omitempty"` // Ratio of VOS-file:meta-blob sizes LinkStats bool `protobuf:"varint,7,opt,name=LinkStats,proto3" json:"LinkStats,omitempty"` // Populate PCIe link info in health statistics // contains filtered or unexported fields }
func (*ScanNvmeReq) Descriptor
deprecated
func (*ScanNvmeReq) Descriptor() ([]byte, []int)
Deprecated: Use ScanNvmeReq.ProtoReflect.Descriptor instead.
func (*ScanNvmeReq) GetBasic ¶
func (x *ScanNvmeReq) GetBasic() bool
func (*ScanNvmeReq) GetHealth ¶
func (x *ScanNvmeReq) GetHealth() bool
func (*ScanNvmeReq) GetLinkStats ¶
func (x *ScanNvmeReq) GetLinkStats() bool
func (*ScanNvmeReq) GetMemRatio ¶
func (x *ScanNvmeReq) GetMemRatio() float32
func (*ScanNvmeReq) GetMeta ¶
func (x *ScanNvmeReq) GetMeta() bool
func (*ScanNvmeReq) GetMetaSize ¶
func (x *ScanNvmeReq) GetMetaSize() uint64
func (*ScanNvmeReq) GetRdbSize ¶
func (x *ScanNvmeReq) GetRdbSize() uint64
func (*ScanNvmeReq) ProtoMessage ¶
func (*ScanNvmeReq) ProtoMessage()
func (*ScanNvmeReq) ProtoReflect ¶
func (x *ScanNvmeReq) ProtoReflect() protoreflect.Message
func (*ScanNvmeReq) Reset ¶
func (x *ScanNvmeReq) Reset()
func (*ScanNvmeReq) String ¶
func (x *ScanNvmeReq) String() string
type ScanNvmeResp ¶
type ScanNvmeResp struct { Ctrlrs []*NvmeController `protobuf:"bytes,1,rep,name=ctrlrs,proto3" json:"ctrlrs,omitempty"` State *ResponseState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ScanNvmeResp) Descriptor
deprecated
func (*ScanNvmeResp) Descriptor() ([]byte, []int)
Deprecated: Use ScanNvmeResp.ProtoReflect.Descriptor instead.
func (*ScanNvmeResp) GetCtrlrs ¶
func (x *ScanNvmeResp) GetCtrlrs() []*NvmeController
func (*ScanNvmeResp) GetState ¶
func (x *ScanNvmeResp) GetState() *ResponseState
func (*ScanNvmeResp) ProtoMessage ¶
func (*ScanNvmeResp) ProtoMessage()
func (*ScanNvmeResp) ProtoReflect ¶
func (x *ScanNvmeResp) ProtoReflect() protoreflect.Message
func (*ScanNvmeResp) Reset ¶
func (x *ScanNvmeResp) Reset()
func (*ScanNvmeResp) String ¶
func (x *ScanNvmeResp) String() string
type ScanScmReq ¶
type ScanScmReq struct { Usage bool `protobuf:"varint,1,opt,name=usage,proto3" json:"usage,omitempty"` // Populate usage statistics in scan // contains filtered or unexported fields }
func (*ScanScmReq) Descriptor
deprecated
func (*ScanScmReq) Descriptor() ([]byte, []int)
Deprecated: Use ScanScmReq.ProtoReflect.Descriptor instead.
func (*ScanScmReq) GetUsage ¶
func (x *ScanScmReq) GetUsage() bool
func (*ScanScmReq) ProtoMessage ¶
func (*ScanScmReq) ProtoMessage()
func (*ScanScmReq) ProtoReflect ¶
func (x *ScanScmReq) ProtoReflect() protoreflect.Message
func (*ScanScmReq) Reset ¶
func (x *ScanScmReq) Reset()
func (*ScanScmReq) String ¶
func (x *ScanScmReq) String() string
type ScanScmResp ¶
type ScanScmResp struct { Modules []*ScmModule `protobuf:"bytes,1,rep,name=modules,proto3" json:"modules,omitempty"` Namespaces []*ScmNamespace `protobuf:"bytes,2,rep,name=namespaces,proto3" json:"namespaces,omitempty"` State *ResponseState `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"` // contains filtered or unexported fields }
func (*ScanScmResp) Descriptor
deprecated
func (*ScanScmResp) Descriptor() ([]byte, []int)
Deprecated: Use ScanScmResp.ProtoReflect.Descriptor instead.
func (*ScanScmResp) GetModules ¶
func (x *ScanScmResp) GetModules() []*ScmModule
func (*ScanScmResp) GetNamespaces ¶
func (x *ScanScmResp) GetNamespaces() []*ScmNamespace
func (*ScanScmResp) GetState ¶
func (x *ScanScmResp) GetState() *ResponseState
func (*ScanScmResp) ProtoMessage ¶
func (*ScanScmResp) ProtoMessage()
func (*ScanScmResp) ProtoReflect ¶
func (x *ScanScmResp) ProtoReflect() protoreflect.Message
func (*ScanScmResp) Reset ¶
func (x *ScanScmResp) Reset()
func (*ScanScmResp) String ¶
func (x *ScanScmResp) String() string
type ScmFirmwareQueryResp ¶
type ScmFirmwareQueryResp struct { Module *ScmModule `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // The module of this firmware ActiveVersion string `protobuf:"bytes,2,opt,name=activeVersion,proto3" json:"activeVersion,omitempty"` // Active FW version StagedVersion string `protobuf:"bytes,3,opt,name=stagedVersion,proto3" json:"stagedVersion,omitempty"` // Staged FW version ImageMaxSizeBytes uint32 `protobuf:"varint,4,opt,name=imageMaxSizeBytes,proto3" json:"imageMaxSizeBytes,omitempty"` // Maximum size of FW image accepted UpdateStatus uint32 `protobuf:"varint,5,opt,name=updateStatus,proto3" json:"updateStatus,omitempty"` // Status of FW update Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` // Error string, if any // contains filtered or unexported fields }
func (*ScmFirmwareQueryResp) Descriptor
deprecated
func (*ScmFirmwareQueryResp) Descriptor() ([]byte, []int)
Deprecated: Use ScmFirmwareQueryResp.ProtoReflect.Descriptor instead.
func (*ScmFirmwareQueryResp) GetActiveVersion ¶
func (x *ScmFirmwareQueryResp) GetActiveVersion() string
func (*ScmFirmwareQueryResp) GetError ¶
func (x *ScmFirmwareQueryResp) GetError() string
func (*ScmFirmwareQueryResp) GetImageMaxSizeBytes ¶
func (x *ScmFirmwareQueryResp) GetImageMaxSizeBytes() uint32
func (*ScmFirmwareQueryResp) GetModule ¶
func (x *ScmFirmwareQueryResp) GetModule() *ScmModule
func (*ScmFirmwareQueryResp) GetStagedVersion ¶
func (x *ScmFirmwareQueryResp) GetStagedVersion() string
func (*ScmFirmwareQueryResp) GetUpdateStatus ¶
func (x *ScmFirmwareQueryResp) GetUpdateStatus() uint32
func (*ScmFirmwareQueryResp) ProtoMessage ¶
func (*ScmFirmwareQueryResp) ProtoMessage()
func (*ScmFirmwareQueryResp) ProtoReflect ¶
func (x *ScmFirmwareQueryResp) ProtoReflect() protoreflect.Message
func (*ScmFirmwareQueryResp) Reset ¶
func (x *ScmFirmwareQueryResp) Reset()
func (*ScmFirmwareQueryResp) String ¶
func (x *ScmFirmwareQueryResp) String() string
type ScmFirmwareUpdateResp ¶
type ScmFirmwareUpdateResp struct { Module *ScmModule `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // SCM device Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // empty if successful // contains filtered or unexported fields }
func (*ScmFirmwareUpdateResp) Descriptor
deprecated
func (*ScmFirmwareUpdateResp) Descriptor() ([]byte, []int)
Deprecated: Use ScmFirmwareUpdateResp.ProtoReflect.Descriptor instead.
func (*ScmFirmwareUpdateResp) GetError ¶
func (x *ScmFirmwareUpdateResp) GetError() string
func (*ScmFirmwareUpdateResp) GetModule ¶
func (x *ScmFirmwareUpdateResp) GetModule() *ScmModule
func (*ScmFirmwareUpdateResp) ProtoMessage ¶
func (*ScmFirmwareUpdateResp) ProtoMessage()
func (*ScmFirmwareUpdateResp) ProtoReflect ¶
func (x *ScmFirmwareUpdateResp) ProtoReflect() protoreflect.Message
func (*ScmFirmwareUpdateResp) Reset ¶
func (x *ScmFirmwareUpdateResp) Reset()
func (*ScmFirmwareUpdateResp) String ¶
func (x *ScmFirmwareUpdateResp) String() string
type ScmModule ¶
type ScmModule struct { Channelid uint32 `protobuf:"varint,1,opt,name=channelid,proto3" json:"channelid,omitempty"` // The channel id where module is installed. Channelposition uint32 `protobuf:"varint,2,opt,name=channelposition,proto3" json:"channelposition,omitempty"` // The channel position where module is installed. Controllerid uint32 `protobuf:"varint,3,opt,name=controllerid,proto3" json:"controllerid,omitempty"` // The memory controller id attached to module. Socketid uint32 `protobuf:"varint,4,opt,name=socketid,proto3" json:"socketid,omitempty"` // The socket id attached to module. Physicalid uint32 `protobuf:"varint,5,opt,name=physicalid,proto3" json:"physicalid,omitempty"` // The physical id of the module. Capacity uint64 `protobuf:"varint,6,opt,name=capacity,proto3" json:"capacity,omitempty"` // The capacity of the module. Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"` // The uid of the module. PartNumber string `protobuf:"bytes,8,opt,name=partNumber,proto3" json:"partNumber,omitempty"` // The part number of the module. FirmwareRevision string `protobuf:"bytes,9,opt,name=firmwareRevision,proto3" json:"firmwareRevision,omitempty"` // Module's active firmware revision HealthState string `protobuf:"bytes,10,opt,name=healthState,proto3" json:"healthState,omitempty"` // Module's health state. // contains filtered or unexported fields }
ScmModule represent Storage Class Memory modules installed.
func (*ScmModule) Descriptor
deprecated
func (*ScmModule) GetCapacity ¶
func (*ScmModule) GetChannelid ¶
func (*ScmModule) GetChannelposition ¶
func (*ScmModule) GetControllerid ¶
func (*ScmModule) GetFirmwareRevision ¶
func (*ScmModule) GetHealthState ¶
func (*ScmModule) GetPartNumber ¶
func (*ScmModule) GetPhysicalid ¶
func (*ScmModule) GetSocketid ¶
func (*ScmModule) ProtoMessage ¶
func (*ScmModule) ProtoMessage()
func (*ScmModule) ProtoReflect ¶
func (x *ScmModule) ProtoReflect() protoreflect.Message
type ScmModuleResult ¶
type ScmModuleResult struct { Physicalid uint32 `protobuf:"varint,1,opt,name=physicalid,proto3" json:"physicalid,omitempty"` // SCM module identifier State *ResponseState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // state of current operation // contains filtered or unexported fields }
ScmModuleResult represents operation state for specific SCM/PM module.
TODO: replace identifier with serial when returned in scan
func (*ScmModuleResult) Descriptor
deprecated
func (*ScmModuleResult) Descriptor() ([]byte, []int)
Deprecated: Use ScmModuleResult.ProtoReflect.Descriptor instead.
func (*ScmModuleResult) GetPhysicalid ¶
func (x *ScmModuleResult) GetPhysicalid() uint32
func (*ScmModuleResult) GetState ¶
func (x *ScmModuleResult) GetState() *ResponseState
func (*ScmModuleResult) ProtoMessage ¶
func (*ScmModuleResult) ProtoMessage()
func (*ScmModuleResult) ProtoReflect ¶
func (x *ScmModuleResult) ProtoReflect() protoreflect.Message
func (*ScmModuleResult) Reset ¶
func (x *ScmModuleResult) Reset()
func (*ScmModuleResult) String ¶
func (x *ScmModuleResult) String() string
type ScmMountResult ¶
type ScmMountResult struct { Mntpoint string `protobuf:"bytes,1,opt,name=mntpoint,proto3" json:"mntpoint,omitempty"` // Path where device or tmpfs is mounted State *ResponseState `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"` // state of current operation Instanceidx uint32 `protobuf:"varint,3,opt,name=instanceidx,proto3" json:"instanceidx,omitempty"` // Index of I/O Engine instance // contains filtered or unexported fields }
ScmMountResult represents operation state for specific SCM mount point.
func (*ScmMountResult) Descriptor
deprecated
func (*ScmMountResult) Descriptor() ([]byte, []int)
Deprecated: Use ScmMountResult.ProtoReflect.Descriptor instead.
func (*ScmMountResult) GetInstanceidx ¶
func (x *ScmMountResult) GetInstanceidx() uint32
func (*ScmMountResult) GetMntpoint ¶
func (x *ScmMountResult) GetMntpoint() string
func (*ScmMountResult) GetState ¶
func (x *ScmMountResult) GetState() *ResponseState
func (*ScmMountResult) ProtoMessage ¶
func (*ScmMountResult) ProtoMessage()
func (*ScmMountResult) ProtoReflect ¶
func (x *ScmMountResult) ProtoReflect() protoreflect.Message
func (*ScmMountResult) Reset ¶
func (x *ScmMountResult) Reset()
func (*ScmMountResult) String ¶
func (x *ScmMountResult) String() string
type ScmNamespace ¶
type ScmNamespace struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` Blockdev string `protobuf:"bytes,2,opt,name=blockdev,proto3" json:"blockdev,omitempty"` Dev string `protobuf:"bytes,3,opt,name=dev,proto3" json:"dev,omitempty"` // ndctl specific device identifier NumaNode uint32 `protobuf:"varint,4,opt,name=numa_node,json=numaNode,proto3" json:"numa_node,omitempty"` Size uint64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` // pmem block device capacity in bytes Mount *ScmNamespace_Mount `protobuf:"bytes,6,opt,name=mount,proto3" json:"mount,omitempty"` // mount OS info // contains filtered or unexported fields }
ScmNamespace represents SCM namespace as pmem device files created on a ScmRegion.
func (*ScmNamespace) Descriptor
deprecated
func (*ScmNamespace) Descriptor() ([]byte, []int)
Deprecated: Use ScmNamespace.ProtoReflect.Descriptor instead.
func (*ScmNamespace) GetBlockdev ¶
func (x *ScmNamespace) GetBlockdev() string
func (*ScmNamespace) GetDev ¶
func (x *ScmNamespace) GetDev() string
func (*ScmNamespace) GetMount ¶
func (x *ScmNamespace) GetMount() *ScmNamespace_Mount
func (*ScmNamespace) GetNumaNode ¶
func (x *ScmNamespace) GetNumaNode() uint32
func (*ScmNamespace) GetSize ¶
func (x *ScmNamespace) GetSize() uint64
func (*ScmNamespace) GetUuid ¶
func (x *ScmNamespace) GetUuid() string
func (*ScmNamespace) ProtoMessage ¶
func (*ScmNamespace) ProtoMessage()
func (*ScmNamespace) ProtoReflect ¶
func (x *ScmNamespace) ProtoReflect() protoreflect.Message
func (*ScmNamespace) Reset ¶
func (x *ScmNamespace) Reset()
func (*ScmNamespace) String ¶
func (x *ScmNamespace) String() string
type ScmNamespace_Mount ¶
type ScmNamespace_Mount struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` TotalBytes uint64 `protobuf:"varint,2,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` AvailBytes uint64 `protobuf:"varint,3,opt,name=avail_bytes,json=availBytes,proto3" json:"avail_bytes,omitempty"` // Available RAW storage for data DeviceList []string `protobuf:"bytes,4,rep,name=device_list,json=deviceList,proto3" json:"device_list,omitempty"` Class string `protobuf:"bytes,5,opt,name=class,proto3" json:"class,omitempty"` Rank uint32 `protobuf:"varint,6,opt,name=rank,proto3" json:"rank,omitempty"` // DAOS I/O Engine using SCM devices UsableBytes uint64 `protobuf:"varint,7,opt,name=usable_bytes,json=usableBytes,proto3" json:"usable_bytes,omitempty"` // Effective storage available for data // contains filtered or unexported fields }
Mount represents a mounted pmem block device.
func (*ScmNamespace_Mount) Descriptor
deprecated
func (*ScmNamespace_Mount) Descriptor() ([]byte, []int)
Deprecated: Use ScmNamespace_Mount.ProtoReflect.Descriptor instead.
func (*ScmNamespace_Mount) GetAvailBytes ¶
func (x *ScmNamespace_Mount) GetAvailBytes() uint64
func (*ScmNamespace_Mount) GetClass ¶
func (x *ScmNamespace_Mount) GetClass() string
func (*ScmNamespace_Mount) GetDeviceList ¶
func (x *ScmNamespace_Mount) GetDeviceList() []string
func (*ScmNamespace_Mount) GetPath ¶
func (x *ScmNamespace_Mount) GetPath() string
func (*ScmNamespace_Mount) GetRank ¶
func (x *ScmNamespace_Mount) GetRank() uint32
func (*ScmNamespace_Mount) GetTotalBytes ¶
func (x *ScmNamespace_Mount) GetTotalBytes() uint64
func (*ScmNamespace_Mount) GetUsableBytes ¶
func (x *ScmNamespace_Mount) GetUsableBytes() uint64
func (*ScmNamespace_Mount) ProtoMessage ¶
func (*ScmNamespace_Mount) ProtoMessage()
func (*ScmNamespace_Mount) ProtoReflect ¶
func (x *ScmNamespace_Mount) ProtoReflect() protoreflect.Message
func (*ScmNamespace_Mount) Reset ¶
func (x *ScmNamespace_Mount) Reset()
func (*ScmNamespace_Mount) String ¶
func (x *ScmNamespace_Mount) String() string
type SetFaultyReq ¶
type SetFaultyReq struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Device-UUID (as recorded in SMD) // contains filtered or unexported fields }
func (*SetFaultyReq) Descriptor
deprecated
func (*SetFaultyReq) Descriptor() ([]byte, []int)
Deprecated: Use SetFaultyReq.ProtoReflect.Descriptor instead.
func (*SetFaultyReq) GetUuid ¶
func (x *SetFaultyReq) GetUuid() string
func (*SetFaultyReq) ProtoMessage ¶
func (*SetFaultyReq) ProtoMessage()
func (*SetFaultyReq) ProtoReflect ¶
func (x *SetFaultyReq) ProtoReflect() protoreflect.Message
func (*SetFaultyReq) Reset ¶
func (x *SetFaultyReq) Reset()
func (*SetFaultyReq) String ¶
func (x *SetFaultyReq) String() string
type SetLogMasksReq ¶
type SetLogMasksReq struct { Sys string `protobuf:"bytes,1,opt,name=sys,proto3" json:"sys,omitempty"` // DAOS system name Masks string `protobuf:"bytes,2,opt,name=masks,proto3" json:"masks,omitempty"` // set log masks for a set of facilities to a given level Streams string `protobuf:"bytes,3,opt,name=streams,proto3" json:"streams,omitempty"` // enable specific set of debug streams to log Subsystems string `protobuf:"bytes,4,opt,name=subsystems,proto3" json:"subsystems,omitempty"` // enable logging of specific subsystems ResetMasks bool `protobuf:"varint,5,opt,name=reset_masks,json=resetMasks,proto3" json:"reset_masks,omitempty"` // reset log-masks to engine log_mask value in config ResetStreams bool `protobuf:"varint,6,opt,name=reset_streams,json=resetStreams,proto3" json:"reset_streams,omitempty"` // reset debug-streams to DD_MASK env value in config ResetSubsystems bool `protobuf:"varint,7,opt,name=reset_subsystems,json=resetSubsystems,proto3" json:"reset_subsystems,omitempty"` // reset enabled-subsystems to DD_SUBSYS env value in config // contains filtered or unexported fields }
SetLogMasksReq provides parameters to set system-wide log masks.
func (*SetLogMasksReq) Descriptor
deprecated
func (*SetLogMasksReq) Descriptor() ([]byte, []int)
Deprecated: Use SetLogMasksReq.ProtoReflect.Descriptor instead.
func (*SetLogMasksReq) GetMasks ¶
func (x *SetLogMasksReq) GetMasks() string
func (*SetLogMasksReq) GetResetMasks ¶
func (x *SetLogMasksReq) GetResetMasks() bool
func (*SetLogMasksReq) GetResetStreams ¶
func (x *SetLogMasksReq) GetResetStreams() bool
func (*SetLogMasksReq) GetResetSubsystems ¶
func (x *SetLogMasksReq) GetResetSubsystems() bool
func (*SetLogMasksReq) GetStreams ¶
func (x *SetLogMasksReq) GetStreams() string
func (*SetLogMasksReq) GetSubsystems ¶
func (x *SetLogMasksReq) GetSubsystems() string
func (*SetLogMasksReq) GetSys ¶
func (x *SetLogMasksReq) GetSys() string
func (*SetLogMasksReq) ProtoMessage ¶
func (*SetLogMasksReq) ProtoMessage()
func (*SetLogMasksReq) ProtoReflect ¶
func (x *SetLogMasksReq) ProtoReflect() protoreflect.Message
func (*SetLogMasksReq) Reset ¶
func (x *SetLogMasksReq) Reset()
func (*SetLogMasksReq) String ¶
func (x *SetLogMasksReq) String() string
type SetLogMasksResp ¶
type SetLogMasksResp struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // DAOS error code returned from dRPC Errors []string `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"` // per-instance error strings // contains filtered or unexported fields }
SetEngineLogMasksResp returns results of attempts to set engine log masks.
func (*SetLogMasksResp) Descriptor
deprecated
func (*SetLogMasksResp) Descriptor() ([]byte, []int)
Deprecated: Use SetLogMasksResp.ProtoReflect.Descriptor instead.
func (*SetLogMasksResp) GetErrors ¶
func (x *SetLogMasksResp) GetErrors() []string
func (*SetLogMasksResp) GetStatus ¶
func (x *SetLogMasksResp) GetStatus() int32
func (*SetLogMasksResp) ProtoMessage ¶
func (*SetLogMasksResp) ProtoMessage()
func (*SetLogMasksResp) ProtoReflect ¶
func (x *SetLogMasksResp) ProtoReflect() protoreflect.Message
func (*SetLogMasksResp) Reset ¶
func (x *SetLogMasksResp) Reset()
func (*SetLogMasksResp) String ¶
func (x *SetLogMasksResp) String() string
type SmdDevReq ¶
type SmdDevReq struct {
// contains filtered or unexported fields
}
func (*SmdDevReq) Descriptor
deprecated
func (*SmdDevReq) ProtoMessage ¶
func (*SmdDevReq) ProtoMessage()
func (*SmdDevReq) ProtoReflect ¶
func (x *SmdDevReq) ProtoReflect() protoreflect.Message
type SmdDevResp ¶
type SmdDevResp struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Devices []*SmdDevice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` // contains filtered or unexported fields }
func (*SmdDevResp) Descriptor
deprecated
func (*SmdDevResp) Descriptor() ([]byte, []int)
Deprecated: Use SmdDevResp.ProtoReflect.Descriptor instead.
func (*SmdDevResp) GetDevices ¶
func (x *SmdDevResp) GetDevices() []*SmdDevice
func (*SmdDevResp) GetStatus ¶
func (x *SmdDevResp) GetStatus() int32
func (*SmdDevResp) ProtoMessage ¶
func (*SmdDevResp) ProtoMessage()
func (*SmdDevResp) ProtoReflect ¶
func (x *SmdDevResp) ProtoReflect() protoreflect.Message
func (*SmdDevResp) Reset ¶
func (x *SmdDevResp) Reset()
func (*SmdDevResp) String ¶
func (x *SmdDevResp) String() string
type SmdDevice ¶
type SmdDevice struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // UUID of blobstore TgtIds []int32 `protobuf:"varint,2,rep,packed,name=tgt_ids,json=tgtIds,proto3" json:"tgt_ids,omitempty"` // VOS target IDs TotalBytes uint64 `protobuf:"varint,6,opt,name=total_bytes,json=totalBytes,proto3" json:"total_bytes,omitempty"` // blobstore clusters total bytes AvailBytes uint64 `protobuf:"varint,7,opt,name=avail_bytes,json=availBytes,proto3" json:"avail_bytes,omitempty"` // Available RAW storage for data ClusterSize uint64 `protobuf:"varint,8,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // blobstore cluster size in bytes Rank uint32 `protobuf:"varint,9,opt,name=rank,proto3" json:"rank,omitempty"` // DAOS I/O Engine using controller RoleBits uint32 `protobuf:"varint,10,opt,name=role_bits,json=roleBits,proto3" json:"role_bits,omitempty"` // Device active roles (bitmask) MetaSize uint64 `protobuf:"varint,11,opt,name=meta_size,json=metaSize,proto3" json:"meta_size,omitempty"` // Size of the metadata (i.e. vos file index) blob MetaWalSize uint64 `protobuf:"varint,12,opt,name=meta_wal_size,json=metaWalSize,proto3" json:"meta_wal_size,omitempty"` // Size of the metadata WAL blob RdbSize uint64 `protobuf:"varint,13,opt,name=rdb_size,json=rdbSize,proto3" json:"rdb_size,omitempty"` // Size of the RDB blob RdbWalSize uint64 `protobuf:"varint,14,opt,name=rdb_wal_size,json=rdbWalSize,proto3" json:"rdb_wal_size,omitempty"` // Size of the RDB WAL blob UsableBytes uint64 `protobuf:"varint,15,opt,name=usable_bytes,json=usableBytes,proto3" json:"usable_bytes,omitempty"` // Effective storage available for data Ctrlr *NvmeController `protobuf:"bytes,16,opt,name=ctrlr,proto3" json:"ctrlr,omitempty"` // Backing NVMe controller of SMD device CtrlrNamespaceId uint32 `protobuf:"varint,17,opt,name=ctrlr_namespace_id,json=ctrlrNamespaceId,proto3" json:"ctrlr_namespace_id,omitempty"` // NVMe namespace id hosting SMD blobstore // contains filtered or unexported fields }
SmdDevice represents a DAOS BIO device, identified by a UUID written into a label stored on a SPDK blobstore created on a NVMe namespace. Multiple SmdDevices may exist per NVMe controller.
func (*SmdDevice) Descriptor
deprecated
func (*SmdDevice) GetAvailBytes ¶
func (*SmdDevice) GetClusterSize ¶
func (*SmdDevice) GetCtrlr ¶
func (x *SmdDevice) GetCtrlr() *NvmeController
func (*SmdDevice) GetCtrlrNamespaceId ¶
func (*SmdDevice) GetMetaSize ¶
func (*SmdDevice) GetMetaWalSize ¶
func (*SmdDevice) GetRdbSize ¶
func (*SmdDevice) GetRdbWalSize ¶
func (*SmdDevice) GetRoleBits ¶
func (*SmdDevice) GetTotalBytes ¶
func (*SmdDevice) GetUsableBytes ¶
func (*SmdDevice) ProtoMessage ¶
func (*SmdDevice) ProtoMessage()
func (*SmdDevice) ProtoReflect ¶
func (x *SmdDevice) ProtoReflect() protoreflect.Message
type SmdManageReq ¶
type SmdManageReq struct { // Types that are assignable to Op: // // *SmdManageReq_Led // *SmdManageReq_Replace // *SmdManageReq_Faulty Op isSmdManageReq_Op `protobuf_oneof:"op"` // contains filtered or unexported fields }
func (*SmdManageReq) Descriptor
deprecated
func (*SmdManageReq) Descriptor() ([]byte, []int)
Deprecated: Use SmdManageReq.ProtoReflect.Descriptor instead.
func (*SmdManageReq) GetFaulty ¶
func (x *SmdManageReq) GetFaulty() *SetFaultyReq
func (*SmdManageReq) GetLed ¶
func (x *SmdManageReq) GetLed() *LedManageReq
func (*SmdManageReq) GetOp ¶
func (m *SmdManageReq) GetOp() isSmdManageReq_Op
func (*SmdManageReq) GetReplace ¶
func (x *SmdManageReq) GetReplace() *DevReplaceReq
func (*SmdManageReq) ProtoMessage ¶
func (*SmdManageReq) ProtoMessage()
func (*SmdManageReq) ProtoReflect ¶
func (x *SmdManageReq) ProtoReflect() protoreflect.Message
func (*SmdManageReq) Reset ¶
func (x *SmdManageReq) Reset()
func (*SmdManageReq) String ¶
func (x *SmdManageReq) String() string
type SmdManageReq_Faulty ¶
type SmdManageReq_Faulty struct {
Faulty *SetFaultyReq `protobuf:"bytes,3,opt,name=faulty,proto3,oneof"` // Request to set SMD device faulty
}
type SmdManageReq_Led ¶
type SmdManageReq_Led struct {
Led *LedManageReq `protobuf:"bytes,1,opt,name=led,proto3,oneof"` // Request to manage LED state
}
type SmdManageReq_Replace ¶
type SmdManageReq_Replace struct {
Replace *DevReplaceReq `protobuf:"bytes,2,opt,name=replace,proto3,oneof"` // Request to replace SMD device
}
type SmdManageResp ¶
type SmdManageResp struct { Ranks []*SmdManageResp_RankResp `protobuf:"bytes,1,rep,name=ranks,proto3" json:"ranks,omitempty"` // List of per-rank responses // contains filtered or unexported fields }
func (*SmdManageResp) Descriptor
deprecated
func (*SmdManageResp) Descriptor() ([]byte, []int)
Deprecated: Use SmdManageResp.ProtoReflect.Descriptor instead.
func (*SmdManageResp) GetRanks ¶
func (x *SmdManageResp) GetRanks() []*SmdManageResp_RankResp
func (*SmdManageResp) ProtoMessage ¶
func (*SmdManageResp) ProtoMessage()
func (*SmdManageResp) ProtoReflect ¶
func (x *SmdManageResp) ProtoReflect() protoreflect.Message
func (*SmdManageResp) Reset ¶
func (x *SmdManageResp) Reset()
func (*SmdManageResp) String ¶
func (x *SmdManageResp) String() string
type SmdManageResp_RankResp ¶
type SmdManageResp_RankResp struct { Rank uint32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` // Rank to which this response corresponds Results []*SmdManageResp_Result `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"` // List of device results on the rank // contains filtered or unexported fields }
func (*SmdManageResp_RankResp) Descriptor
deprecated
func (*SmdManageResp_RankResp) Descriptor() ([]byte, []int)
Deprecated: Use SmdManageResp_RankResp.ProtoReflect.Descriptor instead.
func (*SmdManageResp_RankResp) GetRank ¶
func (x *SmdManageResp_RankResp) GetRank() uint32
func (*SmdManageResp_RankResp) GetResults ¶
func (x *SmdManageResp_RankResp) GetResults() []*SmdManageResp_Result
func (*SmdManageResp_RankResp) ProtoMessage ¶
func (*SmdManageResp_RankResp) ProtoMessage()
func (*SmdManageResp_RankResp) ProtoReflect ¶
func (x *SmdManageResp_RankResp) ProtoReflect() protoreflect.Message
func (*SmdManageResp_RankResp) Reset ¶
func (x *SmdManageResp_RankResp) Reset()
func (*SmdManageResp_RankResp) String ¶
func (x *SmdManageResp_RankResp) String() string
type SmdManageResp_Result ¶
type SmdManageResp_Result struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // DAOS error code Device *SmdDevice `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` // contains filtered or unexported fields }
func (*SmdManageResp_Result) Descriptor
deprecated
func (*SmdManageResp_Result) Descriptor() ([]byte, []int)
Deprecated: Use SmdManageResp_Result.ProtoReflect.Descriptor instead.
func (*SmdManageResp_Result) GetDevice ¶
func (x *SmdManageResp_Result) GetDevice() *SmdDevice
func (*SmdManageResp_Result) GetStatus ¶
func (x *SmdManageResp_Result) GetStatus() int32
func (*SmdManageResp_Result) ProtoMessage ¶
func (*SmdManageResp_Result) ProtoMessage()
func (*SmdManageResp_Result) ProtoReflect ¶
func (x *SmdManageResp_Result) ProtoReflect() protoreflect.Message
func (*SmdManageResp_Result) Reset ¶
func (x *SmdManageResp_Result) Reset()
func (*SmdManageResp_Result) String ¶
func (x *SmdManageResp_Result) String() string
type SmdPoolReq ¶
type SmdPoolReq struct {
// contains filtered or unexported fields
}
func (*SmdPoolReq) Descriptor
deprecated
func (*SmdPoolReq) Descriptor() ([]byte, []int)
Deprecated: Use SmdPoolReq.ProtoReflect.Descriptor instead.
func (*SmdPoolReq) ProtoMessage ¶
func (*SmdPoolReq) ProtoMessage()
func (*SmdPoolReq) ProtoReflect ¶
func (x *SmdPoolReq) ProtoReflect() protoreflect.Message
func (*SmdPoolReq) Reset ¶
func (x *SmdPoolReq) Reset()
func (*SmdPoolReq) String ¶
func (x *SmdPoolReq) String() string
type SmdPoolResp ¶
type SmdPoolResp struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` Pools []*SmdPoolResp_Pool `protobuf:"bytes,2,rep,name=pools,proto3" json:"pools,omitempty"` // contains filtered or unexported fields }
func (*SmdPoolResp) Descriptor
deprecated
func (*SmdPoolResp) Descriptor() ([]byte, []int)
Deprecated: Use SmdPoolResp.ProtoReflect.Descriptor instead.
func (*SmdPoolResp) GetPools ¶
func (x *SmdPoolResp) GetPools() []*SmdPoolResp_Pool
func (*SmdPoolResp) GetStatus ¶
func (x *SmdPoolResp) GetStatus() int32
func (*SmdPoolResp) ProtoMessage ¶
func (*SmdPoolResp) ProtoMessage()
func (*SmdPoolResp) ProtoReflect ¶
func (x *SmdPoolResp) ProtoReflect() protoreflect.Message
func (*SmdPoolResp) Reset ¶
func (x *SmdPoolResp) Reset()
func (*SmdPoolResp) String ¶
func (x *SmdPoolResp) String() string
type SmdPoolResp_Pool ¶
type SmdPoolResp_Pool struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // UUID of VOS pool TgtIds []int32 `protobuf:"varint,2,rep,packed,name=tgt_ids,json=tgtIds,proto3" json:"tgt_ids,omitempty"` // VOS target IDs Blobs []uint64 `protobuf:"varint,3,rep,packed,name=blobs,proto3" json:"blobs,omitempty"` // SPDK blobs // contains filtered or unexported fields }
func (*SmdPoolResp_Pool) Descriptor
deprecated
func (*SmdPoolResp_Pool) Descriptor() ([]byte, []int)
Deprecated: Use SmdPoolResp_Pool.ProtoReflect.Descriptor instead.
func (*SmdPoolResp_Pool) GetBlobs ¶
func (x *SmdPoolResp_Pool) GetBlobs() []uint64
func (*SmdPoolResp_Pool) GetTgtIds ¶
func (x *SmdPoolResp_Pool) GetTgtIds() []int32
func (*SmdPoolResp_Pool) GetUuid ¶
func (x *SmdPoolResp_Pool) GetUuid() string
func (*SmdPoolResp_Pool) ProtoMessage ¶
func (*SmdPoolResp_Pool) ProtoMessage()
func (*SmdPoolResp_Pool) ProtoReflect ¶
func (x *SmdPoolResp_Pool) ProtoReflect() protoreflect.Message
func (*SmdPoolResp_Pool) Reset ¶
func (x *SmdPoolResp_Pool) Reset()
func (*SmdPoolResp_Pool) String ¶
func (x *SmdPoolResp_Pool) String() string
type SmdQueryReq ¶
type SmdQueryReq struct { OmitDevices bool `protobuf:"varint,1,opt,name=omit_devices,json=omitDevices,proto3" json:"omit_devices,omitempty"` // Indicate query should omit devices OmitPools bool `protobuf:"varint,2,opt,name=omit_pools,json=omitPools,proto3" json:"omit_pools,omitempty"` // Indicate query should omit pools IncludeBioHealth bool `protobuf:"varint,3,opt,name=include_bio_health,json=includeBioHealth,proto3" json:"include_bio_health,omitempty"` // Indicate query should include BIO health for devices Uuid string `protobuf:"bytes,4,opt,name=uuid,proto3" json:"uuid,omitempty"` // Constrain query to this UUID (pool or device) Rank uint32 `protobuf:"varint,5,opt,name=rank,proto3" json:"rank,omitempty"` // Restrict response to only include info about this rank // contains filtered or unexported fields }
func (*SmdQueryReq) Descriptor
deprecated
func (*SmdQueryReq) Descriptor() ([]byte, []int)
Deprecated: Use SmdQueryReq.ProtoReflect.Descriptor instead.
func (*SmdQueryReq) GetIncludeBioHealth ¶
func (x *SmdQueryReq) GetIncludeBioHealth() bool
func (*SmdQueryReq) GetOmitDevices ¶
func (x *SmdQueryReq) GetOmitDevices() bool
func (*SmdQueryReq) GetOmitPools ¶
func (x *SmdQueryReq) GetOmitPools() bool
func (*SmdQueryReq) GetRank ¶
func (x *SmdQueryReq) GetRank() uint32
func (*SmdQueryReq) GetUuid ¶
func (x *SmdQueryReq) GetUuid() string
func (*SmdQueryReq) ProtoMessage ¶
func (*SmdQueryReq) ProtoMessage()
func (*SmdQueryReq) ProtoReflect ¶
func (x *SmdQueryReq) ProtoReflect() protoreflect.Message
func (*SmdQueryReq) Reset ¶
func (x *SmdQueryReq) Reset()
func (*SmdQueryReq) String ¶
func (x *SmdQueryReq) String() string
type SmdQueryResp ¶
type SmdQueryResp struct { Status int32 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // DAOS error code Ranks []*SmdQueryResp_RankResp `protobuf:"bytes,2,rep,name=ranks,proto3" json:"ranks,omitempty"` // List of per-rank responses // contains filtered or unexported fields }
func (*SmdQueryResp) Descriptor
deprecated
func (*SmdQueryResp) Descriptor() ([]byte, []int)
Deprecated: Use SmdQueryResp.ProtoReflect.Descriptor instead.
func (*SmdQueryResp) GetRanks ¶
func (x *SmdQueryResp) GetRanks() []*SmdQueryResp_RankResp
func (*SmdQueryResp) GetStatus ¶
func (x *SmdQueryResp) GetStatus() int32
func (*SmdQueryResp) ProtoMessage ¶
func (*SmdQueryResp) ProtoMessage()
func (*SmdQueryResp) ProtoReflect ¶
func (x *SmdQueryResp) ProtoReflect() protoreflect.Message
func (*SmdQueryResp) Reset ¶
func (x *SmdQueryResp) Reset()
func (*SmdQueryResp) String ¶
func (x *SmdQueryResp) String() string
type SmdQueryResp_Pool ¶
type SmdQueryResp_Pool struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // UUID of VOS pool TgtIds []int32 `protobuf:"varint,2,rep,packed,name=tgt_ids,json=tgtIds,proto3" json:"tgt_ids,omitempty"` // VOS target IDs Blobs []uint64 `protobuf:"varint,3,rep,packed,name=blobs,proto3" json:"blobs,omitempty"` // SPDK blobs // contains filtered or unexported fields }
func (*SmdQueryResp_Pool) Descriptor
deprecated
func (*SmdQueryResp_Pool) Descriptor() ([]byte, []int)
Deprecated: Use SmdQueryResp_Pool.ProtoReflect.Descriptor instead.
func (*SmdQueryResp_Pool) GetBlobs ¶
func (x *SmdQueryResp_Pool) GetBlobs() []uint64
func (*SmdQueryResp_Pool) GetTgtIds ¶
func (x *SmdQueryResp_Pool) GetTgtIds() []int32
func (*SmdQueryResp_Pool) GetUuid ¶
func (x *SmdQueryResp_Pool) GetUuid() string
func (*SmdQueryResp_Pool) ProtoMessage ¶
func (*SmdQueryResp_Pool) ProtoMessage()
func (*SmdQueryResp_Pool) ProtoReflect ¶
func (x *SmdQueryResp_Pool) ProtoReflect() protoreflect.Message
func (*SmdQueryResp_Pool) Reset ¶
func (x *SmdQueryResp_Pool) Reset()
func (*SmdQueryResp_Pool) String ¶
func (x *SmdQueryResp_Pool) String() string
type SmdQueryResp_RankResp ¶
type SmdQueryResp_RankResp struct { Rank uint32 `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"` // rank to which this response corresponds Devices []*SmdDevice `protobuf:"bytes,2,rep,name=devices,proto3" json:"devices,omitempty"` // List of devices on the rank Pools []*SmdQueryResp_Pool `protobuf:"bytes,3,rep,name=pools,proto3" json:"pools,omitempty"` // List of pools on the rank // contains filtered or unexported fields }
func (*SmdQueryResp_RankResp) Descriptor
deprecated
func (*SmdQueryResp_RankResp) Descriptor() ([]byte, []int)
Deprecated: Use SmdQueryResp_RankResp.ProtoReflect.Descriptor instead.
func (*SmdQueryResp_RankResp) GetDevices ¶
func (x *SmdQueryResp_RankResp) GetDevices() []*SmdDevice
func (*SmdQueryResp_RankResp) GetPools ¶
func (x *SmdQueryResp_RankResp) GetPools() []*SmdQueryResp_Pool
func (*SmdQueryResp_RankResp) GetRank ¶
func (x *SmdQueryResp_RankResp) GetRank() uint32
func (*SmdQueryResp_RankResp) ProtoMessage ¶
func (*SmdQueryResp_RankResp) ProtoMessage()
func (*SmdQueryResp_RankResp) ProtoReflect ¶
func (x *SmdQueryResp_RankResp) ProtoReflect() protoreflect.Message
func (*SmdQueryResp_RankResp) Reset ¶
func (x *SmdQueryResp_RankResp) Reset()
func (*SmdQueryResp_RankResp) String ¶
func (x *SmdQueryResp_RankResp) String() string
type StorageFormatReq ¶
type StorageFormatReq struct { Nvme *FormatNvmeReq `protobuf:"bytes,1,opt,name=nvme,proto3" json:"nvme,omitempty"` Scm *FormatScmReq `protobuf:"bytes,2,opt,name=scm,proto3" json:"scm,omitempty"` Reformat bool `protobuf:"varint,3,opt,name=reformat,proto3" json:"reformat,omitempty"` // contains filtered or unexported fields }
func (*StorageFormatReq) Descriptor
deprecated
func (*StorageFormatReq) Descriptor() ([]byte, []int)
Deprecated: Use StorageFormatReq.ProtoReflect.Descriptor instead.
func (*StorageFormatReq) GetNvme ¶
func (x *StorageFormatReq) GetNvme() *FormatNvmeReq
func (*StorageFormatReq) GetReformat ¶
func (x *StorageFormatReq) GetReformat() bool
func (*StorageFormatReq) GetScm ¶
func (x *StorageFormatReq) GetScm() *FormatScmReq
func (*StorageFormatReq) ProtoMessage ¶
func (*StorageFormatReq) ProtoMessage()
func (*StorageFormatReq) ProtoReflect ¶
func (x *StorageFormatReq) ProtoReflect() protoreflect.Message
func (*StorageFormatReq) Reset ¶
func (x *StorageFormatReq) Reset()
func (*StorageFormatReq) String ¶
func (x *StorageFormatReq) String() string
type StorageFormatResp ¶
type StorageFormatResp struct { Crets []*NvmeControllerResult `protobuf:"bytes,1,rep,name=crets,proto3" json:"crets,omitempty"` // One per controller format attempt Mrets []*ScmMountResult `protobuf:"bytes,2,rep,name=mrets,proto3" json:"mrets,omitempty"` // One per scm format and mount attempt // contains filtered or unexported fields }
func (*StorageFormatResp) Descriptor
deprecated
func (*StorageFormatResp) Descriptor() ([]byte, []int)
Deprecated: Use StorageFormatResp.ProtoReflect.Descriptor instead.
func (*StorageFormatResp) GetCrets ¶
func (x *StorageFormatResp) GetCrets() []*NvmeControllerResult
func (*StorageFormatResp) GetMrets ¶
func (x *StorageFormatResp) GetMrets() []*ScmMountResult
func (*StorageFormatResp) ProtoMessage ¶
func (*StorageFormatResp) ProtoMessage()
func (*StorageFormatResp) ProtoReflect ¶
func (x *StorageFormatResp) ProtoReflect() protoreflect.Message
func (*StorageFormatResp) Reset ¶
func (x *StorageFormatResp) Reset()
func (*StorageFormatResp) String ¶
func (x *StorageFormatResp) String() string
type StorageScanReq ¶
type StorageScanReq struct { Nvme *ScanNvmeReq `protobuf:"bytes,1,opt,name=nvme,proto3" json:"nvme,omitempty"` Scm *ScanScmReq `protobuf:"bytes,2,opt,name=scm,proto3" json:"scm,omitempty"` // contains filtered or unexported fields }
func (*StorageScanReq) Descriptor
deprecated
func (*StorageScanReq) Descriptor() ([]byte, []int)
Deprecated: Use StorageScanReq.ProtoReflect.Descriptor instead.
func (*StorageScanReq) GetNvme ¶
func (x *StorageScanReq) GetNvme() *ScanNvmeReq
func (*StorageScanReq) GetScm ¶
func (x *StorageScanReq) GetScm() *ScanScmReq
func (*StorageScanReq) ProtoMessage ¶
func (*StorageScanReq) ProtoMessage()
func (*StorageScanReq) ProtoReflect ¶
func (x *StorageScanReq) ProtoReflect() protoreflect.Message
func (*StorageScanReq) Reset ¶
func (x *StorageScanReq) Reset()
func (*StorageScanReq) String ¶
func (x *StorageScanReq) String() string
type StorageScanResp ¶
type StorageScanResp struct { Nvme *ScanNvmeResp `protobuf:"bytes,1,opt,name=nvme,proto3" json:"nvme,omitempty"` Scm *ScanScmResp `protobuf:"bytes,2,opt,name=scm,proto3" json:"scm,omitempty"` MemInfo *MemInfo `protobuf:"bytes,3,opt,name=mem_info,json=memInfo,proto3" json:"mem_info,omitempty"` // contains filtered or unexported fields }
func (*StorageScanResp) Descriptor
deprecated
func (*StorageScanResp) Descriptor() ([]byte, []int)
Deprecated: Use StorageScanResp.ProtoReflect.Descriptor instead.
func (*StorageScanResp) GetMemInfo ¶
func (x *StorageScanResp) GetMemInfo() *MemInfo
func (*StorageScanResp) GetNvme ¶
func (x *StorageScanResp) GetNvme() *ScanNvmeResp
func (*StorageScanResp) GetScm ¶
func (x *StorageScanResp) GetScm() *ScanScmResp
func (*StorageScanResp) ProtoMessage ¶
func (*StorageScanResp) ProtoMessage()
func (*StorageScanResp) ProtoReflect ¶
func (x *StorageScanResp) ProtoReflect() protoreflect.Message
func (*StorageScanResp) Reset ¶
func (x *StorageScanResp) Reset()
func (*StorageScanResp) String ¶
func (x *StorageScanResp) String() string
type UnimplementedCtlSvcServer ¶
type UnimplementedCtlSvcServer struct { }
UnimplementedCtlSvcServer must be embedded to have forward compatible implementations.
func (UnimplementedCtlSvcServer) CollectLog ¶
func (UnimplementedCtlSvcServer) CollectLog(context.Context, *CollectLogReq) (*CollectLogResp, error)
func (UnimplementedCtlSvcServer) FirmwareQuery ¶
func (UnimplementedCtlSvcServer) FirmwareQuery(context.Context, *FirmwareQueryReq) (*FirmwareQueryResp, error)
func (UnimplementedCtlSvcServer) FirmwareUpdate ¶
func (UnimplementedCtlSvcServer) FirmwareUpdate(context.Context, *FirmwareUpdateReq) (*FirmwareUpdateResp, error)
func (UnimplementedCtlSvcServer) NetworkScan ¶
func (UnimplementedCtlSvcServer) NetworkScan(context.Context, *NetworkScanReq) (*NetworkScanResp, error)
func (UnimplementedCtlSvcServer) PrepShutdownRanks ¶
func (UnimplementedCtlSvcServer) ResetFormatRanks ¶
func (UnimplementedCtlSvcServer) SetEngineLogMasks ¶
func (UnimplementedCtlSvcServer) SetEngineLogMasks(context.Context, *SetLogMasksReq) (*SetLogMasksResp, error)
func (UnimplementedCtlSvcServer) SmdManage ¶
func (UnimplementedCtlSvcServer) SmdManage(context.Context, *SmdManageReq) (*SmdManageResp, error)
func (UnimplementedCtlSvcServer) SmdQuery ¶
func (UnimplementedCtlSvcServer) SmdQuery(context.Context, *SmdQueryReq) (*SmdQueryResp, error)
func (UnimplementedCtlSvcServer) StartRanks ¶
func (UnimplementedCtlSvcServer) StorageFormat ¶
func (UnimplementedCtlSvcServer) StorageFormat(context.Context, *StorageFormatReq) (*StorageFormatResp, error)
func (UnimplementedCtlSvcServer) StorageNvmeAddDevice ¶
func (UnimplementedCtlSvcServer) StorageNvmeAddDevice(context.Context, *NvmeAddDeviceReq) (*NvmeAddDeviceResp, error)
func (UnimplementedCtlSvcServer) StorageNvmeRebind ¶
func (UnimplementedCtlSvcServer) StorageNvmeRebind(context.Context, *NvmeRebindReq) (*NvmeRebindResp, error)
func (UnimplementedCtlSvcServer) StorageScan ¶
func (UnimplementedCtlSvcServer) StorageScan(context.Context, *StorageScanReq) (*StorageScanResp, error)
type UnsafeCtlSvcServer ¶
type UnsafeCtlSvcServer interface {
// contains filtered or unexported methods
}
UnsafeCtlSvcServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CtlSvcServer will result in compilation errors.