zfs_admin.api

Public API
/api/method/zfs_admin.api.add_folder

zfs_admin.api.add_folder (fs, folder_name, path=)

Add a folder in a given dataset


Public API
/api/method/zfs_admin.api.download

zfs_admin.api.download (fs, file_path)

Download file


zfs_admin.api.get_path (fs, path)

Get path with filesyste mount, currently uses /


Public API
/api/method/zfs_admin.api.upload_file

zfs_admin.api.upload_file (filedata, filename, fs, path=)

Save a file in the filesystem


Public API
/api/method/zfs_admin.api.zfs_create

zfs_admin.api.zfs_create (zfs_pool, dataset_name)

No docs


Public API
/api/method/zfs_admin.api.zfs_destroy

zfs_admin.api.zfs_destroy (name)

No docs


Public API
/api/method/zfs_admin.api.zfs_snapshot

zfs_admin.api.zfs_snapshot (zfs_dataset, snapshot_name)

No docs


Public API
/api/method/zfs_admin.api.zpool_add

zfs_admin.api.zpool_add (zfs_pool, type, disk1, disk2=None, is_new=None)

zpool add or zpool create


Public API
/api/method/zfs_admin.api.zpool_destroy

zfs_admin.api.zpool_destroy (zfs_pool)

zpool destroy


Public API
/api/method/zfs_admin.api.zpool_detach

zfs_admin.api.zpool_detach (zfs_pool, disk)

zpool detach


Public API
/api/method/zfs_admin.api.zpool_sync

zfs_admin.api.zpool_sync (zfs_pool)

No docs