schemas: legacy: Add Rearm property
This commit adds `Rearm` property to `Aggregate` as a property for
Chassis Intrusion Sensor. This is of type enum [Automatic, Manual] and
is the method of how the intrusion sensor is rearmed to normal state.
This property was defined in phosphor-dbus-interface [1].
Example:
{
"Class": "Aspeed2600_Hwmon",
"Name": "Chassis_Intrusion_Status",
"Rearm": "Manual",
"Type": "ChassisIntrusionSensor"
}
[1]: https://github.com/openbmc/phosphor-dbus-interfaces/blob/1abc0c57692b679753955b7273c1393369ef4987/yaml/xyz/openbmc_project/Chassis/Intrusion.interface.yaml#L12
Signed-off-by: Chau Ly <chaul@amperecomputing.com>
Change-Id: I7815b1e095832769c823177f96eae399eb379f90
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 16fc605..1752c3b 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -204,6 +204,9 @@
"QMin": {
"$ref": "#/definitions/Types/QMin"
},
+ "Rearm": {
+ "$ref": "#/definitions/Types/Rearm"
+ },
"RedundantCount": {
"$ref": "#/definitions/Types/RedundantCount"
},
@@ -898,6 +901,9 @@
"QMin": {
"type": "number"
},
+ "Rearm": {
+ "enum": ["Automatic", "Manual"]
+ },
"RedundantCount": {
"type": "number"
},