entity-manager
entity-manager copied to clipboard
frudevice tries to create duplicated object
After apply this commit: https://github.com/openbmc/entity-manager/commit/7fc486f5072a492029ac09374f6238bdadce6690
My platform will create duplicated object.
.----------. .--------.
.--------. | mux- |-----| dev D1 |
| root |--+--| locked | '--------'
'--------' | | mux M1 |--. .----------.
| '----------' '--| MY FRU |
| .--------. '----------'
'--| dev D3 |
'--------'
The root bus is 5, and MY FRU bus number is 50. Can see that same object created under FruDevice
root@test:~# busctl --no-pager tree xyz.openbmc_project.FruDevice
`-/xyz
`-/xyz/openbmc_project
`-/xyz/openbmc_project/FruDevice
|-/xyz/openbmc_project/FruDevice/MY_FRU
`-/xyz/openbmc_project/FruDevice/MY_FRU_0
Is this right to create duplicate object?