diff options
| author | Josh Kearney <josh@jk0.org> | 2011-08-18 10:05:37 -0500 |
|---|---|---|
| committer | Josh Kearney <josh@jk0.org> | 2011-08-18 10:05:37 -0500 |
| commit | a876958e6474957bb63eab6702c1633b6995e56c (patch) | |
| tree | 4fa5de3e3e0994d15ff872a5248b96b25212d38d /plugins | |
| parent | feabc363f29659c6d3846b9996c79e6ad5bfe6bc (diff) | |
| parent | fc7106a5ea476f94c0f832dafebb17181cbe6177 (diff) | |
| download | nova-a876958e6474957bb63eab6702c1633b6995e56c.tar.gz nova-a876958e6474957bb63eab6702c1633b6995e56c.tar.xz nova-a876958e6474957bb63eab6702c1633b6995e56c.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", "")) |
