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 = { |
Patrick Williams | 5098b03 | 2017-06-01 15:40:10 -0500 | [diff] [blame^] | 10 | % for path in dict.keys(): |
Deepak Kodihalli | be05107 | 2017-02-20 01:15:34 -0600 | [diff] [blame] | 11 | <% |
| 12 | interfaces = dict[path] |
| 13 | %>\ |
| 14 | {"${path}",{ |
Patrick Williams | 5098b03 | 2017-06-01 15:40:10 -0500 | [diff] [blame^] | 15 | % for interface,properties in interfaces.items(): |
Deepak Kodihalli | be05107 | 2017-02-20 01:15:34 -0600 | [diff] [blame] | 16 | {"${interface}",{ |
Patrick Williams | 5098b03 | 2017-06-01 15:40:10 -0500 | [diff] [blame^] | 17 | % for property,value in properties.items(): |
Deepak Kodihalli | be05107 | 2017-02-20 01:15:34 -0600 | [diff] [blame] | 18 | {"${property}", ${value}}, |
| 19 | % endfor |
| 20 | }}, |
| 21 | % endfor |
| 22 | }}, |
| 23 | % endfor |
| 24 | }; |