Add inventory interfaces for OpenBMC
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>
diff --git a/xyz/openbmc_project/Inventory/Item.interface.yaml b/xyz/openbmc_project/Inventory/Item.interface.yaml
new file mode 100644
index 0000000..dfae631
--- /dev/null
+++ b/xyz/openbmc_project/Inventory/Item.interface.yaml
@@ -0,0 +1,14 @@
+description: >
+ Implement to provide basic item attributes. Required by all objects
+ within the inventory namespace.
+properties:
+ - name: PrettyName
+ type: s
+ description: >
+ The human readable name of the item.
+ - name: Present
+ type: b
+ description: >
+ Whether or not the item is present.
+
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4