33b9a7f8 | 07-Feb-2022 |
Matt Spinler <spinler@us.ibm.com> |
inventory.decorator: Add slot number interface
This interface provides a slot number property for an inventory item.
The initial use case is to hang this on certain phosphor-inventory-manager paths
inventory.decorator: Add slot number interface
This interface provides a slot number property for an inventory item.
The initial use case is to hang this on certain phosphor-inventory-manager paths so that when entity-manager probes on them it can have $SlotNumber available as a variable to give a stable sensor name, such as 'PCIe Card $SlotNumber Temp'.
Without this, if say the $index variable is used instead, and then there is no guarantee which device will have which sensor name, especially for cards that can be added in any order when the BMC is running.
Stable sensor names are important in the phosphor-inventory-manager/entity-manager hybrid model where PIM is used for inventory and EM is just used for config.
There is a LocationCode property already that could possibly be used on some systems, but on IBM systems at least it contains the system serial number so would vary from system to system which isn't desired either.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Iea95d7ad123672909799244b0d80f564cb40d425
show more ...
|
e11e2faa | 03-Feb-2022 |
Sunitha Harish <sunharis@in.ibm.com> |
Add StaticNTPServers propetry to EthernetInterface
Currently there is no way to differentiate between the Static and DHCP assigned NTP servers at dbus
This commit adds StaticNTPServers peroperty to
Add StaticNTPServers propetry to EthernetInterface
Currently there is no way to differentiate between the Static and DHCP assigned NTP servers at dbus
This commit adds StaticNTPServers peroperty to hold the static configuration of NTP servers. This is a read-write property. The existing NTPServer propery will hold both static and DHCP assigned NTP servers. This is a read-only property.
Signed-off-by: Sunitha Harish <sunharis@in.ibm.com> Change-Id: If6ac588c268473802ebb1b8f08144df594ac943a
show more ...
|
ae1cf7b0 | 11-Apr-2022 |
Paul Fertser <fercerpav@gmail.com> |
Syslog: introduce interfaces for e-mail sending
Interfaces to configure multiple e-mail destinations, each with an individual threshold for the priority level of the syslog messages.
The idea is to
Syslog: introduce interfaces for e-mail sending
Interfaces to configure multiple e-mail destinations, each with an individual threshold for the priority level of the syslog messages.
The idea is to provide facilities to implement a minimally useful subset of Redfish Event Destinations for e-mail with ability to add additional properties if the need arises.
D-Bus object path for each destination contains 8 digits of a mailto hash, so Level can be changed later but for another URI a new object needs to be created.
Current set of properties is made on assumption that organisation has an SMTP smarthost (that BMC is allowed to use without authentication) which takes care of dispatching messages; rsyslog's ommail module is considered for the initial implementation.
Example session:
root@qemuarm:~# busctl tree xyz.openbmc_project.Syslog.Config └─/xyz └─/xyz/openbmc_project └─/xyz/openbmc_project/logging └─/xyz/openbmc_project/logging/config ├─/xyz/openbmc_project/logging/config/mail │ ├─/xyz/openbmc_project/logging/config/mail/2dc1e699 │ ├─/xyz/openbmc_project/logging/config/mail/5d43d672 │ ├─/xyz/openbmc_project/logging/config/mail/b4dc9055 │ ├─/xyz/openbmc_project/logging/config/mail/d5d4db03 │ └─/xyz/openbmc_project/logging/config/mail/e0974603 └─/xyz/openbmc_project/logging/config/remote root@qemuarm:~# busctl introspect xyz.openbmc_project.Syslog.Config /xyz/openbmc_project/logging/config/mail 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.Collection.DeleteAll interface - - - .DeleteAll method - - - xyz.openbmc_project.Logging.Syslog.Destination.Mail interface - - - .From property s "from@some.domain" emits-change writable xyz.openbmc_project.Logging.Syslog.Destination.Mail.Create interface - - - .Create method ss o - xyz.openbmc_project.Network.Client interface - - - .Address property s "smarthost.lan" emits-change writable .Port property q 25 emits-change writable xyz.openbmc_project.Object.Enable interface - - - .Enabled property b true emits-change writable root@qemuarm:~# busctl introspect xyz.openbmc_project.Syslog.Config /xyz/openbmc_project/logging/config/mail/d5d4db03 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.Logging.Syslog.Destination.Mail.Entry interface - - - .Level property s "xyz.openbmc_project.Logging.Entry.Leve… emits-change writable .Mailto property s "mailto://someone2@otherdomain.test" emits-change xyz.openbmc_project.Object.Delete interface - - - .Delete method - - -
Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: Ic78fc2bf3608c1dd7ec0c962412e69062dde48d4
show more ...
|
d85f391e | 01-Apr-2022 |
Sunny Srivastava <sunnsr25@in.ibm.com> |
Lanes in use property added
The commit adds property "LanesInUse" property for PICeDevice interface. It will denote the number of PCIe lanes in use by this device.
Signed-off-by: Sunny Srivastava <
Lanes in use property added
The commit adds property "LanesInUse" property for PICeDevice interface. It will denote the number of PCIe lanes in use by this device.
Signed-off-by: Sunny Srivastava <sunnsr25@in.ibm.com> Change-Id: If3d1bca4ce8f186391d842e6b6884f8b898aeec0
show more ...
|
3b99c185 | 29-Mar-2022 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Dump: InitiateOffload: Add Unavailable error
The offload may not be available due to various resources needed for offload is busy or not available in such cases Unavailable error needs to be returne
Dump: InitiateOffload: Add Unavailable error
The offload may not be available due to various resources needed for offload is busy or not available in such cases Unavailable error needs to be returned.
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: Ibaec718c12ed53ca83977aeb41e10d4cac2fb30f
show more ...
|
2f103d91 | 07-Oct-2021 |
John Broadbent <jebr@google.com> |
Adds new properties to drive
EncryptedStatus, lockedStatus, PredictedMediaLifeLeftPercent, are added to the drives interface in this change. These properties are planned to be sent over redfish usin
Adds new properties to drive
EncryptedStatus, lockedStatus, PredictedMediaLifeLeftPercent, are added to the drives interface in this change. These properties are planned to be sent over redfish using the following schema properties
https://github.com/openbmc/bmcweb/blob/c0bd5e4b37f65ce29a392594d1ef240c64c99734/static/redfish/v1/schema/Drive_v1.xml#L371 https://github.com/openbmc/bmcweb/blob/c0bd5e4b37f65ce29a392594d1ef240c64c99734/static/redfish/v1/schema/Drive_v1.xml#L365 https://github.com/openbmc/bmcweb/blob/c0bd5e4b37f65ce29a392594d1ef240c64c99734/static/redfish/v1/schema/Drive_v1.xml#L267
Signed-off-by: John Broadbent <jebr@google.com> Change-Id: I09347c36ff68140b34a6ec316629aba137b86997
show more ...
|
4d1ff65d | 28-Mar-2022 |
Willy Tu <wltu@google.com> |
Inventory: PCIeDevice: add association to pcie_slot
Create association documentation to pcie slot from pcie devices.
Change-Id: I167aa18864572953bb5f7c7c3b7031d0b6046366 Signed-off-by: Willy Tu <wl
Inventory: PCIeDevice: add association to pcie_slot
Create association documentation to pcie slot from pcie devices.
Change-Id: I167aa18864572953bb5f7c7c3b7031d0b6046366 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
2c9a4349 | 19-Oct-2021 |
Willy Tu <wltu@google.com> |
inventory: PCIeDevice: Add MaxLanes information to PCIe Device
The Max Lanes information is maximum number of PCIe lanes supported by the PCIe Device.
Change-Id: Id90ba3849ee6c31745a2714ac94a01fd4d
inventory: PCIeDevice: Add MaxLanes information to PCIe Device
The Max Lanes information is maximum number of PCIe lanes supported by the PCIe Device.
Change-Id: Id90ba3849ee6c31745a2714ac94a01fd4d64e657 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
f79b7226 | 25-Mar-2022 |
zamiseck <zimzam17@gmail.com> |
Add Error to Software Version Interface
This commit adds a InvalidSignature error to the Software Version interface. It will ensure that if the error is hit during the verificatioon of an image, a c
Add Error to Software Version Interface
This commit adds a InvalidSignature error to the Software Version interface. It will ensure that if the error is hit during the verificatioon of an image, a corresponding error is available to the user.
Signed-off-by: Zami Seck <zimzam17@gmail.com> Change-Id: Iba2eb7689a3e34db15e4a5d31accb69c18f906f5
show more ...
|
332a7b86 | 03-Mar-2022 |
Adriana Kobylak <anoo@us.ibm.com> |
State: New PowerSystemInputs interface
Add a new PowerSystemInputs interface to describe the state of the power supplied to the chassis via the power supply unit(s), in order to have state manager h
State: New PowerSystemInputs interface
Add a new PowerSystemInputs interface to describe the state of the power supplied to the chassis via the power supply unit(s), in order to have state manager handle Brownout conditions as described in design doc: https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/48015
This interface would be implemented by the phosphor-power repo and the Status property set to Fault when a Brownout condition is detected.
Change-Id: I7aeea45f7285835fdb97a34706b3eef610d7532d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
8db5d8d7 | 22-Dec-2021 |
Johnathan Mantey <johnathanx.mantey@intel.com> |
Add additional DHCP configuration options
The existing D-Bus DHCPConf enumearation values do not allow IPv6 Stateless DHCP to be assigned. The IPv4 entries are sufficient, as DHCP for the v4 stack i
Add additional DHCP configuration options
The existing D-Bus DHCPConf enumearation values do not allow IPv6 Stateless DHCP to be assigned. The IPv4 entries are sufficient, as DHCP for the v4 stack is truly a boolean.
IPv6 is, at minimum, a ternary control. Adding new enumerations allows the IPv6 configruation to be done in a more abstract fashion than the current IPv6AcceptRA D-Bus entry. This D-Bus entry is a direct reflection of how systemd-networkd manages Routint Advertisement, and by extension DHCPv6. Only phosphor-network needs this knowledge.
Tested: The changes compile. Also, in combination with changes made to phosphor-network, many busctl set/get property commands were issued to confirm the enumerations were performing as expected.
Change-Id: I42a46549fed8b2d2187ea6a7eb7278c63b84bbef Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
show more ...
|
6326b04e | 21-Mar-2022 |
Ramesh Iyyar <rameshi1@in.ibm.com> |
Delete: Add InsufficientPermission error
- The object may not be allowed to delete due to insufficient permission for example, the object might be created by the system, and the user may not hav
Delete: Add InsufficientPermission error
- The object may not be allowed to delete due to insufficient permission for example, the object might be created by the system, and the user may not have permission to delete it.
Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com> Change-Id: Ib662bc275cb091ec41b701faa9aad65b2ae6c6fc
show more ...
|
b68cec08 | 16-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
Common: add metadata for ResourceNotFound error
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id1e07b42bc3fb13ff45284342976b94734370402 |
0068be81 | 14-Mar-2022 |
Brandon Wyman <bjwyman@gmail.com> |
Logging: README.md: Fix broken links
Do to some refactoring in phosphor-dbus-interfaces and phosphor-logging, a few of the links in the README.md were broken, resulting in 404 errors. Fix up those b
Logging: README.md: Fix broken links
Do to some refactoring in phosphor-dbus-interfaces and phosphor-logging, a few of the links in the README.md were broken, resulting in 404 errors. Fix up those broken links to the new locations.
Signed-off-by: Brandon Wyman <bjwyman@gmail.com> Change-Id: I3aa54fe57c650727ce18447ad2d176d23348ca16
show more ...
|
388b58f9 | 14-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
doc: format with markdownlint
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Id1efc27791e219e5fbfe08023143be2f59037307 |
8da396ca | 14-Mar-2022 |
Patrick Williams <patrick@stwcx.xyz> |
yaml: format with prettier
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I193f690f3612fe72ec69030f81f4d5096a761601 |
763d424e | 10-Feb-2022 |
Chris Cain <cjcain@us.ibm.com> |
Add Soft Power Cap limit and IPS active properties
- Add soft power cap value which defines the limit which can be lower then the MinPowerCapValue but will not be guaranteed to be maintained. - Ad
Add Soft Power Cap limit and IPS active properties
- Add soft power cap value which defines the limit which can be lower then the MinPowerCapValue but will not be guaranteed to be maintained. - Add Idle Power Saver active property which will indicate if the system is currently running at reduced power due to IPS.
Change-Id: I8512e3f8e1b55deba37b45441dc26b85be6a26f9 Signed-off-by: Chris Cain <cjcain@us.ibm.com>
show more ...
|
91e9099b | 18-Feb-2022 |
Jiaqing Zhao <jiaqing.zhao@intel.com> |
Network: Add NotAllowed error for MAC Address
Writing MAC address will return this error when changing MAC address is disabled in phosphor-networkd.
Change-Id: Ib1e1383567a62ac80158509411f830e66e91
Network: Add NotAllowed error for MAC Address
Writing MAC address will return this error when changing MAC address is disabled in phosphor-networkd.
Change-Id: Ib1e1383567a62ac80158509411f830e66e91a226 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
show more ...
|
b9dae7be | 29-Dec-2021 |
Nan Zhou <nanzhoumails@gmail.com> |
Certs: add Interfaces for bulk installation and replacement
The corresponding design is in https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/49317.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com
Certs: add Interfaces for bulk installation and replacement
The corresponding design is in https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/49317.
Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: I969090951a2da59c67cea232f212e664a193425c
show more ...
|
f4d2c113 | 22-Jan-2022 |
Paul Fertser <fercerpav@gmail.com> |
AccountPolicy: InvalidArgument for min password
Values less than the pre-defined lower limit are not allowed so trying to set them should result in a distinct error; add InvalidArgument for that cas
AccountPolicy: InvalidArgument for min password
Values less than the pre-defined lower limit are not allowed so trying to set them should result in a distinct error; add InvalidArgument for that case.
Signed-off-by: Paul Fertser <fercerpav@gmail.com> Change-Id: I1c589e2ce8a2823564034eb370f571a9663650f6
show more ...
|
33c38cb2 | 09-Jan-2022 |
Andrei Kartashev <a.kartashev@yadro.com> |
power-recovery: add PowerRestoreDelay to RestorePolicy
This commit introduce new property to set delay before invoke Power Restore operations after system startup. This delay supposed to be calculat
power-recovery: add PowerRestoreDelay to RestorePolicy
This commit introduce new property to set delay before invoke Power Restore operations after system startup. This delay supposed to be calculated from BMC power up and limited by BMC software boot time.
x86-power-control used to use undocumented interface `xyz.openbmc_project.Control.Power.RestoreDelay` to represent this property, but this looks good fit to `xyz.openbmc_project.Control.Power.RestorePolicy`.
Signed-off-by: Andrei Kartashev <a.kartashev@yadro.com> Change-Id: I81f35bf1555ccba7de9db6c2455a4ff54cb72f81
show more ...
|
615e4f93 | 28-Oct-2021 |
Andrew Geissler <geissonator@yahoo.com> |
bmc-reboot: add pinhole reset reason
Some systems have a physical mechanism on them to force a reboot of the BMC. One common mechanism for this is a pinhole. The user utilizes a round, thin piece of
bmc-reboot: add pinhole reset reason
Some systems have a physical mechanism on them to force a reboot of the BMC. One common mechanism for this is a pinhole. The user utilizes a round, thin piece of metal (commonly a paper clip) to trigger this reset.
The use of the pinhole reset is usually utilized to force a reboot of an unresponsive BMC. BMC firmware, when it comes back from the reboot, may want to do some special handling for this scenario.
Some systems, like the IBM p10bmc machines, have some logic in the hardware to set a GPIO so that BMC firmware will have a mechanism to know if the reboot cause was the result of a pinhole reset. IBM systems would like to add some software logic around this. For example, if a pinhole reset was done, the firmware will not run its auto power on functions. If a user has force reset a system, they do not want firmware trying to auto power on the machine.
The design on this can be found here: https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/47816
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Id8f0e5b8da708ec82d13a89013e19692ef5959b8
show more ...
|
9c913327 | 08-Nov-2021 |
Andrew Geissler <geissonator@yahoo.com> |
power-recovery: introduce CurrentPowerStatus to chassis
The power coming into a chassis can have its own status. For example, if power has been lost (blackout) but the system has an uninterruptible
power-recovery: introduce CurrentPowerStatus to chassis
The power coming into a chassis can have its own status. For example, if power has been lost (blackout) but the system has an uninterruptible power supply(UPS) connected, then chassis power could still be on but its important to provide the fact that the system is running off of a UPS to other BMC software.
For example, IBM has a policy that it will allow a system to remain on if it is already on when a blackout or brownout occurs (and running on a UPS), but it will not allow a user to power a system on if in one of these conditions. IBM will also not allow a system to power on until a UPS is fully charged.
The design for this can be found over in the following series: https://gerrit.openbmc-project.xyz/c/openbmc/docs/+/48210
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I4300167f3baa66bc9229651178d161fc12c92e1b
show more ...
|
1bcf7fae | 22-Dec-2021 |
Patrick Williams <patrick@stwcx.xyz> |
sensor: add relative humidity
Change-Id: I84f37194adbcaf99b4c426a8d51afc738bd6a799 |
d5f36359 | 22-Dec-2021 |
Patrick Williams <patrick@stwcx.xyz> |
sensor: sort units and document all types
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I9f227d4c670cb03a704855bb0cca9f3920b3e098 |