schemas: modify the property name of chassis types
Modify the property name so that it matches the one
defined in phosphor-dbus-interfaces.
[1] https://github.com/openbmc/phosphor-dbus-interfaces/blob/master/yaml/xyz/openbmc_project/Inventory/Item/Chassis.interface.yaml
Change-Id: I1dcef0b11bd3cb6bc0fab141da5e85722647289a
Signed-off-by: Sean He <sean.he.wiwynn@gmail.com>
diff --git a/configurations/yosemite4_chassis.json b/configurations/yosemite4_chassis.json
index fac938a..879f1d4 100644
--- a/configurations/yosemite4_chassis.json
+++ b/configurations/yosemite4_chassis.json
@@ -11,6 +11,6 @@
"SparePartNumber": "$PRODUCT_INFO_AM1"
},
"xyz.openbmc_project.Inventory.Item.Chassis": {
- "ChassisType": "RackMount"
+ "Type": "RackMount"
}
}
diff --git a/configurations/yosemite4_sentineldome_chassis.json b/configurations/yosemite4_sentineldome_chassis.json
index 7e9d228..a116d5f 100644
--- a/configurations/yosemite4_sentineldome_chassis.json
+++ b/configurations/yosemite4_sentineldome_chassis.json
@@ -17,6 +17,6 @@
"SlotNumber": "$bus % 15"
},
"xyz.openbmc_project.Inventory.Item.Chassis": {
- "ChassisType": "Blade"
+ "Type": "Blade"
}
}
diff --git a/schemas/openbmc-dbus.json b/schemas/openbmc-dbus.json
index bc9a988..12c974b 100644
--- a/schemas/openbmc-dbus.json
+++ b/schemas/openbmc-dbus.json
@@ -132,7 +132,7 @@
"Chassis": {
"additionalProperties": false,
"properties": {
- "ChassisType": {
+ "Type": {
"type": "string"
}
},