summaryrefslogtreecommitdiffstats
path: root/scripts/writechannel.mako.cpp
blob: 922611afc2a683a2b79a56f758a4fcfcda1e0df5 (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 "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