Add VIR_STORAGE_POOL_INACCESSIBLE to denote inaccessible storage pools

This status will be used by the ESX storage driver.

For example a running NFS pool is inaccessible when the NFS server is
currently unreachable.
This commit is contained in:
Matthias Bolte
2010-05-18 01:34:34 +02:00
parent f30ccb2458
commit 32d9e0707c
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -5159,6 +5159,10 @@ cmdPoolInfo(vshControl *ctl, const vshCmd *cmd)
vshPrint(ctl, "%-15s %s\n", _("State:"),
_("degraded"));
break;
case VIR_STORAGE_POOL_INACCESSIBLE:
vshPrint(ctl, "%-15s %s\n", _("State:"),
_("inaccessible"));
break;
}
if (info.state == VIR_STORAGE_POOL_RUNNING ||