blob: 5af3441536ddc82ff482999300a37230a0d93228 [file] [log] [blame]
SunnySrivastava1984e12b1812020-05-26 02:23:11 -05001#include "ipz_parser.hpp"
2
3#include "impl.hpp"
4
5namespace openpower
6{
7namespace vpd
8{
9namespace ipz
10{
11namespace parser
12{
13using namespace openpower::vpd::parser;
14using namespace openpower::vpd::constants;
15
16std::variant<kwdVpdMap, Store> IpzVpdParser::parse()
17{
18 Impl p(std::move(vpd));
19 Store s = p.run();
20 return s;
21}
22
23void IpzVpdParser::processHeader()
24{
25 Impl p(std::move(vpd));
26 p.checkVPDHeader();
27}
28
29std::string IpzVpdParser::getInterfaceName() const
30{
31 return ipzVpdInf;
32}
33
34} // namespace parser
35} // namespace ipz
36} // namespace vpd
37} // namespace openpower