config + hpefan schema update for hpe/dl60g12
Enables initial support for the dl360 g12 based on internal HPE
builds- namely temp sensor and fan handling.
Also updates the EM exposes-records schema to handle for HPEFans
already supported in FanSensor daemon)
Tested: Confirmed that HPE Fans and sensor records appear in
webUI when paired with appropriate hardware
Entity-Manager bus on D-Bus, as
seen on an HPE BMC w/ appropriate hardware:
'''
xyz.openbmc_project.HwmonTempSensor
`- /xyz
`- /xyz/openbmc_project
`- /xyz/openbmc_project/sensors
`- /xyz/openbmc_project/sensors/temperature
|- /xyz/openbmc_project/sensors/temperature/Board_Exhaust_1
|- /xyz/openbmc_project/sensors/temperature/Board_Exhaust_4
|- /xyz/openbmc_project/sensors/temperature/Board_Inlet
`- /xyz/openbmc_project/sensors/temperature/PSU_Zone
'''
Change-Id: I34355ac829a183a169019cff331cf68bd5dd1f2d
Signed-off-by: Chris Sides <Christopher.Sides@hpe.com>
diff --git a/schemas/legacy.json b/schemas/legacy.json
index df5f0a1..01ee9fe 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -265,6 +265,32 @@
"required": ["Name", "Type", "Connector"],
"type": "object"
},
+ "HPEFan": {
+ "additionalProperties": false,
+ "properties": {
+ "Index": {
+ "$ref": "#/$defs/Types/Index"
+ },
+ "Connector": {
+ "$ref": "#/$defs/Types/Connector"
+ },
+ "Presence": {
+ "$ref": "#/$defs/Types/Presence"
+ },
+ "MaxReading": {
+ "$ref": "#/$defs/Types/MaxReading"
+ },
+ "Name": {
+ "$ref": "#/$defs/Types/Name"
+ },
+ "Type": {
+ "type": "string",
+ "const": "HPEFan"
+ }
+ },
+ "required": ["Name", "Type", "Connector"],
+ "type": "object"
+ },
"XeonCPU": {
"description": "implemented in dbus-sensors: IntelCPUSensor",
"additionalProperties": false,