<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="+1"><tt>Hi All,</tt></font></p>
<font size="+1"><tt>The purpose of this mail is to define the
process/steps for adding the OEM interfaces.</tt><tt><br>
</tt></font>
<p><tt><font size="+1">Our first step would be to get the buying
from the openbmc community for OEM interfaces/OEM properties</font>.</tt><font
size="+1"><tt><br>
</tt></font></p>
<p><font size="+1"><tt>If as a community we are on the same page
then we can push these enhancements to DMTF.</tt></font><br>
</p>
<p><font size="+1"><tt>eg: Redfish Dump service proposal review
which is going on in the openBMC community.</tt></font></p>
<p><font size="+1"><tt>If the enhancements are specific to OEM then
we can add the OEM interfaces as following.</tt></font></p>
<p><font size="+1"><tt>1) Introduce a compile time flag in the
bmcweb</tt></font></p>
<p><font size="+1"><tt>2) Put all the OEM specific interface
functionalities in the new files.</tt></font></p>
<p><font size="+1"><tt>3) Include the new files under the compile
time flag as majority of the code in bmcweb written in header
file.</tt></font></p>
<p><font size="+1"><tt>If the OEM interfaces is redfish like
interface then we need to do the following steps</tt></font></p>
<font size="+1"><tt> a) Implement the oem service root(eg:
ibm/v1) </tt><tt><br>
</tt></font>
<p><font size="+1"><tt> b) Create the schema files</tt></font></p>
<p><font size="+1"><tt> c) Implement the
metadata(ibm/v1/$metadata)</tt></font></p>
<p><font size="+1"><tt> d) Make the changes in the bb file so it
installs the OEM schema files at the correct location.</tt></font></p>
<p><font size="+1"><tt> e) Storing the OEM schema files shall be
some enterprise specific path.</tt></font></p>
<p><font size="+1"><tt> </tt></font></p>
<font size="+1"><tt>Reference code is at the below
location.(metadata implementation is WIP)</tt><tt><br>
</tt><tt><a
href="https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/27982/2">https://gerrit.openbmc-project.xyz/c/openbmc/bmcweb/+/27982</a></tt></font><br>
<br>
<font size="+1"><tt>Ratan</tt></font><br>
<p> <br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</body>
</html>