#pragma once #include "data_interface.hpp" #include #include namespace openpower { namespace pels { namespace phal { using EntrySeverity = sdbusplus::xyz::openbmc_project::HardwareIsolation::server::Entry::Type; /** * @brief Helper function to create service actions in the PEL * * @param[in] jsonCallouts - The array of JSON callouts, or an empty object. * @param[in] path - The BMC error log object path * @param[in] dataIface - The DataInterface object */ void createServiceActions(const nlohmann::json& jsonCallouts, const std::string& path, const DataInterfaceBase& dataIface); } // namespace phal } // namespace pels } // namespace openpower