VirtualDisk: Add error_policy 'report' value

This commit is contained in:
Cole Robinson 2013-08-17 10:35:44 -04:00
parent aa2e105f2b
commit cfe771cf4a

View File

@ -178,6 +178,8 @@ class VirtualDisk(VirtualDevice):
IO_MODE_THREADS = "threads"
io_modes = [IO_MODE_NATIVE, IO_MODE_THREADS]
error_policies = ["ignore", "stop", "enospace", "report"]
@staticmethod
def disk_type_to_xen_driver_name(disk_type):
"""
@ -204,8 +206,6 @@ class VirtualDisk(VirtualDevice):
return "dir"
return "file"
error_policies = ["ignore", "stop", "enospace"]
@staticmethod
def path_exists(conn, path):
"""