1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

bug #766: Some Sunstone/Ozones strings for the new states

This commit is contained in:
Ruben S. Montero 2012-05-18 12:08:19 +02:00
parent 734d64c976
commit e5179a9582
2 changed files with 14 additions and 10 deletions

View File

@ -48,17 +48,19 @@ var oZones = {
{
case "HOST","host":
return ["INIT",
"MONITORING",
"MONITORING_MONITORED",
"MONITORED",
"ERROR",
"DISABLED"][value];
"DISABLED",
"MONITORING_ERROR"][value];
break;
case "HOST_SIMPLE","host_simple":
return ["ON",
"ON",
return ["INIT",
"UPDATE",
"ON",
"ERROR",
"OFF"][value];
"OFF",
"RETRY"][value];
break;
case "VM","vm":
return ["INIT",

View File

@ -49,18 +49,20 @@ var OpenNebula = {
case "HOST":
case "host":
return tr(["INIT",
"MONITORING",
"MONITORING_MONITORED",
"MONITORED",
"ERROR",
"DISABLED"][value]);
"DISABLED",
"MONITORING_ERROR"][value]);
break;
case "HOST_SIMPLE":
case "host_simple":
return tr(["ON",
"ON",
return tr(["INIT",
"UPDATE",
"ON",
"ERROR",
"OFF"][value]);
"OFF",
"RETRY"][value]);
break;
case "VM":
case "vm":