blob: 4cfc82ba94c16add7b2bf1fb8eefb977b533790e [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>
Jaghathiswari Rankappagounder Natarajan9c118942019-02-12 13:22:55 -08006using 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};