summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorEd Leafe <ed@leafe.com>2011-07-28 22:25:08 +0000
committerEd Leafe <ed@leafe.com>2011-07-28 22:25:08 +0000
commit1753da4d586f896f449828879e4361241289e376 (patch)
treec28fba2555722f74cd47d3d4521a8a188c7892ae /plugins
parentfe195087797ca031e437c34e25380354e3ba4f56 (diff)
downloadnova-1753da4d586f896f449828879e4361241289e376.tar.gz
nova-1753da4d586f896f449828879e4361241289e376.tar.xz
nova-1753da4d586f896f449828879e4361241289e376.zip
Added the config values to the return of the host_data method.
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost
index 8b85fe666..873d1fe63 100755
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenhost
@@ -159,6 +159,8 @@ def host_data(self, arg_dict):
# We have the raw dict of values. Extract those that we need,
# and convert the data types as needed.
ret_dict = cleanup(parsed_data)
+ # Add any config settings
+ ret_dict.update(_get_config_dict)
return ret_dict