How to Install and Uninstall redfishtool Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: November 22,2024

1. Install "redfishtool" package

Please follow the guidelines below to install redfishtool on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install redfishtool

2. Uninstall "redfishtool" package

Please follow the step by step instructions below to uninstall redfishtool on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove redfishtool $ sudo apt autoclean && sudo apt autoremove

3. Information about the redfishtool package on Ubuntu 20.10 (Groovy Gorilla)

Package: redfishtool
Architecture: all
Version: 1.1.0-2
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian OpenStack
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 340
Depends: python3-requests, python3.8:any, python3:any
Filename: pool/universe/r/redfishtool/redfishtool_1.1.0-2_all.deb
Size: 45860
MD5sum: 1096c4611a5b344740f7b20291a6e3d8
SHA1: 8fd2f86c8f6cf87baa9b422e9e72196a90ed87cc
SHA256: 5c9af72be19d39f379dd6c91cec7a63366e42092467654783184cce2e6c3565f
SHA512: cc9bc3354b618bbeea3224850fbd080ed2a976f4cc868244dbcd02b2333f9c1bfd85f15755ec2e8f9266d86958b791b6a703f39c1e3a8e798454080664841e03
Homepage: https://github.com/DMTF/Redfishtool
Description-en: redfish command-line client
Redfishtool is a commandline tool that implements the client side of the
Redfish RESTful API for Data Center Hardware Management.
.
Redfish is the new RESTful API for hardware management defined by the DMTF
Scalable Platform Management Forum (SPMF). It provides a modern, secure,
multi-node, extendable interface for doing hardware management. The initial
release included hardware inventory, server power-on/off/reset, reading power
draw, setting power limits, reading sensors such as fans, read/write of ID
LEDs, asset tags, and went beyond IPMI in functionality to include inventory
of processors, storage, Ethernet controllers, and total memory. New Redfish
extensions have now been added to the spec and include firmware update, BIOS
config, memory inventory, direct attached storage control, and the list grows.
.
redfishtool makes it simple to use the Redfish API from a BASH script or
interactively from a client command shell.
.
While other generic HTTP clients such as Linux curl can send and receive
Redfish requests, redfishtool goes well beyond these generic HTTP clients by
automatically handling many of the hypermedia and Redfish-specific protocol
aspects of the Redfish API that require a client to often execute multiple
queries to a redfish service to walk the hypermedia links from the redfish
root down to the detailed URI of a specific resource (eg Processor-2 of
Blade-4 in a computer blade system). Specifically, redfishtool provides the
following functions over curl:
.
* implements Redfish Session Authentication as well as HTTP Basic Auth
* walks the Redfish schema following strict interoperpbility processors...]
to find the targeted instance based on Id, UUID, URL or other
attributes
* handles GETs for collections that are returned in multiple pieces-requiring
client to read in a loop until the full collection is returned
* handles ETag and If-Match headers when PATCHing a resource to write
properties
* implements many common set or action operations with simple commandline
syntax (eg server reset, setting LEDs, assetTag, powerLimits, etc)
* negotiates the latest redfish protocol version between client and service
(demonstrating the proper way to do this)
* can read specific properties of a resource, or expand collections to
include all members of the collection expanded
* supports adding and deleting users, and common Redfish account service
operations
* For debug, provides multiple levels of verbose output to add descriptive
headers, and show what HTTP requests are being executed
* For debug, includes multiple levels of status display showing HTTP status
codes and headers returned and sent
* For easy parsing, outputs all responses in JSON format unless verbose or
status debug options were specified
Description-md5: 6872accca554298597fdc86d168c0904