add api to format disks and create datastores

This commit is contained in:
Dietmar Maurer
2020-06-10 11:02:37 +02:00
parent fab2413741
commit d4f2397d4c
4 changed files with 229 additions and 0 deletions

View File

@ -15,6 +15,8 @@ use crate::server::WorkerTask;
use crate::api2::types::{UPID_SCHEMA, NODE_SCHEMA, BLOCKDEVICE_NAME_SCHEMA};
pub mod directory;
#[api(
protected: true,
input: {