1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[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

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,