diff options
| author | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-08-20 13:15:05 -0700 |
|---|---|---|
| committer | Tushar Patil <tushar.vitthal.patil@gmail.com> | 2011-08-20 13:15:05 -0700 |
| commit | 71ae1f16312371fee810221e81c2bcb0fcb5a4ef (patch) | |
| tree | a3831d99867136776f8a287fbc0dbb554cde4108 /plugins | |
| parent | c3ef50fd4b866ec6dc90ad114e36b16c857ca206 (diff) | |
| parent | 7924fb7899b02d3cb7420c916e035094d5c90194 (diff) | |
| download | nova-71ae1f16312371fee810221e81c2bcb0fcb5a4ef.tar.gz nova-71ae1f16312371fee810221e81c2bcb0fcb5a4ef.tar.xz nova-71ae1f16312371fee810221e81c2bcb0fcb5a4ef.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", "")) |
