8e56f4cd | 11-Oct-2022 |
Willy Tu <wltu@google.com> |
mapper: Add Associated subtree method definition
Create new mapper function to make subtree call and association call at the same time. With the association definitition, we will have more endpoints
mapper: Add Associated subtree method definition
Create new mapper function to make subtree call and association call at the same time. With the association definitition, we will have more endpoints to fetch and verify that it is actually the resource that we are looking for. We need to verify that it has the expected interface to confirm that it is right device. In the current workflow this will take two dbus calls to the mapper to get the assocation and the subtree.
This change aims to reduce that down to one by combination the two operations. It will not sigificant performance increase for the daemons, but it can help reduce the load on the dbus-broker.service.
Tested: ``` Normal Call: busctl call "xyz.openbmc_project.ObjectMapper" \ "/xyz/openbmc_project/object_mapper" \ "xyz.openbmc_project.ObjectMapper" "GetSubTreePaths" sias \ "/xyz/openbmc_project/inventory" 0 1 \ "xyz.openbmc_project.Inventory.Item.Storage" as 4 "/xyz/openbmc_project/inventory/storage_0" "/xyz/openbmc_project/inventory/storage_1" "/xyz/openbmc_project/inventory/storage_4" "/xyz/openbmc_project/inventory/storage_3"
Associated Call: (Only 0 and 1 is associated to the chassis) busctl call "xyz.openbmc_project.ObjectMapper" \ "/xyz/openbmc_project/object_mapper" \ "xyz.openbmc_project.ObjectMapper" "GetAssociatedSubTreePaths" ssias \ "/xyz/openbmc_project/inventory/chassis_0/storage" \ "/xyz/openbmc_project/inventory" 0 1 "xyz.openbmc_project.Inventory.Item.Storage" as 2 "/xyz/openbmc_project/inventory/storage_0" "/xyz/openbmc_project/inventory/storage_1" ```
Signed-off-by: Willy Tu <wltu@google.com> Change-Id: I079adf41a5775f80b9c773e8e9e319d46be924ea
show more ...
|
f3e6ff19 | 24-Oct-2022 |
Patrick Williams <patrick@stwcx.xyz> |
ACPIPowerState: set default property values
The property values should default to 'Unknown' instead of 'S0' (the first enum).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ida5362e
ACPIPowerState: set default property values
The property values should default to 'Unknown' instead of 'S0' (the first enum).
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ida5362ec29238a14e6b5ce078ad0c0951993dd8b
show more ...
|
78f3103d | 20-Oct-2022 |
Chris Cain <cjcain@us.ibm.com> |
Control.Power.CapLimits: Add power cap limits interface
This interface will provide the minimum and maximum power cap values supported. This will be hosted/written by OCC.Control and is replacing th
Control.Power.CapLimits: Add power cap limits interface
This interface will provide the minimum and maximum power cap values supported. This will be hosted/written by OCC.Control and is replacing the same properties from Control.Power.Cap.
The properties in Control.Power.Cap are hosted by Settings and the cap limits had to temporarily be made writable so that OCC.Control could write them.
Change-Id: Id24be182f7af8bfdc66d312a72b56afe172f8543 Signed-off-by: Chris Cain <cjcain@us.ibm.com>
show more ...
|
bed657a1 | 26-Apr-2022 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Dump: Create: Add Unavailable error
Some types of dumps cannot be initiated when another dump is in progress, return Unavailable error when the dump cannot be created.
Signed-off-by: Dhruvaraj Subh
Dump: Create: Add Unavailable error
Some types of dumps cannot be initiated when another dump is in progress, return Unavailable error when the dump cannot be created.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I5590181a7d6c31cd40dc1d673924b56a1a38f186
show more ...
|
11efbb3c | 26-Sep-2022 |
Chicago Duan <duanzhijia01@inspur.com> |
PowerSupply, Chassis: add powering association
Create association documentation between Chassis and PowerSupply. For a machine with multiple chassis, it is necessary to indicate which chassis a Powe
PowerSupply, Chassis: add powering association
Create association documentation between Chassis and PowerSupply. For a machine with multiple chassis, it is necessary to indicate which chassis a PowerSupply is managed by. One example is that the ChassisID and PowerSupplyID in the Redfish URL need to match, so we can confirm it through this association.
Signed-off-by: Chicago Duan <duanzhijia01@inspur.com> Change-Id: I6beb18fd0b621cec6cd4a38606e009cda40f9761 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
a1a46a94 | 14-Sep-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
cpu: add family default
Implementations need not provide the family information.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I771e7d44ca41d7cc00602ec2b9411548b647e5e9 |
6258c4ff | 14-Sep-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
cpu: add socket default
Implementations need not provide the socket information.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I874692061c4d61669017db27ac8fc57dfd980ea9 |
b4ee2af7 | 13-Sep-2022 |
Tyson Tuckerbear <ttucker@google.com> |
Dimm.interface.yaml: Include High Bandwidth Memory v3 (HBM3)
Signed-off-by: Tyson Tuckerbear <ttucker@google.com> Change-Id: Ic51b9383b76ab5d50b2c73be8ffae811f25e6246 |
4f9c0914 | 01-Aug-2022 |
Michal Orzel <michalx.orzel@intel.com> |
Update Telemetry service interfaces
This change updates description of interfaces utilized by Telemetry service, so that its contents mirror the desired implementation.
Change-Id: I7207c4889912e848
Update Telemetry service interfaces
This change updates description of interfaces utilized by Telemetry service, so that its contents mirror the desired implementation.
Change-Id: I7207c4889912e848a058279b9d89f643a7e0b6b8 Signed-off-by: Michal Orzel <michalx.orzel@intel.com>
show more ...
|
9f2fee82 | 01-Sep-2022 |
William A. Kennington III <wak@google.com> |
Network/IP: Fix error class names
Change-Id: I03cc41d0b7a6c420ae42280f8f77aaafc2db23ea Signed-off-by: William A. Kennington III <wak@google.com> |
d75995d1 | 01-Sep-2022 |
William A. Kennington III <wak@google.com> |
Network/Neighbor: Allow blocking value changes
phosphor-networkd does not allow these values to be changed, so we need to provide an error class to return in this case.
Change-Id: Ifed959a2be7867a8
Network/Neighbor: Allow blocking value changes
phosphor-networkd does not allow these values to be changed, so we need to provide an error class to return in this case.
Change-Id: Ifed959a2be7867a81b40d5b65510b89ff759dda6 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
6a0b5030 | 25-Aug-2022 |
William A. Kennington III <wak@google.com> |
Network: Set const properties where desired
We currently throw our own exceptions in these cases when we should just be leveraging the generator and properly exposing our intention.
Change-Id: Ib16
Network: Set const properties where desired
We currently throw our own exceptions in these cases when we should just be leveraging the generator and properly exposing our intention.
Change-Id: Ib16f95f1f04f7da8313c68245475ea87fec29e0b Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
d67b2627 | 17-Apr-2022 |
Claire Weinan <cweinan@google.com> |
FaultLog: Add new FaultLog dump entry interface
Fault Log is a new type of dump in openbmc/phosphor-debug-collector. For details please see https://github.com/openbmc/docs/blob/master/designs/hw-fau
FaultLog: Add new FaultLog dump entry interface
Fault Log is a new type of dump in openbmc/phosphor-debug-collector. For details please see https://github.com/openbmc/docs/blob/master/designs/hw-fault-monitor.md
This new interface (xyz.openbmc_project.Dump.Entry.FaultLog) contains properties that are specific to Fault Log entries. Fault log entries can contain references to fault data captured and stored by other code modules (e.g. see the PrimaryLogId property). A fault log entry represents a bundle of data from various sources that correspond to the same fault event (additional properties such as references to secondary logs may be added later).
Change-Id: I491b8fc58c752513d9066c908bf91999380e17c5 Signed-off-by: Claire Weinan <cweinan@google.com>
show more ...
|
bcb24e13 | 06-Jul-2022 |
William A. Kennington III <wak@google.com> |
EthernetInterface: Split up dynamic config properties
Having all of the dynamic configuration options grouped together makes it harder for clients to specify independent properties as they have to d
EthernetInterface: Split up dynamic config properties
Having all of the dynamic configuration options grouped together makes it harder for clients to specify independent properties as they have to deal with reading unrelated settings and a combinatorically expanding enum.
This change adds properties mirrored from DHCPEnabled that split up the different DHCP4/DHCP6/RA acceptance options.
Change-Id: If9c0c84fcda6578a894b7bfe2d87ebe030f125de Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
7311efe3 | 10-Aug-2022 |
Claire Weinan <cweinan@google.com> |
Dump Entry: Recommend implementing DeleteAll
State in the description that the dump object manager should implement xyz.openbmc_project.Collection.DeleteAll
Change-Id: I0acda3dc0bd61eb3780ed0315252
Dump Entry: Recommend implementing DeleteAll
State in the description that the dump object manager should implement xyz.openbmc_project.Collection.DeleteAll
Change-Id: I0acda3dc0bd61eb3780ed03152521da772c95983 Signed-off-by: Claire Weinan <cweinan@google.com>
show more ...
|
d4fad16e | 08-Aug-2022 |
Shounak Mitra <shounak@google.com> |
inventory: sensors: Document related inventory association
This change just adds the associations that are already documented here to the YAML: https://github.com/openbmc/docs/blob/master/architectu
inventory: sensors: Document related inventory association
This change just adds the associations that are already documented here to the YAML: https://github.com/openbmc/docs/blob/master/architecture/sensor-architecture.md#association-type-2-linking-a-low-level-hardware-item-to-its-sensors
Change-Id: I4dd23e842a6dd7e702f372efd0f192d28bfbf13b Signed-off-by: Shounak Mitra <shounak@google.com>
show more ...
|
fd26ad1e | 12-Jul-2022 |
Ed Tanous <edtanous@google.com> |
Require ObjectManager on Sensors and Inventory
Require that any daemon publishing inventory items implement ObjectManager, specifically on the inventory path. For Sensors (which already documents t
Require ObjectManager on Sensors and Inventory
Require that any daemon publishing inventory items implement ObjectManager, specifically on the inventory path. For Sensors (which already documents this requirement) make the required path more clear.
Longer discussion available on lore.
https://lore.kernel.org/openbmc/CAOLfGj6DWfmhxzSQx9PaU1awppsExrgJodFu8JrSgkbQZbnStA@mail.gmail.com/T/#t
This commit amounts to step 1.
Tested: Documentation only.
Signed-off-by: Ed Tanous <edtanous@google.com> Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: Iaad5cf101d6a8361e8905f88e09648ae615efd33
show more ...
|
0020fa3d | 05-May-2022 |
Brandon Wyman <bjwyman@gmail.com> |
sensor: Add new Accuracy interface
This will express the +/- percentage accuracy of the Value read. Default to NaN (not a number).
Tested: Local CI build against phosphor-dbus-interfaces clean.
sensor: Add new Accuracy interface
This will express the +/- percentage accuracy of the Value read. Default to NaN (not a number).
Tested: Local CI build against phosphor-dbus-interfaces clean. Built p10bmc obmc-phosphor-image (devtool modify ...) Find and view client.hpp and server.hpp for Accuracy, looks good.
Change-Id: I42b93c0267cf6ce397c922a0c161c41a56c8b30e Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
show more ...
|
9ad0a7d1 | 29-Apr-2022 |
Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com> |
Change VirtualMedia interface after design update.
Latest changes in VirtualMedia design (https://github.com/openbmc/docs/commit/9de2f4eea01d7daa6ccff3c7615e6954a36900fc, https://github.com/openbmc/
Change VirtualMedia interface after design update.
Latest changes in VirtualMedia design (https://github.com/openbmc/docs/commit/9de2f4eea01d7daa6ccff3c7615e6954a36900fc, https://github.com/openbmc/docs/commit/a3d687046c223a2b9d8c575f3f26a59733d6794b) adds signal field to Proxy and Legacy interfaces.
Tested: Compiles, signature consistent with implementation
Change-Id: If6f00607f4e46cf95f2bdbfa8a5c854c43f077f1 Signed-off-by: Przemyslaw Czarnowski <przemyslaw.hawrylewicz.czarnowski@intel.com>
show more ...
|
b1de713e | 11-Apr-2022 |
Jiaqing Zhao <jiaqing.zhao@intel.com> |
Network: Remove deprecated properties in SystemConfiguration
In change #52786 of phosphor-networkd, the deprecated DefaultGateway and DefaultGateway6 properties of SystemConfiguration are removed. R
Network: Remove deprecated properties in SystemConfiguration
In change #52786 of phosphor-networkd, the deprecated DefaultGateway and DefaultGateway6 properties of SystemConfiguration are removed. Remove them in phosphor-dbus-interfaces accordingly.
Change-Id: Ic05baef397c3a3b4c8682fbe8de455358f1a4e53 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
show more ...
|
f6db102e | 28-Jun-2022 |
Asmitha Karunanithi <asmitk01@in.ibm.com> |
createDump: Add Originator info as additional parameter
This commit adds "OriginatorId" & "OriginatorType" of the "xyz.openbmc_project.Common.OriginatedBy" interface as additional parameter in the c
createDump: Add Originator info as additional parameter
This commit adds "OriginatorId" & "OriginatorType" of the "xyz.openbmc_project.Common.OriginatedBy" interface as additional parameter in the createDump dbus call.
The "AdditionalData" parameter in createDump call will be in a key-value format and the key in this case would be "xyz.openbmc_project.Common.OriginatorId"; the value would be any unique identifier of the user/component that initiated the dump. This is an optional parameter and will be implemented for user-triggered dumps.
The createDump dbus call with OriginatorId will now look like: busctl call xyz.openbmc_project.Dump.Manager \ /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create \ CreateDump a{sv} 2 "xyz.openbmc_project.Dump.Create.CreateParameters.OriginatorId" \ s "<unique-id>" "xyz.openbmc_project.Dump.Create.CreateParameters.OriginatorType" \ s "<originatorType>"
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com> Change-Id: I220f20077fc069f798b40583b8918695e18152c2
show more ...
|
a39c66ae | 21-Sep-2021 |
Asmitha Karunanithi <asmitk01@in.ibm.com> |
Add a new interface "OriginatedBy"
This interface can be implemented by the dbus objects of any application/service that has a requirement to store the identity of the "originator" that has caused t
Add a new interface "OriginatedBy"
This interface can be implemented by the dbus objects of any application/service that has a requirement to store the identity of the "originator" that has caused the activity. This unique id is stored in the "OriginatorId" property and "OriginatorType" helps identify the type of originator.
Signed-off-by: Asmitha Karunanithi <asmitk01@in.ibm.com> Change-Id: Ia96592bbe4a7b0057fe66f8e1f09d73837978c30
show more ...
|
dac7f6c3 | 13-Apr-2022 |
Naveen Moses <naveen.mosess@hcl.com> |
Add Generic button dbus interface
The button interface is a generic dbus interface which can be used in the front panel phosphor-buttons dbus objects that has button type physical form factor(Presse
Add Generic button dbus interface
The button interface is a generic dbus interface which can be used in the front panel phosphor-buttons dbus objects that has button type physical form factor(Pressed/Released).
This dbus interface will be initially used by ocp debug card host selector button interface as it has a button form factor type.
Design : https://github.com/openbmc/docs/blob/master/designs/multihost-phosphor-buttons.md
Signed-off-by: Naveen Moses <naveen.mosess@hcl.com> Change-Id: I10e940c93ce549489fd23ff76a3be9e09ae1ae9c
show more ...
|
0d921265 | 09-Jun-2022 |
Konstantin Aladyshev <aladyshev22@gmail.com> |
Correct links in the state management documentation
Signed-off-by: Konstantin Aladyshev <aladyshev22@gmail.com> Change-Id: I55fb0dc9bcbcc7326e39ac83169ebeba2cbc6693 |
998c7bed | 07-Jun-2022 |
Johnathan Mantey <johnathanx.mantey@intel.com> |
Remove read-only flag from NTPServers
The NTPServers API no longer permits static assignment of NTPServers. This is a result of adding the read-only flag to the NTPServers D-Bus element.
The API ne
Remove read-only flag from NTPServers
The NTPServers API no longer permits static assignment of NTPServers. This is a result of adding the read-only flag to the NTPServers D-Bus element.
The API needs to allow submitters to assign NTPServers. This entry needs to allow read/write operations.
Tested: After removing the read-only flag a Restclient PATCH request to the NTPServers succeeds. Inspection of the systemd.network configuration file confirms the values are propagated to the phosphor-network receiver.
Change-Id: Ia2944738fe2bb9c5312207b1df21d8be9ddc5af2 Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
show more ...
|