Documentation
¶
Index ¶
- type ActivatePayloadRequest
- type ActivatePayloadResponse
- type ChannelSecurityKeysLockStatus
- type ChannelSecurityKeysOperation
- type DeactivatePayloadRequest
- type DeactivatePayloadResponse
- type GetChannelOEMPayloadInfoRequest
- type GetChannelOEMPayloadInfoResponse
- type GetChannelPayloadSupportRequest
- type GetChannelPayloadSupportResponse
- type GetChannelPayloadVersionRequest
- type GetChannelPayloadVersionResponse
- type GetIPStatisticsRequest
- type GetIPStatisticsResponse
- type GetLanConfigParamRequest
- type GetLanConfigParamResponse
- type GetPayloadActivationStatusRequest
- type GetPayloadActivationStatusResponse
- type GetPayloadInstanceInfoRequest
- type GetPayloadInstanceInfoResponse
- type GetSOLConfigParamRequest
- type GetSOLConfigParamResponse
- type PayloadEncryptionOperation
- type SOLActivatingRequest
- type SOLActivatingResponse
- type SetChannelSecurityKeysRequest
- type SetChannelSecurityKeysResponse
- type SetLanConfigParamRequest
- type SetLanConfigParamResponse
- type SetSOLConfigParamRequest
- type SetSOLConfigParamResponse
- type SharedSerialAlertBehavior
- type SuspendARPsRequest
- type SuspendARPsResponse
- type SuspendResumePayloadEncryptionRequest
- type SuspendResumePayloadEncryptionResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivatePayloadRequest ¶
type ActivatePayloadRequest struct {
PayloadType types.PayloadType
PayloadInstance uint8
EnableEncryption bool
EnableAuthentication bool
EnableTestMode bool
// The following settings are determine what happens to serial alerts
// if IPMI over Serial and SOL are sharing the same baseboard serial controller.
// - 11b: Reserved
// - 10b: Serial/modem alerts succeed while SOL active.
// - 01b: Serial/modem alerts deferred while SOL active.
// - 00b: Serial/modem alerts fail while SOL active.
SharedSerialAlertBehavior SharedSerialAlertBehavior
// [1] - SOL startup handshake
// - 0b: BMC asserts CTS and DCD/DSR to baseboard upon activation.
// - 1b: CTS and DCD/DSR remain deasserted after activation.
// Remote console must send an SOL Payload packet with control field settings to assert CTS and DCD/DSR.
// (This enables the remote console to first alter volatile configuration settings before hardware handshake is released).
SOLStartupHandshake bool
}
func (ActivatePayloadRequest) Command ¶
func (req ActivatePayloadRequest) Command() types.Command
func (*ActivatePayloadRequest) Pack ¶
func (req *ActivatePayloadRequest) Pack() []byte
type ActivatePayloadResponse ¶
type ActivatePayloadResponse struct {
TestModeEnabled bool
InboundPayloadSize uint16
OutboundPayloadSize uint16
PayloadUDPPort uint16
PayloadVLANID uint16
}
func (*ActivatePayloadResponse) Format ¶
func (res *ActivatePayloadResponse) Format() string
func (*ActivatePayloadResponse) Unpack ¶
func (res *ActivatePayloadResponse) Unpack(msg []byte) error
type ChannelSecurityKeysLockStatus ¶
type ChannelSecurityKeysLockStatus uint8
const ( ChannelSecurityKeysLockStatus_NotLockable ChannelSecurityKeysLockStatus = 0 ChannelSecurityKeysLockStatus_Locked ChannelSecurityKeysLockStatus = 1 ChannelSecurityKeysLockStatus_Unlocked ChannelSecurityKeysLockStatus = 2 )
func (ChannelSecurityKeysLockStatus) String ¶
func (lockStatus ChannelSecurityKeysLockStatus) String() string
type ChannelSecurityKeysOperation ¶
type ChannelSecurityKeysOperation uint8
const ( ChannelSecurityKeysOperationRead ChannelSecurityKeysOperation = 0 ChannelSecurityKeysOperationSet ChannelSecurityKeysOperation = 1 ChannelSecurityKeysOperationLock ChannelSecurityKeysOperation = 2 )
func (ChannelSecurityKeysOperation) String ¶
func (operation ChannelSecurityKeysOperation) String() string
type DeactivatePayloadRequest ¶
type DeactivatePayloadRequest struct {
PayloadType types.PayloadType
PayloadInstance uint8
}
func (DeactivatePayloadRequest) Command ¶
func (req DeactivatePayloadRequest) Command() types.Command
func (*DeactivatePayloadRequest) Pack ¶
func (req *DeactivatePayloadRequest) Pack() []byte
type DeactivatePayloadResponse ¶
type DeactivatePayloadResponse struct {
}
func (*DeactivatePayloadResponse) Format ¶
func (res *DeactivatePayloadResponse) Format() string
func (*DeactivatePayloadResponse) Unpack ¶
func (res *DeactivatePayloadResponse) Unpack(msg []byte) error
type GetChannelOEMPayloadInfoRequest ¶
type GetChannelOEMPayloadInfoRequest struct {
ChannelNumber uint8
PayloadType types.PayloadType
// OEM IANA. When Payload Type Number is 02h (OEM Explicit) this field
// holds the OEM IANA for the OEM payload type to look up information for. Otherwise, this field is set to 00_00_00h.
OEMIANA uint32
OEMPayloadID uint16
}
24.10 Get Channel OEM Payload Info Command
func (*GetChannelOEMPayloadInfoRequest) Command ¶
func (req *GetChannelOEMPayloadInfoRequest) Command() types.Command
func (*GetChannelOEMPayloadInfoRequest) Pack ¶
func (req *GetChannelOEMPayloadInfoRequest) Pack() []byte
type GetChannelOEMPayloadInfoResponse ¶
type GetChannelOEMPayloadInfoResponse struct {
PayloadType types.PayloadType
OEMIANA uint32
OEMPayloadID uint16
MajorVersion uint8
MinorVersion uint8
}
func (*GetChannelOEMPayloadInfoResponse) Format ¶
func (res *GetChannelOEMPayloadInfoResponse) Format() string
func (*GetChannelOEMPayloadInfoResponse) Unpack ¶
func (res *GetChannelOEMPayloadInfoResponse) Unpack(msg []byte) error
type GetChannelPayloadSupportRequest ¶
type GetChannelPayloadSupportRequest struct {
ChannelNumber uint8
}
24.8 Get Channel Payload Support Command
func (*GetChannelPayloadSupportRequest) Command ¶
func (req *GetChannelPayloadSupportRequest) Command() types.Command
func (*GetChannelPayloadSupportRequest) Pack ¶
func (req *GetChannelPayloadSupportRequest) Pack() []byte
type GetChannelPayloadSupportResponse ¶
type GetChannelPayloadSupportResponse struct {
// Standard payload types
PayloadTypeIPMI bool
PayloadTypeSOL bool
PayloadTypeOEM bool
// Session setup payload types
PayloadTypeRmcpOpenSessionRequest bool
PayloadTypeRmcpOpenSessionResponse bool
PayloadTypeRAKPMessage1 bool
PayloadTypeRAKPMessage2 bool
PayloadTypeRAKPMessage3 bool
PayloadTypeRAKPMessage4 bool
// OEM payload types
PayloadTypeOEM0 bool
PayloadTypeOEM1 bool
PayloadTypeOEM2 bool
PayloadTypeOEM3 bool
PayloadTypeOEM4 bool
PayloadTypeOEM5 bool
PayloadTypeOEM6 bool
PayloadTypeOEM7 bool
}
func (*GetChannelPayloadSupportResponse) Format ¶
func (res *GetChannelPayloadSupportResponse) Format() string
func (*GetChannelPayloadSupportResponse) Unpack ¶
func (res *GetChannelPayloadSupportResponse) Unpack(msg []byte) error
type GetChannelPayloadVersionRequest ¶
type GetChannelPayloadVersionRequest struct {
ChannelNumber uint8
PayloadType types.PayloadType
}
24.9 Get Channel Payload Version Command
func (*GetChannelPayloadVersionRequest) Command ¶
func (req *GetChannelPayloadVersionRequest) Command() types.Command
func (*GetChannelPayloadVersionRequest) Pack ¶
func (req *GetChannelPayloadVersionRequest) Pack() []byte
type GetChannelPayloadVersionResponse ¶
func (*GetChannelPayloadVersionResponse) Format ¶
func (res *GetChannelPayloadVersionResponse) Format() string
func (*GetChannelPayloadVersionResponse) Unpack ¶
func (res *GetChannelPayloadVersionResponse) Unpack(msg []byte) error
type GetIPStatisticsRequest ¶
23.4 Get IP/UDP/RMCP Statistics Command
func (*GetIPStatisticsRequest) Command ¶
func (req *GetIPStatisticsRequest) Command() types.Command
func (*GetIPStatisticsRequest) Pack ¶
func (req *GetIPStatisticsRequest) Pack() []byte
type GetIPStatisticsResponse ¶
type GetIPStatisticsResponse struct {
IPPacketsReceived uint16
IPHeaderErrorsReceived uint16
IPAddressErrorsReceived uint16
IPPacketsFragmentedReceived uint16
IPPacketsTransmitted uint16
UDPPacketsReceived uint16
RMCPPacketsValidReceived uint16
UDPProxyPacketsReceived uint16
UDPProxyPacketsDropped uint16
}
func (*GetIPStatisticsResponse) Format ¶
func (res *GetIPStatisticsResponse) Format() string
func (*GetIPStatisticsResponse) Unpack ¶
func (res *GetIPStatisticsResponse) Unpack(msg []byte) error
type GetLanConfigParamRequest ¶
type GetLanConfigParamRequest struct {
ChannelNumber uint8
ParamSelector types.LanConfigParamSelector
SetSelector uint8
BlockSelector uint8
}
23.2 Get LAN Configuration Parameters Command
func (*GetLanConfigParamRequest) Command ¶
func (req *GetLanConfigParamRequest) Command() types.Command
func (*GetLanConfigParamRequest) Pack ¶
func (req *GetLanConfigParamRequest) Pack() []byte
type GetLanConfigParamResponse ¶
func (*GetLanConfigParamResponse) Format ¶
func (res *GetLanConfigParamResponse) Format() string
func (*GetLanConfigParamResponse) Unpack ¶
func (res *GetLanConfigParamResponse) Unpack(msg []byte) error
type GetPayloadActivationStatusRequest ¶
type GetPayloadActivationStatusRequest struct {
PayloadType types.PayloadType
}
24.4 Get Payload Activation Status Command
func (*GetPayloadActivationStatusRequest) Command ¶
func (req *GetPayloadActivationStatusRequest) Command() types.Command
func (*GetPayloadActivationStatusRequest) Pack ¶
func (req *GetPayloadActivationStatusRequest) Pack() []byte
type GetPayloadActivationStatusResponse ¶
type GetPayloadActivationStatusResponse struct {
// [3:0] - Number of instances of given payload type that can be simultaneously activated on BMC. 1-based. 0h = reserved.
InstanceCapacity uint8
Instance01Activated bool
Instance02Activated bool
Instance03Activated bool
Instance04Activated bool
Instance05Activated bool
Instance06Activated bool
Instance07Activated bool
Instance08Activated bool
Instance09Activated bool
Instance10Activated bool
Instance11Activated bool
Instance12Activated bool
Instance13Activated bool
Instance14Activated bool
Instance15Activated bool
Instance16Activated bool
// Store the PayloadType specified in GetPayloadActivationStatusRequest
PayloadType types.PayloadType
}
func (*GetPayloadActivationStatusResponse) Format ¶
func (res *GetPayloadActivationStatusResponse) Format() string
func (*GetPayloadActivationStatusResponse) Unpack ¶
func (res *GetPayloadActivationStatusResponse) Unpack(msg []byte) error
type GetPayloadInstanceInfoRequest ¶
type GetPayloadInstanceInfoRequest struct {
PayloadType types.PayloadType
PayloadInstance uint8
}
24.5 Get Payload Instance Info Command
func (*GetPayloadInstanceInfoRequest) Command ¶
func (req *GetPayloadInstanceInfoRequest) Command() types.Command
func (*GetPayloadInstanceInfoRequest) Pack ¶
func (req *GetPayloadInstanceInfoRequest) Pack() []byte
type GetPayloadInstanceInfoResponse ¶
type GetPayloadInstanceInfoResponse struct {
SessionID uint32
// For Payload Type = SOL:
// Byte 1: Port Number
// A number representing the system serial port that is being redirected.
// 1-based. 0h = unspecified. Used when more than one port can be redirected on a system.
PortNumber uint8
PayloadType types.PayloadType
}
func (*GetPayloadInstanceInfoResponse) Format ¶
func (res *GetPayloadInstanceInfoResponse) Format() string
func (*GetPayloadInstanceInfoResponse) Unpack ¶
func (res *GetPayloadInstanceInfoResponse) Unpack(msg []byte) error
type GetSOLConfigParamRequest ¶
type GetSOLConfigParamRequest struct {
GetParamRevisionOnly bool
ChannelNumber uint8
ParamSelector types.SOLConfigParamSelector
SetSelector uint8
BlockSelector uint8
}
26.3 Get SOL Configuration Parameters Command
func (*GetSOLConfigParamRequest) Command ¶
func (req *GetSOLConfigParamRequest) Command() types.Command
func (*GetSOLConfigParamRequest) Pack ¶
func (req *GetSOLConfigParamRequest) Pack() []byte
type GetSOLConfigParamResponse ¶
func (*GetSOLConfigParamResponse) Format ¶
func (res *GetSOLConfigParamResponse) Format() string
func (*GetSOLConfigParamResponse) Unpack ¶
func (res *GetSOLConfigParamResponse) Unpack(msg []byte) error
type PayloadEncryptionOperation ¶
type PayloadEncryptionOperation uint8
const ( PayloadEncryptionOperationSuspend PayloadEncryptionOperation = 0 PayloadEncryptionOperationResume PayloadEncryptionOperation = 1 PayloadEncryptionOperationReinitialize PayloadEncryptionOperation = 2 )
type SOLActivatingRequest ¶
type SOLActivatingRequest struct {
SessionState uint8
PayloadInstance uint8
FormatVersionMajor uint8
FormatVersionMinor uint8
}
func (*SOLActivatingRequest) Command ¶
func (req *SOLActivatingRequest) Command() types.Command
func (*SOLActivatingRequest) Pack ¶
func (req *SOLActivatingRequest) Pack() []byte
type SOLActivatingResponse ¶
type SOLActivatingResponse struct {
}
func (*SOLActivatingResponse) Format ¶
func (res *SOLActivatingResponse) Format() string
func (*SOLActivatingResponse) Unpack ¶
func (res *SOLActivatingResponse) Unpack(msg []byte) error
type SetChannelSecurityKeysRequest ¶
type SetChannelSecurityKeysRequest struct {
ChannelNumber uint8
Operation ChannelSecurityKeysOperation
KeyID uint8
KeyValue []byte
}
22.25 Set Channel Security Keys Command
func (*SetChannelSecurityKeysRequest) Command ¶
func (req *SetChannelSecurityKeysRequest) Command() types.Command
func (*SetChannelSecurityKeysRequest) Pack ¶
func (req *SetChannelSecurityKeysRequest) Pack() []byte
type SetChannelSecurityKeysResponse ¶
type SetChannelSecurityKeysResponse struct {
LockStatus ChannelSecurityKeysLockStatus
KeyValue []byte
}
func (*SetChannelSecurityKeysResponse) Format ¶
func (res *SetChannelSecurityKeysResponse) Format() string
func (*SetChannelSecurityKeysResponse) Unpack ¶
func (res *SetChannelSecurityKeysResponse) Unpack(msg []byte) error
type SetLanConfigParamRequest ¶
type SetLanConfigParamRequest struct {
ChannelNumber uint8
ParamSelector types.LanConfigParamSelector
ParamData []byte
}
23.1 Set LAN Configuration Parameters Command
func (*SetLanConfigParamRequest) Command ¶
func (req *SetLanConfigParamRequest) Command() types.Command
func (*SetLanConfigParamRequest) Pack ¶
func (req *SetLanConfigParamRequest) Pack() []byte
type SetLanConfigParamResponse ¶
type SetLanConfigParamResponse struct {
}
func (*SetLanConfigParamResponse) Format ¶
func (res *SetLanConfigParamResponse) Format() string
func (*SetLanConfigParamResponse) Unpack ¶
func (res *SetLanConfigParamResponse) Unpack(msg []byte) error
type SetSOLConfigParamRequest ¶
type SetSOLConfigParamRequest struct {
ChannelNumber uint8
ParamSelector types.SOLConfigParamSelector
ParamData []byte
}
26.2 Set SOL Configuration Parameters Command
func (*SetSOLConfigParamRequest) Command ¶
func (req *SetSOLConfigParamRequest) Command() types.Command
func (*SetSOLConfigParamRequest) Pack ¶
func (req *SetSOLConfigParamRequest) Pack() []byte
type SetSOLConfigParamResponse ¶
type SetSOLConfigParamResponse struct {
}
func (*SetSOLConfigParamResponse) Format ¶
func (res *SetSOLConfigParamResponse) Format() string
func (*SetSOLConfigParamResponse) Unpack ¶
func (res *SetSOLConfigParamResponse) Unpack(msg []byte) error
type SuspendARPsRequest ¶
func (*SuspendARPsRequest) Command ¶
func (req *SuspendARPsRequest) Command() types.Command
func (*SuspendARPsRequest) Pack ¶
func (req *SuspendARPsRequest) Pack() []byte
type SuspendARPsResponse ¶
func (*SuspendARPsResponse) Format ¶
func (res *SuspendARPsResponse) Format() string
func (*SuspendARPsResponse) Unpack ¶
func (res *SuspendARPsResponse) Unpack(msg []byte) error
type SuspendResumePayloadEncryptionRequest ¶
type SuspendResumePayloadEncryptionRequest struct {
PayloadType types.PayloadType
PayloadInstance uint8
Operation PayloadEncryptionOperation
}
24.3 Suspend/Resume Payload Encryption Command
func (*SuspendResumePayloadEncryptionRequest) Command ¶
func (req *SuspendResumePayloadEncryptionRequest) Command() types.Command
func (*SuspendResumePayloadEncryptionRequest) Pack ¶
func (req *SuspendResumePayloadEncryptionRequest) Pack() []byte
type SuspendResumePayloadEncryptionResponse ¶
type SuspendResumePayloadEncryptionResponse struct {
}
func (*SuspendResumePayloadEncryptionResponse) Format ¶
func (res *SuspendResumePayloadEncryptionResponse) Format() string
func (*SuspendResumePayloadEncryptionResponse) Unpack ¶
func (res *SuspendResumePayloadEncryptionResponse) Unpack(msg []byte) error
Source Files
¶
- cmd_activate_payload.go
- cmd_deactivate_payload.go
- cmd_get_channel_oem_payload_info.go
- cmd_get_channel_payload_support.go
- cmd_get_channel_payload_version.go
- cmd_get_ip_statistics.go
- cmd_get_lan_config_params.go
- cmd_get_payload_activation_status.go
- cmd_get_payload_instance_info.go
- cmd_get_sol_config_params.go
- cmd_set_channel_security_keys.go
- cmd_set_lan_config_params.go
- cmd_set_sol_config_params.go
- cmd_sol_activating.go
- cmd_suspend_bmc_arps.go
- cmd_suspend_resume_payload_encryption.go
Click to show internal directories.
Click to hide internal directories.