Tom Joseph | e19540e | 2019-02-04 14:06:58 +0530 | [diff] [blame] | 1 | ## 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 Mauery | 3325024 | 2019-03-12 16:49:26 -0700 | [diff] [blame] | 6 | #include <ipmid/types.hpp> |
Tom Joseph | e19540e | 2019-02-04 14:06:58 +0530 | [diff] [blame] | 7 | using namespace ipmi::sensor; |
| 8 | |
| 9 | extern const InvObjectIDMap invSensors = { |
Tom Joseph | 31eed5c | 2020-03-23 20:56:47 +0530 | [diff] [blame] | 10 | % for key in sensorDict.keys(): |
Tom Joseph | e19540e | 2019-02-04 14:06:58 +0530 | [diff] [blame] | 11 | % 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 | }; |
| 27 | |