DMTF / Redfishtool

A Python34 program that implements a command line tool for accessing the Redfish API.
Other
224 stars 68 forks source link

How to run redfishtool locally without a network cable connection? #87

Closed JuunyK closed 3 years ago

JuunyK commented 4 years ago

ipmitool can be run locally without setting up a BMC network. Does redfishtool have the same function?

Example> Condition : DONOT set BMC network or if set, the BMC network cable is not connected. [ok] ipmitool -I open sel list or ipmitool sel list [ok] ipmitool -I lanplus -H BMC_LOCAL_IP -U USER -P PASSWORD sel list [Failed] redfishtool -r BMC_LOCAL_IP -U USER -P PASSWORD raw GET /redfish/v1/Systems/1

mraineri commented 4 years ago

This really depends on the system you have available. By definition, Redfish as a protocol is only supported on network interfaces. Redfish does have a Host Interface specification where it defines methods of implementing a local NIC between the host and BMC, and methods for how software can discover this interface. Vendors have the choice of supporting this type of interface.

But from a redfishtool perspective, this is no different than an external interface. You'll need to find the IP of BMC for the host interface, which will not be the same as the IP for the external interfaces.

mraineri commented 3 years ago

Closing; functionality exists already since the local interface to the manager for Redfish is also a network interface.