summaryrefslogtreecommitdiffstats
path: root/xyz
Commit message (Collapse)AuthorAgeFilesLines
...
* Control: Make PowerSupplyRedundancy const (read-only)Adriana Kobylak2018-08-311-0/+2
| | | | | | | | | | | | 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>
* Add errors to Network/Client interfaceDeepak Kodihalli2018-08-311-0/+5
| | | | | | | | 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>
* Upgrade D-Bus API about Buttons from “/org/openbmc” toKuiying Wang2018-08-085-0/+109
| | | | | | | | | | | | | | | | | | “/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>
* Interface support for security configurationRichard Marian Thomaiyar2018-08-064-3/+57
| | | | | | | | | | 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>
* Remove InternalFailure error from LastRebootTimeMatt Spinler2018-08-061-2/+0
| | | | | | | That error will never be returned. Change-Id: I7cebfbb3c703216592f16dbdfeba0a982c9f8a6a Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Create Network.Client interfaceRatan Gupta2018-07-271-0/+14
| | | | | | | | | | | | | | 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>
* Add LastStateChangeTime property to State.ChassisMatt Spinler2018-07-251-0/+8
| | | | | | | | | | | 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>
* Add LastRebootTime property to BMC stateMatt Spinler2018-07-121-0/+8
| | | | | | | | 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>
* Add InvalidArgument error for Default GatewayGunnar Mills2018-06-261-0/+2
| | | | | | | sdbusplus now supports errors on properties. Change-Id: Ida480c5b161dcf2ab399c04904f34bee9f303a6c Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add InternalFailure error for MAC AddressGunnar Mills2018-06-261-0/+1
| | | | | | | | | | 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>
* Add InvalidArgument error for MAC AddressGunnar Mills2018-06-261-1/+2
| | | | | | | sdbusplus now supports errors on properties. Change-Id: Ia70bb6b9c52dc60ecf549e5b5209848a3cb0bfda Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Basic user manager D-Bus supportRichard Marian Thomaiyar2018-06-185-0/+179
| | | | | | | | | | | 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>
* EpochTime: Add errors for propertiesLei YU2018-06-071-0/+8
| | | | | | | | | | | 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>
* Create ObjectPath interfaceMatt Spinler2018-05-221-0/+12
| | | | | | | | | | | | 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>
* Add Control.Mode Interface for Manual ControlPatrick Venture2018-05-101-0/+19
| | | | | | | | 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 more information about Asset TagGunnar Mills2018-05-021-1/+2
| | | | | | | | | | 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>
* State.Watchdog: Add a ResetTimeRemaining methodWilliam A. Kennington III2018-04-231-0/+16
| | | | | | | | | | | 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>
* Add PowerOnHours interfaceNagaraju Goruganti2018-04-041-0/+8
| | | | | | | | | | 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>
* Add information about functional associationGunnar Mills2018-03-071-1/+2
| | | | | | | | | | | 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>
* Create State.Boot.Raw interfacePatrick Venture2018-03-061-0/+9
| | | | | | | | | 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>
* Add TurboAllowed interfaceJayanth Othayoth2018-03-011-0/+10
| | | | | | | | | | 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>
* Change metadata on Critical high/low sensor errorsMatt Spinler2018-02-271-2/+2
| | | | | | | | | | | | | | | | 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>
* Logging: Create the new event interface.Ratan Gupta2018-02-211-0/+32
| | | | | | | | | | | | | | | 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>
* Network: Add property:SendHostNameEnabled in DHCP ConfigurationNagaraju Goruganti2018-02-141-0/+5
| | | | | Change-Id: I54222ac9c6f1877b7786d4a3c35aaae526844ff8 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* Add MaxValue and MinValue interface to SensorsJames Feist2018-02-141-0/+8
| | | | | | | | | | 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>
* watchdog: Support setting an actionWilliam A. Kennington III2018-02-131-0/+23
| | | | | | | | | | | | | | | | | | 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>
* watchdog: Make it possible to track initialization stateWilliam A. Kennington III2018-02-131-0/+6
| | | | | | | | | | | | | | | | 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>
* Add PowerSupplyRedundancy interfaceGunnar Mills2018-02-061-0/+7
| | | | | | | | 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>
* Add Control.FanPwm interfacePatrick Venture2018-01-301-0/+16
| | | | | | | | | | | | | 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>
* Document host/chassis/bmc mapping (current and future)Stewart Smith2018-01-231-0/+32
| | | | | | | | | | | | 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>
* Add README for loggingMarri Devender Rao2018-01-221-0/+66
| | | | | | | Resolves openbmc/openbmc#2691 Change-Id: I95d76f39a66b3d88af050584fde2ff277881c76a Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Update LED Group README.mdJames Feist2017-12-131-0/+4
| | | | | | | | | 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>
* sensor.value: update property documentationPatrick Venture2017-11-171-1/+2
| | | | | | | | | 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>
* Clarify restore policy behaviorAndrew Geissler2017-11-061-5/+6
| | | | | | | | | | | 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>
* Create Fan Inventory Shutdown ErrorGunnar Mills2017-10-251-0/+2
| | | | | | | | To be used when we shutdown the system due to not enough present or functional fans. Change-Id: I3a30592cba767e8fbbcba4286df1c62940eaba9e Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Update boot progress interface with missing entry.Dhruvaraj Subhashchandran2017-10-181-0/+3
| | | | | | | | PCI Initialization is missing in the list of boot progress stages, adding that to the boot progress interface yaml Change-Id: I6fe563ac89a33b2fe06006bbe0ddf206d5d61de3 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Add documentation for common device errorVishwanatha Subbanna2017-10-111-0/+12
| | | | | | | | | | | Prior commit added xyz.openbmc_project.Common.Device.ReadFailure and xyz.openbmc_project.Common.Device.WriteFailure but did not have enough documentation. This commit adds documentation on how to interpret that error Change-Id: I627b44ba7d4e3d0adc9f2b7362afbe470d8467bc Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Network: Add NTP server in ethernet interfaceRatan Gupta2017-10-111-0/+7
| | | | | Change-Id: I9adc3ae2d0e2a8b89b8d7f00c7f558f329680298 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Spelling fix on interface s/mili/milli/Patrick Venture2017-10-091-2/+2
| | | | | Change-Id: I0e67d6b6a476ac6212d53fbdfd7efc3e9c06f7ab Signed-off-by: Patrick Venture <venture@google.com>
* Add Read and Write failures to common device error yamlVishwanatha Subbanna2017-10-032-0/+14
| | | | | | | | | This commit creates Common device error yaml defining Read and Write failures, that can be used by any application getting any read / write failures doing device operation Change-Id: I75c07ae2a2f8622065cb8522af534a71487bced9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add README for FactoryReset interfaceMichael Tritz2017-10-021-0/+23
| | | | | | | | | | | | This commit adds a README explanation of the FactoryReset interface, both in generic terms and a brief description of each of the current implementations. This is intended to clarify what does and doesn't occur when each factory reset implementation is called. Resolves openbmc/openbmc#2229 Change-Id: Ic5072346dbe9bb87af05192de19ed17be2bb1482 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* Add InternalFailure error to definition for factory reset interfaceMichael Tritz2017-09-251-0/+2
| | | | | | | | | | | | In the event that one of the factory reset functions fails, we need to create an error indicating that to the error log. This commit extends the factory reset interface with the InternalFailure error for that purpose. Resolves openbmc/openbmc#1721 Change-Id: Ieefa0330d78aa8e6b7d344e4d6b8b067fdb8a7c8 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* Add Power Fault shutdown errorMatt Spinler2017-09-181-0/+2
| | | | | | | | | This error will be used on Witherspoon when the power sequencer chip detects a power fault, which requires a power off to be done. Change-Id: Ia5f99c67c4e9436ca86f9d94d08644fcac012824 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Create GPU shutdown errorMatt Spinler2017-09-181-0/+3
| | | | | | | | | | | Will be used on Witherspoon when the GPUs report an overtemp to the power sequencer chip. The failing GPU will be called out in a separate overtemp error log, and then this shutdown error will be created when code powers off the system to protect the chip. Change-Id: I55b836f469f0fc035386130a16b433a5eba96a8b Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Create Processor ThermalEvent Shutdown ErrorGunnar Mills2017-09-151-0/+2
| | | | | | | | Created Processor ThermalEvent Shutdown Error. To used as part of openbmc/openbmc#2190. Change-Id: I2441a4eb69df36a1dbf623579c5e3bf5c6a818ae Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Add interface yaml file for user password update featureVishwanatha Subbanna2017-09-123-0/+31
| | | | | Change-Id: I9b23ebcae15e1feee0eb32c42b184c8a429e0977 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add Collection interface.Nagaraju Goruganti2017-09-081-0/+6
| | | | | | | The interface has a single method now called 'DeleteAll'. Change-Id: Ifd4d4046f614dfbe622adb5820bceae2847bdec8 Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* inventory: add type-only interfacesMarri Devender Rao2017-09-083-0/+12
| | | | | | | | Add type-only interfaces for ethernet card, chassis and system/enclosure. Change-Id: I347b34790dfc1b0d09c7c6dba9a6950b62d433c0 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Add interface to enable an objectDeepak Kodihalli2017-09-081-0/+22
| | | | | | | | | | | | | | | The interface consists of a boolean property called 'Enabled'. Setting that to true or false helps determine whether an object implementing this interface is usable or not. This will help users to select an object from a collection of similar objects. For instance, given these objects : setting/permanent/boot and setting/one-time/boot, one or both of these objects could implement the Enable interface to allow a user to state how the boot setting should be applied - the next boot versus all subsequent boots. Change-Id: I35df5384d459ba7d6cd9afab630f145b5a5c9948 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Update Software interface READMEGunnar Mills2017-09-061-10/+11
| | | | | Change-Id: I93764fc9c8e6f05d41ece7a6605452bbbac11c3b Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
OpenPOWER on IntegriCloud