Documentation ¶
Index ¶
- Constants
- type IDrac9
- func (i *IDrac9) ApplyCfg(config *cfgresources.ResourcesConfig) (err error)
- func (i *IDrac9) BiosVersion() (version string, err error)
- func (i *IDrac9) BmcType() (bmcType string)
- func (i *IDrac9) BmcVersion() (bmcVersion string, err error)
- func (i *IDrac9) CPU() (cpu string, cpuCount int, coreCount int, hyperthreadCount int, err error)
- func (i *IDrac9) CheckCredentials() (err error)
- func (i *IDrac9) Close() (err error)
- func (i *IDrac9) Disks() (disks []*devices.Disk, err error)
- func (i *IDrac9) IsBlade() (isBlade bool, err error)
- func (i *IDrac9) IsOn() (status bool, err error)
- func (i *IDrac9) License() (name string, licType string, err error)
- func (i *IDrac9) Memory() (mem int, err error)
- func (i *IDrac9) Model() (model string, err error)
- func (i *IDrac9) Name() (name string, err error)
- func (i *IDrac9) Nics() (nics []*devices.Nic, err error)
- func (i *IDrac9) PowerCycle() (status bool, err error)
- func (i *IDrac9) PowerCycleBmc() (status bool, err error)
- func (i *IDrac9) PowerKw() (power float64, err error)
- func (i *IDrac9) PowerOff() (status bool, err error)
- func (i *IDrac9) PowerOn() (status bool, err error)
- func (i *IDrac9) PowerState() (state string, err error)
- func (i *IDrac9) Psus() (psus []*devices.Psu, err error)
- func (i *IDrac9) PxeOnce() (status bool, err error)
- func (i *IDrac9) Serial() (serial string, err error)
- func (i *IDrac9) ServerSnapshot() (server interface{}, err error)
- func (i *IDrac9) Status() (status string, err error)
- func (i *IDrac9) TempC() (temp int, err error)
- func (i *IDrac9) UpdateCredentials(username string, password string)
- func (i *IDrac9) Vendor() (vendor string)
Constants ¶
View Source
const (
// BMCType defines the bmc model that is supported by this package
BMCType = "idrac9"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IDrac9 ¶
type IDrac9 struct {
// contains filtered or unexported fields
}
IDrac9 holds the status and properties of a connection to an iDrac device
func (*IDrac9) ApplyCfg ¶
func (i *IDrac9) ApplyCfg(config *cfgresources.ResourcesConfig) (err error)
ApplyCfg applies the configuration on the bmc
func (*IDrac9) BiosVersion ¶
BiosVersion returns the current version of the bios
func (*IDrac9) BmcVersion ¶
BmcVersion returns the version of the bmc we are running
func (*IDrac9) CheckCredentials ¶ added in v0.1.5
CheckCredentials verify whether the credentials are valid or not
func (*IDrac9) PowerCycle ¶ added in v0.1.5
PowerCycle reboots the machine via bmc
func (*IDrac9) PowerCycleBmc ¶ added in v0.1.5
PowerCycleBmc reboots the bmc we are connected to
func (*IDrac9) PowerState ¶
PowerState returns the current power state of the machine
func (*IDrac9) ServerSnapshot ¶
ServerSnapshot do best effort to populate the server data and returns a blade or discrete
func (*IDrac9) UpdateCredentials ¶
UpdateCredentials updates login credentials
Click to show internal directories.
Click to hide internal directories.