2016-01-08 18:21:52 +05:30
|
|
|
#include "thin-provisioning/commands.h"
|
|
|
|
|
|
|
|
using namespace base;
|
|
|
|
using namespace thin_provisioning;
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|
|
|
|
|
|
|
|
void
|
|
|
|
thin_provisioning::register_thin_commands(base::application &app)
|
|
|
|
{
|
|
|
|
app.add_cmd(command::ptr(new thin_check_cmd()));
|
|
|
|
app.add_cmd(command::ptr(new thin_delta_cmd()));
|
|
|
|
app.add_cmd(command::ptr(new thin_dump_cmd()));
|
2016-01-12 20:32:19 +05:30
|
|
|
app.add_cmd(command::ptr(new thin_ls_cmd()));
|
2016-01-08 18:21:52 +05:30
|
|
|
app.add_cmd(command::ptr(new thin_metadata_size_cmd()));
|
|
|
|
app.add_cmd(command::ptr(new thin_restore_cmd()));
|
|
|
|
app.add_cmd(command::ptr(new thin_repair_cmd()));
|
|
|
|
app.add_cmd(command::ptr(new thin_rmap_cmd()));
|
|
|
|
app.add_cmd(command::ptr(new thin_trim_cmd()));
|
2016-02-24 19:11:43 +05:30
|
|
|
|
2016-02-24 20:01:51 +05:30
|
|
|
#ifdef DEV_TOOLS
|
2016-02-24 19:11:43 +05:30
|
|
|
app.add_cmd(command::ptr(new thin_generate_metadata_cmd()));
|
2016-02-24 20:01:51 +05:30
|
|
|
app.add_cmd(command::ptr(new thin_show_duplicates_cmd()));
|
2016-02-24 19:11:43 +05:30
|
|
|
#endif
|
2016-01-08 18:21:52 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
//----------------------------------------------------------------
|