blob: 04ea87c12299572fded92499f3662199a68f72c4 [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
Vernon Mauery33250242019-03-12 16:49:26 -07005#include <ipmid/types.hpp>
Patrick Venturef1d691a2019-08-23 09:21:56 -07006#include <utility>
7
Patrick Venture235b3c72019-08-23 09:16:07 -07008namespace ipmi {
9namespace sensor {
Jaghathiswari Rankappagounder Natarajan9c118942019-02-12 13:22:55 -080010
11extern const EntityInfoMap entities = {
12% for key in entityDict.iterkeys():
13{${key},{
14<%
15 entity = entityDict[key]
16 containerEntityId = entity["containerEntityId"]
17 containerEntityInstance = entity["containerEntityInstance"]
18 isList = entity["isList"]
19 isLinked = entity["isLinked"]
20 entityId1 = entity["entityId1"]
21 entityInstance1 = entity["entityInstance1"]
22 entityId2 = entity["entityId2"]
23 entityInstance2 = entity["entityInstance2"]
24 entityId3 = entity["entityId3"]
25 entityInstance3 = entity["entityInstance3"]
26 entityId4 = entity["entityId4"]
27 entityInstance4 = entity["entityInstance4"]
28%>
29 ${containerEntityId},${containerEntityInstance},${isList},${isLinked},{
30 std::make_pair(${entityId1}, ${entityInstance1}),
31 std::make_pair(${entityId2}, ${entityInstance2}),
32 std::make_pair(${entityId3}, ${entityInstance3}),
33 std::make_pair(${entityId4}, ${entityInstance4}) }
34
35}},
36% endfor
37};
Patrick Venture235b3c72019-08-23 09:16:07 -070038
39} // namespace sensor
40} // namespace ipmi