Skip to content
/ gru Public
forked from Cray-HPE/gru

A utility for reading and modifying BMCs (e.g. iLO, RMMC) using RedFish (gofish).

License

Notifications You must be signed in to change notification settings

bitfisher/gru

 
 

Repository files navigation

Go Redfish Utility (gru)

Table of Contents

badge badge

An asynchronous RedFish utility for interrogating and managing blade management controllers.

Usage

gru help
Setting Credentials
  • Environment Variables

    export USERNAME=admin
    export PASSWORD=password
    gru show system myserver-bmc.local
  • Configuration File

    ---
    username: admin
    password: password
  • Configuration file with a general username/password and exceptions (for server10 use a different username and password)

    ---
    username: admin
    password: password
    hosts:
      server10:
          username: root
          password: password
Querying Servers
  • Pass any number of hosts, delimited by spaces.

    gru show system myserver-bmc.local myotherserver-bmc.local
  • Piping a list a space delimited list of hosts.

    grep -oP pattern /etc/hosts | tr -s '\n' ' ' | gru show system

Development

make gru
./gru

About

A utility for reading and modifying BMCs (e.g. iLO, RMMC) using RedFish (gofish).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 61.0%
  • Shell 34.2%
  • Makefile 4.8%