blob: 932d2e89232a971fa21b5f3481d7748051c76f93 [file] [log] [blame]
#pragma once
#include <cstdint>
#include <vector>
class IpmiInterface
{
public:
virtual ~IpmiInterface() = default;
/**
* Send an IPMI packet to the BMC.
*
* @param[in] data - a vector of the IPMI packet contents.
* @return non-zero on failure.
*/
virtual int sendPacket(const std::vector<std::uint8_t>& data) = 0;
};