Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] fix some bugs and smells related to disk addition
[simgrid.git] / src / surf / HostImpl.hpp
index daf3841..6583e66 100644 (file)
@@ -49,6 +49,9 @@ public:
   virtual ~HostImpl();
 
   std::vector<s4u::Disk*> get_disks();
+  void add_disk(s4u::Disk* disk);
+  void remove_disk(const std::string& disk_name);
+
   /** @brief Get the vector of storages (by names) attached to the Host */
   virtual std::vector<const char*> get_attached_storages();