fd1e87a7 | 14-Aug-2023 |
Chau Ly <chaul@amperecomputing.com> |
Chassis.Intrusion: Add enum for Status property
This commit updates Status property to use an enum of 3 values: Normal, HardwareIntrusion and TamperingDetected. These are defined in Redfish schema o
Chassis.Intrusion: Add enum for Status property
This commit updates Status property to use an enum of 3 values: Normal, HardwareIntrusion and TamperingDetected. These are defined in Redfish schema of property PhysicalSecurity/IntrusionSensor of Chassis.
Signed-off-by: Chau Ly <chaul@amperecomputing.com> Change-Id: I022e4f11dd7f1a863ca3266c661e113c96d79b7d
show more ...
|
402dc6a5 | 27-Jul-2023 |
Michal Orzel <michalx.orzel@intel.com> |
Change authority D-Bus names
Changing authority service references in code from 'ldap' to more generic name, to comply with change in phosphor-certificate-manager.
Related change: https://gerrit.op
Change authority D-Bus names
Changing authority service references in code from 'ldap' to more generic name, to comply with change in phosphor-certificate-manager.
Related change: https://gerrit.openbmc.org/c/openbmc/phosphor-certificate-manager/+/65458
Tested: Docs change, no way to test.
Change-Id: I3b502f27b5f3dd1585238cdad24ab071cccc605f Signed-off-by: Michal Orzel <michalx.orzel@intel.com>
show more ...
|
cb01cd40 | 10-Jul-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Dump: Add user-challenge to System Dump entry
This commit introduces a 'UserChallenge' field to the xyz.openbmc_project.Dump.Entry.System interface. This update specifically addresses the requiremen
Dump: Add user-challenge to System Dump entry
This commit introduces a 'UserChallenge' field to the xyz.openbmc_project.Dump.Entry.System interface. This update specifically addresses the requirement for non-disruptive system dumps. Non-disruptive dumps are requested to the host and do not disrupt the current system state. However, as they consume significant host resources and involve the collection of host memory data, they must be executed by authorized personnel.
To enforce this, the host requires user-challenge validation to process the dump request. If the provided user-challenge is incorrect, the host rejects the operation.
Change-Id: Ia9871a7264e036715a3ebe10f9054a2302e64c32 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
2117deab | 08-Jul-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Dump: Add 'SystemImpact' to System Dump entry
This commit introduces 'SystemImpact' to the system dump entry. This new enum field indicates whether a system dump is 'Disruptive' or 'NonDisruptive'.
Dump: Add 'SystemImpact' to System Dump entry
This commit introduces 'SystemImpact' to the system dump entry. This new enum field indicates whether a system dump is 'Disruptive' or 'NonDisruptive'.
'Disruptive' dumps alter the system state and capture extensive data, making them useful for diagnosing system crashes. In contrast, 'NonDisruptive' dumps do not disturb the system state while still providing valuable data for analysis.
Change-Id: I03810e86e1db9d2b46891dbe2e00e436e76b2cc2 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
88902e67 | 30-Jun-2023 |
Smriti-Ayushi <smriti.ayushi@linux.intel.com> |
Update BiosConfig README.md file
The current bios config is out of date and inconsistent with bios-settings-mgr repository.
Changes are made to reflect the current D-Bus methods, signals and proper
Update BiosConfig README.md file
The current bios config is out of date and inconsistent with bios-settings-mgr repository.
Changes are made to reflect the current D-Bus methods, signals and properties in bios-settings-mgr.
Following are the D-Bus information of bios-settings-mgr:
busctl tree xyz.openbmc_project.BIOSConfigManager `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/bios_config |-/xyz/openbmc_project/bios_config/manager `-/xyz/openbmc_project/bios_config/password
busctl introspect xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager 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.BIOSConfig.Manager interface - - - .GetAttribute method s svv - .SetAttribute method sv - - .BaseBIOSTable property a{s(sbsssvva(svs))} 0 emits-change writable .PendingAttributes property a{s(sv)} 0 emits-change writable .ResetBIOSSettings property s "xyz.openbmc_project.BIOSConfig.Manag... emits-change writable
busctl introspect xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/password 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.BIOSConfig.Password interface - - - .ChangePassword method sss - - .PasswordInitialized property b false emits-change writable
Change-Id: I59bc60e0d31658906aa724b54652cd0b0c74e9d2 Signed-off-by: Smriti-Ayushi <smriti.ayushi@linux.intel.com>
show more ...
|
3bbd4827 | 29-May-2023 |
George Liu <liuxiwei@inspur.com> |
DIMM: Refactor the byte attribute to size type
There is currently a problem that because the parameter types defined in PDI are too complicated, not all types are fully compatible in the Notify meth
DIMM: Refactor the byte attribute to size type
There is currently a problem that because the parameter types defined in PDI are too complicated, not all types are fully compatible in the Notify method. The intent behind this commit is replace "byte" type in the DIMM interface with "size", because it is more reasonable to use size for byte, uint16 and other types, and we also tend to change the uint16 type to size in the future.
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I884f1d871446ed1c4174a223e826c3a36530aea1
show more ...
|
e6718c5e | 09-Jun-2023 |
Ivan Mikhaylov <fr0st61te@gmail.com> |
network/client: add TCP/UDP as Transport Protocol for Client
Add TCP/UDP transport protocol for Client interface to make it use for different applications like rsyslog as example.
Change-Id: I08511
network/client: add TCP/UDP as Transport Protocol for Client
Add TCP/UDP transport protocol for Client interface to make it use for different applications like rsyslog as example.
Change-Id: I08511a1a70396e1c6fb979febfa8fb7343235e9d Signed-off-by: Ivan Mikhaylov <fr0st61te@gmail.com>
show more ...
|
7720dd64 | 12-Jun-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add GetFileHandle method to dump entry
This commit introduces the GetFileHandle method in the dump entry interface. This method provides direct access to the Unix file handle of the dump entry, faci
Add GetFileHandle method to dump entry
This commit introduces the GetFileHandle method in the dump entry interface. This method provides direct access to the Unix file handle of the dump entry, facilitating more direct read operations on the dump file.
The returned file descriptor will be read-only, ensuring the integrity of the dump file.
This change is primarily introduced to support the PLDM for offloading the dump to the host and bmcweb for offloading the dump to Redfish clients. Previously, a direct file path was provided for these operations. However, if the applications are running in a non-root context, they may lack the necessary access to the file. By providing a file handle, this access issue is resolved.
Change-Id: I1c9dd5ae6dad503288f39227876e13308043fefd Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
3826910e | 30-May-2023 |
Jonathan Doman <jonathan.doman@intel.com> |
Add xyz.openbmc_project.Console.UART
Formalize an ad-hoc interface currently implemented in obmc-console. This will contain attributes for each console object that is connected to a physical UART. O
Add xyz.openbmc_project.Console.UART
Formalize an ad-hoc interface currently implemented in obmc-console. This will contain attributes for each console object that is connected to a physical UART. Other console objects (e.g. VUART) would not implement this interface. could be extended to support additional console attributes, but for now a writable `Baud` property is the only item.
Change-Id: Ib4c9f1e24b4843281c222e882586a0fd44af723b Signed-off-by: Jonathan Doman <jonathan.doman@intel.com>
show more ...
|
abb61a0f | 25-May-2023 |
Andrew Geissler <geissonator@yahoo.com> |
bmc-ready: include new error codes in interfaces
This will generate the appropriate bindings and ensure the error is passed back to the caller allowing them to properly handle this type of error.
C
bmc-ready: include new error codes in interfaces
This will generate the appropriate bindings and ensure the error is passed back to the caller allowing them to properly handle this type of error.
Change-Id: I63301d0371d27835417fcba503c32f854f1919bd Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
f404c83b | 30-May-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add 'EventId' parameter to BMC Dump creation parameters
This commit adds a new 'EventId' parameter to the BMC Dump creation parameters. The 'EventId' parameter is used to link a BMC dump with a spec
Add 'EventId' parameter to BMC Dump creation parameters
This commit adds a new 'EventId' parameter to the BMC Dump creation parameters. The 'EventId' parameter is used to link a BMC dump with a specific system event, providing clearer context and allowing for the collection of additional, relevant diagnostic data related to the event.
Change-Id: Ia092caa42c3917febfd5e8b447f49bc9078812c2 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
64fcf95f | 29-May-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Update InternalFailure Type and Add Error Type Parameter
This commit modifies the 'InternalFailure' dump type and replaces it with a more generic 'ErrorLog' type. In addition, it introduces a new pa
Update InternalFailure Type and Add Error Type Parameter
This commit modifies the 'InternalFailure' dump type and replaces it with a more generic 'ErrorLog' type. In addition, it introduces a new parameter for specifying the type of the error that triggered the dump.
This is allowing it to cater to various types of errors beyond just internal failures. With the capability to pass architecture-specific errors, this change increases compatibility and maintainability without requiring alterations in the common interface YAML file for each new error type to be supported.
Change-Id: I896bb995632dad1206385ef92819f3bfffd16f88 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
052ffb0e | 25-May-2023 |
Andrew Geissler <geissonator@yahoo.com> |
bmc-ready: new error def for when bmc not ready
phosphor-state-manager is introducing a new optional feature that users can enable which will not allow chassis or host power on operations if the BMC
bmc-ready: new error def for when bmc not ready
phosphor-state-manager is introducing a new optional feature that users can enable which will not allow chassis or host power on operations if the BMC is not at its "Ready" state.
This commit defines some new error codes so callers will have the appropriate return information when this situation arises.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ibbe71356b54675601b54179633e76310fdabccec
show more ...
|
9460809d | 13-Apr-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Use createDump method to create different types of BMC dumps
There are two create interfaces for phosphor-debug-collector. 1- external create - this interface Which accepts a list of key-value pairs
Use createDump method to create different types of BMC dumps
There are two create interfaces for phosphor-debug-collector. 1- external create - this interface Which accepts a list of key-value pairs as input, but initially, this was not accepting any parameters.
2- A create interface in phosphor-debug-collector, which accepts the type of the BMC dump and a set of paths to dbus or files to collect as part of dump creation.
The internal create is called by core-monitor or ramoops monitor to create BMC dump when the error has occurred, or a core is created, and now there is a new requirement to pass error log id along with these create calls.
The internal create is added to pass parameters, and the external one is always assumed as user-initiated. Since now the createDump method is accepting additional parameters, internal create can be removed and both system-generated and user-initiated dumps can use the same interface and method.
This commit adds the dump type and enumeration for the types, additionally changing the path parameter from the array of strings to a single string because only for the core dump, there is an attempt to send multiple paths but that can be captured in the packaging script if the folder is sent.
Change-Id: Icbeb8499fbdfc1f8919b571495a50867bdcecac1 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
b9f7c1de | 16-May-2023 |
Ninad Palsule <ninadpalsule@us.ibm.com> |
Added Connect() method in console DBUS interface
The "xyz.openbmc_project.Console.Access" interface is updated to add new method called Connect(). This method returns the unix socket file descriptor
Added Connect() method in console DBUS interface
The "xyz.openbmc_project.Console.Access" interface is updated to add new method called Connect(). This method returns the unix socket file descriptor. The consumer can use this file descriptor to receive the console data. The leaf node in the object path is a console id.
Also, the "SocketName" property is deprecated and removed to avoid exposing implementation details about the console.
The tree for the "default" console id. $ busctl tree xyz.openbmc_project.Console.default `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/console `-/xyz/openbmc_project/console/default
The introspect for the "default" console id. $ busctl introspect xyz.openbmc_project.Console.default \ /xyz/openbmc_project/console/default 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.Console.Access interface - - - .Connect method - h -
Change-Id: I52472320de0990dcf0e802add87141a97288085c Signed-off-by: Ninad Palsule <ninadpalsule@us.ibm.com>
show more ...
|
47709f23 | 03-May-2023 |
Chris Cain <cjcain@us.ibm.com> |
Control.Power.Throttle: Add throttle Interface
Define a throttle status interface. This allows users to determine if a component is being throttled and if so, what the causes are for the throttle. T
Control.Power.Throttle: Add throttle Interface
Define a throttle status interface. This allows users to determine if a component is being throttled and if so, what the causes are for the throttle. This is part of the Redfish 2022.3 Schema.
Change-Id: I30e820993e3c225cd82bbd6c78e0a01f9a432282 Signed-off-by: Chris Cain <cjcain@us.ibm.com>
show more ...
|
eee8a9ae | 03-May-2023 |
Arun Lal K M <arun.lal@intel.com> |
Show option->text of BIOS knob in Redfish response.
GET on /redfish/v1/Registries/BiosAttributeRegistry/BiosAttributeRegistry/ shows list of Attributes under RegistryEntries. Each attribute correspo
Show option->text of BIOS knob in Redfish response.
GET on /redfish/v1/Registries/BiosAttributeRegistry/BiosAttributeRegistry/ shows list of Attributes under RegistryEntries. Each attribute corresponds to a knob in BIOS.
If knob in BIOS is of type Enumeration, it will have 'option' with 'text' and 'value'. This text should be mapped to attribute->Value->ValueDisplayName.
Code changes are made for the same.
Tested Sample knobs from BIOS.
<knob name="AdaptiveRefreshMgmtLevel" ... > <options> <option text="Default" value="0x0"/> <option text="Level A" value="0x1"/> <option text="Level B" value="0x2"/> <option text="Level C" value="0x3"/> </options> </knob> <knob name="ADDDCEn" ... > <options> <option text="Disable" value="0x0"/> <option text="Enable" value="0x1"/> </options> </knob>
Corresponding Redfish response in BiosAttributeRegistry
{ "AttributeName": "AdaptiveRefreshMgmtLevel", "CurrentValue": "0x00", "DefaultValue": "0x00", "DisplayName": "AdaptiveRefreshMgmtLevel", "HelpText": "ARFM Level when ... ", "MenuPath": "./", "ReadOnly": false, "Type": "Enumeration", "Value": [ { "ValueDisplayName": "Default", "ValueName": "0x0" }, { "ValueDisplayName": "Level A", "ValueName": "0x1" }, { "ValueDisplayName": "Level B", "ValueName": "0x2" }, { "ValueDisplayName": "Level C", "ValueName": "0x3" } ] }, { "AttributeName": "ADDDCEn", "CurrentValue": "0x00", "DefaultValue": "0x00", "DisplayName": "ADDDCEn", "HelpText": "Enable/Disable ADDDC Sparing", "MenuPath": "./", "ReadOnly": false, "Type": "Enumeration", "Value": [ { "ValueDisplayName": "Disable", "ValueName": "0x0" }, { "ValueDisplayName": "Enable", "ValueName": "0x1" } ] }
Change-Id: I77b091fe86db21906c2556bb1be87aafc712bc76 Signed-off-by: Arun Lal K M <arun.lal@intel.com>
show more ...
|
df32eb57 | 26-Apr-2023 |
Myung Bae <myungbae@us.ibm.com> |
Add association between FabricAdapter and Port
As a course of implementing PortCollection and Port schemas, this commit adds a new association to describe the links between FabricAdapter and Port.
Add association between FabricAdapter and Port
As a course of implementing PortCollection and Port schemas, this commit adds a new association to describe the links between FabricAdapter and Port.
- FabricAdapter may be "connected_to" one or more ports, - A port may also be "connecting" one or more items.
The generic associations of 'containing' and 'contained_by' are considered, but they are for the physically "containing" items.
Related schemas are:
- https://redfish.dmtf.org/schemas/v1/Port.v1_8_0.json
``` "Links": { "description": "The links to other resources that are related to this resource.", "properties": { "AssociatedEndpoints": { "description": "An array of links to the endpoints at the other end of the link.", "items": { "$ref": "http://redfish.dmtf.org/schemas/v1/Endpoint.json#/definitions/Endpoint" }, "longDescription": "This property shall contain an array of links to resources of type Endpoint that represent the endpoints to which this port is connected.", "readonly": true, "type": "array" }, "AssociatedEndpoints@odata.count": { "$ref": "http://redfish.dmtf.org/schemas/v1/odata-v4.json#/definitions/count" }, ```
- https://redfish.dmtf.org/schemas/v1/FabricAdapter.v1_5_0.json
``` "Ports": { "$ref": "http://redfish.dmtf.org/schemas/v1/PortCollection.json#/definitions/PortCollection", "description": "The link to the collection of ports that exist on the fabric adapter.", "longDescription": "This property shall contain a link to a Resource Collection of type PortCollection.", "readonly": true }, ```
Change-Id: I2cc8caf0128bf1cfa619312e689fe02039977e44 Signed-off-by: Myung Bae <myungbae@us.ibm.com>
show more ...
|