Deepak Kodihalli | bdfd123 | 2017-02-17 00:29:02 -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 header. Do not edit! |
| 4 | |
| 5 | #pragma once |
| 6 | |
| 7 | #include <string> |
| 8 | #include <map> |
| 9 | #include "types.hpp" |
| 10 | |
| 11 | namespace openpower |
| 12 | { |
| 13 | namespace vpd |
| 14 | { |
| 15 | namespace inventory |
| 16 | { |
| 17 | namespace extra |
| 18 | { |
| 19 | |
| 20 | const std::map<Path, InterfaceMap> objects = { |
Santosh Puranik | 3d7b4fe | 2020-04-02 23:27:22 +0530 | [diff] [blame] | 21 | % for path in dict.keys(): |
Deepak Kodihalli | bdfd123 | 2017-02-17 00:29:02 -0600 | [diff] [blame] | 22 | <% |
| 23 | interfaces = dict[path] |
| 24 | %>\ |
| 25 | {"${path}",{ |
Santosh Puranik | 3d7b4fe | 2020-04-02 23:27:22 +0530 | [diff] [blame] | 26 | % for interface,properties in interfaces.items(): |
Deepak Kodihalli | bdfd123 | 2017-02-17 00:29:02 -0600 | [diff] [blame] | 27 | {"${interface}",{ |
Santosh Puranik | 3d7b4fe | 2020-04-02 23:27:22 +0530 | [diff] [blame] | 28 | % for property,value in properties.items(): |
Deepak Kodihalli | bdfd123 | 2017-02-17 00:29:02 -0600 | [diff] [blame] | 29 | {"${property}", ${value}}, |
| 30 | % endfor |
| 31 | }}, |
| 32 | % endfor |
| 33 | }}, |
| 34 | % endfor |
| 35 | }; |
| 36 | |
| 37 | } // namespace extra |
| 38 | } // namespace inventory |
| 39 | } // namespace vpd |
| 40 | } // namespace openpower |