Documentation
¶
Index ¶
- Constants
- func PowerCycleMachine(cfg *domain.IPMIConfig) error
- func PowerOffChassisIdentifyLED(cfg *domain.IPMIConfig) error
- func PowerOffMachine(cfg *domain.IPMIConfig) error
- func PowerOnChassisIdentifyLED(cfg *domain.IPMIConfig) error
- func PowerOnMachine(cfg *domain.IPMIConfig) error
- func PowerResetMachine(cfg *domain.IPMIConfig) error
- func SetBootBios(cfg *domain.IPMIConfig, devMode bool) error
- func SetBootDisk(cfg *domain.IPMIConfig, devMode bool) error
- func SetBootPXE(cfg *domain.IPMIConfig) error
- type ChassisIdentifyRequest
- type ChassisIdentifyResponse
Constants ¶
View Source
const ( LegacyQualifier = uint8(0xff) PXEQualifier = uint8(0x04) DefaultHDQualifier = uint8(0x08) // IPMI 2.0 compatible BIOSQualifier = uint8(0x18) UEFIQualifier = uint8(0xe0) UEFIPXEQualifier = uint8(0x04) UEFIHDQualifier = uint8(0x24) // SMCIPMITool compatible )
View Source
const (
CommandChassisIdentifyOptions = goipmi.Command(0x04)
)
Variables ¶
This section is empty.
Functions ¶
func PowerCycleMachine ¶
func PowerCycleMachine(cfg *domain.IPMIConfig) error
PowerCycleMachine cycles the power of the machine
func PowerOffChassisIdentifyLED ¶
func PowerOffChassisIdentifyLED(cfg *domain.IPMIConfig) error
PowerOffChassisIdentifyLED powers the machine chassis identify LED off (raw 0x00 0x04 0x00)
func PowerOffMachine ¶
func PowerOffMachine(cfg *domain.IPMIConfig) error
PowerOffMachine sets the power of the machine to OFF
func PowerOnChassisIdentifyLED ¶
func PowerOnChassisIdentifyLED(cfg *domain.IPMIConfig) error
PowerOnChassisIdentifyLED powers the machine chassis identify LED on indefinitely (raw 0x00 0x04 0x00 0x01)
func PowerOnMachine ¶
func PowerOnMachine(cfg *domain.IPMIConfig) error
PowerOnMachine sets the power of the machine to ON
func PowerResetMachine ¶
func PowerResetMachine(cfg *domain.IPMIConfig) error
PowerResetMachine resets the power of the machine
func SetBootBios ¶
func SetBootBios(cfg *domain.IPMIConfig, devMode bool) error
func SetBootDisk ¶
func SetBootDisk(cfg *domain.IPMIConfig, devMode bool) error
func SetBootPXE ¶
func SetBootPXE(cfg *domain.IPMIConfig) error
Types ¶
type ChassisIdentifyRequest ¶
ChassisIdentifyRequest per section 28.5
type ChassisIdentifyResponse ¶
type ChassisIdentifyResponse struct {
goipmi.CompletionCode
}
ChassisIdentifyResponse per section 28.5
Click to show internal directories.
Click to hide internal directories.