blob: 9de11a02be5d6d210a9a4be90238aef906a63a4a [file] [log] [blame]
Jaghathiswari Rankappagounder Natarajan9c118942019-02-12 13:22:55 -08001## This file is a template. The comment below is emitted
2## into the rendered file; feel free to edit this file.
3// !!! WARNING: This is a GENERATED Code..Please do NOT Edit !!!
4
5#include "types.hpp"
6using namespace ipmi::sensor;
7
8extern const EntityInfoMap entities = {
9% for key in entityDict.iterkeys():
10{${key},{
11<%
12 entity = entityDict[key]
13 containerEntityId = entity["containerEntityId"]
14 containerEntityInstance = entity["containerEntityInstance"]
15 isList = entity["isList"]
16 isLinked = entity["isLinked"]
17 entityId1 = entity["entityId1"]
18 entityInstance1 = entity["entityInstance1"]
19 entityId2 = entity["entityId2"]
20 entityInstance2 = entity["entityInstance2"]
21 entityId3 = entity["entityId3"]
22 entityInstance3 = entity["entityInstance3"]
23 entityId4 = entity["entityId4"]
24 entityInstance4 = entity["entityInstance4"]
25%>
26 ${containerEntityId},${containerEntityInstance},${isList},${isLinked},{
27 std::make_pair(${entityId1}, ${entityInstance1}),
28 std::make_pair(${entityId2}, ${entityInstance2}),
29 std::make_pair(${entityId3}, ${entityInstance3}),
30 std::make_pair(${entityId4}, ${entityInstance4}) }
31
32}},
33% endfor
34};