[glesys|compute] update server/status format to include cpu hash and warnings

This commit is contained in:
Anton Lindström 2012-05-04 15:30:58 +02:00
parent 835255df96
commit ec9fd44f9b
1 changed files with 7 additions and 2 deletions

View File

@ -113,11 +113,16 @@ class Glesys
'max' => Fog::Nullable::Integer, 'max' => Fog::Nullable::Integer,
'unit' => Fog::Nullable::String 'unit' => Fog::Nullable::String
}, },
'cpu' => [], 'cpu' => {
'usage' => Fog::Nullable::Integer,
'max' => Fog::Nullable::Integer,
'unit' => Fog::Nullable::String
},
'uptime' => { 'uptime' => {
'current' => Fog::Nullable::Integer, 'current' => Fog::Nullable::Integer,
'unit' => String 'unit' => String
} },
'warnings' => []
}, },
'status' => { 'status' => {
'timestamp' => String, 'timestamp' => String,