diff options
| author | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-08-19 10:08:46 -0700 |
|---|---|---|
| committer | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-08-19 10:08:46 -0700 |
| commit | 10fdf234039d1c5e21037a17809186152f1d718d (patch) | |
| tree | 6fe6088425c668b2b0ca4cf34810585092ccbe8f /plugins | |
| parent | 69c26210dd821df0d2160e51b10f147db2a40249 (diff) | |
| parent | ba079e5ccfa6b5f9fdfa036842f3e5ba51df4b75 (diff) | |
| download | nova-10fdf234039d1c5e21037a17809186152f1d718d.tar.gz nova-10fdf234039d1c5e21037a17809186152f1d718d.tar.xz nova-10fdf234039d1c5e21037a17809186152f1d718d.zip | |
Merged 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", "")) |
