<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" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.E-postaStili17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]--></head><body lang=TR link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal>We are trying to implement psu sensors with entity-manager by defining chassis and power supply in separate json configuration file according to entity-manager’s sample configurations. PSU sensors are not displayed under /xyz/openbmc_project/inventory/system/board/{chassisID}/all_sensors but under /xyz/openbmc_project/inventory/system/powersupply/{powersupplyID}/all_sensors. And they are not shown in the Web UI. Here is the powersupply.json configuration we used:<o:p></o:p></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>{<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Exposes"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: [<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> {<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Address"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"0x58"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Bus"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"3"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Labels"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: [<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"iin"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"iout1"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"iout2"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"fan1"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"vin"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"vout1"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"vout2"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"pin"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"pout1"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"pout2"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"temp1"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'><o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> ],<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Name"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"Some_PSU"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"PollRate"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#6554C0;mso-fareast-language:TR'>5.0</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Type"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"pmbus"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'><o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> }<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> ],<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Name"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"Some Power Supply Name"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Probe"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"TRUE"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Type"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"PowerSupply"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"xyz.openbmc_project.Inventory.Decorator.Asset"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: {<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Manufacturer"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"SomeManufacturer"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"Model"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"SomeModel"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"PartNumber"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"SomePart"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>,<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> </span><span style='font-size:10.0pt;font-family:"Courier New";color:#A31515;mso-fareast-language:TR'>"SerialNumber"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>: </span><span style='font-size:10.0pt;font-family:"Courier New";color:#0451A5;mso-fareast-language:TR'>"SomeSerial"</span><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'><o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'> }<o:p></o:p></span></p><p class=MsoNormal style='line-height:13.5pt;background:#FFFFFE'><span style='font-size:10.0pt;font-family:"Courier New";color:black;mso-fareast-language:TR'>}<o:p></o:p></span></p><p class=MsoNormal>We examined the Inventory and LEDs page from bmcweb logs and we saw that sensorAssocPath does not include our psu sensors in the getInventoryItemAssociation() method in sensors.hpp. sensorAssocPath filled from sensorNames vector and this vector comes from /xyz/openbmc_project/inventory/system/board/{chassisID}/all_sensors as much as we understand. So our question is how to show psu sensors in the WebUI and what can possibly be wrong with our configuration. Do we certainly need to list psu sensors under /xyz/openbmc_project/inventory/system/board/{chassisID}/all_sensors? Also what needs to be done to show the manufacturer and model information of Power Supply in UI too?<o:p></o:p></p></div></body></html>