configs: Add Compatible iface to IBM systems
Add the xyz.openbmc_project.Inventory.Decorator.Compatible interface to
the IBM chassis configs to identify the various chassis models.
This acts the same as the IBMCompatibleSystem interface that is
currently used and will eventually replace it. For now it will exist
along side it until all of the code switches over to use it, and then
IBMCompatibleSystem will be removed.
Tested:
```
busctl get-property xyz.openbmc_project.EntityManager \
/xyz/openbmc_project/inventory/system/chassis/Rainier_2U_Chassis \
xyz.openbmc_project.Inventory.Decorator.Compatible Names
as 2 "com.ibm.Hardware.Chassis.Model.Rainier2U" "com.ibm.Hardware.Chassis.Model.Rainier"
```
Change-Id: Iac9b45f57e53c4ed1917c5fc10091b2ccf981d58
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/configurations/rainier_2u_chassis.json b/configurations/rainier_2u_chassis.json
index e3d20de..89994af 100644
--- a/configurations/rainier_2u_chassis.json
+++ b/configurations/rainier_2u_chassis.json
@@ -25,5 +25,11 @@
"OR",
"com.ibm.ipzvpd.VSBP({'IM': [80, 0, 16, 3]})"
],
- "Type": "Chassis"
+ "Type": "Chassis",
+ "xyz.openbmc_project.Inventory.Decorator.Compatible": {
+ "Names": [
+ "com.ibm.Hardware.Chassis.Model.Rainier2U",
+ "com.ibm.Hardware.Chassis.Model.Rainier"
+ ]
+ }
}