summaryrefslogtreecommitdiffstats
path: root/scripts/writechannel.mako.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/writechannel.mako.cpp')
-rw-r--r--scripts/writechannel.mako.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/writechannel.mako.cpp b/scripts/writechannel.mako.cpp
new file mode 100644
index 0000000..922611a
--- /dev/null
+++ b/scripts/writechannel.mako.cpp
@@ -0,0 +1,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