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

#include <vector>
#include <string>
#include <sdbusplus/bus.hpp>

namespace open_power
{
namespace occ
{
namespace finder
{

/** @brief Get OCC objects on the system by mapping them to CPU inventory
  * @returns vector of occ objects, such as occ0, occ1, and so on.
  *
  * @param[in] bus - sdbusplus handler
  */
std::vector<std::string> get(sdbusplus::bus::bus& bus);

} // namespace finder
} // namespace occ
} // namespace open_power
OpenPOWER on IntegriCloud