schemas: Add interfaces for Item.Accelerator and Item.Dimm
This commit add the interfaces as described in [1] and [2].
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Accelerator.interface.yaml
[2] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Dimm.interface.yaml
Tested:
Interfaces are added with the corresponding properties under
the related path.
Change-Id: Id4db6ebd599e94ec23f9c5db96fa3e9143619299
Signed-off-by: Sean He <sean.he.wiwynn@gmail.com>
diff --git a/schemas/openbmc-dbus.json b/schemas/openbmc-dbus.json
index 528d2b2..ace8cfa 100644
--- a/schemas/openbmc-dbus.json
+++ b/schemas/openbmc-dbus.json
@@ -150,6 +150,20 @@
"Storage": {
"additionalProperties": false,
"type": "object"
+ },
+ "Accelerator": {
+ "additionalProperties": false,
+ "properties": {
+ "Type": {
+ "type": "string"
+ }
+ },
+ "required": ["Type"],
+ "type": "object"
+ },
+ "Dimm": {
+ "additionalProperties": false,
+ "type": "object"
}
}
},