GithubHelp home page GithubHelp logo

isabella232 / redfish-util Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tritondatacenter/redfish-util

0.0 0.0 0.0 25 KB

Utility for accessing the Redfish services on a BMC/Service Processor

License: MIT License

Rust 100.00%

redfish-util's Introduction

redfish-util

Utility for accessing the Redfish services on a BMC/Service Processor

Usage

Usage
 target/debug/redfish_util -H HOST -u USERID -p PASSWD -c CMD:[ARG] [-d] [-i] 
 or
 target/debug/redfish_util -e ENTRY -c CMD:[ARG] [-d] [-i]

Options:
    -e, --entry ENTRY   entry from config file
    -H, --host HOST     FQDN or IP address of BMC
    -u, --user USERID   BMC user id
    -p, --passwd PASSWD BMC user password
    -c, --command CMD[:ARG]
                        command
    -d, --debug         Enable debug messages
    -i, --insecure      Toggle insecure mode on
    -h, --help          Display this usage message

To use a config file, specify the path in REDFISH_UTIL_CONF

Information Commands:
---------------------
where CMD can be:
	chassis		Show chassis summary
	system		Show system summary
	version		Show Redfish version

Action Commands:
----------------
where CMD can be:
	nmi		Send NMI to system
	off		Turn system off
	on		Turn system on
	reset		Reset system
	forceoff	Force turn system off
	forceon		Force turn system on
	forcereset	Force reset system
	biossetup	Set next boot to go to BIOS setup mode
	identifyoff	Turn Identify LED off
	identifyon	Turn Identify LED on

optional: where ARG can be the Redfish System ID
defaults to the first system

Configuration File

As a convenience, a JSON onfiguration file can be specified that contains the values for the "host", "user" and "passwd" arguments. The format of the file is:

{
  "entries": [
    {
      "name": "name of entry, pass to -e",
      "host": "FQDN or IP address of BMC",
      "user": "BMC user id",
      "passwd": "BMC user password"
    },
   . . .
     ]
}

For example:

{
  "entries": [
    {
      "name": "fileserver1-sp",
      "host": "192.168.0.101",
      "user": "ADMIN",
      "passwd": "ADMIN"
    },
    {
      "name": "computenode-sp",
      "host": "192.168.0.102",
      "user": "root",
      "passwd": "secretrootpassword"
    }
  ]
}

redfish-util's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.