summaryrefslogtreecommitdiffstats
path: root/scripts/extra-properties.mako.cpp
blob: 03c730a864faad39b6c49d9f32ba61f2fb2dd00d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## This file is a template.  The comment below is emitted
## into the rendered file; feel free to edit this file.
// WARNING: Generated source. Do not edit!

#include "types.hpp"

using namespace ipmi::vpd;

extern const std::map<Path, InterfaceMap> extras = {
% for path in dict.iterkeys():
<%
    interfaces = dict[path]
%>\
    {"${path}",{
    % for interface,properties in interfaces.iteritems():
        {"${interface}",{
        % for property,value in properties.iteritems():
            {"${property}", ${value}},
        % endfor
        }},
    % endfor
    }},
% endfor
};
OpenPOWER on IntegriCloud