#
cf6a75bd |
| 03-Jun-2025 |
Christopher Meis <christopher.meis@9elements.com> |
Introduce EntityManager class
Reworking Entity-Manager to use OOP, which will help in further refactoring. It increases maintainability and supports the 'separation of concern' concept.
Tested: QEM
Introduce EntityManager class
Reworking Entity-Manager to use OOP, which will help in further refactoring. It increases maintainability and supports the 'separation of concern' concept.
Tested: QEMU/yosemite4 with probe statement set to TRUE. ``` root@yosemite4:~# journalctl | grep entity-manager Dec 19 13:26:21 yosemite4 entity-manager[502]: Clearing previous configuration Dec 19 13:26:25 yosemite4 entity-manager[502]: Inventory Added: Yosemite 4 Management Board root@yosemite4:~# 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/Yosemite_4_Management_Board |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/All_Fan |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P0V6_VOLT_ V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P12V_VOLT_ V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P1V0_VOLT_ V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P1V2_VOLT_ V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P1V8_VOLT_ V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P2V5_VOLT_ V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P3V3_RGM_V OLT_V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P3V3_VOLT_ V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P3V_BAT_VO LT_V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P5V_USB_VO LT_V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_ADC_P5V_VOLT_V |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/MGNT_TEMP_C |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/PID_NIC_TEMP |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/Stepwise_MGNT_TEMP |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/Stepwise_NIC_TEMP |- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/Stepwise_SENTINEL_D OME_SLOT_PRESENT_PERCENTAGE `- /xyz/openbmc_project/inventory/system/board/Yosemite_4_Management_Board/Zone_1 ```
Creates the same result as previous commit on qemu/yosemite4 with adapted config set to TRUE.
Change-Id: I0829e073bedf24cb127ad247827e169894f4e962 Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
show more ...
|
#
59ef1e72 |
| 16-Apr-2025 |
Christopher Meis <christopher.meis@9elements.com> |
cleanup: Move em only utils code into em directory
More separation of code for improvement of repository maintainability.
Change-Id: I4e77b472355066483cf646cdcd29e7ed660294a3 Signed-off-by: Christo
cleanup: Move em only utils code into em directory
More separation of code for improvement of repository maintainability.
Change-Id: I4e77b472355066483cf646cdcd29e7ed660294a3 Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
show more ...
|
#
fc9e7fda |
| 03-Apr-2025 |
Christopher Meis <christopher.meis@9elements.com> |
cleanup: move EM service code in EM directory
Improving repository structure increases maintainability.
Change-Id: I7f746a5d491dda256a06143f516e7d078a761c14 Signed-off-by: Christopher Meis <christo
cleanup: move EM service code in EM directory
Improving repository structure increases maintainability.
Change-Id: I7f746a5d491dda256a06143f516e7d078a761c14 Signed-off-by: Christopher Meis <christopher.meis@9elements.com>
show more ...
|