-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does the Notify
method of phosphor-inventory-manager support the com.ibm...
interface?
#3
Comments
The inventory-manager build process simply imports any and all dbus YAML that it finds when it is built. https://github.com/openbmc/phosphor-inventory-manager/blob/84b99d990c98897df049493eb73aa41b9b9b7adb/Makefile.am#L46 The YAML gets installed in to that path by the phosphor-dbus-interfaces package based on the OBMC_ORG_YAML_SUBDIRS bitbake variable: If your inventory-manager is missing those header files, it is likely your whole system is missing them because phosphor-dbus-interfaces wasn't told that you wanted them. By default it only selects the If you want meta-ibm/conf/distro/include/ibm-distrovars.inc:OBMC_ORG_YAML_SUBDIRS += " com/ibm" |
@williamspatrick Thanks for your reply :) Yes, we need to add But in the get_interfaces method of the pimgen.py script, I found that it parses only phosphor dbus related interface files( Therefore, through my testing, I still do not see that it includes the |
Add support for VNDR Records
As far as I know, the
Notify
method was implemented inphosphor-inventory-manager
, and it only supports thexyz.openbmc_project...
interface.https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Inventory/Manager.interface.yaml
https://github.com/openbmc/phosphor-inventory-manager/blob/master/pimgen.py#L574-L575
https://github.com/openbmc/phosphor-inventory-manager/blob/master/manager.cpp#L155-L160
When we built
phosphor-inventory-manager
, it will be generated agenerated.cpp
file, and the_makers
map will be constructed(_makers
only hasxyz.openbmc_project
interface)But I found that
openpower-vpd-parse
uses the Notify method and passes thecom.ibm...
interface, so I don’t know if this interface will be added to inventory-managerhttps://gerrit.openbmc-project.xyz/c/openbmc/openpower-vpd-parser/+/29981/23/ibm_vpd_app.cpp#225
Please correct me if I am wrong, Thanks.
The text was updated successfully, but these errors were encountered: