blob: 4f2b30e26c082f93bf5f6d66243c8275ced9e630 [file] [log] [blame]
#include "ipz_parser.hpp"
#include "impl.hpp"
namespace openpower
{
namespace vpd
{
namespace ipz
{
namespace parser
{
using namespace openpower::vpd::parser;
using namespace openpower::vpd::constants;
std::variant<kwdVpdMap, Store> IpzVpdParser::parse()
{
Impl p(vpd, inventoryPath);
Store s = p.run();
return s;
}
void IpzVpdParser::processHeader()
{
Impl p(vpd, inventoryPath);
p.checkVPDHeader();
}
std::string IpzVpdParser::getInterfaceName() const
{
return ipzVpdInf;
}
} // namespace parser
} // namespace ipz
} // namespace vpd
} // namespace openpower