openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Naveen Moses S <naveenmoses@fb.com>
To: "openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Cc: "jason.m.bills@linux.intel.com" <jason.m.bills@linux.intel.com>,
	"ed@tanous.net" <ed@tanous.net>,
	"gmills@linux.vnet.ibm.com" <gmills@linux.vnet.ibm.com>
Subject: Bmcweb redfish multiple host  support
Date: Thu, 1 Jul 2021 16:09:59 +0000	[thread overview]
Message-ID: <B6A810CD-9610-4AFE-8921-EF490734C17D@fb.com> (raw)

[-- 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 --]

             reply	other threads:[~2021-07-01 17:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-01 16:09 Naveen Moses S [this message]
2021-07-01 16:28 ` Bmcweb redfish multiple host support Ed Tanous
2021-07-07  4:59   ` Naveen Moses S
2021-07-07 15:41     ` Ed Tanous

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B6A810CD-9610-4AFE-8921-EF490734C17D@fb.com \
    --to=naveenmoses@fb.com \
    --cc=ed@tanous.net \
    --cc=gmills@linux.vnet.ibm.com \
    --cc=jason.m.bills@linux.intel.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).