blob: a297b2c61f96c01aebd61529de66f13a6d847214 [file] [log] [blame]
Deepak Kodihallibdfd1232017-02-17 00:29:02 -06001## 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
11namespace openpower
12{
13namespace vpd
14{
15namespace inventory
16{
17namespace extra
18{
19
20const std::map<Path, InterfaceMap> objects = {
Santosh Puranik3d7b4fe2020-04-02 23:27:22 +053021% for path in dict.keys():
Deepak Kodihallibdfd1232017-02-17 00:29:02 -060022<%
23 interfaces = dict[path]
24%>\
25 {"${path}",{
Santosh Puranik3d7b4fe2020-04-02 23:27:22 +053026 % for interface,properties in interfaces.items():
Deepak Kodihallibdfd1232017-02-17 00:29:02 -060027 {"${interface}",{
Santosh Puranik3d7b4fe2020-04-02 23:27:22 +053028 % for property,value in properties.items():
Deepak Kodihallibdfd1232017-02-17 00:29:02 -060029 {"${property}", ${value}},
30 % endfor
31 }},
32 % endfor
33 }},
34% endfor
35};
36
37} // namespace extra
38} // namespace inventory
39} // namespace vpd
40} // namespace openpower