summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project
Commit message (Collapse)AuthorAgeFilesLines
...
* Inventory: Restrict to a single managerBrad Bishop2017-01-241-1/+1
| | | | | | | | | The Manager interface implies multiple managers are allowed but they are not. It is not possible to implement the same interface on the same path twice. Change-Id: I50cc155c8e1d550128e4c67a96501cc15b9d05d9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Define openbmc error for an IPMI sensor calloutDeepak Kodihalli2017-01-192-0/+7
| | | | | | | An IPMI callout is identified by the sensor number. Change-Id: Ibc9f9ca7b0421f82b769aa2476b21c851275a756 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Define openbmc error for a GPIO calloutDeepak Kodihalli2017-01-192-0/+9
| | | | | | | | xyz.openbmc_project.Error.Callout.GPIO inherits xyz.openbmc_project.Error.Callout.Device Change-Id: I2c025ef5a619a844cf026cedfc85a28e40ed5be5 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Define openbmc error for an IIC calloutDeepak Kodihalli2017-01-192-0/+11
| | | | | | | | | | | | | Introduce the concept of error inheritance. This error inherits xyz.openbmc_project.Error.Callout.Device. This means Callout.IIC inherits Callout.Device's metadata. The Callout errors are primarily meant to be inherited by application errors, when a Callout is required. In other words, one would typically not create a Callout error by itself. Change-Id: Ie1c83f0c4bce713251ca3a8d3d5ef0960f81b9a6 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Define openbmc errors for generic device calloutsDeepak Kodihalli2017-01-195-0/+75
| | | | | | | | | | | | | | A Callout serves to blame a specific entity of which the system is comprised of, such as hardware or firmware, for unexpected behavior. Such an entity may need repair or replacement. This change defines errors Callout.Device, for cases when a device needs to be called out in terms of the device path, and Callout.Inventory, for cases when an inventory object needs to be called out. Change-Id: Id54c76f38394cc47b60f6075487ab5e36304f197 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add High/Low alarm properties to sensor thresholdsBrad Bishop2017-01-052-10/+26
| | | | | | | Eliminate the need to discover which threshold has been exceeded. Change-Id: Ib3f85789287e227e6601a6ae1e276fd9e6ccf44d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Sensors: Add additional namespacesBrad Bishop2017-01-053-0/+23
| | | | | | | Add the current, power and energy namespaces. Change-Id: I0c8d54e8b0910534dab77faedb25ae9cd1339102 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add dbus interface for watchdogYi Li2017-01-041-0/+25
| | | | | | | | | Add a generic interface for watchdog, for system state monitoring. Partially resolves: openbmc/openbmc#767 Change-Id: I7f04fe9e8a35669612501b05a1a06e03e9928194 Signed-off-by: Yi Li <adamliyi@msn.com>
* Defined properties in the bmc state managementJosh King2017-01-041-0/+40
| | | | | | | | | | | | Created the yaml file that contained the necessary properties needed for bmc state management. This is needed so we can have access to the different states of the bmc for whenever we decide to transition to a desired state, or would like to reboot, etc. Change-Id: Ife02f7b324262eccb990d29ed872cf4137857e14 Signed-off-by: Josh King <jdking@us.ibm.com>
* Initial definition of host state management propertiesAndrew Geissler2016-12-193-0/+150
| | | | | Change-Id: I5047fce6ebd921547b5a6017cd909b2c97e10d96 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add Frequency to Physical LED interfaceVishwanatha Subbanna2016-12-191-0/+6
| | | | | | | | | | LED blink operation is governed by the frequency and the duty cycle. A frequency of 1hz was assumed until now and this changes makes it user configurable. If the value is exceeding the capability of the controller, driver will assume a default value of 1hz. Change-Id: I082b0ba3742184c0279bae41d3a5acb4b11379c0 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* ObjectMapper: change parameters for sdbusplusPatrick Williams2016-12-091-14/+14
| | | | | Change-Id: Ib0b89990b9d2ea54e26e88fbe0eee1f8dc37ec8e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Inventory.Manager: change parameters for sdbusplusPatrick Williams2016-12-091-2/+2
| | | | | Change-Id: Ibfe7cfa5cd0be4ec5a7365e2369adcfaca2bc17a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add Logging Entry interfaceAdriana Kobylak2016-12-041-0/+55
| | | | | Change-Id: I365fdc16b31be91cfa6992df244d77f14979980b Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Led.Physical: Wrap yaml reserved words within single quoteVishwanatha Subbanna2016-11-301-4/+4
| | | | | | | | | This interface definition file has ENUM with values Off and On. This resulted in generated code creating the ENUM with values False and True instead of Off and On. This is specific to pyyaml parser. Change-Id: Id824ca1d594c533593264a6dd1121d698e0787dd Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Association: use proper sdbusplus typePatrick Williams2016-11-231-1/+1
| | | | | Change-Id: I1b61b82e60ff3e8eed518cfe0776a62ecbc1c95e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add Interface definition yaml file for physical LED managerVishwanatha Subbanna2016-11-221-0/+56
| | | | | | | | | | | This adds the interface definition file for LED manager daemon that deals with physical LEDs. It has a property named 'State' which can be written onto for getting the desired operation triggered on the real LED. For example, to turn on the LED, write 'ON' to property 'State' Change-Id: Iee641ab1d4f890f255f1d73e807a57b30d488d16 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add initial sensor interfacesBrad Bishop2016-11-213-0/+115
| | | | | | | | | xyz.openbmc_project.Sensor.Value xyz.openbmc_project.Sensor.Threshold.Warning xyz.openbmc_project.Sensor.Threshold.Critical Change-Id: Ib3e993d0b2e87387993d7b6c1c8b1a47e71b5af1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add Interface definition yaml file for LED ManagerVishwanatha Subbanna2016-11-211-0/+8
| | | | | | | | | | | This adds the interface definition file for LED manager daemon that deals with LED groups. Currently, this daemon wants only a dbus property which can be altered by the user to assert/de-assert the group Fixes openbmc/openbmc#736 Change-Id: Ib554d7dfd8d6addf7064eeeadaa25e91d32aaf5a Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Miscellaneous updates to inventory interfacesDeepak Kodihalli2016-11-1813-9/+56
| | | | | | | | | | | | | - Placed interfaces corresponding to physical items under Inventory/Item/ and interfaces which serve as item decorators under Inventory/Decorator/. - Add some new dbus interfaces. - Restructured Board item related interfaces such that there's a parent Board interface, and derivatives such as Motherboard, IO board, etc. - Added new properties to existing interfaces. Change-Id: I52b7c1a789df6745d1786d927fab06db40524448 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add dbus interfaces to control the system timeDeepak Kodihalli2016-11-181-0/+10
| | | | | | | | Add an EpochTime interface to get/set time elapsed since the Epoch (1 Jan 1970 00:00:00 UTC). Change-Id: I60106b9d890489efc12586a41d6f686448c60c98 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Merge "Mapper: add interface filter argument"Patrick Williams2016-11-181-0/+16
|\
| * Mapper: add interface filter argumentBrad Bishop2016-11-011-0/+16
| | | | | | | | | | | | | | Add an interface constraining argument to all query methods. Change-Id: Ic7f3fe3929be1c494383ccb40465c139ddf6f47b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* | Merge "Add xyz.openbmc_project.Association"Patrick Williams2016-11-141-0/+15
|\ \
| * | Add xyz.openbmc_project.AssociationBrad Bishop2016-11-011-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | Add an interface for representing associations between DBus objects. Change-Id: Ic1fd2770ccc2484e87c74982d0e0b987a0c91759 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* | | Merge "Document existing ObjectMapper interface"Patrick Williams2016-11-141-0/+75
|\ \ \ | | |/ | |/|
| * | Document existing ObjectMapper interfaceBrad Bishop2016-11-011-0/+75
| |/ | | | | | | | | | | | | With one caveat - moved to xyz namespace. Change-Id: I14bdd1d0bdae8879cdbf976184e1aa462a254281 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* | Document existing Object.Delete interfaceBrad Bishop2016-11-101-0/+8
|/ | | | | | | | This interfaces is mainly used by a REST implementation to handle HTTP DELETE requests. Change-Id: I7c1d00f05f5bd064a0294a7006f1bd7974a57aff Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add inventory interfaces for OpenBMCBrad Bishop2016-10-1311-0/+103
A first pass at a machine parseable DBus specification for the inventory features of OpenBMC. Change-Id: Ia061ab2d5c2ea9d06cd991940303250cef48ab66 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud