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 |
ed708de3 | 24-Aug-2021 |
Gaurav Gandhi <gauravgandhi@google.com> |
Update power cap interface
Add Min, Max properties which can be used by phosphor-host-ipmid
Signed-off-by: Gaurav Gandhi <gauravgandhi@google.com> Change-Id: Ib1622b53c93fa33a050bfd2db954c3d5619f0b
Update power cap interface
Add Min, Max properties which can be used by phosphor-host-ipmid
Signed-off-by: Gaurav Gandhi <gauravgandhi@google.com> Change-Id: Ib1622b53c93fa33a050bfd2db954c3d5619f0bb4
show more ...
|
4f703341 | 04-Nov-2021 |
John Wedig <johnwedig@google.com> |
Add D-Bus interface for a logical volume
Add an initial D-Bus interface for a logical volume, which will be used for eStoraged. It includes the following methods: FormatLuks, Lock, Unlock, and Chang
Add D-Bus interface for a logical volume
Add an initial D-Bus interface for a logical volume, which will be used for eStoraged. It includes the following methods: FormatLuks, Lock, Unlock, and ChangePassword.
The design doc for eStoraged can be found here: https://github.com/openbmc/docs/blob/master/designs/estoraged.md
Signed-off-by: John Wedig <johnwedig@google.com> Signed-off-by: John Edward Broadbent <jebr@google.com> Change-Id: I7975056e52901a82b36933b51fb3eea112818385
show more ...
|
f05e2050 | 01-Dec-2021 |
Patrick Williams <patrick@stwcx.xyz> |
software: leverage Compatible strings
Enhance the software design to leverage Inventory.Decorator.Compatible strings for associating software images to system elements where the image can be applied
software: leverage Compatible strings
Enhance the software design to leverage Inventory.Decorator.Compatible strings for associating software images to system elements where the image can be applied.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4c5f0bc27159c32232079fde54c955addbffe6fb
show more ...
|
ac7adcb5 | 05-Nov-2021 |
Carlos J. Mazieri <carlos.mazieri@hcl.com> |
software: define multi-slot/multi-device update
Enhance the Software update design to be capable of handling updates to multiple devices of the same type or a single device with multiple update loca
software: define multi-slot/multi-device update
Enhance the Software update design to be capable of handling updates to multiple devices of the same type or a single device with multiple update locations.
Signed-off-by: Carlos J. Mazieri <carlos.mazieri@hcl.com> Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I58008fddb532f4bba4c77b4a8228b8df2abec164
show more ...
|
52f37113 | 01-Dec-2021 |
Patrick Williams <patrick@stwcx.xyz> |
software: remove old TODO
The software design had a reference to a "TODO" pertaining to the old REST API, which has been present for years and unresolved. Since the REsT API is deprecated anyhow an
software: remove old TODO
The software design had a reference to a "TODO" pertaining to the old REST API, which has been present for years and unresolved. Since the REsT API is deprecated anyhow and issues should be tracked elsewhere, remove this TODO.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I554da4dcfee32a1196e3c42c17bbba6c73cd1653
show more ...
|
e0764cf4 | 28-Oct-2021 |
Andrew Geissler <geissonator@yahoo.com> |
host-state: introduce new host crash restart reason
In situations where the host firmware crashes, and BMC firmware detects it, the BMC will attempt to recover by initiating a reboot of the host fir
host-state: introduce new host crash restart reason
In situations where the host firmware crashes, and BMC firmware detects it, the BMC will attempt to recover by initiating a reboot of the host firmware a certain amount of times.
On IBM systems, the host needs to know when a crash is the reason for a boot. This property will be utilized by the host communication firmware to tell them.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ibf18c1ac084ec8fb0b0ab3985623ed41f01f65ad
show more ...
|
ab2ce4ea | 28-Oct-2021 |
Andrew Geissler <geissonator@yahoo.com> |
host-state: introduce new scheduled power on reason
The xyz.openbmc_project.State.ScheduledHostTransition interface is utilized to schedule a host transition at some point in the future. Add this as
host-state: introduce new scheduled power on reason
The xyz.openbmc_project.State.ScheduledHostTransition interface is utilized to schedule a host transition at some point in the future. Add this as a potential reason for the host RestartCause property.
On IBM systems, the host needs to know when a scheduled transition is the reason for a boot. This property will be utilized by the host communication firmware to tell them.
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I438982223482f9819abaee25bbf5b85ae27392bc
show more ...
|
080f0183 | 28-Oct-2021 |
Brandon Kim <brandonkim@google.com> |
CpuCore: Update Microcode type to uint
Match the type with Cpu.interface.yaml with the change that went in: https://gerrit.openbmc-project.xyz/47987
Signed-off-by: Brandon Kim <brandonkim@google.co
CpuCore: Update Microcode type to uint
Match the type with Cpu.interface.yaml with the change that went in: https://gerrit.openbmc-project.xyz/47987
Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: I97401a8325c939ec1f69a6e59716fa9bc4dfd45e
show more ...
|
4aec8027 | 21-May-2021 |
Willy Tu <wltu@google.com> |
Software: Settings: add setting to Software interface
Added the xyz.openbmc_project.Software.Settings interface to provide the user with some control over the Software it manages.
Currently, it onl
Software: Settings: add setting to Software interface
Added the xyz.openbmc_project.Software.Settings interface to provide the user with some control over the Software it manages.
Currently, it only has `WriteProtected` that indicate if the software is writeable or not.
The settings are enforced by the service that manage the property.
Change-Id: I726c247428b4e1c8b1fe9cf66554ef272bbcd231 Signed-off-by: Willy Tu <wltu@google.com>
show more ...
|
0170a765 | 19-Oct-2021 |
Brandon Kim <brandonkim@google.com> |
Cpu: Update Step and Microcode type to uint
Looking at the Redfish Resource and Schema guide: https://www.dmtf.org/sites/default/files/standards/documents/DSP2046_2021.2.pdf
Section 6.86.6 at page
Cpu: Update Step and Microcode type to uint
Looking at the Redfish Resource and Schema guide: https://www.dmtf.org/sites/default/files/standards/documents/DSP2046_2021.2.pdf
Section 6.86.6 at page 668, we see:
``` "Manufacturer": "Intel(R) Corporation", "Model": "Multi-Core Intel(R) Xeon(R) processor 7xxx Series", "ProcessorId": { "VendorId": "GenuineIntel", "IdentificationRegisters": "0x34AC34DC8901274A", "EffectiveFamily": "0x42", "EffectiveModel": "0x61", "Step": "0x1", "MicrocodeInfo": "0x429943" }, ```
We see that Step and Microcode information should be represented in hex. To ensure this, we should pass in uint and let the external interface do the conversion to hex string.
Following Intel specs, Stepping seems to be 1 byte, and Microcode 4. https://en.wikipedia.org/wiki/CPUID#EAX=1:_Processor_Info_and_Feature_Bits
Signed-off-by: Brandon Kim <brandonkim@google.com> Change-Id: Ifb2baf2c04da7bad08e2b1b01bb6db7acebc4e36
show more ...
|