Deepak Kodihalli | be05107 | 2017-02-20 01:15:34 -0600 | [diff] [blame^] | 1 | ## This file is a template. The comment below is emitted |
| 2 | ## into the rendered file; feel free to edit this file. |
| 3 | // WARNING: Generated source. Do not edit! |
| 4 | |
| 5 | #include "types.hpp" |
| 6 | |
| 7 | using namespace ipmi::vpd; |
| 8 | |
| 9 | extern const std::map<Path, InterfaceMap> extras = { |
| 10 | % for path in dict.iterkeys(): |
| 11 | <% |
| 12 | interfaces = dict[path] |
| 13 | %>\ |
| 14 | {"${path}",{ |
| 15 | % for interface,properties in interfaces.iteritems(): |
| 16 | {"${interface}",{ |
| 17 | % for property,value in properties.iteritems(): |
| 18 | {"${property}", ${value}}, |
| 19 | % endfor |
| 20 | }}, |
| 21 | % endfor |
| 22 | }}, |
| 23 | % endfor |
| 24 | }; |