blob: 110eca923f4d1104c8218873251b197f1e44084d [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
Jaghathiswari Rankappagounder Natarajan9c118942019-02-12 13:22:55 -08008using namespace ipmi::sensor;
9
10extern const EntityInfoMap entities = {
11% for key in entityDict.iterkeys():
12{${key},{
13<%
14 entity = entityDict[key]
15 containerEntityId = entity["containerEntityId"]
16 containerEntityInstance = entity["containerEntityInstance"]
17 isList = entity["isList"]
18 isLinked = entity["isLinked"]
19 entityId1 = entity["entityId1"]
20 entityInstance1 = entity["entityInstance1"]
21 entityId2 = entity["entityId2"]
22 entityInstance2 = entity["entityInstance2"]
23 entityId3 = entity["entityId3"]
24 entityInstance3 = entity["entityInstance3"]
25 entityId4 = entity["entityId4"]
26 entityInstance4 = entity["entityInstance4"]
27%>
28 ${containerEntityId},${containerEntityInstance},${isList},${isLinked},{
29 std::make_pair(${entityId1}, ${entityInstance1}),
30 std::make_pair(${entityId2}, ${entityInstance2}),
31 std::make_pair(${entityId3}, ${entityInstance3}),
32 std::make_pair(${entityId4}, ${entityInstance4}) }
33
34}},
35% endfor
36};