Files
nova/plugins/xenserver/xenapi
Rick Harris 6392ad2924 xenapi: Make dom0 serialization consistent.
The dom0 plugin code had been using `pickle` for serializing input and
`json` for serializing output which was needlessly inconsistent. This
patch makes the code use `pickle`--chosen for its better handling of
`datetime` objects--for both sending and receiving data.

This patch also refactors the code so that neither the caller nor the
callee need to explicitly worry about serialization: the caller just
passes in args and kwargs, and the callee's function signature just
accepts the args and kwargs as usual.

Bonus: Removes unecessary imports

Change-Id: I3abb42eeebd8d37d67e6c26fa7bcae66d876b3ee
2012-09-07 21:27:24 +00:00
..

This directory contains files that are required for the XenAPI support.
They should be installed in the XenServer / Xen Cloud Platform dom0.

If you install them manually, you will need to ensure that the newly
added files are executable. You can do this by running the following
command (from dom0):

chmod a+x /etc/xapi.d/plugins/*

Otherwise, you can build an rpm as detailed in:

$NOVA_ROOT/plugins/xenserver/xenapi/contrib/

and install the rpm by running the following command (from dom0):

rpm -i openstack-xen-plugins.rpm