<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style type="text/css">
<!--
/* Font Definitions */
@font-face
        {font-family:新細明體;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:細明體;
        panose-1:2 2 5 9 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:微軟正黑體;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"\@微軟正黑體";
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@細明體";
        panose-1:2 2 5 9 0 0 0 0 0 0;}
@font-face
        {font-family:"\@新細明體";
        panose-1:2 2 5 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:細明體;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML 預設格式 字元";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:細明體;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.HTML
        {mso-style-name:"HTML 預設格式 字元";
        mso-style-priority:99;
        mso-style-link:"HTML 預設格式";
        font-family:細明體;}
.MsoChpDefault
        {mso-style-type:export-only;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<title></title>
</head>
<body lang="ZH-TW" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I am trying to get the data from this path “<a href="https://%3cbmcip%3e/xyz/openbmc_project/inventory/system">https://<bmcip>/xyz/openbmc_project/inventory/system</a>”.</span></p>
<p class="MsoNormal"><span lang="EN-US">But only get the following data from this path.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="text-indent:24.0pt"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">"/xyz/openbmc_project/inventory/system": {</span></p>
<p class="MsoNormal" style="margin-left:21.0pt;text-indent:27.0pt"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">"AssetTag": ""</span></p>
<p class="MsoNormal" style="text-indent:21.0pt"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas">},</span></p>
<p class="MsoNormal" style="text-indent:21.0pt"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Here is an example for this path which I expected to get.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">    "/xyz/openbmc_project/inventory/system": {</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">        "BuildDate": "",</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">        "Cached": 0,</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">        "FieldReplaceable": 0,</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">        "Manufacturer": "",</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">        "Model": "2",</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">        "PartNumber": "0000000000000000",</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">        "Present": 1,</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">        "PrettyName": "",</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">        "SerialNumber": "0000000000000000"</span></p>
<p class="MsoNormal" style="background:#F6F8FA"><span lang="EN-US" style="font-size:9.0pt;font-family:Consolas;color:#24292E;border:none windowtext 1.0pt;padding:0cm">    },</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Only using entity-manager in my project for inventory FRU.</span></p>
<p class="MsoNormal"><span lang="EN-US">I could get the FRU data from this path “https://<bmcip>/xyz/openbmc_project/inventory/system/board/<name>”</span></p>
<p class="MsoNormal"><span lang="EN-US">But the inventory system path is null.</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Any setting I should set for getting FRU from this path?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"微軟正黑體",sans-serif">Regards,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"微軟正黑體",sans-serif">John Chung</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
</div>
</body>
</html>This email message and all attachments transmitted with it are intended solely for the use of the intended recipient(s) and may contain legally privileged and confidential information. If you are not the intended recipient of this email, you are hereby notified that any disclosure, dissemination, distribution, copying, or other use of this message, its attachments or any information contained therein is strictly prohibited. If you have received this email in error, please contact the sender immediately and please delete it and any attachments from your system. Computer viruses can be transmitted via email. The sender accepts no liability for any damage caused by any virus transmitted by this email. Thank you.