summaryrefslogtreecommitdiffstats
path: root/scripts/extra-properties.mako.cpp
blob: e566cec39a089a46d186499b4bbc729e00bfdc96 (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.keys():
<%
    interfaces = dict[path]
%>\
    {"${path}",{
    % for interface,properties in interfaces.items():
        {"${interface}",{
        % for property,value in properties.items():
            {"${property}", ${value}},
        % endfor
        }},
    % endfor
    }},
% endfor
};
OpenPOWER on IntegriCloud