| 1701 | } |
| 1702 | |
| 1703 | Status ListPlugins(ServerContext*, const EmptyRequest*, |
| 1704 | ListPluginsResponse* response) override { |
| 1705 | std::lock_guard<std::recursive_mutex> lock(mutex_); |
| 1706 | |
| 1707 | auto list = bess::bessd::ListPlugins(); |
| 1708 | for (auto& path : list) { |
| 1709 | response->add_paths(path); |
| 1710 | } |
| 1711 | return Status::OK; |
| 1712 | } |
| 1713 | |
| 1714 | Status ListMclass(ServerContext*, const EmptyRequest*, |
| 1715 | ListMclassResponse* response) override { |
nothing calls this directly
no test coverage detected