+/** Get the properties assigned to a host */
+xbt_dict_t Host::getProperties()
+{
+ return simgrid::simix::kernelImmediate([this] {
+ return this->pimpl_->getProperties();
+ });
+}
+
+/** Retrieve the property value (or nullptr if not set) */
+const char* Host::getProperty(const char* key)
+{
+ return this->pimpl_->getProperty(key);
+}
+
+void Host::setProperty(const char* key, const char* value)
+{
+ simgrid::simix::kernelImmediate([this, key, value] { this->pimpl_->setProperty(key, value); });
+}
+
+/** Get the processes attached to the host */
+void Host::getProcesses(std::vector<ActorPtr>* list)
+{
+ smx_actor_t actor = NULL;
+ xbt_swag_foreach(actor, this->extension<simgrid::simix::Host>()->process_list) {
+ list->push_back(actor->iface());
+ }
+}
+
+/** @brief Get the peak processor speed (in flops/s), at the specified pstate */
+double Host::getPstateSpeed(int pstate_index)
+{
+ return simgrid::simix::kernelImmediate([this, pstate_index] {
+ return this->pimpl_cpu->getPstateSpeed(pstate_index);
+ });
+}
+
+/** @brief Get the peak processor speed (in flops/s), at the current pstate */
+double Host::getSpeed()
+{
+ return pimpl_cpu->getSpeed(1.0);
+}
+
+/** @brief Returns the number of core of the processor. */
+int Host::getCoreCount()
+{
+ return pimpl_cpu->coreCount();
+}
+
+/** @brief Set the pstate at which the host should run */
+void Host::setPstate(int pstate_index)
+{
+ simgrid::simix::kernelImmediate([this, pstate_index] {
+ this->pimpl_cpu->setPState(pstate_index);
+ });
+}
+/** @brief Retrieve the pstate at which the host is currently running */
+int Host::getPstate()
+{
+ return this->pimpl_cpu->getPState();
+}
+
+/**
+ * \ingroup simix_storage_management
+ * \brief Returns the list of storages attached to an host.
+ * \return a vector containing all storages attached to the host
+ */
+void Host::getAttachedStorages(std::vector<const char*>* storages)
+{
+ simgrid::simix::kernelImmediate([this, storages] {
+ this->pimpl_->getAttachedStorageList(storages);
+ });
+}
+
+std::unordered_map<std::string, Storage*> const& Host::getMountedStorages()
+{
+ if (mounts == nullptr) {
+ mounts = new std::unordered_map<std::string, Storage*>();
+ for (auto m : this->pimpl_->storage_) {
+ mounts->insert({m.first, &m.second->piface_});
+ }
+ }
+ return *mounts;
+}