summaryrefslogtreecommitdiffstats
path: root/command/guid.hpp
blob: 03c627276c5fac2d922608943563e4bcc1996c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include <cstddef>
#include <vector>

#include "comm_module.hpp"

namespace command
{

constexpr size_t BMC_GUID_LEN = 16;

/*
 * @brief Get System GUID
 *
 * @return If UUID is successfully read from the Chassis DBUS object, then the
 *         GUID is returned, else a canned GUID is returned
 */
std::array<uint8_t, BMC_GUID_LEN> getSystemGUID();

} // namespace command
OpenPOWER on IntegriCloud