net-ipmid: Add sol conf change callback
Add a callback when the properties in interface
/xyz/openbmc_project/ipmi/sol/<eth name> was changed, update the sol
conf in sol manager.
Tested:
busctl set-property xyz.openbmc_project.Settings /xyz/openbmc_project/ipmi/sol/bond1 xyz.openbmc_project.Ipmi.SOL Enable b false
The callback was successfully called, and updated the sol manager conf.
Change-Id: Ie5949f6f701441275b849ade5ed4a50ea894b737
Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com>
diff --git a/sol/sol_manager.hpp b/sol/sol_manager.hpp
index b266519..16a47fa 100644
--- a/sol/sol_manager.hpp
+++ b/sol/sol_manager.hpp
@@ -294,4 +294,7 @@
/** @brief Callback method to close SOL sessions for SOL service change */
void registerSOLServiceChangeCallback();
+/** @brief Callback register method to SOL conf parameters change */
+void registerSolConfChangeCallbackHandler(std::string channel);
+
} // namespace sol