openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Bmcweb redfish multiple host  support
@ 2021-07-01 16:09 Naveen Moses S
  2021-07-01 16:28 ` Ed Tanous
  0 siblings, 1 reply; 4+ messages in thread
From: Naveen Moses S @ 2021-07-01 16:09 UTC (permalink / raw)
  To: openbmc; +Cc: jason.m.bills, ed, gmills

[-- Attachment #1: Type: text/plain, Size: 1324 bytes --]

Hello All,

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
"/redfish/v1/Systems/system”

In case of multiple hosts can we use the following format.

"/redfish/v1/Systems/system1”
"/redfish/v1/Systems/system2”
"/redfish/v1/Systems/system3”
"/redfish/v1/Systems/system4”

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

"/redfish/v1/Systems/system0”

Code reference : https://github.com/openbmc/bmcweb/blob/master/redfish-core/lib/systems.hpp

method : requestRoutesSystemsCollection



Thanks

[-- Attachment #2: Type: text/html, Size: 22112 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-07-07 15:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-01 16:09 Bmcweb redfish multiple host support Naveen Moses S
2021-07-01 16:28 ` Ed Tanous
2021-07-07  4:59   ` Naveen Moses S
2021-07-07 15:41     ` Ed Tanous

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).