summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project
Commit message (Collapse)AuthorAgeFilesLines
* D-Bus interfaces for describing State.Dhruvaraj Subhashchandran2017-06-083-0/+71
| | | | | Change-Id: Ic52faba7a24bcf58f3326b1587282ca8398e9a70 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Update reboot request to match with agreed designAndrew Geissler2017-06-051-1/+1
| | | | | | | | A/C will not be preserved on host reboot requests, there's no need to include that detail in the interface anyway Change-Id: If3d33cea8c492191f0dfd58bfcfd99bfe9f9baee Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Watchdog: Update Interface yaml file to remove signalVishwanatha Subbanna2017-06-031-4/+0
| | | | | | | | | | Initial thought behind watchdog implementation was that when the timer expires, it would broadcast a signal. A better design was thought of in the meantime and that would call into a user requested target post timer expiration. Change-Id: Ibe148ed5cd0e8d72949324f64c87704a8e9e7236 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add interface to create BMC Dump.Jayanth Othayoth2017-06-035-0/+41
| | | | | Change-Id: I7cf363917f7d21664cd60433f23335b94f095147 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Update README.mdVictor Hu2017-06-021-25/+20
| | | | | | | | Formatted the headings of the Network README file and fixed the formatting that caused the eg. endpoints to not render correctly on the webpage. Change-Id: I32863a668b9bba03f4a95eb762ad7d7203b7a601 Signed-off-by: Victor Hu <whowutwut@gmail.com>
* Add d-bus interfaces for SettingsDeepak Kodihalli2017-05-258-0/+161
| | | | | | | Resolves openbmc/openbmc#1486. Change-Id: I377f40516a6a0317bb4b5d811704288048c83cc8 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Remove the IPProtocol interfaceRatan Gupta2017-05-151-15/+0
| | | | | | | | The protocol type has been added into the IP interface as a property. Change-Id: I4ba56a33332a73845d9fe3ae94546fd8275d61c4 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Network: Add protocol type property in IP InterfaceRatan Gupta2017-05-111-0/+11
| | | | | Change-Id: I5ffa64b0f538c6ebe02ce2017094c86407d1c0e5 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Dbus interface for "factory reset"Michael Tritz2017-05-111-0/+6
| | | | | | | | | | | This commit defines a dbus interface to factory reset a particular system. The defined interface will be implemented by each service (host, BMC, network). Resolves openbmc/openbmc#1573 Change-Id: I94e37fc2275f742c50f864a29094227da6144026 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
* Create interfaces for BMC Dump.Jayanth Othayoth2017-05-101-0/+15
| | | | | | | Resolves openbmc/openbmc#1377 Change-Id: I5596fa17b5e95783c8bb2c4763f7b23e3fc9a30b Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Network: define interface for tunnel parametersRatan Gupta2017-04-251-0/+82
| | | | | Change-Id: Ic44f54c0ea3a5c732c1d0045d50bd1c2238076e0 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Network: define interface for VLAN specific parametersRatan Gupta2017-04-251-0/+15
| | | | | Change-Id: I5b3bf1239c543aa8e16014df03699e2eb74bcc85 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Network: define the interface for IP protocolRatan Gupta2017-04-251-0/+15
| | | | | Change-Id: I3a2014fb8bbee4d221a3174698209ecf6cd30df9 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Network: define interface for network bonding parametersRatan Gupta2017-04-251-0/+85
| | | | | Change-Id: Ib94e7ab515834b2c73eccddc783ccea0c3026092 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Document overview and usage of the network d-bus interfacesRatan Gupta2017-04-251-0/+59
| | | | | | | Resolves openbmc/openbmc#1284 Change-Id: I0f57ea9d48485f8bc54e6f65795fd76507e4ea81 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Network: define interface for IP addressRatan Gupta2017-04-251-0/+42
| | | | | Change-Id: Id4d07d36f7471b30249977f0a53aa6d1680d04ce Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Network: define interface for system configurationRatan Gupta2017-04-251-0/+11
| | | | | | | | This interface would be used to implement the system specific network configuration parameter. Change-Id: I189de73da88a31785af22a6edbccb9bda6d50d06 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Network: define interface to represent an ethernet interfaceRatan Gupta2017-04-251-0/+36
| | | | | | | | This interface would be used to implement the ethernet interface specific configuration. Change-Id: Ib92e746e8de0881296df790fe82544839dce0bc7 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Common: add InternalFailure to error metadataGunnar Mills2017-04-211-0/+2
| | | | | | | | | elog-gen.py does not handle errors without a metadata file (see openbmc/openbmc#1469). To work around this, add InternalFailure to the metadata yaml. Signed-off-by: Gunnar Mills <gmills@us.ibm.com> Change-Id: I55caf2970ce37d0bba67ec48d137015de4838e1e
* Minor updates to doc for soft and hard power off termsAndrew Geissler2017-04-211-12/+12
| | | | | Change-Id: I7ef803d834b3d91a4ea5404e1977f56e91716a43 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* TFTP: removed > from error yaml fileGunnar Mills2017-04-201-6/+3
| | | | | | | | | | phosphor-logging currently generates invalid C++ code with multi-line descriptions. Work around this by eliminating them. See openbmc/openbmc#1481. Change-Id: I361f21394cfa506ef87677e6fc84fa742789eff6 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* TFTP errorsGunnar Mills2017-04-193-1/+17
| | | | | | | | | Created new errors, InternalFailure and InvalidArgument, in Common.errors.yaml. These errors are used in TFTP.interface.yaml. Change-Id: I2aa3e7bf57b2562945efdd9efba19b4551a7c0b1 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* LEDS: Add README fileVishwanatha Subbanna2017-04-171-0/+127
| | | | | Change-Id: Id159738eee3828483ba58b51068e09aad1b64822 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* TFTP InterfaceGunnar Mills2017-04-111-0/+15
| | | | | | | | | | Added a TFTP.interface.yaml To be used at /xyz/openbmc_project/software to download software images. Part of openbmc/openbmc#1331 Change-Id: I87905ffe45efc2d50c7f14b5649ecce2b00d566f Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* New YAML definition for CoolingType properties.Brandon Wyman2017-03-301-0/+13
| | | | | | | | | | | Add property AirCooled that will be set to true if cooled by air (fans). Add property WaterCooled that will be set to true if cooled by water. Change-Id: I816b41a7205ede1583718ae1ec8e27031ba392c8 Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
* Host control needs metadata error yamlAndrew Geissler2017-03-281-0/+2
| | | | | | | | | | Currently the phosphor-logging repo requires all error.yaml files have a corresponding metadata.yaml. A future change will remove this requirement but for now just provide the metadata file. Change-Id: I9a3cbfbca39d180f7ed62cff4edd15807ac69e75 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Host interface commandsAndrew Geissler2017-03-282-0/+57
| | | | | | | | At times the OpenBMC needs to interface with the host. These are the supported commands to send to the host. Change-Id: I376716336af7b8f3fdfd1a385d7ed5c4e6ba058b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Add Sensor interface device calloutMatthew Barth2017-03-272-0/+6
| | | | | | | | Callout the device associated to a Sensor interface when a read failure occurs Change-Id: If4953d4f1dc88a9a78ad9fab5c0fdd201b98ec91 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Add Control interface device calloutMatthew Barth2017-03-272-0/+6
| | | | | | | | Callout the device associated to a Control interface when a write failure occurs Change-Id: I8471dd99b63c6adf17b5654f2636917b308333d2 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Logging.Entry interface: add new propertyDeepak Kodihalli2017-03-271-0/+7
| | | | | | | | Add a boolean property called 'Resolved', which indicates whether the problem being reported by an error log has been resolved or not. Change-Id: I8a2e07c688ff31badbef6cf00e92116b568b6d71 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Move FilePath to Common dir and update Software READMEAdriana Kobylak2017-03-202-1/+3
| | | | | | | | | | | | The FilePath yaml was initially created under the base xyz/openbmc_project/ directory. There's now a Common subdirectory to hold all the common yaml files, so move it there. Also update the Software README to include the Common FilePath interface. Change-Id: Ibb18e198f68927c0629accc103f37055abd0f5d1 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Create Control.FanSpeed interfaceMatthew Barth2017-03-161-0/+18
| | | | | | | | The Control.FanSpeed interface contains the 'Target' property that is intended for setting the requested target RPM speed of a fan. Change-Id: Id6c1870cdad980886f8a5a551b1da0ad74dc7af9 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* error metadata: add missing 'meta:' keywordDeepak Kodihalli2017-03-161-0/+2
| | | | | Change-Id: I5dcf0e5677b2facf6f0bb85cd30742e8c15b0108 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Create YAML for common file operation failuresMatt Spinler2017-03-152-0/+20
| | | | | | | | Added File.errors.yaml and File.metadata.yaml for logging failures related to file operations. Change-Id: I0c934b35f0763ee8fc9722da7696705114d54437 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
* Add OperationalStatus interfaceTom Joseph2017-03-151-0/+8
| | | | | Change-Id: If596152cf7e2fbcfda52ea0c22334ca3c4e41fdc Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* callouts: set process metadata fieldDeepak Kodihalli2017-03-091-0/+1
| | | | | | | | | | Set the process metadata field for CALLOUT_DEVICE_PATH.This means a handler will have to be implemented for the metadata CALLOUT_DEVICE_PATH by the logging application, but that is only if there's a need to add CALLOUT_DEVICE_PATH to an error. Change-Id: I5680a8517faa2ff81d79a4b00d7afca4a989b09b Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* callouts: re-enable 'inherits' keywordDeepak Kodihalli2017-03-091-4/+4
| | | | | Change-Id: Ie2957326b81bc2569de1675b74e587bbf9aa3a52 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Move Callout/README.mdDeepak Kodihalli2017-03-091-0/+0
| | | | | | | Place under xyz/openbmc_project/Common/Callout/. Change-Id: I38161382d2e362b0849f0cc3ad58cc9ed463d4b7 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Move callout error definitionsDeepak Kodihalli2017-03-092-0/+0
| | | | | | | | Move callout error definitions from xyz/openbmc_project/Error/Callout to xyz/openbmc_project/Common. Change-Id: I29d1c63f8f82e867993a8f901a4e3b7b3812ce00 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Combine callout definitionsDeepak Kodihalli2017-03-0912-43/+46
| | | | | | | | | Instead of having a per callout class file, place all callout error definitions in Callout.errors.yaml, and all callout metadata definitions in Callout.metadata.yaml. Change-Id: I7d84de6b5335c4940c06824bca66bc4996aed4c9 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Add yaml file to indicate Host shutdown failure in SoftPowerOffVishwanatha Subbanna2017-03-062-0/+6
| | | | | Change-Id: I8a9bcd33649de283556221e5dfe64ab2d5dd964b Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add yaml file to define common errorsVishwanatha Subbanna2017-03-062-0/+6
| | | | | Change-Id: I4d61348545afd4458730733f23fa8913952191c4 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add quiesce to host stateSaqib Khan2017-02-182-1/+7
| | | | | | | | Updated Host.yaml and README file to include the host quiesce state Change-Id: I44fb8849ee5adf1209de1af4720fd95b848950ad Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Describe callout creationDeepak Kodihalli2017-02-141-0/+29
| | | | | | | | Add a section in README.md to describe how callouts are created from the callout metadata fetched from the journal. Change-Id: I27d89f66aa9318b855f6879ccb91efb8ba9e5fa8 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* Comment out inherits keywordBrad Bishop2017-02-134-4/+4
| | | | | | | | | This was mistakenly put in errors.yaml. Move to metadata.yaml. Comment out until phosphor-logging supports it. Change-Id: I27a01bf4ae68673e70dc4e3c2c2b1e9189fd8c88 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Logging: Entry: Add timestamp propertyAdriana Kobylak2017-02-091-0/+4
| | | | | | | | Add to each error event entry the time when it was committed in milliseconds since 1970. Change-Id: I702b0ca836f8c525b6cb09856ec26350e3ac9773 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* inventory: Pass multiple objects to notifyBrad Bishop2017-01-311-7/+2
| | | | | | | | Allow multiple objects to be passed to the notify interface in a single dbus method call. Change-Id: Iffe97ba9468692ab26b803841072fddfaf6d282a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* inventory: Add bool to allowed property typesBrad Bishop2017-01-311-1/+1
| | | | | | | Allow inventory interfaces to use booleans. Change-Id: Ic5a2d9e646c1db5e9c76711eb8b0bdaa5a86459d Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Software: Fix YAML typesPatrick Williams2017-01-252-2/+2
| | | | | Change-Id: I3fddcff3feaa14ccec59a4787da8cbb632f9c6b8 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Software: add initial software-version mgmtPatrick Williams2017-01-248-0/+302
| | | | | Change-Id: I3b50488b8383c595b4b41375ea0d62d62bdc0eed Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud