ipmi

package
v0.5.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2020 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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

type ChassisIdentifyRequest struct {
	IntervalOrOff uint8
	ForceOn       uint8
}

ChassisIdentifyRequest per section 28.5

type ChassisIdentifyResponse

type ChassisIdentifyResponse struct {
	goipmi.CompletionCode
}

ChassisIdentifyResponse per section 28.5

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL