Deepak Kodihalli | 5f031f3 | 2017-07-26 08:25:59 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <vector> |
| 4 | #include <string> |
Vishwanatha Subbanna | 1ec291f | 2017-08-21 17:07:29 +0530 | [diff] [blame^] | 5 | #include <sdbusplus/bus.hpp> |
Deepak Kodihalli | 5f031f3 | 2017-07-26 08:25:59 -0500 | [diff] [blame] | 6 | |
| 7 | namespace open_power |
| 8 | { |
| 9 | namespace occ |
| 10 | { |
| 11 | namespace finder |
| 12 | { |
| 13 | |
| 14 | /** @brief Get OCC objects on the system by mapping them to CPU inventory |
| 15 | * @returns vector of occ objects, such as occ0, occ1, and so on. |
Vishwanatha Subbanna | 1ec291f | 2017-08-21 17:07:29 +0530 | [diff] [blame^] | 16 | * |
| 17 | * @param[in] bus - sdbusplus handler |
Deepak Kodihalli | 5f031f3 | 2017-07-26 08:25:59 -0500 | [diff] [blame] | 18 | */ |
Vishwanatha Subbanna | 1ec291f | 2017-08-21 17:07:29 +0530 | [diff] [blame^] | 19 | std::vector<std::string> get(sdbusplus::bus::bus& bus); |
Deepak Kodihalli | 5f031f3 | 2017-07-26 08:25:59 -0500 | [diff] [blame] | 20 | |
| 21 | } // namespace finder |
| 22 | } // namespace occ |
| 23 | } // namespace open_power |