summaryrefslogtreecommitdiffstats
path: root/example/net/poettering
Commit message (Collapse)AuthorAgeFilesLines
* property: Add support for const (read-only) valuesAdriana Kobylak2018-08-211-0/+2
| | | | | | | | | | | | | | | | | There is already support for setting a property as const (see vtable.hpp and corresponding test cases). Implement this in the generated code by adding support for a new yaml flag. Closes openbmc/openbmc#2028 Tested: Added the const flag to the Software Priority property, and changing the value via REST and busctl would fail with "org.freedesktop.DBus.Error.PropertyReadOnly", but the code update app was able to set its value. Change-Id: I8534753233080366503fd4f1a0c224c2946e8764 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* property: Add errors supportAdriana Kobylak2018-06-122-0/+9
| | | | | | | | | | | | | Add errors support for properties. Closes openbmc/openbmc#1641 Tested: Verified that when an interface threw a defined property error, the generated code caught it and returned an error to the REST call. Change-Id: I8cb8c77995026f12e373291822e4e0a623a84d81 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Spelling fixesGunnar Mills2018-04-081-1/+1
| | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Change-Id: I6dcf76a74487d04d4568d55d08d1b07f627e5e74 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* example: move schema to top-level dirPatrick Williams2017-07-032-0/+80
Change-Id: Icb6a6ca266181e9b401eec64dbbada8b7e334229 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
OpenPOWER on IntegriCloud