Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

kgrvamsi/redfishapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

177 Commits

Repository files navigation

Redfish API

This Library supports both Dell and Hp Servers which have Redfish API enabled.

GoDoc Go Report Card

Usage

//main.go
package main
import "fmt"
import "github.com/kgrvamsi/redfishapi"
func main() {
 client := redfishapi.NewIloClient("https://hostname-0", "username", "password")
 // use lowercase
 //Dell
 biosData, err := client.GetBiosDataDell()
 if err != nil {
 panic(err)
 }
 fmt.Println(biosData)
 //HP
 client2 := redfishapi.NewIloClient("https://hostname-0", "username", "password")
 fwrData, err := client2.GetFirmwareHP()
 if err != nil {
 panic(err)
 }
 fmt.Println(fwrData)
}

About

This Library supports any Server type which have Redfish Standard API enabled

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%

AltStyle によって変換されたページ (->オリジナル) /