blob: be3bb1ec07644753d6f27f44ec5ae3b4a664e889 [file] [log] [blame]
Tom Josephe19540e2019-02-04 14:06:58 +05301## This file is a template. The comment below is emitted
2## into the rendered file; feel free to edit this file.
3
4// !!! WARNING: This is a GENERATED Code..Please do NOT Edit !!!
5
Vernon Mauery33250242019-03-12 16:49:26 -07006#include <ipmid/types.hpp>
Tom Josephe19540e2019-02-04 14:06:58 +05307using namespace ipmi::sensor;
8
Jian Zhanga23af122022-08-15 15:17:18 +08009extern const InvObjectIDMap __attribute__((init_priority(101))) invSensors = {
Tom Joseph31eed5c2020-03-23 20:56:47 +053010% for key in sensorDict.keys():
Tom Josephe19540e2019-02-04 14:06:58 +053011 % if key:
12{"${key}",
13 {
14<%
15 objectPath = sensorDict[key]
16 sensorID = objectPath["sensorID"]
17 sensorType = objectPath["sensorType"]
18 eventReadingType = objectPath["eventReadingType"]
19 offset = objectPath["offset"]
20%>
21 ${sensorID},${sensorType},${eventReadingType},${offset}
22 }
23},
24 % endif
25% endfor
26};