Skip to content

Latest commit

 

History

History
72 lines (59 loc) · 1.33 KB

README.adoc

File metadata and controls

72 lines (59 loc) · 1.33 KB

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