History log of /openbmc/phosphor-modbus/common/entity_manager_interface.cpp (Results 1 – 2 of 2)
Revision Date Author Comments
# 978c7809 29-Oct-2025 Jagpal Singh Gill <paligill@gmail.com>

common: use std::flat_map for entity_manager

Use std::flat_map instead of boost flat_map to avoid extra dependency on
boost as std::flat_map is available.

Tested:
Verified the EntityManager interfa

common: use std::flat_map for entity_manager

Use std::flat_map instead of boost flat_map to avoid extra dependency on
boost as std::flat_map is available.

Tested:
Verified the EntityManager interface works as expected after change as
configuration interfaces gets processed by Modbus RTU service.
```
root@ventura:~# busctl tree xyz.openbmc_project.ModbusRTU
`- /xyz
`- /xyz/openbmc_project
`- /xyz/openbmc_project/inventory_source
|- /xyz/openbmc_project/inventory_source/Heat_Exchanger_12_DevTTYUSB0
|- /xyz/openbmc_project/inventory_source/Heat_Exchanger_12_DevTTYUSB1
|- /xyz/openbmc_project/inventory_source/Reservoir_Pumping_Unit_12_DevTTYUSB0
`- /xyz/openbmc_project/inventory_source/Reservoir_Pumping_Unit_12_DevTTYUSB1
root@ventura:~# busctl tree xyz.openbmc_project.EntityManager
`- /xyz
`- /xyz/openbmc_project
|- /xyz/openbmc_project/EntityManager
`- /xyz/openbmc_project/inventory
`- /xyz/openbmc_project/inventory/system
|- /xyz/openbmc_project/inventory/system/board
| `- /xyz/openbmc_project/inventory/system/board/Ventura_Modbus
| |- /xyz/openbmc_project/inventory/system/board/Ventura_Modbus/DevTTYUSB0
| |- /xyz/openbmc_project/inventory/system/board/Ventura_Modbus/DevTTYUSB1
| |- /xyz/openbmc_project/inventory/system/board/Ventura_Modbus/Heat_Exchanger
| `- /xyz/openbmc_project/inventory/system/board/Ventura_Modbus/Reservoir_Pumping_Unit
`- /xyz/openbmc_project/inventory/system/chassis
|- /xyz/openbmc_project/inventory/system/chassis/Heat_Exchanger_12_DevTTYUSB0
|- /xyz/openbmc_project/inventory/system/chassis/Heat_Exchanger_12_DevTTYUSB1
|- /xyz/openbmc_project/inventory/system/chassis/Reservoir_Pumping_Unit_12_DevTTYUSB0
| `- /xyz/openbmc_project/inventory/system/chassis/Reservoir_Pumping_Unit_12_DevTTYUSB0/Reservoir_Pumping_Unit_12_DevTTYUSB0
`- /xyz/openbmc_project/inventory/system/chassis/Reservoir_Pumping_Unit_12_DevTTYUSB1
`- /xyz/openbmc_project/inventory/system/chassis/Reservoir_Pumping_Unit_12_DevTTYUSB1/Reservoir_Pumping_Unit_12_DevTTYUSB1
```

Change-Id: Iecb61359a0f9259bfec0f0678f13217928be67d6
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>

show more ...


# f69546b3 16-Oct-2025 Jagpal Singh Gill <paligill@gmail.com>

common: add entity manager interface

Define an EntityManager interface to fetch the serial port related
config or any device config from Entity Manager.

Change-Id: Ieeff4422903e3b4bcc3ce28cd493eeca

common: add entity manager interface

Define an EntityManager interface to fetch the serial port related
config or any device config from Entity Manager.

Change-Id: Ieeff4422903e3b4bcc3ce28cd493eecab5618f13
Signed-off-by: Jagpal Singh Gill <paligill@gmail.com>

show more ...