commit | 4b8637db4280dde044ec37535c3f379362ed3b7c | [log] [tgz] |
---|---|---|
author | Jiaqing Zhao <jiaqing.zhao@intel.com> | Fri Apr 01 21:25:12 2022 +0800 |
committer | Jiaqing Zhao <jiaqing.zhao@intel.com> | Tue Apr 05 19:18:20 2022 +0800 |
tree | 2e0be861125a9eb0ac76f9567f9f631a966f3b1f | |
parent | 430d7ea571104ac6839a41acb2ed6eebcd5f5f09 [diff] |
Encode object path with sdbusplus Currently the object path of service-config-manager are encoded by simply replacing characters, which only support a limited number of characters (only - and @). This patch uses sdbusplus to encode the object paths to support more charaters and make it more general for other applications to use. Tested: Object paths of service-config-manager are now in the sdbusplus format like below: /xyz/openbmc_project/control/service/_70hosphor_2dipmi_2dnet_40eth0 /xyz/openbmc_project/control/service/bmcweb Change-Id: Ia2738d555a8ba921f6ac2eb4753ba319f489dc4f Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
The service config manager provides a D-Bus interface to manage BMC services as described by the service management D-Bus interfaces.
The configuration settings are intended to persist across BMC reboots.
An example use case for this service is BMCWeb's implementation of the Redfish NetworkProtocol schema.
Implementation details are described in the D-Bus interface README.
The service config manager generally makes configuration changes to systemd
units via D-Bus interfaces.
The design pattern to add new services or controls is:
Running
and Enabled
properties of a service: