| /* 3 levels of configs |
| * |
| * 1 packaged configs (not supported yet) |
| * 2 installed by bitbake, on the read-only fs |
| * 3 bakedin build into the binary |
| */ |
| |
| |
| #ifndef PRODUCTION_SUSHID_SAFEPOWER_AGENT_BMC_MACHINE_CONFIGS_SETUP_CONFIGS_H_ |
| #define PRODUCTION_SUSHID_SAFEPOWER_AGENT_BMC_MACHINE_CONFIGS_SETUP_CONFIGS_H_ |
| |
| #include "action_context.h" |
| #include "bmc/state_monitor_bmc.h" |
| #include "absl/status/status.h" |
| #include "absl/strings/string_view.h" |
| namespace setup_configs { |
| |
| absl::Status SetupConfigs(safepower_agent::StateMonitorBMC& state_monitor, |
| safepower_agent::ActionContextManager& action_context_manager); |
| |
| // called by test |
| absl::Status SetupConfigs(safepower_agent::StateMonitorBMC& state_monitor, |
| safepower_agent::ActionContextManager& action_context_manager, |
| absl::string_view config_path); |
| |
| |
| } // namespace setup_configs |
| |
| #endif // PRODUCTION_SUSHID_SAFEPOWER_AGENT_BMC_MACHINE_CONFIGS_SETUP_CONFIGS_H_ |