| 1 | Source: redfishtool |
| 2 | Section: admin |
| 3 | Priority: optional |
| 4 | Maintainer: Debian OpenStack <[email protected]> |
| 5 | Uploaders: |
| 6 | Thomas Goirand <[email protected]>, |
| 7 | Build-Depends: |
| 8 | debhelper-compat (= 10), |
| 9 | dh-python, |
| 10 | openstack-pkg-tools (>= 99~), |
| 11 | python3-all, |
| 12 | python3-setuptools, |
| 13 | Standards-Version: 4.4.1 |
| 14 | Vcs-Browser: https://salsa.debian.org/openstack-team/third-party/redfishtool |
| 15 | Vcs-Git: https://salsa.debian.org/openstack-team/third-party/redfishtool.git |
| 16 | Homepage: https://github.com/DMTF/Redfishtool |
| 17 | |
| 18 | Package: redfishtool |
| 19 | Architecture: all |
| 20 | Depends: |
| 21 | python3-dateutil, |
| 22 | python3-requests, |
| 23 | ${misc:Depends}, |
| 24 | ${python3:Depends}, |
| 25 | Description: redfish command-line client |
| 26 | Redfishtool is a commandline tool that implements the client side of the |
| 27 | Redfish RESTful API for Data Center Hardware Management. |
| 28 | . |
| 29 | Redfish is the new RESTful API for hardware management defined by the DMTF |
| 30 | Scalable Platform Management Forum (SPMF). It provides a modern, secure, |
| 31 | multi-node, extendable interface for doing hardware management. The initial |
| 32 | release included hardware inventory, server power-on/off/reset, reading power |
| 33 | draw, setting power limits, reading sensors such as fans, read/write of ID |
| 34 | LEDs, asset tags, and went beyond IPMI in functionality to include inventory |
| 35 | of processors, storage, Ethernet controllers, and total memory. New Redfish |
| 36 | extensions have now been added to the spec and include firmware update, BIOS |
| 37 | config, memory inventory, direct attached storage control, and the list grows. |
| 38 | . |
| 39 | redfishtool makes it simple to use the Redfish API from a BASH script or |
| 40 | interactively from a client command shell. |
| 41 | . |
| 42 | While other generic HTTP clients such as Linux curl can send and receive |
| 43 | Redfish requests, redfishtool goes well beyond these generic HTTP clients by |
| 44 | automatically handling many of the hypermedia and Redfish-specific protocol |
| 45 | aspects of the Redfish API that require a client to often execute multiple |
| 46 | queries to a redfish service to walk the hypermedia links from the redfish |
| 47 | root down to the detailed URI of a specific resource (eg Processor-2 of |
| 48 | Blade-4 in a computer blade system). Specifically, redfishtool provides the |
| 49 | following functions over curl: |
| 50 | . |
| 51 | * implements Redfish Session Authentication as well as HTTP Basic Auth |
| 52 | * walks the Redfish schema following strict interoperpbility processors...] |
| 53 | to find the targeted instance based on Id, UUID, URL or other |
| 54 | attributes |
| 55 | * handles GETs for collections that are returned in multiple pieces-requiring |
| 56 | client to read in a loop until the full collection is returned |
| 57 | * handles ETag and If-Match headers when PATCHing a resource to write |
| 58 | properties |
| 59 | * implements many common set or action operations with simple commandline |
| 60 | syntax (eg server reset, setting LEDs, assetTag, powerLimits, etc) |
| 61 | * negotiates the latest redfish protocol version between client and service |
| 62 | (demonstrating the proper way to do this) |
| 63 | * can read specific properties of a resource, or expand collections to |
| 64 | include all members of the collection expanded |
| 65 | * supports adding and deleting users, and common Redfish account service |
| 66 | operations |
| 67 | * For debug, provides multiple levels of verbose output to add descriptive |
| 68 | headers, and show what HTTP requests are being executed |
| 69 | * For debug, includes multiple levels of status display showing HTTP status |
| 70 | codes and headers returned and sent |
| 71 | * For easy parsing, outputs all responses in JSON format unless verbose or |
| 72 | status debug options were specified |