#include <EvmsAccess.h>
Public Member Functions | |
| EvmsObject *const | addObject (object_handle_t id) |
| EvmsObject *const | find (object_handle_t id) |
| EvmsAccess () | |
| ~EvmsAccess () | |
| void | output (std::ostream &Stream) const |
| void | listLibstorage (std::ostream &Stream) const |
| void | listVolumes (std::list< const EvmsVolumeObject * > &l) const |
| void | listContainer (std::list< const EvmsContainerObject * > &l) const |
| const string & | getErrorText () |
| const string & | getCmdLine () |
| int | activate () |
| int | deleteCo (const string &Container_Cv) |
| int | extendCo (const string &Container_Cv, const string &PvName_Cv) |
| int | shrinkCo (const string &Container_Cv, const string &PvName_Cv) |
| int | createCo (const string &Container_Cv, unsigned long long PeSizeK_lv, bool NewMeta_bv, const std::list< string > &Devices_Cv) |
| int | createLv (const string &LvName_Cv, const string &Container_Cv, unsigned long long SizeK_lv, unsigned long Stripe_lv, unsigned long long StripeSizeK_lv) |
| int | changeLvSize (const string &LvName_Cv, const string &Container_Cv, unsigned long long SizeK_lv) |
| int | deleteLv (const string &LvName_Cv, const string &Container_Cv) |
| int | createCompatVol (const string &Volume_Cv) |
Protected Member Functions | |
| void | addObjectRelations () |
| void | rereadAllObjects () |
| plugin_handle_t | getLvmPlugin (bool lvm2=false) |
| object_handle_t | findUsingVolume (object_handle_t id) |
| const EvmsContainerObject * | findContainer (const string &name) |
| const EvmsDataObject * | findRegion (const string &container, const string &name) |
| const EvmsDataObject * | findSegment (const string &name) |
| const EvmsVolumeObject * | findVolume (const string &name) |
| bool | endEvmsCommand () |
Static Protected Member Functions | |
| static int | pluginFilterFunction (const char *plugin) |
Protected Attributes | |
| debug_level_t | logLevel |
| std::list< EvmsObject * > | objects |
| bool | EvmsOpen_b |
| string | Error_C |
| string | CmdLine_C |
| EvmsAccess::EvmsAccess | ( | ) |
| EvmsAccess::~EvmsAccess | ( | ) |
| EvmsObject *const EvmsAccess::addObject | ( | object_handle_t | id | ) |
| EvmsObject *const EvmsAccess::find | ( | object_handle_t | id | ) |
| void storage::EvmsAccess::output | ( | std::ostream & | Stream | ) | const |
| void EvmsAccess::listLibstorage | ( | std::ostream & | Stream | ) | const |
| void storage::EvmsAccess::listVolumes | ( | std::list< const EvmsVolumeObject * > & | l | ) | const |
| void storage::EvmsAccess::listContainer | ( | std::list< const EvmsContainerObject * > & | l | ) | const |
| const string& storage::EvmsAccess::getErrorText | ( | ) | [inline] |
| const string& storage::EvmsAccess::getCmdLine | ( | ) | [inline] |
| int EvmsAccess::activate | ( | ) |
| int EvmsAccess::deleteCo | ( | const string & | Container_Cv | ) |
| int EvmsAccess::extendCo | ( | const string & | Container_Cv, | |
| const string & | PvName_Cv | |||
| ) |
| int EvmsAccess::shrinkCo | ( | const string & | Container_Cv, | |
| const string & | PvName_Cv | |||
| ) |
| int storage::EvmsAccess::createCo | ( | const string & | Container_Cv, | |
| unsigned long long | PeSizeK_lv, | |||
| bool | NewMeta_bv, | |||
| const std::list< string > & | Devices_Cv | |||
| ) |
| int EvmsAccess::createLv | ( | const string & | LvName_Cv, | |
| const string & | Container_Cv, | |||
| unsigned long long | SizeK_lv, | |||
| unsigned long | Stripe_lv, | |||
| unsigned long long | StripeSizeK_lv | |||
| ) |
| int EvmsAccess::changeLvSize | ( | const string & | LvName_Cv, | |
| const string & | Container_Cv, | |||
| unsigned long long | SizeK_lv | |||
| ) |
| int EvmsAccess::deleteLv | ( | const string & | LvName_Cv, | |
| const string & | Container_Cv | |||
| ) |
| int EvmsAccess::createCompatVol | ( | const string & | Volume_Cv | ) |
| void EvmsAccess::addObjectRelations | ( | ) | [protected] |
| void EvmsAccess::rereadAllObjects | ( | ) | [protected] |
| plugin_handle_t EvmsAccess::getLvmPlugin | ( | bool | lvm2 = false |
) | [protected] |
| object_handle_t EvmsAccess::findUsingVolume | ( | object_handle_t | id | ) | [protected] |
| const EvmsContainerObject * EvmsAccess::findContainer | ( | const string & | name | ) | [protected] |
| const EvmsDataObject * EvmsAccess::findRegion | ( | const string & | container, | |
| const string & | name | |||
| ) | [protected] |
| const EvmsDataObject * EvmsAccess::findSegment | ( | const string & | name | ) | [protected] |
| const EvmsVolumeObject * EvmsAccess::findVolume | ( | const string & | name | ) | [protected] |
| bool EvmsAccess::endEvmsCommand | ( | ) | [protected] |
| int EvmsAccess::pluginFilterFunction | ( | const char * | plugin | ) | [static, protected] |
debug_level_t storage::EvmsAccess::logLevel [protected] |
std::list<EvmsObject*> storage::EvmsAccess::objects [protected] |
bool storage::EvmsAccess::EvmsOpen_b [protected] |
string storage::EvmsAccess::Error_C [protected] |
string storage::EvmsAccess::CmdLine_C [protected] |
1.5.0