Commit 3f794828 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis Committed by Thomas Thrainer

Move ExtStorage code out from bdev

Move the ExtStorage related code out from bdev to a new
file called ''.
Signed-off-by: default avatarIlias Tsitsimpis <>
Signed-off-by: default avatarThomas Thrainer <>
Reviewed-by: default avatarThomas Thrainer <>
parent fe15b73a
......@@ -472,6 +472,7 @@ storage_PYTHON = \
lib/storage/ \
lib/storage/ \
lib/storage/ \
lib/storage/ \
lib/storage/ \
......@@ -61,6 +61,7 @@ from ganeti import hypervisor
from ganeti import constants
from import bdev
from import drbd
from import extstorage
from import filestorage
from ganeti import objects
from ganeti import ssconf
......@@ -3276,7 +3277,7 @@ def DiagnoseExtStorage(top_dirs=None):
for name in f_names:
es_path = utils.PathJoin(dir_name, name)
status, es_inst = bdev.ExtStorageFromDisk(name, base_dir=dir_name)
status, es_inst = extstorage.ExtStorageFromDisk(name, base_dir=dir_name)
if status:
diagnose = ""
parameters = es_inst.supported_parameters
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment