| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
The Config interface and Create interface can throw a
"NoCACertificate" error.
For example: If LDAP server's CA certificate not provided and
someone tries to enable secure LDAP, this error should be thrown.
Change-Id: Ie773245fb7c6b36f25cd1acca2bfc3b0391dfeac
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add object to describe whether a group of fans is
in a redundant state. BMCs typically monitor fan
states and allow a certain number of fans to be
in an error condition before taking action. This
object can be monitored to determine when to take
actions such as boosting fans.
Tested-by: Ran CI
Change-Id: Id91bfdfcb7e49b933a0d6f16c63fd806e009d62f
Signed-off-by: James Feist <james.feist@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
| |
Added Custom Field from Fru spec in inventory for Vendor information.
Tested: Build Facebook TiogaPass board and load on the
target hardware. Ensure that Fru information are updated in inventory.
Change-Id: I88ce315579a7e2c5c83c991b0d3e22193335dd24
Signed-off-by: Vijay Khemka <vijaykhemka@fb.com>
|
|
|
|
|
|
|
|
| |
Added example commands including VLAN and config properties.
Change-Id: I7055b7bf0dc68fe880e1a27599ce192e7a7b64b8
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding an interface for the IPMI SEL Logger which provides methods
for IPMI Sensor D-Bus objects to add System and OEM SEL events
to the journal.
Related discussion at
https://lists.ozlabs.org/pipermail/openbmc/2018-September/013129.html
Change-Id: Idd15d92b95fcd4350d4d8ca15b34d864b0c2c507
Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new error for when a system component does not meet the
version requirements as determined by the implementation.
Collect the following metadata:
- MIN_VERSION: The minimum version level as defined by the implementation.
- ACTUAL_VERSION: The version running on the system component.
- VERSION_PURPOSE: The Version Purpose as described in
https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/xyz/openbmc_project/Software/Version.interface.yaml
or some other descriptive text.
Change-Id: I3e39bfa0735173aee7f3c2177ae24afa619efd69
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
| |
The config interface can throw an InternalFailure or
InvalidArgument errors.
Change-Id: Ida1a690e3b3137e621b27b788cfde28b7f31da5f
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Added new interface(ChannelAccess) for holding channel
access information(privilege). This is used to set & get
channel level authorization.
Change-Id: Ib927d5658c0601df0da0969572fa28733a825b93
Signed-off-by: AppaRao Puli <apparao.puli@intel.com>
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add ACPI system/device power states interface to support
IPMI get/set ACPI state commands.
It is different from existed dbus interface 'PowerState'.
Based on the IPMI spec, this is an independent setting that may not
necessarily match the actual power state of the system.
system power state enumeration:
S0/G0 0x00
S1 0x01
S2 0x02
S3 0x03
S4 0x04
S5/G2 0x05
S4/S5 0x06
G3 0x07
Sleeping 0x08
G1 sleeping 0x09
Override 0x0A
Legacy on 0x20
Unknown 0x2A
Device power state enumeration:
D0 0x00
D1 0x01
D2 0x02
D3 0x03
Unknown 0x2A
Change-Id: I39b393b67dc79ebb90054fcbe408e61e6b76fe36
Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
|
|
|
|
|
|
|
| |
The Delete interface can throw an InternalFailure error.
Change-Id: I36c42b97d862cf534d34c6f24a14388f7304940f
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The object path for the privilege mapper cannot have LDAP group name
in the path name. The D-Bus object path should only contain the ASCII
characters [A-Z][a-z][0-9]_. According to RFC 2253, the LDAP group name
can have additional special characters. A unique identifier is added to
the D-Bus object path and the group name is a property of the privilege
mapper.
Change-Id: If1c511bee7a492887eb45e7ce00fdfc55e98c073
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
This interface will be implemented to assign privilege roles to
groups. The privilege roles will be assigned to groups
and the user accounts which are part of the group will inherit
the privilege role.
Change-Id: I2326de5f7f3e6e92c2a0d7648a5677b33a0b1db0
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
An Interface to install the certificate provided by the user
and activate the services associated to the certificate.
README file provides the design details of uploading signed
certificate and private key and activating the new certificate.
Change-Id: Ib4e1ae2f957cce71698c2265bb733a04478b0abf
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
It defines interfaces to create and to update LDAP config file.
It defines two interfaces - one is to create a config file and
the another one is to allow updates to happen to individual
properties.
Change-Id: I2f8182ad6d6d6945650d6ff0865c40106973fdec
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Create a PowerSupply interface to host characteristics for an
individual power supply and add the Derating Factor as a property.
The derating factor is intended as a read-only value.
Tested: Compiled the changes and verified the generated code.
Change-Id: I5f8cdc19239a9a17b0a4ad8383c679b530f1a6b5
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Depends on the time config setting, setting property of EpochTime
interface may fail, e.g. not allowed, or systemd prevents the time
setting.
It was using InsufficientPermission to indicate not allowed error, but
it is not ideal.
Use proper errors, e.g. NotAllowed for this interface, so it reports
error correctly.
Note that phosphor-logging now supports inherits of errors without meta.
So NotAllowed is defined in Common without meta, and inherited in
Time with extra meta.
Change-Id: I3e660905d6bcb94680303a030eb7b1402e2f0075
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This property is a policy that dictates how the system would behave
if a power supply goes missing, and it's not intended to be modified
by the user. Set it to read-only.
Tested: Attempting to change the value via REST fails with
"org.freedesktop.DBus.Error.PropertyReadOnly".
Change-Id: I423a49bbf30eb150e38c8da52b913c3097384897
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Setting properties in this interface could fail to due to invalid
arguments, or internal errors.
Change-Id: Id734f47e68495b42440dfdb0246b83e95045a037
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
“/xyz/openbmc_project”
According to the DEPRECATED API doc, the “/org/openbmc” API is
deprecated in the future.
Please refer:
https://github.com/openbmc/docs/blob/master/deprecated/dbus-interfaces.md
xyz.openbmc_project.Chassis.Buttons exposes the operation methods of the
buttons on the front panal like Power/Reset/ID, and the signals like
pressed/released to dbus, so that other modules could monitor/control
these buttons remotely like WebUI.
Change-Id: Iaf8990d19633d2df2beeb4b2c22f30f1abad6a45
Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
|
|
|
|
|
|
|
|
|
|
| |
Configuration support for password and security
enforcement for user account under AccountPolicy
interface (which will manage global policies
related to accounts).
Change-Id: Icdea6d83654f9449088a6319f453788cb25ecfc2
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
|
|
|
|
|
|
|
| |
That error will never be returned.
Change-Id: I7cebfbb3c703216592f16dbdfeba0a982c9f8a6a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Provide an interface for configuring the network client/endpoint.
D-Bus object which wants to keep the network endpoint info
can extend this interface.
e.g: Network endpoint could be SNMP mangers or LDAP servers etc.
Resolves openbmc/openbmc#3004
Change-Id: Ieedfc6e1d02fc7321b050cc3f27e206d60ac6fb9
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This holds the timestamp of when the chassis power
state last changed.
This will be used by the web UI to show the user when
their system was last powered on or off.
Change-Id: I801cd40e2e7d8ee18ede132be59f0776f5fc9d1f
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
It contains the epoch time of the last BMC reboot
as determined by its uptime.
Change-Id: I2e80734db8443c9e3d49b3cf6dd336ee5d9937be
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
| |
sdbusplus now supports errors on properties.
Change-Id: Ida480c5b161dcf2ab399c04904f34bee9f303a6c
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
Using the InternalFailure error here:
https://github.com/openbmc/phosphor-networkd/blob/057ff0daf0fd4d2617c5e50e2f9a095e06e3c24b/ethernet_interface.cpp#L710
sdbusplus now supports errors on properties.
Change-Id: I8dc9d8df5203ceca1ef33edf9a9a96eb1fa0691e
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
| |
sdbusplus now supports errors on properties.
Change-Id: Ia70bb6b9c52dc60ecf549e5b5209848a3cb0bfda
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Basic User Manager D-Bus interfaces along
with signal to indicate other services.
Note: Removal of password.interfaces.yaml will be
done in separate commit
Change-Id: Ia547a0deae53eb25adf2cbc04c9d7a3593265a19
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
sdbusplus now supports errors on properties, so define the errors for
setting the Elapsed property.
The implementation depends on this to throw exceptions when error
occurs.
Change-Id: I2b22da8b038389b00288036aaa5601630583aaaa
Signed-off-by: Lei YU <mine260309@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The xyz.openbmc_project.Common.ObjectPath interface
contains a single property that holds an object path.
This can be used when an object wants to show information
about another D-Bus object and using an association is
not possible.
Change-Id: I3eb45ef6c7e27c889db139e2d8178be9e4461704
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
| |
Each object can be independently managed by the host through this
state/settings interface.
Change-Id: I5c9a910f559b4144f9f65fa5a1fab8576c757d1b
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
|
|
| |
Added a more descriptive definition of "Asset Tag".
Took from http://ipmiutil.sourceforge.net/man.htm.
This change lets the user know the asset tag should be unique.
This should not change how "Asset Tag" is used.
Change-Id: Ie41cfe1e161a57ad7d08b0b1276676116b3504df
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
It's common for services to want to pet the watchdog by reading the
interval, writing it to the TimeRemaining field, and possibly enabling
the watchdog. This patch adds a convenience method to acomplish this in
a single dbus call. A single call also reduces the completion time of
reset requests and the load incurred by performing multiple dbus calls.
Change-Id: I847e821a4ea10e49c6b6703a48a346bbab6fd44c
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
|
|
|
|
|
|
|
|
| |
PowerOnHours interface to tell how many hours the system has been
powered-on.
Partially Resolves openbmc/openbmc#2979
Change-Id: I61b149e38717a389f57c2d881ced7faf823d25a7
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Added a line about the functional association. There is much
more about the functional association at
github.com/openbmc/docs/blob/master/code-update/ubi-code-update.md#associations
but thought it was good to add a line in the Software interface
README.
Change-Id: Ibf172d15ead248bff679eb45886a0ee182612a55
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Provide an interface for broadcasting POST codes on the dbus. This
allows one consumer on the device while allowing anyone listening to
receive the data and perform an action.
Change-Id: I3c7bf6afb77be7ce49198e394547ddf8d9153de6
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
|
|
| |
TurboAllowed interface is used to tell host that it is allowed
to turn on turbo mode.
Turbo mode is a setting to enable processor frequency boosting.
Change-Id: I85fe32de9777580d9feaab5ae22e6db6a2e691ff
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Feedback from the field shows it would be useful to
have information about the sensors that are too high
or low in the metadata rather than the type.
This is a free format metadata string field so that
the code that creates this error can put in whatever
metadata it thinks is necessary, ideally including
information about the sensor(s) in question.
Tested: Built repository
Change-Id: I6f790a314d132bfbdc45c90a13f9c3831163c2f1
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This interface should be instantiated for the phosphor::events
namespace.
Currently Event interface and Entry Interface has common
properties but the plan is to split the Entry interface into
Event and Entry specific properties.
Will do it later with github issue
https://github.com/openbmc/openbmc/issues/2923
Change-Id: Ic84ea85d20126473e2723e4868c685f0a9d298e0
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
|
|
|
|
|
| |
Change-Id: I54222ac9c6f1877b7786d4a3c35aaae526844ff8
Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
| |
To be able to correctly tell an error has occurred, as
well as to be able to dynamically create sensor scaling
factors the MaxValue and MinValue interface need to be added.
This commit adds these to the interface.
Change-Id: I8f0abfa3446350329c38210beb540faddc0a65a0
Signed-off-by: James Feist <james.feist@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The IPMI spec defines actions which can be set at runtime that define
what action the watchdog will take when it expires. With this change our
watchdog daemon can be dynamically reconfigured to execute a target that
maps to the defined action.
The current list of actions maps directly from the IPMI spec. We don't
require that the list strictly adheres to the list in the spec, but this
is a good starting point since they are generic host actions. A commit
to phosphor-watchog will accompany this change in order to respect the
actions defined in this interface. This change defaults the action to
HardReset, which will ensure the behavior is consistent with previous
behavior regardless of updating the phosphor-host-ipmid.
Change-Id: I7b293394326652b292b4bd23950a7f947ece8306
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding an initialization value to the dbus api allows the host ipmi
daemon or any other user of the host watchdog api to determine if they
have already initialized the host watchdog without keeping any of their
own state. This is useful for being able to report a not initialized error
to the host system when it makes a watchdog reset call. Since this value
is defined by default as false, whenever the watchdog daemon restarts
and loses state the host will be able to see that it has not yet been
initialized. The host can then reinitialize the watchdog if implemented
according to the spec. As this value is inteded purely for state tracking
on the client side, the server does not need to modify or even read this value.
Change-Id: I224995fdb09fcf21ba729dbd88e41a31e82eacad
Signed-off-by: William A. Kennington III <wak@google.com>
|
|
|
|
|
|
|
|
| |
Added the PowerSupplyRedundancy interface to be used to set the
redundancy of the power supplies.
Change-Id: I5394975963b79ae74ed7a6caf7a5bf48879f34ba
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The following reference indicates that pwm[n], when available
are consistently implemented. Therefore, it's a valid approach.
https://www.kernel.org/doc/Documentation/hwmon/sysfs-interface
I'd like to use this interface with phosphor-hwmon to control our
fans in a similar fashion to RPM-driven control via a target.
Change-Id: Ic1d9363d616e650ba7d5162f424700d6768cdf1f
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
I believe this is the only possible way we can realistically
provide forwards and backwards API compatibility.
We have existing API users, and we can't go and rewrite the world,
so we need to extend the API in a way that enables them to continue
working.
Change-Id: I741485adf98126919b2a521d8bfbd235b13750ae
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
|
|
|
|
|
|
|
| |
Resolves openbmc/openbmc#2691
Change-Id: I95d76f39a66b3d88af050584fde2ff277881c76a
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
|
|
|
|
|
|
|
|
|
| |
Add assertion made in https://gerrit.openbmc-project.xyz/#/c/8086/
- enclosure_identify has the special property that it is routed
from the ipmi command chassis identify.
Change-Id: Ic9a5d46b9ff2235f8a197e4ca4e4797d1bf72ce8
Signed-off-by: James Feist <james.feist@linux.intel.com>
|
|
|
|
|
|
|
|
|
| |
The Scale and Unit fields are immutable, they can't change
for a sensor. This is to enable pre-configuring the Scale or
Unit in the phosphor-host-ipmid YAML.
Change-Id: I36d0567a04687146defc70d2e4dcd3444653f4fe
Signed-off-by: Patrick Venture <venture@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
It's the choice of the implementer on whether to apply the
policy on just a power loss or on a power loss and a BMC
reboot
Partially Resolves openbmc/openbmc#2454
Change-Id: Ia52a92a23d8e66f667a2c7d6ca163ae78915232f
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
|