Bmcweb redfish multiple host support
Naveen Moses S
naveenmoses at fb.com
Fri Jul 2 02:09:59 AEST 2021
I need your suggestion on implementing support for multiple computer systems or hosts under redfish implementation of BMCWEB.
Redfish schema supports multiple computer systems under redfish path "/redfish/v1/Systems/"
Currently in bmcweb redfish core Computer systems path are is configured for as singlehost
The redfish path computer system is given below
In case of multiple hosts can we use the following format.
these paths should be populated based on the number of available hosts/computer systems
Possible options to identify the host count are as given below:
1.pass the OBMC_HOST_INSTANCES as a macro definition to bmcweb
2.Query dbus objects which has individual instance available for each host using object mapper.
Is there any other alternate way available for identifying host instances at runtime under bmcweb?
if we use the above format then can we change the computer system for single host
as given below
Code reference : https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/systems.hpp
method : requestRoutesSystemsCollection
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the openbmc