23 #ifndef STORAGE_MULTIPATH_H 24 #define STORAGE_MULTIPATH_H 27 #include "storage/Devices/Partitionable.h" 43 unsigned long long size);
57 const std::string& get_vendor()
const;
59 const std::string& get_model()
const;
61 bool is_rotational()
const;
81 const Impl& get_impl()
const;
83 virtual Multipath* clone()
const override;
92 bool is_multipath(
const Device* device);
Multipath * to_multipath(Device *device)
Converts pointer to Device to pointer to Multipath.
A start/length pair with a block size.
Definition: Region.h:73
static Multipath * find_by_name(Devicegraph *devicegraph, const std::string &name)
Find a Multipath by its name.
The master container of the libstorage.
Definition: Devicegraph.h:153
A multipath device.
Definition: Multipath.h:35
An abstract base class of storage devices, and a vertex in the Devicegraph.
Definition: Device.h:75
Definition: Partitionable.h:40
static std::vector< Multipath * > get_all(Devicegraph *devicegraph)
Get all Multipaths.
The storage namespace.
Definition: Actiongraph.h:37