#
89d734b9 |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ia4966a0790437eb0fc011c747f3be2a52884e4d8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
c38b0710 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ief1b330c4f623ecc1be771f36083780a12260834
show more ...
|
#
eb40f081 |
| 22-Jul-2021 |
Asmitha Karunanithi <asmitk01@in.ibm.com> |
Adding system configuration object & UT
This commit adds the system config object that implements the SystemConfiguration interface.
The hostname property under this interface will initially be set
Adding system configuration object & UT
This commit adds the system config object that implements the SystemConfiguration interface.
The hostname property under this interface will initially be set from the bios table when the service starts.
Whenever user sets the property, the same will be updated in the bios table.
busctl tree xyz.openbmc_project.Network.Hypervisor └─/xyz └─/xyz/openbmc_project └─/xyz/openbmc_project/network └─/xyz/openbmc_project/network/hypervisor └─/xyz/openbmc_project/network/hypervisor/config
Tested By:
busctl set-property xyz.openbmc_project.Network.Hypervisor /xyz/openbmc_project/network/hypervisor/config xyz.openbmc_project.Network.SystemConfiguration HostName s "vmi HN"
busctl introspect xyz.openbmc_project.Network.Hypervisor /xyz/openbmc_project/network/hypervisor/config NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.Network.SystemConfiguration interface - - - .DefaultGateway property s "" emits-change writable .DefaultGateway6 property s "" emits-change writable .HostName property s "vmi HN" emits-change writable
busctl call xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager GetAttribute s vmi_hostname svv "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.String" s "vmi HN" s ""
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com> Change-Id: Ib3afaef2da039d18cc672a1759b721698f9c14e2
show more ...
|