diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-08-18 16:12:49 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-08-18 16:12:49 -0400 |
| commit | a711bf61b274eb38face3957549acd4ee3c9b6a1 (patch) | |
| tree | 20844c8cc2e762810973ea9d9dfa5a1b08ba5672 /plugins | |
| parent | b29b5c85cbd5ab3c21fc00d1c037af1118ea30b4 (diff) | |
| parent | abf7e2f767e1e535f40550945af466436d0cf541 (diff) | |
| download | nova-a711bf61b274eb38face3957549acd4ee3c9b6a1.tar.gz nova-a711bf61b274eb38face3957549acd4ee3c9b6a1.tar.xz nova-a711bf61b274eb38face3957549acd4ee3c9b6a1.zip | |
merge from 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", "")) |
