diff options
| author | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-08-18 13:41:02 -0700 |
|---|---|---|
| committer | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-08-18 13:41:02 -0700 |
| commit | ae3da99ae46f8966f20c0d8ee90239c376e8147f (patch) | |
| tree | 05e3daff1b8c0d466a77ce56c2cd2a1d4926d1d8 /plugins | |
| parent | 9a4b1deb5f9abdc88809ff80bccdfb503e66dccd (diff) | |
| parent | abf7e2f767e1e535f40550945af466436d0cf541 (diff) | |
| download | nova-ae3da99ae46f8966f20c0d8ee90239c376e8147f.tar.gz nova-ae3da99ae46f8966f20c0d8ee90239c376e8147f.tar.xz nova-ae3da99ae46f8966f20c0d8ee90239c376e8147f.zip | |
Merged with 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", "")) |
