summaryrefslogtreecommitdiffstats
path: root/scripts/writechannel.mako.cpp
blob: 83ee5cd6cc34ffb54c96ef4a880a8244e8a78612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
## This file is a template.  The comment below is emitted
## into the rendered file; feel free to edit this file.
// !!! WARNING: This is a GENERATED Code..Please do NOT Edit !!!

#include <ipmid/types.hpp>

namespace ipmi
{
namespace network
{

extern const ChannelEthMap ethdevices = {
% for channel,channelInfo in interfaceDict.iteritems():
    {${channel},"${channelInfo['ifName']}"},
% endfor
};

} // namespace network
} // namespace ipmi

OpenPOWER on IntegriCloud