diff options
| author | Ed Leafe <ed@leafe.com> | 2011-08-18 12:57:34 +0000 |
|---|---|---|
| committer | Ed Leafe <ed@leafe.com> | 2011-08-18 12:57:34 +0000 |
| commit | 2dcd44235dde51ca1ea288efc654da9a24ffb46e (patch) | |
| tree | 4fa5de3e3e0994d15ff872a5248b96b25212d38d /plugins | |
| parent | d8a156f9ed0729c4c5553fe3b28f6c3afb93d54f (diff) | |
| parent | c7ecb22e46bf316fa2506dd3664c77274b6ee94d (diff) | |
| download | nova-2dcd44235dde51ca1ea288efc654da9a24ffb46e.tar.gz nova-2dcd44235dde51ca1ea288efc654da9a24ffb46e.tar.xz nova-2dcd44235dde51ca1ea288efc654da9a24ffb46e.zip | |
Merged trunk
Diffstat (limited to 'plugins')
| -rwxr-xr-x | plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost index cd9694ce1..36c61f78d 100755 --- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost +++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost @@ -258,6 +258,7 @@ def cleanup(dct): # out["host_suspend-image-sr-uuid"] = dct.get("suspend-image-sr-uuid", "") # out["host_crash-dump-sr-uuid"] = dct.get("crash-dump-sr-uuid", "") # out["host_local-cache-sr"] = dct.get("local-cache-sr", "") + out["enabled"] = dct.get("enabled", "true") == "true" out["host_memory"] = omm = {} omm["total"] = safe_int(dct.get("memory-total", "")) omm["overhead"] = safe_int(dct.get("memory-overhead", "")) |
