23 #ifndef STORAGE_MULTIPATH_H 24 #define STORAGE_MULTIPATH_H 27 #include "storage/Devices/Partitionable.h" 59 unsigned long long size);
122 const Impl& get_impl()
const;
124 virtual Multipath* clone()
const override;
const std::string & get_model() const
The model as reported by multipath tools.
Multipath * to_multipath(Device *device)
Converts pointer to Device to pointer to Multipath.
A start/length pair with a block size.
Definition: Region.h:84
static Multipath * find_by_name(Devicegraph *devicegraph, const std::string &name)
Find a Multipath by its name.
const std::string & get_vendor() const
The vendor as reported by multipath tools.
The main container of the libstorage-ng.
Definition: Devicegraph.h:169
static Multipath * create(Devicegraph *devicegraph, const std::string &name)
Create a device of type Multipath.
A multipath device.
Definition: Multipath.h:37
An abstract base class for storage devices.
Definition: Device.h:81
Definition: Partitionable.h:39
std::vector< BlkDevice * > get_blk_devices()
Return blk devices used for the Multipath.
static std::vector< Multipath * > get_all(Devicegraph *devicegraph)
Get all Multipaths.
bool is_multipath(const Device *device)
Checks whether device points to a Multipath.
The storage namespace.
Definition: Actiongraph.h:38
bool is_rotational() const
Return whether the multipath device is of rotational or non-rotational type.